/* ==========================================================================================================
   URBAN AERO: THE VIEWS (lane "views"). Everything past the home in the artifact's own language, lifted from
   poddle-art/ui/urbanaero/index.html (CSS lines 86-345: plates, blocks, the results column; the Locker's h-plate, tabs, tray and
   actions). The artifact is laid out in 1440 px values: every value here is that value / 17 in rem (the root clamp is 17 px at
   1440x900, 10 px at 390 wide), so the composition keeps its share of the window. Loaded after ui.css (frozen), ua-home.css and
   ua-phone.css; it touches the result screen, the lobby views past the home, the settings card and the account cards. The set-up
   screens (connect, the camera primer, calibration) are ua-phone.css's.
   Motion is transform and opacity only; prefers-reduced-motion drops the pops and the entrances.
   ========================================================================================================== */
:root{--uv-ink:var(--cp-ink);--uv-ink-2:var(--cp-deep);--uv-navy:var(--cp-deep);--uv-cobalt:var(--cp-deep);--uv-cobalt-2:var(--cp-main);--uv-sky:var(--cp-main);--uv-sky-hi:var(--cp-main);--uv-sky-2:var(--cp-haze);--uv-ice:var(--cp-sky-2);
  --uv-glow:var(--cp-live);--uv-cyan-hi:var(--cp-shine);--uv-diamond:var(--cp-main);--uv-neon:var(--cp-main);--uv-ol:var(--ua-outline);--uv-skew:var(--cp-skew);--uv-r:.41rem;
  /* (Cyan pop, docs/cyanpop/SPEC.md: the --uv-* names stay, their values are the cp tokens: ink outlines and drops, cyan for what was cobalt / sky / neon, deep for the faces one step off the ink) */
  --uv-spring:cubic-bezier(.2,1.5,.4,1);--uv-snap:cubic-bezier(.2,.9,.25,1);
  --back-x:3.41rem;--back-y:1.6rem;--back-w:8.6rem;--back-h:3.5rem;--back-fs:1.35rem;--title-gap:1.4rem;--title-fs:var(--cp-title-fs);--title-pt:.9rem;--title-pb:.82rem;
  --vw-ol:var(--cp-ol);--vw-drop-x:var(--cp-drop-x);--vw-drop-y:var(--cp-drop-y);--vw-drop-sm-x:var(--cp-drop-sm-x);--vw-drop-sm-y:var(--cp-drop-sm-y);--vw-ring:.26rem;--vw-lift:-.25rem;--vw-face:#fff;--vw-press:var(--cp-sky-2);--vw-skew:var(--cp-skew);
  /* the slab (the Locker's catalogue, NOTES 367; every view's since the cohesion sweep): one flat navy parallelogram, one outline, one hard drop. THE source: locker.css --lk-slab-* reads these
     (Cyan pop: darkest to lightest as before: the slab's outline and drop label ink, the rows' drops ink, the face a navy mixed from ink toward the deep shade, so the rows' ink drops still read on it) */
  --vw-slab-skew:var(--vw-skew);--vw-slab-face:var(--cp-sky-2);--vw-slab-ol:var(--cp-ink);--vw-slab-ol-w:var(--cp-ol);--vw-slab-drop-x:var(--cp-drop-x);--vw-slab-drop-y:var(--cp-drop-y);--vw-slab-r:.7rem;--vw-unslant:skewX(calc(var(--vw-slab-skew) * -1));
  --vw-un:skewX(0deg);
  /* the three button levels (the Locker's, NOTES 409; THE source: locker.css --lk-sec-* reads these): navigation and tabs white; a secondary button a plate one step lighter than the slab
     (the deep shade), white words; the one primary action per screen cyan (white words, the deep outline and drop); a toggle on: cyan words on the plate, never the fill; switched off or done: the dim plate */
  --vw-sec-face:var(--cp-sec);--vw-sec-press:var(--cp-sec-press);--vw-sec-label:var(--cp-sec-label);--vw-off-face:var(--cp-off);--vw-off-label:var(--cp-text-3);--vw-done-label:var(--cp-deep);--vw-sec-h:3.7rem;--vw-sec-fs:1.25rem;      /* a row's own unslant: skewX(0) everywhere but on a slab's sheared list (below), where it sets the row back upright */
  /* (FULL SWEEP, SPEC "LIGHT AND WII": the slab is a pale frosted sky with the ink outline and the one big drop; secondary buttons white with ink words; off = the pale sky) */
  --vw-panel:var(--vw-slab-face);--vw-panel-ol:var(--vw-slab-ol);--vw-panel-drop:var(--vw-slab-ol)}      /* the UI rules (DESIGN-MASTER 2026-11-07) for the lobby views and the Locker (NOTES 321): one outline, one hard drop, the neon ring, the home sheet's solid panel (ua-brawl.css .ms-box) */
/* one slant on every view past the home and the Locker: -6deg (rule 1). Scoped to the screen, so the home's plates (lane/home2), the result screen and the cards keep theirs */
#screen-lobby:not([data-view="home"]){--uv-skew:var(--vw-skew);--ua-skew:var(--vw-skew);--lk-skew:var(--vw-skew)}
#screen-match{--uv-skew:var(--vw-skew);--ua-skew:var(--vw-skew)}      /* the result too (NOTES 361): its plates, rows and buttons were still at -10deg */
/* (the --back-* / --title-* tokens above: Back at the top left of every view and set-up screen, on a desktop, the Locker's (NOTES 314): its width and the gap set where the title plate starts; the title's height (fs + pt + pb) is centred on Back's */

/* ---------- the plate button, with the block's personality: a lift and a tip on hover (is-hot), a squash on press; the punch (flash + slash) is aero.js's ---------- */
:is(#screen-match,#screen-lobby:not([data-view="home"]),.settings,.fc-skin,.acct-card) .btn{transition:transform 200ms var(--uv-spring), color var(--d-fast) linear}
:is(#screen-match,#screen-lobby:not([data-view="home"]),.settings,.fc-skin,.acct-card) .btn::before{transition:box-shadow 170ms var(--uv-snap)}
:is(#screen-match,#screen-lobby:not([data-view="home"]),.settings,.fc-skin,.acct-card) .btn::after{transition:transform 200ms var(--uv-spring)}
@media (hover:hover){
  :is(#screen-match,#screen-lobby:not([data-view="home"]),.settings,.fc-skin,.acct-card) .btn:not(:disabled):not([aria-disabled="true"]):hover{transform:translate(-.12rem,-.3rem) rotate(-1.4deg) scale(1.03);z-index:3}
  :is(#screen-match,#screen-lobby:not([data-view="home"]),.settings,.fc-skin,.acct-card) .btn.btn-icon:not(:disabled):hover{transform:translate(-.1rem,-.2rem) rotate(-2deg) scale(1.06)}
}
:is(#screen-match,#screen-lobby:not([data-view="home"]),.settings,.fc-skin,.acct-card) .btn:not(:disabled):not([aria-disabled="true"]):active:active,
:is(#screen-match,#screen-lobby:not([data-view="home"]),.settings,.fc-skin,.acct-card) .btn.ae-down.ae-down.ae-down.ae-down{transform:scale(1,.88);transition-duration:45ms;--bdx:.125rem;--bdy:.1875rem}      /* (the press out-ranks the hover above: a held button squashes, the drop plate shuts under it, as the artifact's .is-down) */
/* the tilt (web/ua-views.js: --rx/--ry toward the mouse, .uv-hot, the block's amplitude): a block rises off the tray, the drop plate falls away under it, it tips, as the artifact's .blk.is-hot */
@media (hover:hover){
  :is(#screen-match,#screen-lobby:not([data-view="home"]),.settings,.fc-skin,.acct-card) .btn.uv-hot:not(:disabled):not([aria-disabled="true"]):not(:active){transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) rotateZ(-1.4deg) translateZ(1.4rem) scale(1.0653);z-index:3}
  #screen-lobby:not([data-view="home"]) :is(.court-row,.lb-row,.fr-row,.ranks-card,.tour-chip).uv-hot:not([aria-disabled="true"]):not(:active){transform:var(--vw-un) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) rotateZ(-.8deg) translateZ(.9rem) scale(1.023);z-index:3}
  #screen-lobby:not([data-view="home"]) .lk-item.uv-hot:not([aria-disabled="true"]):not(:active){transform:var(--lk-unslant,skewX(0deg)) perspective(40rem) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-.25rem) rotateZ(-1.5deg) translateZ(.9rem) scale(1.04);z-index:3}      /* a Locker tile or a shop card: the tile's own lift (locker.css --lk-item-lift) tipped toward the mouse */
  #screen-lobby:not([data-view="home"]) :is(button.sh-chip,.lk-chip,.lk-sort-btn).uv-hot:not([aria-disabled="true"]):not(:active){transform:perspective(30rem) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) rotateZ(-1.4deg) translateZ(1rem) scale(1.05);z-index:3}
}

/* ==========================================================================================================
   THE RESULT PANEL (owner 2026-11-16, "do a rebuild": the countdown had too many layers, the faces sat off centre, two trophy bars and a +N
   speech bubble were confusing, nothing felt like the rest of the site). #result is still the pane box scene.setVictory frames the winner by
   (the right 40vw, full height; the bottom box when stacked: ui.js resultPane); inside it ONE slab (the views' slab: the Locker's, Courts')
   holds flat rows: the two score rows, the trophy section (one row, one bar, one line), the stats, the save line, Leave + Rematch.
   Blocks inside the slab are rows with the small outline and no drop (.sh-tag's recipe); only the buttons carry drops. One slant, contents upright.
   ========================================================================================================== */
#screen-match #result.result-card{--rc-row:var(--cp-panel);--rc-disc:4.4rem;--rc-pl:1.3rem;--rc-gap:.85rem;--rc-act:4.7rem;
  justify-content:flex-start;align-items:stretch;padding:2rem 3.9rem 2rem .2rem;margin:0;border:0;background:none;box-shadow:none;color:var(--cp-text);text-align:left;overflow:visible}      /* visible: the h2's corner plate (no slam: a forfeit, reduced motion) stands 60vw left of this box; the slab scrolls instead */
#screen-match .medal{display:none}      /* the trophy is in the winner's hand on the court (the shot) */
/* the slab: flat sky face, the one ink outline, the one big drop; upright (large containers stay square, NOTES 291). Centred in the pane by auto margins, so a tall one scrolls from its top */
#screen-match .rc-slab{position:relative;isolation:isolate;display:flex;flex-direction:column;gap:var(--rc-gap);width:100%;max-width:40rem;max-height:100%;overflow-x:hidden;overflow-y:auto;margin:auto 0 auto auto;padding:1.3rem 1.4rem 1.5rem;
  border-radius:var(--vw-slab-r);background:var(--vw-slab-face);box-shadow:inset 0 0 0 var(--vw-slab-ol-w) var(--vw-slab-ol), var(--vw-slab-drop-x) var(--vw-slab-drop-y) 0 var(--vw-slab-ol)}
#screen-match .rc-slab > *{flex:none;max-width:none;width:auto;margin:0}
#screen-match .result-card.is-champion .rc-slab{background:var(--cp-gold-tint)}      /* the champion's panel: gold (NOTES 178) */
/* the title: VICTORY! / DEFEAT is the slam that lands in the corner (ui.js cornerStamp), so the panel carries no second title. The h2 is read by a screen reader (clipped
   below when there was a slam); with no slam (a forfeit) it is the corner plate itself; the champion's sits over the slab */
#screen-match .result-card h2,#screen-match .result-card:is(.is-lose,.is-champion,.is-watch.is-them-won,.has-trophies) h2{position:relative;isolation:isolate;align-self:flex-start;margin:0 0 1rem;padding:.9rem 2rem .82rem 1.5rem;
  font-family:var(--font-display);font-weight:400;font-size:var(--cp-title-fs);line-height:1;max-width:100%;text-wrap:nowrap;letter-spacing:-.005em;color:var(--cp-text);text-shadow:none;filter:none}
#screen-match .result-card h2::before,#screen-match .result-card:is(.is-lose,.is-watch.is-them-won,.is-champion) h2::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--ua-r);transform:skewX(var(--cp-skew));
  background:var(--cp-panel);box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink), var(--cp-drop)}
/* no slam (a forfeit; reduced motion) the h2 is the corner plate itself, so it wears the slam's corner look, its colour and its cheer (owner 2026-11-16: the corner chip "more awesome looking, add an exclamation mark"; ::after, so the h2's text stays 'You win' for ui.js and the tests) */
#screen-match #result.result-card:not(.is-champion) h2{--sb:var(--cp-main);--sd:var(--cp-deep);color:#fff;text-shadow:.06em .07em 0 var(--cp-ink)}
#screen-match #result.result-card.is-lose:not(.is-champion) h2{--sb:var(--cp-red);--sd:var(--cp-red-deep)}
#screen-match #result.result-card.is-watch:not(.is-champion) h2{--sb:var(--me);--sd:var(--me-deep)} #screen-match #result.result-card.is-watch.is-them-won:not(.is-champion) h2{--sb:var(--them);--sd:var(--them-deep)}
#screen-match #result.result-card:not(.is-champion) h2::before{background:var(--sb);box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink),inset 0 -.12em 0 var(--sd),var(--cp-drop)}
#screen-match #result.result-card:not(.is-champion) h2::after{content:"!"}
#screen-match .result-card.is-champion h2{font-size:3rem;text-wrap:balance;white-space:normal;text-align:left;width:auto;max-width:40rem;margin:auto 0 1.2rem auto}
#screen-match .result-card.is-champion h2 + .rc-slab{margin-top:0}
#screen-match .result-card.is-champion :is(.tally,.result-stats,.trophy-slot,#rematch-note){display:none}      /* the champion's panel: the road of matches, no last score (ui.js champion) */
/* the quiet line at the top: '<name> left', 'On to the Final' (a sentence: Rubik) */
#screen-match #result-note{order:-1;padding:0 .3rem;font-family:var(--font-text);font-size:1.15rem;font-weight:500;line-height:1.25;color:var(--cp-text);text-shadow:none;text-align:left}
#screen-match #result-note:empty{display:none}
#screen-match #result-note.is-quiet{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}      /* the rank-up's words, for a screen reader (ui.js rankUp) */

/* ---------- the score: two flat rows (white, the small ink outline, slanted; the player's colour a thin bar at the row's start), each the face, the name, the rank and Add friend, the score in a tile ---------- */
#screen-match .tally{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;row-gap:.6rem;column-gap:.8rem;align-items:center;
  width:auto;padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;isolation:isolate}
#screen-match .tally::before,#screen-match .tally::after{content:"";grid-column:1 / -1;align-self:stretch;z-index:-1;margin:0;border:0;border-radius:var(--ua-r);transform:skewX(var(--cp-skew));background:var(--rc-row)}
#screen-match .tally::before{grid-row:1;box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink), inset .55rem 0 0 var(--me)}
#screen-match .tally::after{grid-row:2;box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink), inset .55rem 0 0 var(--them)}
#screen-match #tally-me{grid-area:1 / 1} #screen-match #tally-sc-me{grid-area:1 / 2} #screen-match #tally-them{grid-area:2 / 1} #screen-match #tally-sc-them{grid-area:2 / 2}
#screen-match .tally-dash{display:none}
#screen-match .tally-side,#screen-match .tally-side:has(> .rank-badge),#screen-match .tally-side:has(> .reg-badge){position:relative;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:.7rem;
  min-width:0;min-height:0;padding:.75rem 0 .75rem var(--rc-pl);overflow:visible}
/* the face: the home card's disc (.pc-disc): a white ring, the ink outline, the small drop, the sky face. The picture fills the ring dead centre: the CSS agrees with
   main.js faceOn (cover, 50% 50%) instead of fighting it (the old 50% 18% lost to the inline style and was only right for the old tall chip picture) */
#screen-match .tally-side .chip,#screen-match .tally-side:not(.is-winner) .chip{order:0;flex:none;position:relative;width:var(--rc-disc);height:var(--rc-disc);margin:0;border:.235rem solid #fff;border-radius:50%;overflow:hidden;
  box-shadow:0 0 0 var(--cp-ol) var(--cp-ink), var(--cp-drop-sm-x) var(--cp-drop-sm-y) 0 var(--cp-ol) var(--cp-ink);
  background:var(--cp-haze) url(art/ua-face.png) 50% 50% / cover no-repeat;animation:none}
#screen-match .tally-side .chip::after{content:none}
/* the crown sits on the winner's ring */
#screen-match .tally-crown{position:absolute;z-index:2;top:calc(50% - var(--rc-disc) / 2 - 1.05rem);left:calc(var(--rc-pl) - .55rem);width:2.2rem;height:1.65rem;margin:0;rotate:-16deg;fill:var(--cp-gold);stroke:var(--cp-ink);stroke-width:2.4;filter:none}
#screen-match .tally-side > b{order:1;flex:0 1 auto;min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-display);font-weight:400;font-size:1.85rem;line-height:1.15;letter-spacing:0;color:var(--cp-text);text-align:left}
#screen-match #tally-them > b{color:var(--cp-text)}
#screen-match .tally-side :is(.rank-badge,.reg-badge){order:2;flex:none;margin:0}
#screen-match .tally-fr{order:3;flex:none}
#screen-match .tally-fr .btn{height:2.4rem;min-width:0;padding:0 .9rem;font-size:1rem;--bd0x:var(--cp-drop-sm-x);--bd0y:var(--cp-drop-sm-y);--bdx:var(--bd0x);--bdy:var(--bd0y)}
#screen-match .tally-fr .fr-tag{font-family:var(--font-display);font-size:1rem;color:var(--cp-text-2)}
/* an emote that player sends: a bubble at the row's end (the loser's clap is gone: owner 2026-11-16) */
#screen-match .tally-say{position:relative;order:5;flex:none;display:none;place-items:center;width:4.8rem;height:3.2rem;margin:0;transform:rotate(-6deg);animation:uv-say 2.4s var(--uv-spring) infinite;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 118 80' preserveAspectRatio='none'%3E%3Cg transform='matrix(-1 0 0 1 118 0)'%3E%3Cpath d='M10 6h78a6 6 0 0 1 6 6.6l-1.2 14L116 44 91.6 46.6 90 62a6 6 0 0 1-6 5.4H8a6 6 0 0 1-6-6.6L4 11.4A6 6 0 0 1 10 6Z' fill='%23fff' stroke='%231c3150' stroke-width='4' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat}
#screen-match .tally-say:not(:empty){display:grid}
#screen-match .tally-say img{width:2rem;height:2rem;margin:0 0 .35rem .8rem}
@keyframes uv-say{0%,70%,100%{transform:rotate(-6deg) scale(1)}76%{transform:rotate(-2deg) scale(1.12)}84%{transform:rotate(-6deg) scale(1)}}
/* who wants another game: a tick on the ring (players and spectators read the same) */
#screen-match #result .tally-side.is-ready::after{left:calc(var(--rc-pl) + var(--rc-disc) - 1.25rem);top:calc(50% + var(--rc-disc) / 2 - 1.35rem);bottom:auto;z-index:2;width:1.6rem;height:1.6rem;margin:0;
  border:var(--cp-ol-sm) solid var(--cp-ink);background:var(--cp-main);color:#fff;font-size:1rem;box-shadow:none}
/* the score in a tile: the winner's cyan (white figures, the deep outline, as the primary button), the other plain (the well, ink figures). The tile is the figure's ::after;
   its ::before is the count-up (ui.css), which rolls inside the same tile */
#screen-match .tally-num,#screen-match .tally-num.is-them,#screen-match .result-card.has-trophies .tally-num{position:relative;isolation:isolate;justify-self:end;align-self:center;min-width:2.3ch;margin:0 1.1rem 0 0;padding:.32rem .75rem .26rem;
  font-family:var(--font-display);font-weight:400;font-size:2.7rem;line-height:1;text-align:center;font-variant-numeric:tabular-nums;color:var(--cp-text);background:none;opacity:1}
#screen-match .tally-num::before,#screen-match .tally-num.is-them::before{inset:0;padding:inherit;text-align:center;color:var(--cp-text);}      /* (its own colours: the figure under it is clear while it counts) */
#screen-match .tally-num::after,#screen-match #tally-me.is-winner + #tally-sc-me::after{content:"";display:block;position:absolute;inset:0;z-index:-1;border-radius:var(--ua-r);transform:skewX(var(--cp-skew));background:var(--cp-well-2);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink)}
#screen-match #tally-me.is-winner + #tally-sc-me,#screen-match .tally:has(#tally-them.is-winner) #tally-sc-them{color:#fff;margin-right:1.1rem;padding:.32rem .75rem .26rem}
#screen-match #tally-me.is-winner + #tally-sc-me::after,#screen-match .tally:has(#tally-them.is-winner) #tally-sc-them::after{background:var(--cp-main);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-deep)}
#screen-match #tally-me.is-winner + #tally-sc-me::before,#screen-match .tally:has(#tally-them.is-winner) #tally-sc-them::before{color:#fff;}
#screen-match.is-active .tally-num{animation:ov-title-pop 520ms var(--ease-bounce) 560ms both, rc-ink 1040ms linear}
#screen-match.is-active .tally-num.is-them{animation:ov-title-pop 520ms var(--ease-bounce) 640ms both, rc-ink 1040ms linear}
@keyframes rc-ink{0%,100%{color:transparent}}      /* (ov-ink with the stroke: the cyan tile's outlined figure stays clear under the count too) */
#screen-match .tally-side.is-winner .chip,#screen-match.is-active .tally-side.is-winner .chip{animation:none}

/* ---------- the trophies (owner 2026-11-16: "the trophy total is not the emphasis ... it should be the amount lost or won"): ONE row, the CHANGE the hero (the biggest figure in the
   section, its own strong tile: a win green, a loss red, nothing the quiet well), the new total beside it, smaller, still rolling; the coins at the row's end. Then the rank with ONE bar
   (the way through this division, the win's share a lighter shade), then one line. The slot holds the section's height from the first frame (the row lands later: main.js parks it
   until the panel is in), so the panel never grows. A spectator, the champion, a forfeit: no slot */
#screen-match .trophy-slot{display:flex;min-width:0;min-height:13rem}
#screen-match .result-card:is(.is-watch,.is-champion,.is-forfeit,.no-trophies) .trophy-slot:not(:has(#trophy:not([hidden]))){display:none}      /* (a forfeit: a no-show pays nothing, so no row may come) */
#screen-match #trophy.trophy,#screen-match #trophy.trophy:not(.is-none):not([hidden]),#screen-match #trophy.trophy.is-none:not([hidden]){position:relative;isolation:isolate;flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:.7rem;
  width:auto;max-width:none;margin:0;padding:.95rem 1.3rem .85rem 1.4rem}
#screen-match #trophy[hidden]{display:none}
#screen-match .trophy::before,#screen-match .trophy:not(.is-none):not([hidden])::before{content:"";position:absolute;inset:0;z-index:-1;border:0;border-radius:var(--ua-r);transform:skewX(var(--cp-skew));background:var(--rc-row);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink)}
#screen-match .trophy::after{content:none}
#screen-match .trophy-row,#screen-match .trophy-row:has(.rank-kicker:not([hidden])){position:relative;display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:.75rem;width:100%;min-width:0;margin:0}
#screen-match .trophy-pills{display:contents}      /* the change and the coins are the row's own items (the shop test finds the coins in .trophy-pills) */
/* the change: the hero. Cup + '+24' in one strong tile; it pops in, and pops again as the total lands (ui.js rollTrophies) */
#screen-match .trophy-d,#screen-match .trophy-d:is(.is-up,.is-down,.is-off){order:1;flex:none;position:relative;isolation:isolate;display:inline-flex;align-items:center;gap:.45rem;height:auto;margin:0;padding:.42rem 1rem .36rem .8rem;border:0;border-radius:0;
  background:none;box-shadow:none;filter:none;transform:none;animation:none;font-family:var(--font-display);font-weight:400;font-size:3.1rem;line-height:1;font-variant-numeric:tabular-nums;color:var(--cp-text-2);}
#screen-match .trophy-d::before{content:"";position:absolute;inset:0;left:0;top:0;width:auto;height:auto;margin:0;z-index:-1;clip-path:none;border-radius:var(--ua-r);transform:skewX(var(--cp-skew));background:var(--cp-well-2);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink)}
#screen-match .trophy-d::after{content:none}
#screen-match .trophy-d:is(.is-up,.is-down)::after{content:"";order:-1;position:static;flex:none;width:.72em;height:.72em;margin:0;clip-path:none;background:#fff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 5.5H4.5a1 1 0 0 0-1 1V8a4 4 0 0 0 4 4M17 5.5h2.5a1 1 0 0 1 1 1V8a4 4 0 0 1-4 4' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M6.5 3h11v6.5a5.5 5.5 0 0 1-11 0Z' fill='%23000'/%3E%3Cpath d='M10.5 14.5h3v3h-3Z' fill='%23000'/%3E%3Crect x='7' y='17' width='10' height='4' rx='1.2' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 5.5H4.5a1 1 0 0 0-1 1V8a4 4 0 0 0 4 4M17 5.5h2.5a1 1 0 0 1 1 1V8a4 4 0 0 1-4 4' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M6.5 3h11v6.5a5.5 5.5 0 0 1-11 0Z' fill='%23000'/%3E%3Cpath d='M10.5 14.5h3v3h-3Z' fill='%23000'/%3E%3Crect x='7' y='17' width='10' height='4' rx='1.2' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat}      /* the cup, white on the tile */
#screen-match .trophy-d.is-up{color:#fff;}
#screen-match .trophy-d.is-up::before{background:var(--cp-green);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-green-deep)}
#screen-match .trophy-d.is-down{color:#fff;}
#screen-match .trophy-d.is-down::before{background:var(--cp-red);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-red-deep)}
#screen-match .trophy-d.is-off{font-size:1.25rem;padding:.55rem .9rem .5rem}      /* 'No trophies': quiet */
#screen-match .trophy-d:not(.is-up):not(.is-down):not(.is-off){font-size:2.2rem;color:var(--cp-text-2)}      /* ±0: neutral, quiet */
#screen-match .trophy-d:empty{display:none}
#screen-match.is-active .trophy-d{animation:ov-trophy-pop 420ms var(--ease-bounce) 1000ms both}
#screen-match .trophy.is-landed .trophy-d:is(.is-up,.is-down){animation:trophy-pill-land 420ms var(--ease-bounce)}
/* the total: secondary, beside the change: the cup and the number on the gold tint (the shop's price recipe); the count-up draws over the number in place */
#screen-match .trophy-count{order:2;flex:none;position:relative;isolation:isolate;display:flex;flex-direction:row;align-items:center;gap:.3rem;margin:0;padding:.32rem .7rem .28rem .55rem}
#screen-match .trophy-count::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--ua-r);transform:skewX(var(--cp-skew));background:var(--cp-gold-tint);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink)}
#screen-match .trophy-count::after{content:none}
#screen-match .trophy-word,#screen-match .trophy-word.trophy-word{order:1;flex:none;width:1.25rem;height:1.25rem;margin:0;overflow:hidden;font-size:0;color:transparent;background:var(--cp-cup);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 5.5H4.5a1 1 0 0 0-1 1V8a4 4 0 0 0 4 4M17 5.5h2.5a1 1 0 0 1 1 1V8a4 4 0 0 1-4 4' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M6.5 3h11v6.5a5.5 5.5 0 0 1-11 0Z' fill='%23000'/%3E%3Cpath d='M10.5 14.5h3v3h-3Z' fill='%23000'/%3E%3Crect x='7' y='17' width='10' height='4' rx='1.2' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 5.5H4.5a1 1 0 0 0-1 1V8a4 4 0 0 0 4 4M17 5.5h2.5a1 1 0 0 1 1 1V8a4 4 0 0 1-4 4' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M6.5 3h11v6.5a5.5 5.5 0 0 1-11 0Z' fill='%23000'/%3E%3Cpath d='M10.5 14.5h3v3h-3Z' fill='%23000'/%3E%3Crect x='7' y='17' width='10' height='4' rx='1.2' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat}
#screen-match .trophy-word > *{display:none}
#screen-match .trophy-n,#screen-match .trophy-roll{order:2;position:relative;min-width:2.6ch;padding:0;font-family:var(--font-display);font-weight:400;font-size:1.5rem;line-height:1;text-align:left;font-variant-numeric:tabular-nums;color:var(--cp-cup-num)}
#screen-match .trophy-n::before{padding:0;text-align:left;color:var(--cp-cup-num)}
#screen-match .trophy-n::after{content:none}
#screen-match .trophy.is-rolling .trophy-n{color:transparent}
#screen-match .trophy-n.is-land{animation:rc-total-land 420ms var(--ease-bounce)}      /* the total lands with a small pop: the big one is the change's */
@keyframes rc-total-land{0%{scale:1.18}100%{scale:1}}
#screen-match .trophy-roll{position:absolute;left:2.1rem;right:auto;top:.32rem;bottom:auto;width:auto;transform-origin:0 60%}      /* the roll starts on the figure's spot and grows right, never over the cup */
/* the coins: the shop's chip (white, the small outline), at the row's end */
#screen-match .trophy-coins{order:3;flex:none;margin-left:auto;height:auto;padding:.4rem .65rem .34rem .5rem;gap:.3rem;font-size:1.2rem;color:var(--cp-text)}
#screen-match .trophy-coins::before{box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink);background:var(--cp-panel)}
#screen-match .trophy-coins .coin-ic{width:1.3rem;height:1.3rem}
/* the rank: its emblem and its name (no plate), then its bar */
#screen-match .trophy-rank{display:flex;align-items:center;gap:.8rem;min-width:0}
#screen-match .trophy.is-none .trophy-rank{display:none}
#screen-match .trophy-em{flex:0 1 auto;min-width:0;position:relative}
#screen-match .trophy-em .rank-card-em{flex-direction:row;align-items:center;gap:.45rem;min-width:0}
/* the medal is the section's centre (owner 2026-11-16: "the rank medal needs a LOT more emphasis. it should be like the core focus too"): a column of its own on the left, big, on a flat disc
   of the rank's own colour (--rank-mid, ui.js trophyCard), its name under it; the change, the total and the bar to its right. A grid, so the DOM (and every id) stays as it was */
#screen-match #result #trophy.trophy:not(.is-none):not([hidden]){display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"em row" "em bar" "em foot";align-content:center;align-items:center;column-gap:1.4rem;row-gap:0;padding:1rem 1.3rem .95rem 1.2rem}
#screen-match #result #trophy .trophy-row{grid-area:row}
#screen-match #result #trophy .trophy-rank{display:contents}
#screen-match #result #trophy .trophy-em{grid-area:em;align-self:center;justify-self:center}
#screen-match #result #trophy .trophy-bars:not([hidden]){grid-area:bar;margin-top:.85rem}
#screen-match #result #trophy .trophy-foot{grid-area:foot;margin-top:.55rem}
#screen-match #result #trophy .trophy-em .rank-card-em{flex-direction:column;align-items:center;gap:.4rem;padding-top:.15rem}
#screen-match #result #trophy .trophy-em .rank-card-em::before{content:"";position:absolute;z-index:-1;left:50%;top:0;width:var(--md-disc);height:var(--md-disc);margin-left:calc(var(--md-disc) / -2);border-radius:50%;
  background:var(--rank-mid,var(--cp-sky-2));box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink),inset 0 -.35rem 0 rgba(28,49,80,.14),var(--cp-drop-sm)}
#screen-match #result #trophy .trophy-em .rank-em{width:var(--md);height:var(--md);margin:calc((var(--md-disc) - var(--md)) / 2) 0}      /* centred in the disc, the name clear under it */
#screen-match #result #trophy .trophy-em .rank-card-em > b{font-size:1.55rem;line-height:1.05;text-align:center;overflow:visible;color:var(--rank-ink,var(--cp-text))}
#screen-match #result #trophy .trophy-em{--md:7.2rem;--md-disc:8.6rem}
#screen-match #result #trophy .trophy-row{flex-wrap:wrap;row-gap:.55rem} #screen-match #result #trophy .trophy-coins{margin-left:0}      /* beside the big medal the column is narrow: the coins go under the change rather than off the edge */
#screen-match #result #trophy .trophy-em .medal-rays{top:calc(var(--md-disc) / 2 + .15rem);left:50%;width:13rem;height:13rem;margin:-6.5rem 0 0 -6.5rem}
#screen-match .trophy-em .rank-card-em::after{display:none}      /* the division numeral tag: the name says it ('Diamond I') */
#screen-match .trophy-em .rank-em{flex:none;width:2.2rem;height:2.2rem;filter:none}
#screen-match .trophy-em .rank-card-em > b{position:static;padding:0;font-family:var(--font-display);font-weight:400;font-size:1.2rem;line-height:1.1;letter-spacing:0;color:var(--cp-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#screen-match .trophy-em .rank-card-em > b::before{content:none}
#screen-match .trophy-em .medal-rays{top:1.1rem;left:1.1rem;width:5rem;height:5rem;margin:-2.5rem 0 0 -2.5rem}      /* the rank-up's rays stay inside the section */
/* the bar: the progress inside this division, one flat fill (the cup's gold) on the well; the win's share the lighter gold, growing in as the count rolls */
#screen-match .trophy-bars,#screen-match .trophy-bars:not([hidden]){display:block;flex:1 1 auto;min-width:6rem;width:auto;margin:0;padding:0;gap:0}
#screen-match .trophy-bars[hidden]{display:none}
#screen-match .trophy-bar,#screen-match .trophy-bar:not(.is-rank){position:relative;display:block;height:1.05rem;margin:0;border:0;border-radius:.3rem;background:var(--cp-well-2);box-shadow:none;transform:skewX(var(--cp-skew));overflow:hidden}
#screen-match .trophy-bar::before,#screen-match .trophy-bar::after{content:none}
#screen-match .trophy-bar > i{position:relative;display:block;height:100%;width:calc(100% * var(--p,0));border-radius:0;background:var(--cp-cup);box-shadow:none;transition:none}
#screen-match .trophy-bar > i::after{content:"";position:absolute;right:0;top:0;bottom:0;width:calc(100% * var(--g,0) / max(var(--p,1), .001));background:var(--cp-gold);box-shadow:none;transform-origin:0 50%;animation:uv-gain 900ms var(--uv-snap) 1100ms backwards}
@keyframes uv-gain{from{transform:scaleX(0)}}
/* the line: why nothing changed, what a new rank means (one short quiet sentence), and the moment's chip at its end: 'Rank up', 'Division up' (sentence case) */
#screen-match .trophy-foot{display:flex;align-items:center;gap:.7rem;min-height:1.75rem}
#screen-match .trophy-foot:not(:has(> :not([hidden]))){display:none}      /* no line, no chip: no empty line (the slot keeps the height; the row and the bar sit centred in it) */
#screen-match .trophy-note,#screen-match .trophy.is-none .trophy-note{flex:1 1 auto;min-width:0;margin:0;font-family:var(--font-text);font-weight:500;font-size:1.02rem;line-height:1.25;color:var(--cp-text-2);text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#screen-match .trophy-note[hidden]{display:none}
#screen-match .trophy.is-none .trophy-note{font-size:1.15rem;color:var(--cp-text);text-align:center;white-space:normal}
#screen-match #trophy.trophy.is-none:not([hidden]){flex:1 1 auto;align-self:center}      /* a guest's one line: a short row, centred in the kept height (not a tall empty box) */
#screen-match .trophy.is-none :is(.trophy-row,.trophy-rank,.rank-kicker){display:none}
#screen-match .rank-kicker,#screen-match .trophy-pills .rank-kicker{position:relative;isolation:isolate;left:auto;top:auto;translate:none;flex:none;display:inline-flex;align-items:center;height:auto;margin:0 0 0 auto;padding:.36rem .8rem .3rem;border-radius:0;
  background:none;box-shadow:none;font-family:var(--font-display);font-weight:400;font-size:1.05rem;line-height:1;letter-spacing:0;text-transform:none;white-space:nowrap;color:#fff;}
#screen-match .rank-kicker::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--ua-r);transform:skewX(var(--cp-skew));background:var(--cp-main);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-deep)}
#screen-match .rank-kicker[hidden]{display:none}
#screen-match .result-note-sub{color:var(--cp-text-2)}

/* ---------- the match's stats: one row, three figures, each with its name ---------- */
#screen-match .result-stats{position:relative;isolation:isolate;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0;width:auto;max-width:none;margin:0;padding:0;flex-wrap:nowrap}
#screen-match .result-stats[hidden]{display:none}
#screen-match .result-stats::before{content:"";position:absolute;inset:0;z-index:-1;border:0;border-radius:var(--ua-r);transform:skewX(var(--cp-skew));background:var(--rc-row);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink)}
#screen-match .result-stats::after{content:none}
#screen-match .stat,#screen-match .stat.is-best{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem;height:auto;min-height:4rem;min-width:0;padding:.6rem 1.1rem;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
#screen-match .stat + .stat,#screen-match .stat + .stat.is-best{box-shadow:inset .147rem 0 0 rgba(var(--cp-ink-rgb),.14);background:none}
#screen-match .stat span{order:1;font-family:var(--font-display);font-weight:400;font-size:1rem;line-height:1.1;color:var(--cp-text-2);white-space:normal;text-align:left}
#screen-match .stat b,#screen-match .stat.is-best b{order:2;flex:none;font-family:var(--font-display);font-weight:400;font-size:2.2rem;line-height:1;color:var(--cp-text)}
#screen-match .stat.is-best b{color:var(--cp-deep)}
#screen-match .stat.is-best::before,#screen-match .stat.is-best::after{display:none}
#screen-match .result-stats:has(> .stat:nth-child(3)) .stat{flex-direction:column;align-items:flex-start;justify-content:center;gap:.3rem;padding:.7rem 1rem .6rem 1.2rem}      /* (owner 2026-11-20, "what is this issue") three or four tiles (the win streak beside the stats, NOTES 1001) leave each 5 to 7 rem: the label beside the number ran the number into the next tile (three already touched), so the label sits over it, as on a narrow screen (below) */

/* ---------- the tournament's road (the champion), the guest's save line ---------- */
#screen-match .road{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:.8rem;width:auto;margin:0;padding:0}
#screen-match .road-step{position:relative;isolation:isolate;min-height:3rem;padding:.35rem 1.1rem .3rem 1rem;border:0;border-radius:0;background:none;box-shadow:none;font-family:var(--font-text);font-size:1.05rem;color:var(--cp-text)}
#screen-match .road-step::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--ua-r);transform:skewX(var(--cp-skew));background:var(--rc-row);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink)}
#screen-match .road-step small{font-family:var(--font-display);font-weight:400;font-size:.85rem;letter-spacing:0;text-transform:none;color:var(--cp-deep)}
#screen-match .road-step b{font-family:var(--font-display);font-weight:400}
#screen-match .result-save{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:.6rem .8rem;max-width:none;margin:0;padding:0 .3rem;text-align:left;color:var(--cp-text);text-shadow:none}
#screen-match .result-save[hidden]{display:none}
#screen-match .result-save p{margin:0;font-size:1.05rem;color:var(--cp-text)}
#screen-match #result-save-text{font-family:var(--font-display);font-weight:400}
#screen-match #result-save-text.is-first{display:inline-flex;align-items:center;gap:.5rem;min-height:0;padding:.3rem .8rem;border:0;border-radius:var(--ua-r);background:var(--cp-gold-tint);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink);color:var(--cp-text)}
#screen-match #result-save-text.is-first::before{content:"\2605";color:var(--cp-cup)}
#screen-match .result-notice{font-size:.95rem;color:var(--cp-text-2)} #screen-match .result-save .foot-link{color:var(--cp-deep)}
#screen-match .result-save .btn{height:2.9rem;font-size:1rem;margin:0}

/* ---------- Leave + Rematch: one row, Leave the secondary block, Rematch the primary (focused as the panel comes in). The clock is ONE element in the button it counts for ---------- */
#screen-match .rematch{display:flex;flex-direction:column;align-items:stretch;gap:.6rem;width:auto;margin:.15rem 0 0}
#screen-match #rematch-note{order:1;min-height:1.15em;margin:-.45rem 0 -1.05rem;padding:0 .3rem;font-family:var(--font-text);font-size:1.05rem;font-weight:500;line-height:1.15;color:var(--cp-text);text-shadow:none;text-align:left}      /* 'Sam wants a rematch', under the buttons: its line is kept, so the panel never grows when it comes; it sits in the slab's bottom padding (the -1.05rem), so an empty line leaves no band under the buttons (owner 2026-11-16, NOTES 669) */
#screen-match .result-card:is(.is-champion,.is-forfeit) #rematch-note:empty,#screen-match .rematch:has(#tour-res:not([hidden])) #rematch-note:empty{display:none}
#screen-match .rematch-btns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:1.2rem;width:auto;padding:0 .53rem .53rem 0}      /* (the padding: the buttons' drops stay inside the slab) */
#screen-match .rematch-btns[hidden]{display:none}
#screen-match .rematch-btns:has(> #btn-rematch[hidden]),#screen-match #tour-res{grid-template-columns:minmax(0,1fr)}
#screen-match #champ-acts{grid-template-columns:1.2fr 1fr}
#screen-match .rematch-btns .btn{isolation:isolate;height:var(--rc-act);min-width:0;width:auto;padding:0 1rem;font-size:2.1rem;white-space:nowrap}
#screen-match #btn-leave{order:-1;font-size:1.6rem}
#screen-match #champ-acts .btn{font-size:1.5rem}
#screen-match :is(#btn-rematch,#btn-see-bracket,#btn-champ-back){--glo:rgba(var(--cp-main-rgb),.3)}
/* (NOTES 361) the views' buttons: a flat face, the one ink outline, the one hard drop; chosen / focused is the cyan ring and the lift */
#screen-match .btn{--bd0x:var(--vw-drop-x);--bd0y:var(--vw-drop-y);--bdx:var(--bd0x);--bdy:var(--bd0y);--slab-c:transparent;--slab-o:transparent}
#screen-match .btn::before{background:linear-gradient(180deg,rgba(255,255,255,0) 12%,rgba(255,255,255,.42) 12% 30%,rgba(255,255,255,0) 30%),var(--bf);border-width:var(--vw-ol);box-shadow:none}
#screen-match .btn::after{box-shadow:none}
#screen-match .btn.ae-sel,html:not(.ae-on) #screen-match .btn:focus-visible{--bdx:var(--bd0x,var(--vw-drop-x));--bdy:var(--bd0y,var(--vw-drop-y))}
#screen-match .btn.ae-sel::before,html:not(.ae-on) #screen-match .btn:focus-visible::before{box-shadow:0 0 0 var(--vw-ring) var(--uv-neon), 0 0 1.5rem rgba(var(--cp-main-rgb),.65)}
#screen-match .btn.ae-sel::after,html:not(.ae-on) #screen-match .btn:focus-visible::after{box-shadow:0 0 0 var(--vw-ring) var(--uv-ink)}
#screen-match .btn.ae-sel:not(:active),html:not(.ae-on) #screen-match .btn:focus-visible:not(:active){transform:translateY(var(--vw-lift))}
#screen-match .btn:not(:disabled):active,#screen-match .btn.is-pressed{--bf:var(--vw-press)}
#screen-match :is(#btn-rematch,#btn-see-bracket,#btn-champ-back){--bf:var(--cp-main);--bo:var(--cp-deep);color:#fff;}
#screen-match #btn-rematch:disabled:not(.is-pressed){--bf:var(--cp-panel);color:var(--cp-text-3);}
#screen-match #btn-rematch.is-pressed,#screen-match :is(#btn-rematch,#btn-see-bracket,#btn-champ-back):not(:disabled):active{--bf:var(--cp-press)}
/* the clock (ui.js clockHost / drawCount): the button's face drains. #rematch-bar is a second face inside the outline, in the face's own colour, shrinking toward the start
   as --p falls; behind it the face goes one shade deeper (the time spent). The seconds are a small figure at the button's end, in the label's own ink */
#screen-match :is(#btn-rematch,#btn-see-bracket):has(> .rematch-count:not([hidden])){--clk:var(--cp-main);--bf:var(--cp-sea)}
#screen-match #btn-leave:has(> .rematch-count:not([hidden])){--clk:var(--cp-sec);--bf:var(--cp-sec-press)}
#screen-match #btn-rematch.is-pressed:has(> .rematch-count:not([hidden])){--clk:var(--cp-press);--bf:var(--cp-sea)}
#screen-match .rematch-count,#screen-match .rematch-count:not([hidden]){position:absolute;inset:0;z-index:-1;display:block;width:auto;height:auto;margin:0;padding:0;gap:0;pointer-events:none;animation:none;color:inherit;font:inherit}
#screen-match .rematch-count[hidden]{display:none}
#screen-match .rematch-count::before{content:none}
#screen-match .rematch-bar{--p:1;position:absolute;inset:var(--vw-ol);width:auto;height:auto;margin:0;border:0;border-radius:calc(var(--ua-r) - .1rem);background:none;box-shadow:none;transform:skewX(var(--ua-skew));overflow:hidden}
#screen-match .rematch-bar i{display:block;width:100%;height:100%;border-radius:0;box-shadow:none;background:linear-gradient(180deg,rgba(255,255,255,0) 12%,rgba(255,255,255,.42) 12% 30%,rgba(255,255,255,0) 30%),var(--clk,var(--cp-main));
  transform-origin:0 50%;transform:scaleX(var(--p));transition:transform 1s linear}
#screen-match .rematch-count b,#screen-match #rematch-left{position:absolute;right:1rem;top:50%;min-width:0;margin:-.5em 0 0;padding:0;font-family:var(--font-display);font-weight:400;font-size:.55em;line-height:1;text-align:right;font-variant-numeric:tabular-nums;background:none;color:inherit}
#screen-match #rematch-left::before{content:none}
#screen-match :is(#btn-rematch,#btn-see-bracket,#btn-leave):has(> .rematch-count:not([hidden])){padding-inline:calc(1rem + .9em)}      /* the seconds sit at the end: the label keeps clear of them, centred the same */
#screen-match #btn-leave #rematch-left{font-size:.75em}

/* ---------- the entrance: the panel slides in with the cut (ui.css vic-panel), then the slab's rows one after the other (a slide alone: the rows are in the render tree from the first frame) ---------- */
#screen-match.is-active .rc-slab > *{animation:rc-row 320ms var(--uv-snap) backwards;animation-delay:calc(560ms + var(--i,0) * 45ms)}
#screen-match.is-active .rc-slab > .tally{--i:1} #screen-match.is-active .rc-slab > .trophy-slot{--i:2} #screen-match.is-active .rc-slab > .result-stats{--i:3} #screen-match.is-active .rc-slab > :is(.road,.result-save){--i:4} #screen-match.is-active .rc-slab > .rematch{--i:5}
@keyframes rc-row{from{translate:4rem 0}}      /* translate, not transform: in the wide layout the rows carry the slab's unslant (below) */

/* ---------- a window wider than tall: the pane is the right two fifths; the slab keeps inside it (the old column ran 15rem over the court, next to the winner) ---------- */
@media (min-aspect-ratio:1/1) and (min-width:761px){
  #screen-match .result-card:not(.is-champion) h2{position:absolute;left:calc(3.3rem - 60vw);top:2.35rem;margin:0;font-size:5.88rem;padding:1.18rem 3.18rem 1.06rem 2.12rem;max-width:none}      /* no slam (a forfeit): the corner plate */
  #screen-match.is-active[data-beat] .result-card{animation-name:uv-vic-panel}
  @keyframes uv-vic-panel{from{transform:translateX(104%)}}
  /* the slab on the one slant (owner 2026-11-16: "why isnt this overall card skewed? fix it"; the views' recipe, NOTES 410, replacing NOTES 291's square container): the slab itself is
     sheared, the faces it holds (the two score rows, the trophy box, the stats strip, the bar) take its slant instead of their own, so every edge runs parallel to its edge (no steps);
     what they hold stands back upright (--vw-unslant). A single-line row of items (the trophy row, the buttons) stands upright as a whole, each item on its own -6deg face */
  #screen-match .rc-slab{transform:skewX(var(--vw-slab-skew))}
  #screen-match .rc-slab .tally::before,#screen-match .rc-slab .tally::after,#screen-match .rc-slab #trophy.trophy::before,#screen-match .rc-slab #trophy.trophy:not(.is-none):not([hidden])::before,#screen-match .rc-slab .result-stats::before{transform:none}
  #screen-match .rc-slab .trophy-bar,#screen-match .rc-slab .trophy-bar:not(.is-rank){transform:none}
  #screen-match .rc-slab :is(.tally-side,.tally-num,.trophy-row,.trophy-em,.trophy-foot,.result-stats > *,.road,.result-save,#result-note,.rematch){transform:var(--vw-unslant)}
}
/* ---------- a tall or narrow window: the pane lies along the bottom (ui.css: 58dvh at most); the same pieces, stacked, smaller ---------- */
@media (max-aspect-ratio: 1/1), (max-width: 760px){
  #screen-match #result.result-card{--rc-disc:4.2rem;--rc-pl:1.2rem;--rc-gap:.8rem;--rc-act:5rem;padding:.9rem 1.5rem 1.4rem 1rem;border:0;background:none;box-shadow:none}
  #screen-match .rc-slab{max-width:none;margin:auto 0 0;padding:1.1rem 1.2rem 1.3rem}
  #screen-match #rematch-note{margin-bottom:-.7rem}      /* the slab's bottom padding is smaller here: the line keeps clear of its edge */
  #screen-match .result-card h2,#screen-match .result-card:is(.is-lose,.is-champion,.is-watch.is-them-won,.has-trophies) h2{font-size:2.4rem;padding:.7rem 1.6rem .62rem 1.2rem;margin:0 0 .8rem}
  #screen-match .tally-side > b{font-size:1.8rem}
  #screen-match .tally-num,#screen-match .tally-num.is-them,#screen-match .result-card.has-trophies .tally-num{font-size:2.8rem}
  #screen-match .trophy-slot{min-height:11.6rem} #screen-match #result #trophy .trophy-em{--md:6rem;--md-disc:7.2rem} #screen-match #result #trophy .trophy-em .rank-card-em > b{font-size:1.4rem}
  #screen-match .trophy-em .rank-card-em > b{font-size:1.35rem}
  #screen-match .stat span{font-size:1.1rem} #screen-match .stat b{font-size:2.3rem}
  #screen-match .rematch-btns .btn{font-size:2.3rem} #screen-match #btn-leave{font-size:1.8rem}
  #screen-match #result-note,#screen-match #rematch-note,#screen-match .trophy-note{font-size:1.2rem}
}
@media (max-width: 420px){
  #screen-match .stat,#screen-match .stat.is-best{flex-direction:column;align-items:flex-start;justify-content:center;gap:.3rem;padding:.7rem 1rem .6rem 1.2rem}
  #screen-match .trophy-em .rank-card-em > b{max-width:9rem}
}
@media (prefers-reduced-motion: no-preference){ #screen-match:has(#result-slam:not(:empty)) .result-card:not(.is-champion) h2{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);opacity:0;pointer-events:none} }      /* one title: the slam, landed in the corner, is the plate. Clipped, not removed: a screen reader and ui.js still read it. Reduced motion has no slam (ui.css), so the h2 is the plate there */
/* ---------- THE TITLE (owner 2026-11-16: "the victory / defeat bigtext also needs a lot of fixing, it's very lame. try to spice it up based on site cohesion"). The claim screen's headline
   (claim.css .cl-name: white Days One, the ink stroke under the fill, one ink drop down-right) on the brand's band sweep (aero.js: one flat band at the one slant, the ink outline, its deep lip, the ink drop).
   ui.js slamWord builds it: .rs-band, .rs-shine, one .rs-l a letter (--i of --rn; not --n: ui.css registers that one as a non-inheriting integer for the count-up) and the corner's .rs-plate, all aria-hidden with the element; its textContent stays the word (ui.js and the tests read it).
   The beat: the band sweeps in from the left, the letters drop onto it left to right on the spring (the step shrinks with the length: the last is down by ~0.5 s), the shot punches 1.15 -> 1 from
   the old synthesised win sting's impact (~110 ms), one white shine crosses the word, then it holds still (NOTES 171: no pulse) for the 2 s (ui.js STAMP_MS; rs-punch is the element's ONE animation,
   2000 ms: victory-e2e reads it). VICTORY! and a spectator's '<name> wins!' on cyan, CHAMPION! on gold, DEFEAT on red and heavier (it falls, no spring, no shine), RANK UP on the rank's own colour.
   At the cut ui.js cornerStamp glides it into the court's top left corner (NOTES 173: capped at 7vw), where the band and letters give way to the same look small: the card's word ('You win',
   'Matt wins', with a cheer: 'You win!'; a champion's own title; sized by cornerStamp's --pf, bigger than the old plate, under the emote bar on a phone) on its colour plate (.cl-rarity's recipe), its outline and drop divided by the corner's scale (--cs, NOTES 442). Reduced motion: no title (ui.css), the panel's h2 is it ---------- */
#screen-match .result-slam{--sb:var(--cp-main);--sd:var(--cp-deep);position:absolute;inset:0;margin:auto;width:fit-content;max-width:100%;height:fit-content;z-index:3;pointer-events:none;opacity:0;isolation:isolate;
  font:400 min(8.6rem,8.6vw)/1 var(--font-display);font-synthesis:none;letter-spacing:0;text-align:center;text-transform:none;white-space:nowrap;color:#fff;
  text-shadow:.06em .07em 0 var(--cp-ink)}
#screen-match .result-slam:empty{display:none}
#screen-match .result-slam.is-defeat{--sb:var(--cp-red);--sd:var(--cp-red-deep)}
#screen-match .result-slam.is-watch{--sb:var(--me);--sd:var(--me-deep)} #screen-match .result-slam.is-watch.is-them{--sb:var(--them);--sd:var(--them-deep)}      /* a spectator's '<name> wins!' in the winner's own colour, as the rays and the score row's bar */
#screen-match .result-slam.is-champ{--sb:var(--cp-gold);--sd:var(--cp-gold-deep)}
#screen-match .result-slam.is-rank{--sb:var(--rank-c,var(--cp-gold));--sd:var(--rank-deep,var(--cp-gold-deep));width:auto;top:19%;bottom:auto;font-size:min(6.4rem,7.4vw)}      /* RANK UP: as wide as the court pane, its band with it; high over the stands, clear of the corner title and of the winner's face */
@media (min-aspect-ratio:1/1) and (min-width:761px){ #screen-match .result-slam{right:40vw} }      /* over the court pane, clear of the panel coming in */
@media (max-aspect-ratio:1/1),(max-width:760px){ #screen-match .result-slam{bottom:58dvh;font-size:min(11rem,15vw)} #screen-match .result-slam.is-rank{top:auto;bottom:calc(58dvh + 1rem);font-size:min(6rem,13vw)} }      /* upright: low in the pane, over the winner's legs */
#screen-match .result-slam .rs-l{display:inline-block;font-style:normal;white-space:pre}
#screen-match .result-slam .rs-band{position:absolute;z-index:-1;left:-100vw;right:-100vw;top:-.04em;bottom:-.1em;background:var(--sb);transform:skewX(var(--cp-skew));
  box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink),inset 0 -.1em 0 var(--sd),var(--cp-drop)}
#screen-match .result-slam.is-rank .rs-band{left:0;right:0;border-radius:var(--ua-r)}
#screen-match .result-slam .rs-shine{position:absolute;z-index:-1;left:-.6em;right:-.6em;top:calc(var(--cp-ol) - .04em);bottom:0;overflow:hidden}
#screen-match .result-slam .rs-shine::before{content:"";position:absolute;top:0;bottom:0;left:0;width:.4em;background:rgba(255,255,255,.55);transform:translateX(-100%) skewX(var(--cp-skew))}
#screen-match .result-slam .rs-plate{display:none}
#screen-match.is-active .result-slam.go{animation:rs-punch 2000ms linear both}
#screen-match.is-active .result-slam.go .rs-band{animation:rs-band 300ms var(--uv-snap) both}
#screen-match.is-active .result-slam.go .rs-l{animation:rs-drop 380ms var(--uv-spring) calc(50ms + var(--i) * min(30ms, 260ms / var(--rn))) both}
#screen-match.is-active .result-slam.go .rs-shine::before{animation:rs-shine 520ms var(--ease-soft) 420ms both}
@keyframes rs-punch{0%{opacity:0;transform:scale(1.15)}1.5%{opacity:1}5.5%{transform:scale(1.15);animation-timing-function:cubic-bezier(.2,.9,.25,1)}22%,100%{opacity:1;transform:none}}
@keyframes rs-band{from{transform:translateX(-100%) skewX(var(--cp-skew))}}
@keyframes rs-drop{0%{opacity:0;transform:translateY(-.45em) scale(1.5)}35%{opacity:1}}
/* the finisher (NOTES 980; ui.js finStart / finFly): the court's own ball, cut from the frame, slides straight across at its own size; the band's front edge rides with it */
.fin-lines{position:fixed;inset:0;width:100vw;height:100vh;z-index:1;pointer-events:none}      /* the finisher's speed lines (NOTES 984): over the court, under the HUD and the ball */
.fin-ball{position:fixed;left:0;top:0;z-index:calc(var(--z-screen, 50) + 3);pointer-events:none;border-radius:50%;will-change:transform,opacity;transform-origin:50% 50%}
.fin-ball>canvas{display:block;width:100%;height:100%;border-radius:50%}
@keyframes rs-shine{to{transform:translateX(calc(var(--rn) * .8em + 1.6em)) skewX(var(--cp-skew))}}
/* DEFEAT: the band comes in slower, the letters fall and land dead (an ease-in, no overshoot), the frame sinks once; still by 0.6 s */
#screen-match.is-active .result-slam.is-defeat.go{animation-name:rs-thud}
#screen-match.is-active .result-slam.is-defeat.go .rs-band{animation-duration:420ms;animation-timing-function:cubic-bezier(.25,.8,.3,1)}
#screen-match.is-active .result-slam.is-defeat.go .rs-l{animation:rs-fall 280ms cubic-bezier(.55,0,.85,.35) calc(70ms + var(--i) * min(36ms, 220ms / var(--rn))) both}
#screen-match .result-slam.is-defeat .rs-shine{display:none}
@keyframes rs-thud{0%{opacity:0;transform:translateY(-.06em)}2%{opacity:1}26%,100%{opacity:1;transform:none}}
#screen-match.is-active .result-slam.fin-run.go{animation-name:rs-show}      /* the finisher (NOTES 982): no punch or thud (a scaling title would pull the band off the ball); the band and letters come in with the ball */
@keyframes rs-show{from,to{opacity:1;transform:none}}
@keyframes rs-fall{0%{opacity:0;transform:translateY(-.8em)}30%{opacity:1}}
/* RANK UP (#rank-slam, ui.js rankUp after the trophy count lands): the same slam, held ~1 s, then its band runs on off the far side and it is gone. While the title holds the court (.is-stamp)
   it waits unseen at its first frame, letters and band too (the mock's frozen frame once showed the two on top of each other) */
#screen-match.is-active .result-slam.is-rank.go{animation:rs-rank 1400ms linear both}
#screen-match.is-active .result-slam.is-rank.go .rs-band{animation:rs-band 300ms var(--uv-snap) both, rs-band-out 300ms cubic-bezier(.5,0,.75,.3) 1100ms forwards}
@keyframes rs-rank{0%{opacity:0;transform:scale(1.15)}2%{opacity:1}8%{transform:scale(1.15);animation-timing-function:cubic-bezier(.2,.9,.25,1)}30%{transform:none}78%{opacity:1}100%{opacity:0;transform:none}}
@keyframes rs-band-out{to{transform:translateX(100%) skewX(var(--cp-skew))}}
#screen-match.is-stamp #rank-slam{visibility:hidden} #screen-match.is-stamp :is(#rank-slam,#rank-slam *,#rank-slam *::before){animation-play-state:paused}
/* the corner (ui.js cornerStamp: .is-corner, the transform, --cs, --wn and data-word on .rs-plate) */
#screen-match .result-slam.is-corner{opacity:1;transform-origin:0 0;transition:transform 640ms var(--ease-out)}
#screen-match .result-slam.is-corner :is(.rs-l,.rs-band,.rs-shine){opacity:0;transition:opacity 200ms ease-out}
#screen-match .result-slam.is-corner .rs-plate{--cp-ol:calc(.1875rem / var(--cs,1));--cp-drop-x:calc(.47rem / var(--cs,1));--cp-drop-y:calc(.53rem / var(--cs,1));display:block;position:absolute;left:0;top:0;
  padding:.2em .52em .24em .44em;font-size:var(--pf,1em);line-height:1;isolation:isolate;transform-origin:0 60%;animation:rs-plate 560ms var(--uv-spring) 120ms backwards}
#screen-match .result-slam.is-corner .rs-plate::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--ua-r);background:var(--sb);transform:skewX(var(--cp-skew));
  box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink),inset 0 -.12em 0 var(--sd),var(--cp-drop)}
#screen-match .result-slam.is-corner .rs-plate::after{content:attr(data-word);position:relative;z-index:1}
/* its life (owner 2026-11-16: "make it more awesome looking ... spice it up"): it lands with a pop (from a third of its size, a twist, the spring), then a white shine crosses its face every few seconds */
#screen-match .result-slam .rs-glint{position:absolute;z-index:0;inset:var(--cp-ol) var(--cp-ol) .12em;transform:skewX(var(--cp-skew));overflow:hidden;pointer-events:none}
#screen-match .result-slam .rs-glint::before{content:"";position:absolute;top:0;bottom:0;left:0;width:.55em;background:rgba(255,255,255,.6);transform:translateX(-120%)}
#screen-match .result-slam.is-corner .rs-glint::before{animation:rs-glint 3.4s ease-in-out 900ms infinite}
@keyframes rs-plate{0%{opacity:0;transform:scale(.3) rotate(-8deg)}45%{opacity:1}}
@keyframes rs-glint{0%{transform:translateX(-120%)}24%,100%{transform:translateX(calc(var(--wn,7) * .8em + 2em))}}
@media (prefers-reduced-motion: reduce){ #screen-match .result-slam.is-corner .rs-plate,#screen-match .result-slam.is-corner .rs-glint::before{animation:none} }
/* the light sweep (#result-flash): one flat white band at the slant crosses the panel once as it comes in (a win, a spectator, the champion) and again at a rank up (.is-sweep, its own
   animation so it replays). Unseen and waiting while the title holds the court */
#screen-match .result-flash{position:absolute;top:0;bottom:0;right:0;width:40vw;z-index:2;pointer-events:none;overflow:hidden}
#screen-match .result-flash::before{content:"";position:absolute;top:0;bottom:0;left:0;width:20%;background:rgba(255,255,255,.5);transform:translateX(-130%) skewX(var(--cp-skew))}
#screen-match.is-active:is([data-beat="win"],[data-beat="watch"],[data-beat="champ"]) .result-flash::before{animation:rs-flash 900ms var(--ease-soft) 260ms both}
#screen-match.is-active .result-flash.is-sweep::before{animation:rs-flash-up 1000ms var(--ease-soft) both}
#screen-match.is-stamp .result-flash{visibility:hidden} #screen-match.is-stamp .result-flash::before{animation-play-state:paused}
@keyframes rs-flash{to{transform:translateX(560%) skewX(var(--cp-skew))}} @keyframes rs-flash-up{to{transform:translateX(560%) skewX(var(--cp-skew))}}
@media (max-aspect-ratio:1/1),(max-width:760px){ #screen-match .result-flash{top:auto;width:100%;height:58dvh} }

/* ==========================================================================================================
   THE LOBBY VIEWS past the home (the artifact's Locker screen): the heading on its ink plate with the sky drop, top left, Back a plate
   block before it; the content on a dark glass tray (skewed 5 deg) with the rows, tabs and buttons as white plates on it; every row
   lifts and tips under the mouse and squashes on a press; the view's rows enter one after the other
   ========================================================================================================== */
/* the header: no bar, Back then the title plate top left (the artifact's .h-plate: 72 px, 16/46/14/34, drop 10) */
#screen-lobby:not([data-view="home"]) .menu-head{height:7.5rem;justify-content:flex-start;align-items:center;gap:1.4rem;padding:0 0 0 2.35rem;background:none;border:0;box-shadow:none}
#screen-lobby:not([data-view="home"]) .btn-back:not([hidden]){position:relative;left:auto;top:auto;translate:none;flex:none}      /* in the flow before the title (relative, never static: its plates are absolute pseudo-elements) */
#screen-lobby:not([data-view="home"]) .menu-title{margin:0;padding:.94rem 2.7rem .82rem 2rem;font-size:3.6rem;line-height:1;white-space:nowrap}
#screen-lobby:not([data-view="home"]) .btn-back{width:auto;height:3.9rem;padding:0 1.4rem 0 1.1rem;font-size:1.5rem}      /* the narrow header's size; the look is the one Back's (below) */
#screen-lobby:not([data-view="home"]) .head-end{right:2.35rem}
#screen-lobby:not([data-view="home"]) .lobby-online{color:var(--cp-text);text-shadow:none}
/* the name row on the views past the home: an ink plate, the label in white Days One */
#screen-lobby:not([data-view="home"]) .name-row{position:relative;isolation:isolate;border:0;background:none;box-shadow:none;border-radius:0;padding:.5rem .6rem .5rem 1.5rem;gap:1rem}
#screen-lobby:not([data-view="home"]) .name-row::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uv-r);background:var(--vw-face);transform:skewX(var(--uv-skew));box-shadow:inset 0 0 0 var(--vw-ol) var(--uv-ink), var(--vw-drop-x) var(--vw-drop-y) 0 var(--uv-ink)}      /* (no inner shine, rule 3; FULL SWEEP: a white plate) */
#screen-lobby:not([data-view="home"]) .name-row label,#screen-lobby.needs-name:not([data-view="home"]) .name-row label{color:var(--cp-text);font-family:var(--font-display);font-weight:400;font-size:1.4rem}
#screen-lobby:not([data-view="home"]) .name-row .field{border-radius:.3rem;border-color:var(--uv-ink);box-shadow:inset 0 .125rem .25rem rgba(var(--cp-ink-rgb),.2)}
/* the tray: the view's panel on dark glass, skewed 5 deg, white rims, a soft drop; what sits straight on it reads in white. Opaque enough to read over the live scene (no filter over the renderer) */
#screen-lobby .panel.lobby-view:not(.lobby-home){position:relative;isolation:isolate;border:0;border-radius:0;background:none;box-shadow:none;color:var(--cp-text);margin-inline:1.5rem}
/* large containers stay square, small controls carry the skew (owner 2026-11-07, NOTES 291): the view panels, the settings list and the profile's stat tiles are upright */
#screen-lobby .panel.lobby-view:not(.lobby-home)::before{content:"";position:absolute;inset:0;height:auto;z-index:-1;border-radius:var(--vw-slab-r);transform:none;opacity:1;
  background:var(--vw-slab-face);border:0;box-shadow:inset 0 0 0 var(--vw-slab-ol-w) var(--vw-slab-ol), var(--vw-slab-drop-x) var(--vw-slab-drop-y) 0 var(--vw-slab-ol)}      /* the home sheet's solid panel (ua-brawl.css .ms-box): opaque, the one outline, the one hard drop; no glass, rims or soft shadow (UI rules 2-3) */
/* a panel that scrolls itself keeps a straight tray (a skewed plate would be cut at the scroll box's sides) */
#screen-lobby .panel.lobby-view.ranks-view::before,#screen-lobby .panel.lobby-view.lb-view::before{transform:none;border-radius:var(--vw-slab-r)}
#screen-lobby .panel.lobby-view:not(.lobby-home):not(.pf-view):not(.fr-view) :is(h2,h3,.caps,.t-note,.tour-note,.lb-what,.lb-scope,.ranks-lead,.ranks-note,.tour-rules,.tour-copied,.tour-n,.tour-n small,.tour-why,.tour-wait,.tour-full,.br-you,.br-next,.court-state,.code-err,.lb-state,.set-row > span,#seg-note){color:var(--cp-text);text-shadow:none}
#screen-lobby .panel.lobby-view:not(.lobby-home):not(.pf-view):not(.fr-view) :is(.t-note,.tour-note,.lb-what,.ranks-lead,.ranks-note,.tour-rules,.tour-copied,.tour-why,#seg-note,.tour-join small,.tour-n > span,.br-you,.lb-you-text small){color:var(--cp-text-2)}
#screen-lobby .panel.lobby-view:not(.lobby-home) :is(.pad-link,.foot-link){color:var(--cp-deep)}
#screen-lobby .panel.lobby-view.lb-view .lb-scope{background:var(--cp-panel);color:var(--cp-text);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink), var(--cp-drop-sm)} #screen-lobby .panel.lobby-view.lb-view .lb-scope b{color:var(--cp-purple-deep);font-family:var(--font-display);font-weight:400}
#screen-lobby .panel.lobby-view:not(.lobby-home) .tour-n b{color:var(--cp-deep)}
/* Your stats and Friends: dense cards with their own wells and ink figures stay on a white tray (the artifact's white plates) */
#screen-lobby .panel.lobby-view.pf-view::before{transform:none}      /* it scrolls (the menu body does): straight */
/* the rows: court rows, leaderboard rows, friends, rank cards, tournament chips. White slanted plates with the outline and a hard drop; they lift under the mouse and squash on a press */
#screen-lobby :is(.court-row,.lb-row,.lb-you,.fr-row,.ranks-card,.tour-chip){position:relative;isolation:isolate;border:0;border-radius:0;background:none;box-shadow:none;transition:transform 180ms var(--uv-spring);transform:var(--vw-un)}
#screen-lobby :is(.court-row,.lb-row,.lb-you,.fr-row,.ranks-card,.tour-chip)::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uv-r);transform:skewX(var(--uv-skew));border:var(--vw-ol) solid var(--uv-ink);
  background:var(--vw-face);box-shadow:none}      /* a flat white block: the one outline; the drop is ::after (UI rules 2, 3, 5) */
#screen-lobby :is(.court-row,.lb-row,.lb-you,.fr-row,.ranks-card,.tour-chip)::after{content:"";display:block;position:absolute;inset:0;z-index:-2;width:auto;height:auto;margin:0;border:0;rotate:0deg;border-radius:var(--uv-r);background:var(--uv-ink);transform:translate(var(--vw-drop-x),var(--vw-drop-y)) skewX(var(--uv-skew));transition:transform 180ms var(--uv-spring)}
#screen-lobby .court-row.is-skel{background:none} #screen-lobby .court-row.is-skel::before{background:var(--uv-sky-2);border-color:transparent} #screen-lobby .court-row.is-skel::after{display:none}
#screen-lobby .court-row{padding-left:1.4rem}
#screen-lobby .court-row.is-full::before{background:var(--cp-well)}
#screen-lobby .court-row:hover,#screen-lobby .court-row:focus-visible,#screen-lobby .court-row.is-full:hover{box-shadow:none}
#screen-lobby .panel.lobby-view.lb-view:not(.lobby-home):not(.pf-view):not(.fr-view) .lb-you :is(.lb-you-text b,#lb-you-cap){color:var(--uv-ink)} #screen-lobby .panel.lobby-view.lb-view .lb-you .lb-rank:not(:empty){color:var(--cp-purple-deep)}
#screen-lobby .lb-row.is-me::before,#screen-lobby .lb-you.is-on::before{background:var(--vw-face);box-shadow:0 0 0 var(--vw-ring) var(--uv-neon)}      /* you: the one neon ring */
#screen-lobby .lb-row.is-me::after,#screen-lobby .lb-you.is-on::after{box-shadow:0 0 0 var(--vw-ring) var(--uv-ink)}
#screen-lobby .fr-row.is-confirm::before{background:#fff4f4}
#screen-lobby .ranks-card{border:0}
/* the big medal at a rank's head: its divisions' medals stacked in one cell, one shown (.is-on): at rest your own division on your card, III on the others; a hovered or
   focused card steps I, II, III, each popping in (web/ui.js ranksMotion, NOTES 353). Pro has one. The art's wings reach a little past its 64-unit box: drawn, not clipped */
.ranks-in{display:contents}      /* the card's pieces; the wide layout shears them onto the card's slant (below) */
.ranks-hero{display:grid;place-items:center;flex:none}
.ranks-hero > .rank-em{grid-area:1 / 1;opacity:0;overflow:visible}
.ranks-hero > .rank-em.is-on{opacity:1}
/* the showcase (#ranks-show): the left half of a wide window on Ranks, one big rank racket and its name; shown by the wide layout only (below). The racket is the Locker's still,
   leaning as the Locker's tiles and stage (--lk-stage-lean), one size for every tier (web/loadout.js STILL_FIT: scale, then the % moves, on the picture's own square box, NOTES 499); the
   aura's soft edge fades out before the picture's square one (the mask) (NOTES 362) */
.ranks-show{display:none;--frame:var(--lk-rarity-common)}
.ranks-show[data-rarity="rare"]{--frame:var(--lk-rarity-rare)} .ranks-show[data-rarity="epic"]{--frame:var(--lk-rarity-epic)} .ranks-show[data-rarity="legendary"]{--frame:var(--lk-rarity-legendary)} .ranks-show[data-rarity="mythic"]{--frame:var(--lk-rarity-mythic)} .ranks-show[data-rarity="exclusive"]{--frame:var(--lk-rarity-exclusive)}
.ranks-show-em{display:grid;place-items:center}
.ranks-show-pic{grid-area:1 / 1;height:100%;width:auto;max-width:none;aspect-ratio:1;pointer-events:none;user-select:none;
  transform:rotate(calc(var(--lk-stage-lean) * var(--lk-deg))) scale(calc(.86 * var(--fit-s,1))) translate(var(--fit-x,0%),var(--fit-y,0%));
  -webkit-mask-image:radial-gradient(closest-side,#000 78%,transparent);mask-image:radial-gradient(closest-side,#000 78%,transparent)}
/* live 3D (NOTES 374): the Locker's stage canvas, borrowed (web/locker.js lendStage), 1.6x the box so an aura has room, its edge fading out before the canvas's own */
.ranks-show-em{position:relative}
.ranks-show-em > .lk-stage-canvas{position:absolute;left:-30%;top:-30%;width:160%;height:160%;pointer-events:none;cursor:default;
  -webkit-mask-image:radial-gradient(closest-side,#000 62%,transparent);mask-image:radial-gradient(closest-side,#000 62%,transparent)}
@media (prefers-reduced-motion: no-preference){
  .ranks-card:is(:hover,:focus-visible) .ranks-hero > .rank-em.is-on{animation:rk-pop 380ms cubic-bezier(.2,.9,.3,1.3) both}
  .ranks-show-em > .ranks-show-pic{animation:rk-pop-pic 460ms cubic-bezier(.2,.9,.3,1.3) both}
  .ranks-show-em > .ranks-show-pic.is-out{animation:rk-out-pic 240ms ease-in both}
}
@keyframes rk-pop{0%{opacity:0;transform:scale(.72) rotate(-6deg)}100%{opacity:1;transform:none}}
@keyframes rk-out{0%{opacity:1;transform:none}100%{opacity:0;transform:scale(.9)}}
@keyframes rk-pop-pic{0%{opacity:0;scale:.72;rotate:-6deg}100%{opacity:1;scale:1;rotate:0deg}}      /* (scale / rotate, not transform: the picture's transform is its lean and fit) */
@keyframes rk-out-pic{0%{opacity:1;scale:1}100%{opacity:0;scale:.9}}
/* my own rank (NOTES 299): the card is tinted in its rank's colour and ringed, neon then ink, as the Locker marks what is chosen; its tag is the neon one */
#screen-lobby .ranks-card.is-now{z-index:2}
#screen-lobby .ranks-card.is-now::before{background:var(--vw-face);box-shadow:0 0 0 var(--vw-ring) var(--uv-neon)}      /* my rank: the one selected state, the neon ring (no tint, no second ink ring) */
#screen-lobby .ranks-card.is-now::after{box-shadow:0 0 0 var(--vw-ring) var(--uv-ink)}
#screen-lobby .ranks-tag,#screen-lobby .ranks-tag.is-keep{border:0;box-shadow:none;outline:0}      /* a tag is a flat fill inside its block: no outline of its own (rule 2) */
#screen-lobby .ranks-tag.is-now{background:var(--uv-neon);color:#fff;}
@media (hover:hover){
  #screen-lobby :is(.court-row,.lb-row,.fr-row,.ranks-card,.tour-chip):not([aria-disabled="true"]):hover{transform:var(--vw-un) translateY(var(--vw-lift))}      /* hover lifts the block .25rem (rule 4) */
}
#screen-lobby :is(.court-row,.lb-row,.fr-row,.ranks-card):not([aria-disabled="true"]):active{transform:var(--vw-un) scale(1,.92);transition-duration:45ms}
#screen-lobby :is(.court-row,.lb-row,.fr-row,.ranks-card):not([aria-disabled="true"]):active::after{transform:translate(.1rem,.15rem) skewX(var(--uv-skew));transition-duration:45ms}
/* the one selection on a row (aero.js .ae-sel; the keyboard's focus without it): the neon slab under the plate */
#screen-lobby :is(.court-row,.lb-row,.fr-row,.tour-chip).ae-sel::before,html:not(.ae-on) #screen-lobby :is(.court-row,.lb-row,.fr-row,.tour-chip):focus-visible::before{box-shadow:0 0 0 var(--vw-ring) var(--uv-neon), 0 0 1.5rem rgba(var(--cp-main-rgb),.65)}      /* the one selected state: the cyan ring and glow round the block, its drop grown under it (as the home sheet's .ms-card) */
#screen-lobby :is(.court-row,.lb-row,.fr-row,.tour-chip).ae-sel::after,html:not(.ae-on) #screen-lobby :is(.court-row,.lb-row,.fr-row,.tour-chip):focus-visible::after{box-shadow:0 0 0 var(--vw-ring) var(--uv-ink)}
#screen-lobby :is(.court-row,.lb-row,.fr-row,.tour-chip).ae-sel:not(:active),html:not(.ae-on) #screen-lobby :is(.court-row,.lb-row,.fr-row,.tour-chip):focus-visible:not(:active){transform:var(--vw-un) translateY(var(--vw-lift))}
#screen-lobby :is(.court-row,.lb-row):focus-visible{outline:0}
#screen-lobby .ranks-card:focus-visible{outline:0} #screen-lobby .ranks-card:focus-visible:not(:active){transform:var(--vw-un) translateY(var(--vw-lift))}      /* a Ranks card (a Tab stop since NOTES 353, to step its divisions): focus lifts it as a hover does (rule 4); the neon ring stays your rank's */
#screen-lobby .court-go{border-radius:var(--uv-r);background:var(--cp-main);color:#fff;box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-deep);transform:skewX(var(--uv-skew))} #screen-lobby .court-go > *{transform:skewX(calc(-1 * var(--uv-skew)))}
#screen-lobby .court-row.is-full .court-go{background:var(--uv-sky-2);color:var(--uv-ink)}
#screen-lobby .court-code{color:var(--uv-cobalt)}
/* the court list's scroll box and its skeleton read on the tray */
#screen-lobby .court-wrap{background:var(--cp-well);border-color:var(--cp-haze);box-shadow:none;border-radius:.6rem}      /* FULL SWEEP: a pale-sky well */
#screen-lobby .court-wrap::after{background:linear-gradient(transparent,var(--cp-well))}
#screen-lobby .court-list{padding:.5rem .75rem 2rem .75rem;gap:.75rem}
#screen-lobby .court-state[data-state="down"] > span{background:rgba(255,255,255,.95);color:var(--uv-ink)}
#screen-lobby .lb-list{padding:.5rem .75rem .5rem .5rem;gap:.6rem}
/* tabs: each option its own white block, the one outline and the one drop; the chosen one wears the one selected state, the neon ring round the block
   (owner 2026-11-07: the dark glass plate read as disabled; NOTES 314). Full-contrast text and count on every tab; they lift under the mouse */
#screen-lobby .seg,.settings .seg{padding:0;gap:.94rem;border:0;background:none;box-shadow:none;border-radius:0}
#screen-lobby .seg::before,.settings .seg::before,#screen-lobby .seg.has-thumb::before,.settings .seg.has-thumb::before{display:none}
#screen-lobby .seg-opt,.settings .seg-opt{--seg-ol:inset 0 0 0 var(--cp-ol) var(--uv-ink);--seg-drop:var(--cp-drop-sm);--seg-ring:0 0 0 .26rem var(--uv-neon), var(--cp-drop-sm-x) var(--cp-drop-sm-y) 0 .26rem var(--uv-ink);
  position:relative;isolation:isolate;height:3.88rem;min-width:0;padding:0 1.6rem;border:0;border-radius:0;background:none;box-shadow:none;color:var(--uv-ink);font-family:var(--font-display);font-weight:400;font-size:1.65rem;letter-spacing:0;
  transition:transform 180ms var(--uv-spring), color 120ms linear}
#screen-lobby .seg-opt::before,.settings .seg-opt::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:.35rem;transform:skewX(var(--uv-skew));background:#fff;box-shadow:var(--seg-ol), var(--seg-drop);transition:box-shadow 170ms var(--uv-snap)}
#screen-lobby .seg-opt{--seg-ol:inset 0 0 0 var(--vw-ol) var(--uv-ink);--seg-drop:var(--cp-drop-sm);--seg-ring:0 0 0 var(--vw-ring) var(--uv-neon), var(--vw-drop-sm-x) var(--vw-drop-sm-y) 0 var(--vw-ring) var(--uv-ink)}      /* the views' tabs: the rules' outline, the small drop (a tab is a small control, SPEC) */
#screen-lobby .seg-opt[aria-checked="true"],.settings .seg-opt[aria-checked="true"]{color:#fff;background:none;border:0;box-shadow:none}
#screen-lobby .seg-opt[aria-checked="true"]::before{background:var(--uv-neon);box-shadow:inset 0 0 0 var(--vw-ol) var(--cp-deep), var(--cp-drop-deep-sm)}
.settings .seg-opt[aria-checked="true"]::before{background:var(--uv-neon);box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-deep), var(--cp-drop-deep-sm)}      /* chosen (Cyan pop): the cyan fill, white words stroked deep, the deep outline and drop: a cyan block (SPEC "Chips and segments") */
#screen-lobby .seg-opt:disabled,.settings .seg-opt:disabled{color:var(--cp-text-3);cursor:default} #screen-lobby .seg-opt:disabled::before,.settings .seg-opt:disabled::before{background:var(--cp-off);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-off-2)}      /* a disabled option (Body with no camera): faded, no drop */
@media (hover:hover){ #screen-lobby .seg-opt:not(:disabled):hover,.settings .seg-opt:not(:disabled):hover{transform:translateY(-.25rem)} }
#screen-lobby .seg-opt:active:not(:disabled),.settings .seg-opt:active:not(:disabled){transform:scale(1,.9)}
#screen-lobby .seg-opt.ae-sel:not(:active),html:not(.ae-on) #screen-lobby .seg-opt:focus-visible:not(:active),.settings .seg-opt.ae-sel:not(:active),html:not(.ae-on) .settings .seg-opt:focus-visible:not(:active){transform:translateY(-.25rem)}      /* the keyboard's or the pad's pick lifts, as the mouse's */
#screen-lobby .seg-opt.ae-sel,.settings .seg-opt.ae-sel,.settings .seg-opt[aria-checked="true"].ae-sel,.seg.has-thumb > .seg-opt[aria-checked="true"].ae-sel{border:0;background:none;box-shadow:none}
#screen-lobby .seg-sm .seg-opt{height:2.9rem;padding:0 1.1rem;font-size:1.2rem} #screen-lobby .seg-sm{gap:.6rem}
.settings .seg-sm{gap:.7rem;max-width:100%} .settings .seg-sm .seg-opt{height:2.5rem;padding:0 .3rem;font-size:.86rem;flex:1 1 0;min-width:0;white-space:nowrap;overflow:visible}      /* the settings card's segs fit its width: four levels on one row */
.settings .seg-sm .seg-opt::before{transform:skewX(var(--cp-skew))}
.settings #bot-seg .seg-opt{padding:0 .3rem}      /* ui.css #bot-seg .seg-opt (.75rem a side, the old lobby's) out-ranked the line above: "Rookie" ran out of its chip on the court's Settings (NOTES 305) */
#screen-lobby .seg-n,#screen-lobby .seg-opt[aria-checked="true"] .seg-n{background:var(--cp-main);color:#fff;border-radius:.25rem;opacity:1;font-family:var(--font-display);font-weight:400}
#screen-lobby .seg-opt[aria-checked="true"] .seg-n{background:var(--cp-panel);color:var(--cp-deep);}
/* every button on a view past the home and in the Locker (the UI rules, NOTES 321): a flat face (white, neon for the primary / on), the one ink outline, the one hard drop;
   no shine band or inset highlight. Chosen / focused: the neon ring round the face, the drop grown under it (the home sheet's .ms-card), never the offset neon slab. Hover lifts .25rem */
:where(#screen-lobby:not([data-view="home"])) .btn{--bf:var(--vw-face);--bd0x:var(--vw-drop-x);--bd0y:var(--vw-drop-y);--bdx:var(--bd0x);--bdy:var(--bd0y)}      /* (:where: a view's own face, the Locker's In hand / Edit style / Equip, still wins) */
#lobby-locker{--lk-face:var(--vw-face);--lk-sec-label:var(--vw-sec-label)}      /* (FULL SWEEP: the secondary plate is white now, so its words are ink) */      /* the Locker's faces flat, on the Locker only (#btn-locker on the home keeps its own) */
#screen-lobby:not([data-view="home"]) .btn::before{background:var(--bf);border-width:var(--vw-ol);box-shadow:none}
#screen-lobby:not([data-view="home"]) .btn::after{box-shadow:none}
#screen-lobby:not([data-view="home"]) .btn:disabled{opacity:1;--bf:var(--vw-off-face);--bo:var(--cp-ink);color:var(--vw-off-label)} #screen-lobby:not([data-view="home"]) .btn:disabled::after{display:block}      /* switched off (Start tournament short of players): whole and opaque with its drop, the dim navy plate and dimmed words, as the Locker's (NOTES 409); it was the white plate at half opacity, fading into the slab */
#screen-lobby:not([data-view="home"]) .btn.ae-sel,html:not(.ae-on) #screen-lobby:not([data-view="home"]) .btn:focus-visible{--bdx:var(--bd0x,var(--vw-drop-x));--bdy:var(--bd0y,var(--vw-drop-y))}
#screen-lobby:not([data-view="home"]) .btn.ae-sel::before,html:not(.ae-on) #screen-lobby:not([data-view="home"]) .btn:focus-visible::before{box-shadow:0 0 0 var(--vw-ring) var(--uv-neon), 0 0 1.5rem rgba(var(--cp-main-rgb),.65)}
#screen-lobby:not([data-view="home"]) .btn.ae-sel::after,html:not(.ae-on) #screen-lobby:not([data-view="home"]) .btn:focus-visible::after{box-shadow:0 0 0 var(--vw-ring) var(--uv-ink)}
:where(#screen-lobby:not([data-view="home"])) :is(.btn-quiet,.btn-danger){--bf:var(--vw-face)} :where(#screen-lobby:not([data-view="home"])) .btn.is-focus{--bf:var(--uv-neon);--bo:var(--cp-deep);color:#fff;}
:where(#screen-lobby:not([data-view="home"])) .btn:not(:disabled):active,:where(#screen-lobby:not([data-view="home"])) .btn.is-pressed{--bf:var(--vw-press)}
:where(#screen-lobby:not([data-view="home"])) .btn.is-focus:not(:disabled):active{--bf:var(--cp-press)}
@media (hover:hover){
  #screen-match.is-active .btn:not(:disabled):not([aria-disabled="true"]):hover,#screen-match.is-active .btn.uv-hot:not(:disabled):not([aria-disabled="true"]):not(:active),
  #screen-lobby.is-active:not([data-view="home"]) .btn:not(:disabled):not([aria-disabled="true"]):hover,#screen-lobby.is-active:not([data-view="home"]) .btn.uv-hot:not(:disabled):not([aria-disabled="true"]):not(:active){transform:translateY(var(--vw-lift));--bdx:var(--bd0x,var(--vw-drop-x));--bdy:var(--bd0y,var(--vw-drop-y))}
  #screen-lobby.is-active:not([data-view="home"]) :is(.court-row,.lb-row,.fr-row,.ranks-card,.tour-chip).uv-hot:not([aria-disabled="true"]):not(:active){transform:var(--vw-un) translateY(var(--vw-lift))}
}
#screen-lobby:not([data-view="home"]) .btn.ae-sel:not(:active),html:not(.ae-on) #screen-lobby:not([data-view="home"]) .btn:focus-visible:not(:active){transform:translateY(var(--vw-lift))}
/* Your stats' Sign in with Google tips toward the mouse (owner 2026-11-17: "google button got no parallax effect on hover"): the views' buttons only lift (above), this one also takes
   ua-views.js's --rx/--ry, as the shop's chips do. The id out-ranks the lift and the selection's lift */
@media (hover:hover){ html:not([data-mobile]) #screen-lobby #btn-pf-signin.uv-hot:not(:disabled):not(:active){transform:perspective(30rem) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(var(--vw-lift)) scale(1.04);z-index:3} }
@media (prefers-reduced-motion: reduce){ html:not([data-mobile]) #screen-lobby #btn-pf-signin.uv-hot{transform:translateY(var(--vw-lift))} }
/* ---------- THE Back (NOTES 318, DESIGN-MASTER "Secondary buttons"): <button class="btn btn-sm btn-back">, the chevron then the word, on every surface (the views, the set-up
   screens, the mode sheet, the Settings and Friends cards). The secondary sky block: the sky face, deep words, the one ink outline, the small ink drop, the one slant (a pop-up's
   Back keeps it), the Locker's box (--back-*). Its states are the lobby's, the one set: picked (the mouse or the keys) the neon ring and the lift; a hover a hair bigger with the
   chevron running; a key press squashes it onto its drop. A surface only places it (left / top, or a phone size of its own) ---------- */
.btn.btn-back{width:var(--back-w);height:var(--back-h);padding:0;gap:.5rem;font-size:var(--back-fs);--bd0x:var(--cp-drop-sm-x);--bd0y:var(--cp-drop-sm-y);--bdx:var(--bd0x);--bdy:var(--bd0y);transition:transform 200ms var(--uv-spring), color var(--d-fast) linear}
.btn.btn-back:not(#_){--bf:var(--cp-sec);color:var(--cp-sec-label)}      /* (:not(#_) here and below is one id's weight on a selector that matches anywhere: the face, the words and the states out-rank each screen's own .btn press face, hover tilt and squash, so Back reads the same on every surface; its size stays low, so a narrow header's own size still wins) */
.btn.btn-back::before{box-shadow:none;transition:box-shadow 170ms var(--uv-snap)} .btn.btn-back::after{box-shadow:none;transition:transform 200ms var(--uv-spring)}      /* flat: no shine line, no slab (the pick is the ring) */
.btn.btn-back svg{width:.7rem;height:1.2rem;fill:none;stroke:var(--ua-outline);stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;transition:translate 240ms var(--ease-bounce)}
.btn.btn-back:focus-visible svg{translate:-.1875rem 0} .btn.btn-back:active svg{translate:-.375rem 0}      /* the arrow leans the way it goes */
.btn.btn-back:not(#_).ae-sel::before,html:not(.ae-on) .btn.btn-back:not(#_):focus-visible::before{box-shadow:0 0 0 var(--vw-ring) var(--uv-neon), 0 0 1.5rem rgba(var(--cp-main-rgb),.65)}
.btn.btn-back:not(#_).ae-sel::after,html:not(.ae-on) .btn.btn-back:not(#_):focus-visible::after{box-shadow:0 0 0 var(--vw-ring) var(--uv-ink)}
.btn.btn-back:not(#_):not(:disabled):not([aria-disabled="true"]).ae-sel:not(.ae-down),html:not(.ae-on) .btn.btn-back:not(#_):not(:disabled):focus-visible:not(.ae-down){transform:translateY(var(--vw-lift));--bdx:var(--bd0x);--bdy:var(--bd0y)}      /* picked: the lift, the drop held */
@media (hover:hover){
  .btn.btn-back:not(#_):not(:disabled):not([aria-disabled="true"]):is(:hover,.uv-hot):not(.ae-down){transform:translateY(var(--vw-lift));--bdx:var(--bd0x);--bdy:var(--bd0y)}      /* under the mouse the same lift, never a tilt (ua-views.js .uv-hot), held while the mouse presses */
  .btn.btn-back:not(:disabled):not([aria-disabled="true"]):hover:not(:active){scale:1.04}      /* a hair bigger (ui.css's .btn hover, which a card's .settings rule switched off) */
}
html .btn.btn-back:not(#_):not(:disabled):not([aria-disabled="true"]):is(.ae-down,:active:not(:hover)){transform:scale(1,.88);--bdx:.125rem;--bdy:.1875rem;transition-duration:45ms}      /* a key press: the squash, the drop plate shut under it (html: it out-ranks the focus lift above) */
@media (hover:hover) and (prefers-reduced-motion:no-preference){ .btn.btn-back:not(:disabled):hover svg{animation:uv-nudge 520ms ease-in-out infinite alternate} }      /* the chevron runs back */
@media (prefers-reduced-motion:reduce){ .btn.btn-back:not(#_){transition:none;transform:none!important} .btn.btn-back svg{transition:none} }
/* the bot levels: four white blocks; the one you are on wears the neon ring like every chosen thing (was a cobalt fill and a slab, ui.css) */
#screen-lobby .bot-levels .btn.ae-sel,html:not(.ae-on) #screen-lobby .bot-levels .btn:focus-visible{--bf:var(--vw-face);color:var(--uv-ink)}
#screen-lobby .bot-levels .btn small,#screen-lobby .bot-levels .btn.ae-sel small,html:not(.ae-on) #screen-lobby .bot-levels .btn:focus-visible small{color:var(--uv-ink)}
/* the view's primary is cyan at every size (white words stroked deep, the deep outline and drop) */
#screen-lobby :is(#btn-create-go,#btn-share-go){--bf:var(--uv-neon);--bo:var(--cp-deep);color:#fff;--glo:rgba(var(--cp-main-rgb),.3)}
#lobby-tour .tour-start:not(:disabled){--bf:var(--uv-neon);--bo:var(--cp-deep);color:#fff;--glo:rgba(var(--cp-main-rgb),.3)}
/* the view's rows enter one after the other, slid in from the right and skewed (the artifact's data-in="r") */
@media (prefers-reduced-motion: no-preference){
  #screen-lobby .panel.lobby-view:not(.lobby-home) > *{animation:uv-inR 300ms var(--uv-snap) backwards;animation-delay:calc(60ms + var(--i,0) * 40ms)}
  #screen-lobby .panel.lobby-view:not(.lobby-home) > :nth-child(2){--i:1} #screen-lobby .panel.lobby-view:not(.lobby-home) > :nth-child(3){--i:2} #screen-lobby .panel.lobby-view:not(.lobby-home) > :nth-child(4){--i:3}
  #screen-lobby .panel.lobby-view:not(.lobby-home) > :nth-child(5){--i:4} #screen-lobby .panel.lobby-view:not(.lobby-home) > :nth-child(6){--i:5} #screen-lobby .panel.lobby-view:not(.lobby-home) > :nth-child(n+7){--i:6}
  #screen-lobby[data-dir="back"] .panel.lobby-view:not(.lobby-home) > *{animation-name:uv-inL}
  #screen-lobby:not([data-view="home"]) .menu-title{animation:uv-inL 300ms var(--uv-snap) backwards}
  /* Courts lays its rows out through display:contents: they enter by name. The tray itself lands, and the actions under it pop (the artifact's data-in="pop") */
  #lobby-courts .room-wrap{animation:uv-inR 300ms var(--uv-snap) 100ms backwards}
  #screen-lobby .panel.lobby-view:not(.lobby-home)::before{animation:uv-inR 300ms var(--uv-snap) backwards}
  #screen-lobby:not([data-view="home"]) .btn-back,#lobby-tour .tour-acts .btn,#btn-create-go,#btn-share-go{animation:uv-pop 300ms var(--uv-spring) 200ms backwards}
  #lobby-tour .tour-acts .btn + .btn{animation-delay:240ms}
}
@keyframes uv-pop{from{scale:.7;rotate:-4deg;opacity:0}}
/* ---------- the view's info popup (NOTES 321): the (i) beside the title (Ranks, Tournament), one dialog on the home sheet's solid panel; the page itself carries no paragraphs ---------- */
#screen-lobby .view-info-btn{position:relative;flex:none;width:3.2rem;height:3.2rem;padding:0;align-self:center}
#screen-lobby .view-info-btn svg{width:1.7rem;height:1.7rem;fill:none;stroke:var(--uv-ink);stroke-width:2.6;stroke-linecap:round}
#screen-lobby .view-info-btn[hidden]{display:none}
.info-sheet{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:1.5rem;background:var(--cp-scrim);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}      /* FULL SWEEP: the light frosted scrim */
.info-sheet[hidden]{display:none}
.info-box{position:relative;isolation:isolate;width:min(40rem,100%);max-height:calc(100vh - 3rem);overflow:visible;display:grid;gap:1.1rem;padding:1.8rem 2.1rem 2.1rem;color:var(--cp-text)}
.info-box::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--vw-slab-r);background:var(--cp-panel);box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink), var(--cp-drop), var(--cp-pop-soft)}      /* the slab's face (the Locker's): one card language for the (i) popups and the Inbox */
.info-box.is-in{animation:ms-in 260ms cubic-bezier(.2,1.3,.4,1) both}
.info-h{margin:0;padding-right:3.6rem;font-family:var(--font-display);font-weight:400;font-size:2.1rem;line-height:1.05;color:var(--cp-text)}
.info-close{position:absolute;right:1.4rem;top:1.4rem}
.info-close svg{fill:none;stroke:var(--uv-ink);stroke-width:2.6;stroke-linecap:round}
.info-body{display:grid;gap:.9rem}
.info-body p,#screen-lobby .info-body p{margin:0;font-family:var(--font-text);font-weight:500;font-size:1.15rem;line-height:1.45;color:var(--cp-text);text-align:left;text-shadow:none}

@media (max-width:600px){ .info-box{padding:1.4rem 1.3rem 1.6rem} .info-h{font-size:1.7rem} .info-close{right:1rem;top:1rem} .info-body p,#screen-lobby .info-body p{font-size:1.45rem} }
@media (prefers-reduced-motion: reduce){ .info-box.is-in{animation:none} }
/* ==========================================================================================================
   THE RIGHT COLUMN (the artifact's Locker, section#creator: .cr-head, .panel, .tabs, .tray, .acts). Where the kid stands on the court (scene.js kidWanted: wider than 6:5, not a phone) every view past the
   home is laid out as that screen: the heading plate top left over him, the column on the right half (792 wide, right 40), the tabs on their own row, the tray under them, the view's primary
   docked under the tray. The one Back is the header's, top left with the title after it, as the Locker (NOTES 314). All in rem through the root clamp, so the composition keeps its share of any desktop window. --vt centres it in a window taller than 16:10
   ========================================================================================================== */
#lobby-create .seg-opt .cv-art{display:none}      /* the Create court choices' art panels: the wide layout's cards only (below) */
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]){--vt:max(0rem,calc((100vh - 52.94rem) / 2));--vcol:46.6rem;--vr:2.35rem;--vtop:calc(var(--vt) + 5.5rem);--vtray:33.1rem;--vtabs:4.82rem;--vact:5.9rem;--vgap:2.1rem}
  /* the glass's veil and its 1.6 px blur are the old lobby's: the picture is sharp behind the plates, as on the home */
  html:not([data-mobile]) body[data-screen="lobby"]:has(#screen-lobby:not([data-view="home"])) .glass{-webkit-backdrop-filter:none;backdrop-filter:none;background:none}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .menu-head{position:absolute;left:0;right:0;top:0;height:0;min-height:0;padding:0;overflow:visible;z-index:3;gap:0}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .menu-title{position:absolute;left:calc(var(--back-x) + var(--back-w) + var(--title-gap));font-size:var(--title-fs);padding:var(--title-pt) 2rem var(--title-pb) 1.5rem;white-space:nowrap;
    top:calc(var(--vt) * .35 + var(--back-y) + (var(--back-h) - var(--title-fs) - var(--title-pt) - var(--title-pb)) / 2)}      /* after Back, on one line with it: the two share a centre line (the Locker's, NOTES 291) */

  /* (FULL SWEEP) no per-view step-down: every title is the one --cp-title-fs, its padding tight enough that Leaderboard and Create court end before the column at 1024 and 1440 */
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .btn-back:not([hidden]){position:absolute;left:var(--back-x);right:auto;top:calc(var(--vt) * .35 + var(--back-y));width:var(--back-w);height:var(--back-h);padding:0;font-size:var(--back-fs)}      /* Back: the Locker's place; the size again only because the narrow header's own size above out-ranks the one Back's (the look is "THE Back") */
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .view-info-btn{position:absolute;left:calc(var(--back-x) + var(--back-w) + var(--title-gap) + var(--title-w, 10rem) + 1.2rem);top:calc(var(--vt) * .35 + var(--back-y));width:var(--back-h);height:var(--back-h)}      /* the (i): after the title plate (ui.js sets --title-w), on Back's line */
  html:not([data-mobile]) :is(#screen-connect,#screen-camera,#cal).menu-bg .btn-back:not([hidden]){left:var(--back-x);top:var(--back-y);translate:none}      /* the set-up screens' Back: the Locker's place (NOTES 314); its size and look are the one Back's */
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .head-end{right:var(--vr);top:calc(var(--vt) * .35 + .95rem);translate:none}      /* (--vt * .35 as the title and Back: one top line in a window taller than 16:10, NOTES 305) */
  /* the footer: no bar, as on the home; the legal line and the keys stay, on the picture with the ink shadow */
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .menu-foot{position:absolute;left:0;right:0;bottom:0;height:2.75rem;min-height:0;padding:0 2.35rem;background:none;border:0;box-shadow:none;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:2rem;z-index:2}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .menu-foot::before,html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .menu-foot::after{content:none}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .menu-foot .foot-agree{order:0;flex:0 1 auto;width:auto;text-align:left;color:#fff;font-size:.8rem;font-weight:700;text-shadow:0 .0625rem 0 var(--uv-ink), 0 0 .25rem var(--uv-ink), 0 0 .5rem rgba(var(--cp-ink-rgb),.7)}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .menu-foot .foot-agree .foot-link{color:#fff}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .menu-foot .keyhints-inline{order:1;margin:0 0 0 auto;color:#fff;font-size:.8rem;text-shadow:0 .0625rem 0 var(--uv-ink), 0 0 .4rem rgba(var(--cp-ink-rgb),.7)}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .menu-foot .keyhints-inline li{color:var(--uv-ink);font-weight:700;text-shadow:0 0 .3rem #fff, 0 0 .6rem #fff}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .menu-foot .ph-badge{position:static;order:2;opacity:.85}
  /* the count on the artifact's little ink plate, the live dot pinging */
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .lobby-online{position:relative;isolation:isolate;padding:.5rem 1.2rem .42rem 2.2rem;font-family:var(--font-display);font-weight:400;font-size:1.05rem;color:var(--cp-text);text-shadow:none;background:linear-gradient(100deg,transparent .22rem,var(--cp-panel) .26rem,var(--cp-panel) calc(100% - .26rem),transparent calc(100% - .22rem))}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .head-end .lobby-online::before{position:absolute;left:1.05rem;top:50%;margin-top:-.35rem;width:.7rem;height:.7rem;background:var(--uv-glow);box-shadow:0 0 .5rem var(--uv-glow);z-index:1}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .head-end .lobby-online::after{left:1.05rem;top:50%;margin-top:-.35rem;width:.7rem;height:.7rem;background:var(--uv-glow);z-index:1}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .head-end{gap:1rem}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .menu-foot .ph-badge img{height:2rem}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .menu-body{position:absolute;left:auto;right:var(--vr);top:calc(var(--vtop) - .5rem);bottom:auto;width:var(--vcol);height:calc(var(--vtray) + var(--vgap) + var(--vact) + .5rem);flex:none;padding:.5rem 0 0;overflow:visible;align-items:stretch;justify-content:flex-start;gap:1rem}      /* (.5rem of room above the tray: the lean never takes it out of its own box) */
  /* the name is the home card's. The row stays for a player with none (a link straight to Courts, the home's Play a bot with the name empty): it asks here, above the tray */
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]):not(.needs-name) .name-row:not(:focus-within){display:none}
  html:not([data-mobile]) #screen-lobby:is(.needs-name,:has(#name-input:focus)):not([data-view="home"]) .panel.lobby-view{height:calc(var(--vtray) - 5.2rem)}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .name-row{flex:none;margin:0 1.4rem 0 .6rem}
  /* a notice over the column, never pushing the tray off its actions */
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .tour-ended{position:absolute;left:.6rem;right:1.4rem;top:1rem;width:auto;z-index:4}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .lobby-down{position:absolute;left:.6rem;right:auto;top:-2.6rem;margin:0;z-index:4}
  /* the tray */
  html:not([data-mobile]) #screen-lobby .panel.lobby-view:not(.lobby-home){width:100%;max-width:none;height:var(--vtray);flex:none;margin:0;padding:1.76rem 2.2rem 1.76rem 2.5rem;overflow:visible;text-align:left}
  html:not([data-mobile]) #screen-lobby .panel.lobby-view:is(.courts,.lb-view)::before{top:var(--vtabs)}
  /* a view with no action row under its tray (Back went top left, NOTES 314): the tray runs down to where the actions would sit, as the Locker's panel does */
  html:not([data-mobile]) #screen-lobby:is([data-view="bot"],[data-view="ranks"],[data-view="leaderboard"],[data-view="friends"],[data-view="profile"]) .panel.lobby-view:not(.lobby-home){height:calc(var(--vtray) + var(--vgap) + var(--vact));max-height:none}
  html:not([data-mobile]) #screen-lobby:is([data-view="bot"],[data-view="ranks"],[data-view="leaderboard"],[data-view="friends"],[data-view="profile"]):is(.needs-name,:has(#name-input:focus)) .panel.lobby-view:not(.lobby-home){height:calc(var(--vtray) + var(--vgap) + var(--vact) - 5.2rem)}
  /* a window of its own: the bracket needs the width, so the tray takes the screen under the heading */
  html:not([data-mobile]) #screen-lobby[data-view="bracket"] .menu-body{left:3.4rem;width:auto;top:calc(var(--vt) + 9.4rem);height:calc(var(--vtray) + var(--vgap) - 3.9rem)}
  html:not([data-mobile]) #screen-lobby[data-view="bracket"] .panel.lobby-view{height:100%;overflow:visible;display:flex;flex-direction:column;gap:.9rem}
  html:not([data-mobile]) #screen-lobby[data-view="bracket"] .bracket{flex:1 1 0;min-height:0;overflow:auto}
  html:not([data-mobile]) #screen-lobby[data-view="bracket"] .br-foot{flex:none;display:flex;justify-content:flex-end}


  /* ---- Create: Public / Private on the tab row, the note in the tray, Create the action ---- */
  html:not([data-mobile]) #screen-lobby .panel.lobby-view#lobby-create{display:flex;flex-direction:column;align-items:stretch;gap:1.76rem;padding:2.35rem 2.8rem 2.2rem 3rem}
  html:not([data-mobile]) #lobby-create .seg{flex:1 1 0;min-height:0;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:2.1rem;margin:0}
  html:not([data-mobile]) #screen-lobby #lobby-create .seg-opt{height:100%;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:1rem;padding:1.15rem 1.5rem 1.3rem;font-size:2.7rem;line-height:1;color:var(--uv-ink)}
  /* each choice is a card like the mode sheet's (ua-brawl.css .ms-art): a cobalt art panel with its picture, the name under it. It was a word alone in a big white block */
  html:not([data-mobile]) #lobby-create .seg-opt .cv-art{display:grid;flex:1 1 0;min-height:0}
  html:not([data-mobile]) #lobby-create .seg-opt .cv-art{border-radius:var(--uv-r);box-shadow:none}      /* (owner 2026-11-12: "make the background the same" as the game selection cards) the mode sheet's own art ground (ua-brawl.css .ms-art: the sky ramp, its court lines), no flat cyan of its own      /* FULL SWEEP: a flat cyan art panel (no deep ramp); art inside its card, so no outline or drop of its own */      /* no big disc in the corner (owner 2026-11-08: "remove the random ellipse in the bottom right corner") */
  html:not([data-mobile]) #lobby-create .seg-opt .cv-art .mi{width:min(9.5rem,64%);height:auto;aspect-ratio:1}
  html:not([data-mobile]) #lobby-create .seg-opt .cv-nm{flex:none;padding-left:.2rem;font:inherit;text-align:left}
  @media (hover:hover){ html:not([data-mobile]) #lobby-create .seg-opt:hover .cv-art .mi{transform:skewX(calc(-1 * var(--cp-skew))) translateY(-.3rem) scale(1.05)} }
  html:not([data-mobile]) #screen-lobby #lobby-create .seg-opt::before{border-radius:var(--uv-r);border:var(--cp-ol) solid var(--uv-ink);background:#fff;box-shadow:var(--cp-drop)}      /* UI rules (NOTES 305): a flat white block, one outline, one drop; no shine band or inner glow */
  html:not([data-mobile]) #screen-lobby #lobby-create .seg-opt[aria-checked="true"]{color:var(--uv-ink);}
  html:not([data-mobile]) #screen-lobby #lobby-create .seg-opt[aria-checked="true"]::before{background:#fff;border-color:var(--cp-deep);box-shadow:0 0 0 .26rem var(--uv-neon), var(--cp-drop-x) var(--cp-drop-y) 0 .26rem var(--cp-ink)}      /* chosen: the one neon ring (the mode sheet's, ua-brawl.css .ms-card), not a cobalt fill with a neon offset slab */
  html:not([data-mobile]) #lobby-create #seg-note{flex:none;margin:0;font-family:var(--font-display);font-weight:400;font-size:1.76rem;line-height:1.1;text-align:center}
  html:not([data-mobile]) #lobby-create #btn-create-go{position:absolute;left:.6rem;right:1.8rem;top:calc(100% + var(--vgap));height:var(--vact);font-size:2.6rem;--bf:var(--uv-neon);--bo:var(--cp-deep);color:#fff;--glo:rgba(var(--cp-main-rgb),.3);--bdx:var(--cp-drop-x);--bdy:var(--cp-drop-y)}

  /* ---- Share ---- */
  /* the code across the tray's width and the link under it as one group from the top, so Copy link's choices open inside the tray (they ran over its foot onto Start) */
  html:not([data-mobile]) #screen-lobby .panel.lobby-view#lobby-share{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:1.5rem;padding:2.6rem 3.2rem 2rem 3rem}
  html:not([data-mobile]) #lobby-share > .caps{margin:0;align-self:flex-start;font-family:var(--font-display);font-size:1.76rem}
  html:not([data-mobile]) #lobby-share .code-boxes{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem;width:100%}
  html:not([data-mobile]) #lobby-share .code-box{width:auto;height:min(9rem,22vh);font-size:min(5.6rem,13vh)}
  /* the link: one flat white block (the views' outline and hard drop), the address flat inside it (it was a pale glass well with a second box round the address) */
  html:not([data-mobile]) :is(#lobby-share,#lobby-tour) .share-link{width:100%;justify-content:space-between;padding:.45rem .45rem .45rem 1.3rem;border:var(--vw-ol) solid var(--uv-ink);border-radius:var(--uv-r);background:#fff;box-shadow:var(--cp-drop)}
  html:not([data-mobile]) :is(#lobby-share,#lobby-tour) .share-link .addr{flex:1 1 0;min-width:0;padding:0;border:0;background:none;box-shadow:none;font-size:1.25rem;color:var(--uv-ink)}
  /* Copy link's two choices: a white block like every other (one outline, one hard drop), no captions under the names */
  html:not([data-mobile]) #lobby-share .copy-drop{top:calc(100% + .7rem);min-width:0;width:max-content;padding:.4rem;gap:.25rem;border:var(--vw-ol) solid var(--uv-ink);border-radius:var(--uv-r);background:#fff;box-shadow:var(--cp-drop);backdrop-filter:none;-webkit-backdrop-filter:none}
  html:not([data-mobile]) #lobby-share .copy-opt{padding:.6rem 1rem .6rem .8rem;border-radius:.3rem;font-family:var(--font-display)}
  html:not([data-mobile]) #lobby-share .copy-opt b{font-family:var(--font-display);font-weight:400;font-size:1.2rem;color:var(--uv-ink);white-space:nowrap}
  html:not([data-mobile]) #lobby-share .copy-opt small{display:none}
  html:not([data-mobile]) #lobby-share .copy-opt:is(:hover,:focus-visible){background:var(--uv-neon);color:var(--cp-label);box-shadow:none}
  html:not([data-mobile]) #lobby-share #btn-share-go{position:absolute;left:.6rem;right:1.8rem;top:calc(100% + var(--vgap));height:var(--vact);font-size:2.6rem;--bf:var(--uv-neon);--bo:var(--cp-deep);color:#fff;--glo:rgba(var(--cp-main-rgb),.3);--bdx:var(--cp-drop-x);--bdy:var(--cp-drop-y)}

  /* ---- Play a bot: the machine at the head of the tray, the four levels as blocks ---- */
  html:not([data-mobile]) #screen-lobby .panel.lobby-view#lobby-bot{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:8.4rem minmax(0,1fr);gap:1.1rem 1.4rem;align-items:center;padding-top:1.1rem}
  html:not([data-mobile]) #lobby-bot .uv-robot{grid-column:1 / -1;grid-row:1;justify-self:center;width:8.1rem;height:8.4rem;margin:0}      /* Matt alone at the head: the "Select difficulty" caption is for readers only (it repeated the title) */
  html:not([data-mobile]) #lobby-bot #bot-title{grid-column:2;grid-row:1;justify-self:start;margin:0;font-family:var(--font-display);font-size:2rem;text-align:left}
  html:not([data-mobile]) #lobby-bot .bot-levels{grid-column:1 / -1;grid-row:2;height:100%;grid-template-columns:1fr 1fr;grid-auto-rows:1fr;gap:1.5rem 1.9rem;padding:0 .6rem .4rem 0}
  html:not([data-mobile]) #lobby-bot .bot-levels .btn{height:auto;min-height:0;padding:0 1rem 0 1.9rem;align-items:flex-start;justify-content:center;gap:.4rem;text-align:left;--bdx:var(--cp-drop-x);--bdy:var(--cp-drop-y)}
  html:not([data-mobile]) #lobby-bot .bot-levels .btn b{font-family:var(--font-display);font-weight:400;font-size:2.35rem;line-height:1}
  html:not([data-mobile]) #lobby-bot .bot-levels .btn small{font-family:var(--font-text);font-size:1.05rem;font-weight:500;white-space:normal;text-align:left;color:var(--cp-text-2)}      /* a running description: Rubik at 500 (SPEC "No old font") */

  /* ---- Leaderboard: the boards on the tab row ---- */
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:3.88rem auto minmax(0,1fr) auto;gap:.7rem .8rem!important;padding:0 2.2rem 1.2rem 2.5rem!important;align-items:stretch;max-height:none}
  html:not([data-mobile]) #lobby-leaderboard .lb-tabs{grid-column:1 / -1;grid-row:1;display:grid;grid-template-columns:repeat(3,1fr);width:auto;margin:0 -2.1rem .7rem -1.4rem;padding:0 .6rem;max-width:none;gap:.94rem}
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-tabs .seg-opt{height:3.88rem;padding:0 .3rem;font-size:1.4rem}
  html:not([data-mobile]) #lobby-leaderboard .lb-scope{grid-column:1;grid-row:2;margin:.9rem 0 0;justify-self:start;align-self:center;font-size:.9rem;padding:.3rem .7rem}
  html:not([data-mobile]) #lobby-leaderboard .lb-what{display:none}
  html:not([data-mobile]) #lobby-leaderboard .lb-show{grid-column:2;grid-row:2;margin:.9rem 0 0;width:auto;min-height:0;padding:0;gap:.6rem;font-size:.85rem;color:var(--cp-text);background:none;border:0}
  html:not([data-mobile]) #lobby-leaderboard .lb-wrap{grid-column:1 / -1;grid-row:3;min-height:0;width:auto;height:auto;display:flex}
  html:not([data-mobile]) #lobby-leaderboard .lb-list{flex:1;max-height:none;height:100%;overflow-y:auto;overscroll-behavior:contain;padding:.3rem .9rem .9rem .6rem;gap:.8rem}
  html:not([data-mobile]) #lobby-leaderboard .lb-you{grid-column:1 / -1;grid-row:4;width:auto;min-height:3.4rem;margin:0 .9rem 0 0;padding:.2rem .9rem .2rem .6rem}

  /* ---- Ranks: all eight at once, four across, no scroll ---- */
  html:not([data-mobile]) #screen-lobby .panel.lobby-view.ranks-view::before,html:not([data-mobile]) #screen-lobby .panel.lobby-view.lb-view::before,html:not([data-mobile]) #screen-lobby .panel.lobby-view.pf-view::before{transform:none}
  html:not([data-mobile]) #screen-lobby .panel.lobby-view#lobby-ranks{display:flex;flex-direction:column;gap:.7rem;overflow:visible;padding:1.05rem 1.7rem 1rem 2.3rem}
  html:not([data-mobile]) #lobby-ranks .ranks-lead,html:not([data-mobile]) #lobby-ranks .ranks-note{flex:none;font-size:.9rem;line-height:1.25;margin:0;text-align:left}
  html:not([data-mobile]) #lobby-ranks .ranks-grid{flex:1 1 0;min-height:0;overflow:visible;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:1rem .95rem;margin:0;padding:.35rem .5rem .3rem .75rem}
  html:not([data-mobile]) #lobby-ranks .ranks-card{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:.05rem;min-width:0;padding:.4rem .5rem .35rem .4rem;text-align:center}
  html:not([data-mobile]) #lobby-ranks .ranks-name{font-size:1.2rem;line-height:1.05}
  html:not([data-mobile]) #lobby-ranks .ranks-from{font-size:.84rem;line-height:1.1;white-space:nowrap}
  html:not([data-mobile]) #lobby-ranks .ranks-divs{display:flex;justify-content:center;gap:.25rem;margin:0}
  html:not([data-mobile]) #lobby-ranks .ranks-evo{display:grid;justify-items:center;gap:0}
  html:not([data-mobile]) #lobby-ranks .ranks-evo .ranks-div,html:not([data-mobile]) #screen-lobby #lobby-ranks .ranks-evo .ranks-div.is-on{display:block;width:auto;height:auto;min-width:0;padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;transform:none;font-family:var(--font-display);font-style:normal;font-weight:400;font-size:max(.72rem,12px);line-height:1;color:var(--uv-ink)} html:not([data-mobile]) #lobby-ranks .ranks-divs > .ranks-div:only-child{display:block;font-size:.84rem;line-height:1.1;background:none;color:var(--uv-ink);white-space:normal;box-shadow:none;font-style:normal;font-family:var(--font-display);font-weight:400}
  html:not([data-mobile]) #lobby-ranks .ranks-at{font-family:var(--font-display);font-size:.74rem;line-height:1;font-weight:400}
  /* a tall window (owner 2026-11-08, "what happened to this positioning"): the card's pieces stay one group in the middle, and the medals grow with the card (container units) and the window's height */
  html:not([data-mobile]) #lobby-ranks .ranks-card{container-type:inline-size;justify-content:center;padding:.5rem .55rem}
  /* the face leans -6deg about the card's middle (rule 1), so its middle runs from right of the box's centre at the top to left of it at the foot. The column is sheared with
     the face and each piece stands back up on that slant: the medal, the name and the divisions sit on the face's own centre line (owner 2026-11-08, "not centered properly") */
  html:not([data-mobile]) #lobby-ranks .ranks-in{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(.3rem,1.1vh,.9rem);align-self:stretch;flex:1 1 auto;min-height:0;transform:skewX(var(--uv-skew))}
  html:not([data-mobile]) #lobby-ranks .ranks-in > *{transform:skewX(calc(-1 * var(--uv-skew)))}
  html:not([data-mobile]) #lobby-ranks .ranks-hero,html:not([data-mobile]) #lobby-ranks .ranks-hero > .rank-em{width:min(72cqw,14vh);height:min(72cqw,14vh)}      /* the big medal fills the card's head ("they're really tiny"), a little under it so III's wings and crest keep a margin (NOTES 353) */
  html:not([data-mobile]) #lobby-ranks .ranks-divs{gap:min(3cqw,.5rem);margin-top:clamp(0rem,.6vh,.5rem)}
  html:not([data-mobile]) #lobby-ranks .ranks-evo{gap:.12rem} html:not([data-mobile]) #lobby-ranks .ranks-evo .rank-em{width:min(28cqw,5vh);height:min(28cqw,5vh)}      /* the three divisions, all laid out, at a size that reads */
  html:not([data-mobile]) #screen-lobby #lobby-ranks .ranks-evo.is-me .ranks-div{padding:.12rem .32rem .1rem;border-radius:.2rem;background:var(--uv-neon);color:#fff;}      /* your division: a neon chip on its numeral (rule 4), now the big medal cycles */
  html:not([data-mobile]) #lobby-ranks .ranks-name{font-size:clamp(1.2rem,2.6vh,1.7rem)}
  html:not([data-mobile]) #lobby-ranks .ranks-tag{position:absolute;right:-.3rem;top:-.5rem;margin:0;padding:.14rem .5rem .12rem;font-size:.74rem;white-space:nowrap}
  /* the Ranks showcase (owner 2026-11-08, NOTES 353): the left half, where the kid stands on the other views (main.js sends him off on Ranks); one big medal and its name on
     a white plate, the one block (rules 1-3), stepping through the ladder (web/ui.js ranksMotion). It hangs at the tray's height, centred in the room left of it */
  html:not([data-mobile]) #screen-lobby[data-view="ranks"] .ranks-show:not([hidden]){position:absolute;left:0;right:calc(var(--vr) + var(--vcol));top:var(--vtop);height:calc(var(--vtray) + var(--vgap) + var(--vact));display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(1rem,3vh,2rem);pointer-events:none;z-index:1}
  html:not([data-mobile]) .ranks-show-em{width:min(calc((100vw - var(--vr) - var(--vcol)) * .62),48vh);aspect-ratio:1}
  html:not([data-mobile]) .ranks-show-name{position:relative;isolation:isolate;padding:.55rem 1.8rem .5rem;font-family:var(--font-display);font-weight:400;font-size:clamp(1.6rem,3.6vh,2.3rem);line-height:1.1;color:var(--uv-ink);white-space:nowrap}
  html:not([data-mobile]) .ranks-show-name::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uv-r);background:#fff;border:var(--vw-ol) solid var(--uv-ink);box-shadow:inset .45rem 0 0 var(--frame), var(--cp-drop);transform:skewX(var(--uv-skew))}      /* the racket's rarity: the Locker card's coloured edge (locker.css .lk-info) */
  html:not([data-mobile]) #lobby-courts .court-list,html:not([data-mobile]) #lobby-leaderboard .lb-list,html:not([data-mobile]) #lobby-friends .fr-scroll{-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 1.4rem),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 1.4rem),transparent)}

  /* ---- Tournament: the code and the link beside who joined; Warm up and Start are the actions ---- */
  html:not([data-mobile]) #lobby-tour{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:1.6rem;align-items:start}
  html:not([data-mobile]) #lobby-tour .tour-share,html:not([data-mobile]) #lobby-tour .tour-side{position:static;min-width:0;height:100%}
  html:not([data-mobile]) #lobby-tour .tour-join,html:not([data-mobile]) #lobby-tour .tour-copied,html:not([data-mobile]) #lobby-tour .tour-rules{text-align:left}
  html:not([data-mobile]) #lobby-tour .tour-join{font-size:1.76rem;margin:0}
  html:not([data-mobile]) #lobby-tour .tour-join{justify-content:flex-start}      /* "with code" on the left under the address, as the line above it (ui.css's flex centring held it mid-column under a left-aligned line) */
  html:not([data-mobile]) #lobby-tour .tour-names{flex:1 1 0;min-height:0;overflow-y:auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:.7rem .9rem;padding:.3rem .8rem .5rem .5rem}
  html:not([data-mobile]) #lobby-tour .code-boxes.is-huge .code-box{width:4.4rem;height:5.6rem;font-size:3.6rem}
  html:not([data-mobile]) #lobby-tour .tour-acts{position:absolute;left:.6rem;right:1.8rem;top:calc(100% + var(--vgap));height:var(--vact);display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:1.9rem;margin:0;padding:0}
  html:not([data-mobile]) #lobby-tour .tour-acts .btn{height:100%;min-width:0;padding:0 .8rem;font-size:1.4rem;white-space:normal;line-height:1.05;--bdx:var(--cp-drop-x);--bdy:var(--cp-drop-y)}
  html:not([data-mobile]) #lobby-tour .tour-acts .tour-start:not(:disabled){order:0;height:100%;font-size:1.5rem;--bf:var(--uv-neon);--bo:var(--cp-deep);color:#fff;--glo:rgba(var(--cp-main-rgb),.3)}

  /* ---- the column's depth (the artifact's .dz-ui): it leans with the cursor, nearest of all (ua-views.js smooths --px/--py on the view in front). No filter, one element ---- */
  html:not([data-mobile]) #screen-lobby .panel.lobby-view:not(.lobby-home){translate:calc(var(--px,0) * .59rem) calc(var(--py,0) * .35rem)}
  html:not([data-mobile]) #screen-match .result-card > *{translate:calc(var(--px,0) * .59rem) calc(var(--py,0) * .35rem)}      /* the rows, never #result itself: its box is scene.setVictory's pane */
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .btn-back:not([hidden]){translate:calc(var(--px,0) * .59rem) calc(var(--py,0) * .35rem)}
  /* ---- Your stats: the white tray filled top to bottom, as the page's card fills its plate. Rows share the height (a guest's short card grows, never ends two thirds down); each row keeps one slanted left edge (--sh, the tray's 5 deg); figures on the home's ink plates ---- */
  html:not([data-mobile]) #screen-lobby .panel.lobby-view:is(#lobby-profile,#lobby-friends){padding:1rem 2.2rem 1rem 2.4rem}
  html:not([data-mobile]) #screen-lobby .panel.lobby-view#lobby-profile{display:flex;flex-direction:column;justify-content:stretch;gap:.55rem;padding:.8rem 2.1rem 1.05rem 2.3rem;overflow:visible}
  html:not([data-mobile]) #screen-lobby .menu-body:has(#lobby-profile:not([hidden])){overflow:visible}
  html:not([data-mobile]) #lobby-profile > :is(.st-hero,.st-matt,.st-people,.st-play,.st-tiles){flex:1 0 auto;width:calc(100% - .4rem)}
  html:not([data-mobile]) #lobby-profile > .pf-head{flex:none;flex-wrap:nowrap;gap:.8rem;width:100%;align-items:flex-start}
  html:not([data-mobile]) #lobby-profile > .st-tiles{flex-grow:1.2}      /* (the rows' hand-made steps to the left are gone: the slab's shear lays each on the slant, NOTES 410) */
  html:not([data-mobile]) #lobby-profile .pf-who{margin:0;min-width:0;gap:.05rem}
  html:not([data-mobile]) #lobby-profile .pf-name-row b{font-size:1.7rem}
  html:not([data-mobile]) #lobby-profile .pf-who small{font-size:.86rem;line-height:1.2}
  html:not([data-mobile]) #lobby-profile .pf-acct{gap:.7rem;flex:none}
  html:not([data-mobile]) #lobby-profile .pf-acct .btn{height:2.5rem;font-size:1rem}
  html:not([data-mobile]) #lobby-profile .pf-acct .pf-signin{height:3.2rem;min-height:0;padding:0 1rem .05rem .8rem;gap:.55rem;white-space:nowrap} html:not([data-mobile]) #lobby-profile .pf-signin b{font-size:1.02rem} html:not([data-mobile]) #lobby-profile .pf-signin small{font-size:.8rem}
  html:not([data-mobile]) #lobby-profile .st-hero{position:relative;flex:1.4 0 auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:none;align-items:center;padding:.32rem 1.2rem .4rem 1.1rem;column-gap:1rem;row-gap:.1rem}
  html:not([data-mobile]) #lobby-profile .st-crest{grid-row:1 / span 2;grid-column:1} html:not([data-mobile]) #lobby-profile .st-rank{grid-row:1 / span 2;grid-column:2;min-width:0}
  html:not([data-mobile]) #lobby-profile .st-hero .st-streak{position:relative;z-index:1;grid-column:3;grid-row:1 / span 2;justify-self:end;align-self:center}
  html:not([data-mobile]) #lobby-profile .st-hero .st-road{position:relative;z-index:1;grid-column:3;grid-row:2;justify-self:end;align-self:start;display:flex;flex-flow:row nowrap;width:max-content;max-width:none;margin-top:.3rem}
  html:not([data-mobile]) #lobby-profile .st-crest{width:4.7rem;height:4.7rem}
  html:not([data-mobile]) #lobby-profile .st-crest .st-disc,html:not([data-mobile]) #lobby-profile .st-crest .rank-em{width:4.5rem;height:4.5rem}
  html:not([data-mobile]) #lobby-profile .st-rank-name{font-size:1.8rem;line-height:1.05}
  html:not([data-mobile]) #lobby-profile .st-rank-cap{margin:.15rem 0 0;font-size:.98rem}
  html:not([data-mobile]) #lobby-profile .st-rank-bar{max-width:none}      /* the bar runs the card's width to the streak (owner 2026-11-09: "extend bar", NOTES 412) */
  html:not([data-mobile]) #lobby-profile .st-best{font-size:.86rem;line-height:1}
  html:not([data-mobile]) #lobby-profile .st-road{gap:.05rem}
  html:not([data-mobile]) #lobby-profile .st-road .st-step{width:1.72rem;min-width:0;padding:0;display:grid;place-items:center}
  html:not([data-mobile]) #lobby-profile .st-road .rank-em{width:1.5rem;height:1.5rem}
  html:not([data-mobile]) #lobby-profile .st-ribbon{scale:1}
  html:not([data-mobile]) #lobby-profile .st-matt{flex:1 0 auto;padding:.25rem 1.1rem;column-gap:.9rem}
  html:not([data-mobile]) #lobby-profile .st-mbadge{width:3.3rem;height:3.3rem}
  html:not([data-mobile]) #lobby-profile .st-mtext .caps{font-size:.95rem}
  html:not([data-mobile]) #lobby-profile .st-mbest{display:inline;font-size:1.5rem;line-height:1.05;margin:0 .5rem 0 0}
  html:not([data-mobile]) #lobby-profile .st-mtext small{display:inline;font-size:.86rem}
  html:not([data-mobile]) #lobby-profile .st-mlv{padding:.2rem .55rem;font-size:.9rem}
  html:not([data-mobile]) #lobby-profile .st-people{flex:1 0 auto;padding:.3rem 1.2rem;row-gap:.2rem;column-gap:1rem;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;grid-template-areas:"wl h chips" "wl bar chips";align-items:center}
  html:not([data-mobile]) #lobby-profile .st-people .caps{font-size:.95rem}
  html:not([data-mobile]) #lobby-profile .st-people .st-chips{justify-content:flex-end;flex-wrap:nowrap;gap:.45rem}
  html:not([data-mobile]) #lobby-profile .st-people .st-bar{margin:0}
  html:not([data-mobile]) #lobby-profile .st-play{flex:1 0 auto;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;padding:.28rem 1.1rem;column-gap:1rem}
  html:not([data-mobile]) #lobby-profile .st-ret{gap:.55rem;padding-right:.9rem}
  html:not([data-mobile]) #lobby-profile .st-ring{width:3.2rem;height:3.2rem}
  html:not([data-mobile]) #lobby-profile .st-ret-text .caps{font-size:.95rem}
  html:not([data-mobile]) #lobby-profile .st-ret-n{gap:.5rem;flex-direction:row;align-items:center;margin:.1rem 0 0}
  html:not([data-mobile]) #lobby-profile .st-ret-n small{font-size:.8rem;line-height:1.12;max-width:none;white-space:nowrap}      /* (NOTES 929, owner on "2,298 /" over "2,438": "what is this formatting") one line, never wrapped */
  html:not([data-mobile]) #lobby-profile .st-figs{grid-template-columns:repeat(3,auto);justify-content:space-evenly;gap:.1rem .9rem}
  html:not([data-mobile]) #lobby-profile .st-fig{display:flex;flex-direction:column;align-items:center;gap:.06rem;overflow:visible;padding:0;background:none;box-shadow:none;transform:none;min-width:0}
  html:not([data-mobile]) #lobby-profile .st-fig dt{order:2;font-size:.9rem;line-height:1.05;letter-spacing:0;white-space:nowrap;overflow:visible;max-width:none}
  html:not([data-mobile]) #lobby-profile .st-tiles{flex:1.2 0 auto;gap:.9rem}
  html:not([data-mobile]) #lobby-profile .st-tile{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:.3rem 1rem .34rem 1.1rem;gap:.14rem}
  html:not([data-mobile]) #lobby-profile .st-tile .st-badge{position:absolute;right:.75rem;top:.45rem}
  html:not([data-mobile]) #lobby-profile .st-tile .st-cap{position:absolute;right:1.1rem;bottom:.55rem;margin:0}
  html:not([data-mobile]) #lobby-profile .st-tile .caps{font-size:.95rem}
  html:not([data-mobile]) #lobby-profile .st-cap{font-size:.84rem}
  html:not([data-mobile]) #lobby-profile .st-badge{transform-origin:100% 0;scale:.8}
  @media (max-height:560px){ html:not([data-mobile]) #lobby-profile .st-figs{grid-template-columns:repeat(6,auto)} }      /* a short landscape window: the six figures on one row; the card scrolls there */
  /* no play row yet (a guest's first visit): what is left takes the room, the figures a size up */
  html:not([data-mobile]) #lobby-profile:has(#pf-play[hidden]) .st-crest{width:6rem;height:6rem} html:not([data-mobile]) #lobby-profile:has(#pf-play[hidden]) .st-crest .st-disc,html:not([data-mobile]) #lobby-profile:has(#pf-play[hidden]) .st-crest .rank-em{width:5.8rem;height:5.8rem}
  html:not([data-mobile]) #lobby-profile:has(#pf-play[hidden]) .st-rank-name{font-size:2.3rem} html:not([data-mobile]) #lobby-profile:has(#pf-play[hidden]) .st-mbest{font-size:1.9rem} html:not([data-mobile]) #lobby-profile:has(#pf-play[hidden]) .st-mbadge{width:4.4rem;height:4.4rem}
  html:not([data-mobile]) #lobby-profile:has(#pf-play[hidden]) .st-wl b{font-size:2.6rem} html:not([data-mobile]) #lobby-profile:has(#pf-play[hidden]) .st-num b{font-size:2.5rem}
  /* Friends: the search on a white plate, the list scrolls inside the tray */
  html:not([data-mobile]) #lobby-friends{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;max-height:none}
  html:not([data-mobile]) #lobby-friends .fr-panel{flex:1 1 0;min-height:0;display:flex}
  html:not([data-mobile]) #lobby-friends .fr-panel{flex-direction:column;gap:.7rem}
  html:not([data-mobile]) #lobby-friends .fr-scroll{flex:1 1 0;min-height:0;margin:0;padding:.3rem .9rem .9rem .5rem}
  #lobby-friends .fr-gate-b,#lobby-friends .fr-gate .btn{--bf:var(--uv-neon);--bo:var(--cp-deep);color:#fff;}
  html:not([data-mobile]) #lobby-friends .fr-gate-t{font-family:var(--font-display);font-weight:400;font-size:2.35rem;line-height:1.1}
  html:not([data-mobile]) #lobby-friends .fr-gate-b{height:4.6rem;padding:0 2.6rem;font-size:1.76rem;--bdx:var(--cp-drop-x);--bdy:var(--cp-drop-y)}
}
/* ---------- the machine (Play a bot, and Matt's badge on Your stats): the home block's robot at the size of a tray's head. It reads as an AI: the eyes scan side to side and blink, the mouth bar pulses, the antenna's light breathes. It looks up when a level is pointed at, and scans faster the harder the level ---------- */
.uv-robot{display:block;overflow:visible}
#lobby-bot .uv-robot{flex:none;width:9rem;height:9.4rem;margin:0 auto}
.uv-robot .rb-eyes{transform-box:fill-box;transform-origin:50% 50%;animation:uv-rb-scan var(--rb-speed,3.4s) ease-in-out infinite}
.uv-robot .rb-eye{transform-box:fill-box;transform-origin:50% 50%;animation:uv-rb-blink 4.3s linear infinite}
.uv-robot .rb-mouth{transform-box:fill-box;transform-origin:50% 50%;animation:uv-rb-mouth 1.8s ease-in-out infinite}
.uv-robot .rb-tip{transform-box:fill-box;transform-origin:50% 50%;animation:uv-rb-tip 1.8s ease-in-out infinite}
.uv-robot .rb-head{transform-box:view-box;transform-origin:50% 76%;transition:transform 240ms var(--uv-spring)}
@keyframes uv-rb-scan{0%,100%{transform:translateX(-.42rem)}45%,55%{transform:translateX(.42rem)}}
@keyframes uv-rb-blink{0%,91%,100%{transform:scaleY(1)}95%{transform:scaleY(.08)}}
@keyframes uv-rb-mouth{0%,100%{transform:scaleX(1);opacity:1}50%{transform:scaleX(.62);opacity:.72}}
@keyframes uv-rb-tip{0%,100%{transform:scale(1)}50%{transform:scale(1.2)}}
#lobby-bot:has(.btn:hover,.btn:focus-visible) .uv-robot .rb-head{transform:rotate(-7deg) translateY(-.2rem)}
#lobby-bot:has(#btn-bot-1:is(:hover,:focus-visible)) .uv-robot{--rb-speed:2.2s} #lobby-bot:has(#btn-bot-2:is(:hover,:focus-visible)) .uv-robot{--rb-speed:1.3s} #lobby-bot:has(#btn-bot-3:is(:hover,:focus-visible)) .uv-robot{--rb-speed:.7s}
#lobby-bot:has(.btn:active) .uv-robot .rb-eye{animation:none;transform:scaleY(.08)}
#lobby-bot:has(.btn:active) .uv-robot .rb-head{transform:scale(1.08)}
.st-mbadge .st-mdisc svg.uv-robot{width:78%;height:78%;margin:6% auto 0;stroke:none;filter:none}
@media (prefers-reduced-motion: reduce){ .uv-robot :is(.rb-eyes,.rb-eye,.rb-mouth,.rb-tip){animation:none} .uv-robot .rb-head{transition:none;transform:none!important} }

/* ---------- the settings sheet and the account cards, in the artifact's card chrome: the ink outline and hard ink drop, the heading on the ink h-plate with the sky drop, the groups as white plates, a glass band across the top ---------- */
/* over a menu nothing blurs: an ink veil stills the page behind (ui.css blurred the whole renderer by 10 px). The paused court keeps its own path */
body[data-settings="menu"]::after{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--cp-scrim)}      /* FULL SWEEP: the light frosted scrim, never an ink veil */
.acct-layer{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:var(--cp-scrim)}
.acct-card{border:var(--vw-slab-ol-w) solid var(--uv-ink);border-radius:var(--vw-slab-r);background:var(--vw-face);box-shadow:var(--cp-drop), var(--cp-pop-soft)}      /* flat white, one outline, one hard drop (UI rules 2, 3, 7: no gradient face, no inner shine) */
.settings h2,.acct-card .acct-body > h2,.acct-card .acct-head h2{position:relative;isolation:isolate;display:inline-block;align-self:flex-start;margin:0 0 .7rem .4rem;padding:.55rem 1.7rem .5rem 1.15rem;font-family:var(--font-display);font-weight:400;font-size:1.9rem;line-height:1;letter-spacing:0;color:var(--cp-text)}
.settings h2::before,.acct-card .acct-body > h2::before,.acct-card .acct-head h2::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uv-r);background:var(--cp-panel);transform:skewX(var(--uv-skew));box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink), var(--cp-drop)}      /* FULL SWEEP: the one title plate */
body[data-paused] .settings h2{color:var(--cp-text)}
.settings .set-row{font-family:var(--font-display);font-weight:400;color:var(--uv-ink)}
.settings button.set-row{transition:transform 180ms var(--uv-spring), box-shadow 170ms var(--uv-snap)}
@media (hover:hover){ .settings button.set-row:not(:disabled):hover{transform:translate(-.1rem,-.15rem) rotate(-.5deg) scale(1.01)} }
.settings button.set-row:not(:disabled):active{transform:scale(1,.92);transition-duration:45ms}
.settings .set-switch i,.lb-show i{transition:transform 180ms var(--uv-spring)}
.settings .set-switch:hover i{transform:rotate(-3deg) scale(1.08)}
.settings .stepper b{font-family:var(--font-display);font-weight:400}
/* the account cards: the Google button on a white plate with the ink drop (it is Google's own frame: the plate is behind it), the close a small block */
.acct-card .acct-head{align-items:flex-start}
.acct-card .acct-head h2,.lbp-card .lbp-title{overflow:visible}
.lbp-card .acct-head h2{white-space:nowrap;text-overflow:clip}
.acct-card .acct-head h2{margin-top:.1rem}
.acct-card .signin-google{position:relative;isolation:isolate;padding:1.1rem 1rem;margin:.3rem .5rem .2rem .3rem}
.acct-card .signin-google::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uv-r);transform:skewX(var(--uv-skew));border:var(--cp-ol) solid var(--uv-ink);background:#fff;box-shadow:var(--cp-drop)}
.acct-card .acct-body > p:not(.acct-fine):not(.acct-err){font-size:1.05rem;font-weight:500;color:var(--uv-ink)}
.acct-card .field{border:.1875rem solid var(--uv-ink);border-radius:.3rem;box-shadow:none}
/* a card opens with a pop from the slant, as a block lands */
@media (prefers-reduced-motion: no-preference){ .acct-card:not([hidden]){animation:uv-card-in 260ms var(--uv-spring) backwards} }
@keyframes uv-card-in{from{transform:translateY(1.2rem) rotate(-1.6deg) scale(.96);opacity:0}}
/* ---------- a narrow window and the phone: the artifact's phone sizes (/10) ---------- */
@media (max-width:980px){
  #screen-lobby:not([data-view="home"]) .menu-head{height:6rem;padding-left:1.5rem;gap:1rem}
  #screen-lobby:not([data-view="home"]) .menu-title{font-size:2.6rem;padding:.7rem 1.8rem .6rem 1.4rem}
  #screen-lobby:not([data-view="home"]) .btn-back{height:3.4rem;font-size:1.3rem}
  #screen-lobby .panel.lobby-view:not(.lobby-home)::before{transform:none}      /* big containers stay square (NOTES 291): no second angle */
  #screen-lobby .seg-opt{height:3.4rem;padding:0 1.2rem;font-size:1.4rem}
}
/* a short window (a 1280x800 laptop): the header at 5.2rem, not 7.5, so Your stats with its play row still fits without a scroll (test/profile-ui.mjs; round 1's integration) */
@media (max-height:840px){
  #screen-lobby:not([data-view="home"]) .menu-head{height:5.2rem}
  #screen-lobby:not([data-view="home"]) .menu-title{font-size:2.6rem;padding:.6rem 1.8rem .5rem 1.4rem}
  #screen-lobby:not([data-view="home"]) .btn-back{height:3.2rem;font-size:1.3rem}
}
@media (max-width:640px){
  #screen-lobby:not([data-view="home"]) .menu-head{height:6.4rem;gap:1rem;padding-left:1.6rem;padding-right:7.5rem}
  #screen-lobby:not([data-view="home"]) .menu-title{font-size:2.1rem;line-height:1;padding:.7rem 1.6rem .6rem 1.3rem;min-width:0;white-space:normal;max-width:15rem}
  #screen-lobby:is([data-view="leaderboard"],[data-view="bracket"]) .menu-title{font-size:1.7rem;padding:.5rem 1.5rem .45rem 1.2rem}
  #screen-lobby .panel.lobby-view.pf-view::before{transform:none}

  #screen-lobby:not([data-view="home"]) .btn-back{height:4.2rem;font-size:1.6rem}
  #screen-lobby:not([data-view="home"]) .head-end .lobby-online{display:none}      /* the count is the home's; the title needs the room */
  #screen-lobby .panel.lobby-view:not(.lobby-home){margin-inline:1rem}
  #screen-lobby .seg{gap:.8rem} #screen-lobby .seg-opt{height:4.2rem;padding:0 1.4rem;font-size:1.5rem} #screen-lobby .seg-opt::before{transform:skewX(var(--cp-skew))}
  #screen-lobby .seg-sm .seg-opt{height:3.6rem;font-size:1.4rem}
  #screen-lobby .panel.lobby-view:not(.lobby-home){margin-block:.6rem auto}      /* the tray hangs from the heading (the artifact's column), never adrift in the sky */
  #screen-lobby[data-view="tour"] .menu-title{font-size:1.7rem;padding:.75rem 1.5rem .65rem 1.2rem}
  #screen-lobby .panel.lobby-view.ranks-view{padding:1.6rem 1.8rem 1.6rem 1.8rem}
  #screen-lobby .panel.lobby-view.ranks-view .ranks-grid{gap:1.4rem 1.2rem;padding:0 .8rem 0 1rem}
  #screen-lobby .panel.lobby-view.ranks-view :is(.ranks-lead,.ranks-note){padding-inline:.8rem}
}
/* ---------- Your stats and the player card: every well a slanted plate parallel to the tray (the artifact's -5 deg tray), the ink outline and hard drop, the glass band; the figures on the home's ink data plates (.big, .num: white Days One on a slanted ink plate with a soft top edge); each pops under the mouse ---------- */
:is(#lobby-profile,.lbp-card) :is(.st-hero,.st-matt,.st-people,.st-play,.st-tile){border:0;border-radius:0;background:none;box-shadow:none;transition:transform 180ms var(--uv-spring)}
:is(#lobby-profile,.lbp-card) .st-hero{position:relative;isolation:isolate}
:is(#lobby-profile,.lbp-card) :is(.st-hero,.st-matt,.st-people,.st-play,.st-tile)::before{content:"";display:block;position:absolute;inset:0;height:auto;z-index:-1;border-radius:var(--uv-r);border:var(--vw-ol) solid var(--uv-ink);transform:none;
  background:var(--vw-face);box-shadow:var(--cp-drop)}      /* a flat white block: one outline, one hard drop, no glass band (UI rules 2, 3, 5) */
@media (min-width:981px) and (min-aspect-ratio:6/5){ html:not([data-mobile]) #lobby-profile .st-play{container-type:normal} }      /* (this column sets its own layout; the card and a narrow window keep ui.css's container, whose query goes to 3x2 before a label is squeezed) */
/* the ink data plate: one figure, white Days One, the slanted plate behind it (the artifact's .plate.big) */
:is(#lobby-profile,.lbp-card) :is(.st-wl,.st-ret-n > b,.st-num b){display:inline-flex;align-items:center;font-family:var(--font-display);font-weight:400;line-height:1;color:var(--cp-green-deep);white-space:nowrap;background:linear-gradient(100deg,transparent .3rem,var(--cp-green-tint) .36rem,var(--cp-green-tint) calc(100% - .36rem),transparent calc(100% - .3rem))}      /* FULL SWEEP: the figures on the Stats green tint (the category accent), never an ink plate */      /* (the slant is the element's own background: these sit in tight cells, a skewed ::before would count as overflow and a figure as cut) */
:is(#lobby-profile,.lbp-card) .st-wl{padding:.32rem .95rem .26rem .85rem;gap:.45rem;align-items:baseline;margin:0;justify-self:start}
:is(#lobby-profile,.lbp-card) .st-wl b,:is(#lobby-profile,.lbp-card) .st-wl .is-me,:is(#lobby-profile,.lbp-card) .st-wl .is-them{font-family:var(--font-display);font-weight:400;font-size:2.1rem;color:var(--cp-green-deep);animation:none}
:is(#lobby-profile,.lbp-card) .st-wl i{width:.8rem;height:.22rem;align-self:center;border-radius:.1rem;background:var(--cp-green);transform:skewX(var(--uv-skew))}
:is(#lobby-profile,.lbp-card) .st-wl small{display:none}      /* the plate says it: W-L is what the home's plate reads without the letters */
:is(#lobby-profile,.lbp-card) .st-ret-n > b{padding:.26rem .7rem .2rem .62rem;font-size:1.7rem}
:is(#lobby-profile,.lbp-card) .st-num{margin:0;display:flex;align-items:center;gap:.5rem;color:var(--uv-ink)}
:is(#lobby-profile,.lbp-card) .st-num b{padding:.24rem .68rem .18rem .6rem;font-size:1.95rem;animation:none}
:is(#lobby-profile,.lbp-card) .st-num small{font-family:var(--font-display);font-weight:400;font-size:1.05rem;color:var(--uv-ink)}
:is(#lobby-profile,.lbp-card) .st-fig dd{display:inline-flex;align-items:center;font-family:var(--font-display);font-weight:400;line-height:1;color:var(--cp-green-deep);white-space:nowrap;padding:.17rem .62rem .12rem .6rem;font-size:1.16rem;margin:0;background:linear-gradient(100deg,transparent .2rem,var(--cp-green-tint) .25rem,var(--cp-green-tint) calc(100% - .25rem),transparent calc(100% - .2rem))}      /* (the slant is the element's own background: one cell in a tight row, a skewed plate would count as overflow) */
:is(#lobby-profile,.lbp-card) .st-fig dt{font-family:var(--font-display);font-weight:400;color:var(--uv-ink)}
:is(#lobby-profile,.lbp-card) .st-fig{background:none;box-shadow:none;border-radius:0}
@media (min-width:761px){ .lbp-card .lbp-figs{grid-template-columns:repeat(4,auto) minmax(max-content,auto);justify-content:space-between;gap:.2rem} }
.lbp-card .st-fig{min-width:0;padding-inline:0} .lbp-card .st-fig dd{font-size:.9rem;padding:.15rem .36rem .1rem .34rem}
@media (min-width:761px){ html:not([data-mobile]) #lbp-card{width:min(54rem,calc(100vw - 4rem));max-width:none} html:not([data-mobile]) #lbp-card .st-play{column-gap:.5rem;padding-inline:.8rem} #lbp-card .st-ret{gap:.35rem;padding-right:.4rem} #lbp-card .st-ring{width:2.7rem;height:2.7rem} #lbp-card .st-fig dt{font-size:max(.8rem,12px)} }
:is(#lobby-profile,.lbp-card) .st-mlv{border-radius:.3rem;transform:skewX(var(--uv-skew));background:var(--uv-ice);box-shadow:none;transition:transform 180ms var(--uv-spring);color:var(--uv-ink)}      /* a chip: a flat fill, no outline (rule 2) */
:is(#lobby-profile,.lbp-card) .st-mlv > *{transform:skewX(calc(-1 * var(--uv-skew)))}
:is(#lobby-profile,.lbp-card) .st-mlv.is-done,:is(#lobby-profile,.lbp-card) .st-mlv.is-won{background:var(--uv-neon);box-shadow:none}      /* a level beaten: the chip's "chosen" fill, neon (rule 4) */
:is(#lobby-profile,.lbp-card) :is(.st-mbest,.st-mlv:not(.is-flawless) b,.st-mlv:not(.is-flawless) small,.st-mlv:not(.is-flawless) b::before){color:var(--cp-deep)}
:is(#lobby-profile,.lbp-card) .st-mlv :is(b,small){font-family:var(--font-display);font-weight:400}
:is(#lobby-profile,.lbp-card) .st-mlv:is(.is-done,.is-won):not(.is-flawless) :is(b,small),:is(#lobby-profile,.lbp-card) .st-mlv:is(.is-done,.is-won):not(.is-flawless) b::before{color:var(--cp-label)}      /* small words on a cyan chip: label ink (SPEC) */
:is(#lobby-profile,.lbp-card) .st-mbest{font-family:var(--font-display);font-weight:400}
:is(#lobby-profile,.lbp-card) .st-ret{border-right:0;box-shadow:.125rem 0 0 var(--uv-sky-2)}
:is(#lobby-profile,.lbp-card) .st-ring-on{stroke:var(--cp-green)} :is(#lobby-profile,.lbp-card) .st-ring svg:not(.st-ring-ic) circle:first-child{stroke:var(--uv-sky-2)} :is(#lobby-profile,.lbp-card) .st-ring-ic{stroke:var(--uv-ink)}
:is(#lobby-profile,.lbp-card) .st-chip{border-radius:.3rem;transform:skewX(var(--uv-skew));height:2.1rem;padding:0 .8rem;background:var(--uv-ice);box-shadow:none;color:var(--uv-ink);font-size:.95rem} :is(#lobby-profile,.lbp-card) .st-chip b{font-family:var(--font-display);font-weight:400;font-size:1.1rem;color:var(--uv-ink)} :is(#lobby-profile,.lbp-card) .st-chip > *{transform:skewX(calc(-1 * var(--uv-skew)))}
/* the flame: the home card's, cyan and white, at its size; the small ones on a Matt level in the same colours */
:is(#lobby-profile,.lbp-card) .st-ribbon{height:auto;gap:.4rem;padding:.3rem .95rem .26rem .8rem;border:0;border-radius:.35rem;background:none;transform:none;box-shadow:none;color:var(--cp-text)} :is(#lobby-profile,.lbp-card) .st-ribbon::before{inset:0 .2rem;border-radius:.35rem;background:var(--cp-panel);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink), var(--cp-drop-sm)}      /* FULL SWEEP: the streak on a white chip, the small ink drop */      /* the ink block is the ::before alone (ui.css, one slant): the face and the ::before both leaned, stacking -12deg, and the number's pop animation tipped it back over; inset .2rem keeps its leaning corners inside the ribbon's box */
:is(#lobby-profile,.lbp-card) :is(.st-ribbon,.st-streak.is-hot .st-ribbon) .st-flame{width:1.53rem;height:1.76rem;overflow:visible;fill:none;stroke:none;filter:none}
:is(#lobby-profile,.lbp-card) .st-ribbon b{font-family:var(--font-display);font-weight:400;font-size:2rem;line-height:1;color:var(--cp-flame-num);text-shadow:none}
:is(#lobby-profile,.lbp-card) .st-streak.is-hot .st-ribbon b{color:var(--cp-flame)}
:is(#lobby-profile,.lbp-card) .st-streak.is-hot .st-ribbon{background:none;border:0;text-shadow:none}
:is(#lobby-profile,.lbp-card) .st-chip .st-flame{width:1.05rem;height:1.2rem;overflow:visible;fill:none;stroke:none}
:is(#lobby-profile,.lbp-card) :is(.st-mlv .st-flame,.lbp-card .st-chip .st-flame:not([viewBox="0 0 24 28"])){fill:var(--cp-flame);stroke:var(--uv-ink);stroke-width:2}
/* the record: one slanted bar with the page's heavy ink outline, your wins neon, theirs cobalt */
:is(#lobby-profile,.lbp-card) .st-bar{height:1.5rem;margin-bottom:0;border:0;border-radius:.3rem;background:var(--cp-well-2);box-shadow:none;transform:skewX(var(--uv-skew))}      /* a bar inside a block: flat fills, no outline of its own */
:is(#lobby-profile,.lbp-card) .st-bar i{border-radius:0;background:var(--cp-green);box-shadow:none} :is(#lobby-profile,.lbp-card) .st-bar i + i{background:var(--cp-haze);box-shadow:none}      /* wins in the Stats green, losses the pale haze (no deep fill) */
:is(#lobby-profile,.lbp-card) .st-bar > span{transform:skewX(calc(-1 * var(--uv-skew)))}
:is(#lobby-profile,.lbp-card) .st-rank-bar{height:1.05rem;border:0;border-radius:.3rem;background:var(--cp-well-2);box-shadow:none;transform:skewX(var(--uv-skew));overflow:hidden}
:is(#lobby-profile,.lbp-card) .st-rank-bar i{border-radius:0;background:var(--uv-cobalt-2);box-shadow:none}
@media (hover:hover){
  #lobby-profile :is(.st-tile,.st-matt,.st-people,.st-play):hover{transform:translateY(var(--vw-lift))}
  #lobby-profile .st-mlv:hover{transform:skewX(var(--uv-skew)) translateY(var(--vw-lift))}
  #lobby-profile .st-fig:hover dd{transform:translateY(-.15rem) rotate(-2deg) scale(1.08)}
  #lobby-profile .st-tile:hover .st-badge{transform:rotate(-8deg) scale(1.1)}
  #lobby-profile .st-tile:hover .st-num b{transform:rotate(-2deg) scale(1.06)}
}
#lobby-profile :is(.st-fig dd,.st-num b,.st-wl,.st-ret-n > b){transition:transform 200ms var(--uv-spring)}
#lobby-profile .st-badge{transition:transform 180ms var(--uv-spring)}
/* Friends with no sign-in: the home block's two face chips over the line (the artifact's .friends) */
#lobby-friends .fr-gate::before,#lobby-friends .fr-gate::after{content:"";box-sizing:border-box;flex:none;width:6.4rem;height:6.4rem;margin-bottom:.9rem;border-radius:50%;border:var(--cp-ol) solid var(--uv-ink);box-shadow:var(--cp-drop-sm);background:var(--cp-pink-tint) url(art/ua-chip-a.png) 50% 12%/cover no-repeat;animation:uv-chip-bob 2.2s ease-in-out infinite alternate}
#lobby-friends .fr-gate::before{order:-2;translate:-2.1rem 0}
#lobby-friends .fr-gate::after{order:-1;margin-top:calc(-7.3rem - .5rem);translate:2.1rem 0;background:var(--uv-sky-2) url(art/ua-chip-b.png) 50% 12%/cover no-repeat;animation-delay:-1.1s}
#lobby-friends .fr-gate-t,#lobby-friends .fr-gate-s,#lobby-friends .fr-gate .btn{position:relative;z-index:1}
@keyframes uv-chip-bob{to{transform:translateY(-.35rem)}}
/* the tray's state lines in the heading's voice */
html:not([data-mobile]) #screen-lobby .court-state,html:not([data-mobile]) #screen-lobby .lb-state{font-family:var(--font-display);font-weight:400;font-size:1.65rem}
/* ---------- every control's own beat past the home: tabs tilt and pop like the blocks, a rank hops, an emblem turns, a chevron runs, a status dot pings; the primary carries the pickleball (ua-views.js) ---------- */
@media (hover:hover){
  #screen-lobby .seg-opt.uv-hot:not(:disabled):not(:active),.settings .seg-opt.uv-hot:not(:disabled):not(:active){transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) rotateZ(-1deg) translateY(-.18rem) translateZ(.7rem) scale(1.0217);z-index:3}
  #screen-lobby .lb-row .lb-rank{transition:transform 200ms var(--uv-spring)} #screen-lobby .lb-row:hover .lb-rank{transform:rotate(-7deg) scale(1.16)}
  #screen-lobby .lb-row .lb-v{transition:transform 200ms var(--uv-spring)} #screen-lobby .lb-row:hover .lb-v{transform:translateX(-.3rem) scale(1.06)}
  #screen-lobby .ranks-card .ranks-hero{transition:rotate 260ms var(--uv-spring)} #screen-lobby .ranks-card:hover .ranks-hero{rotate:-5deg}      /* no grow on hover: III's wings and crest stay inside the card (owner 2026-11-08, "this shit gets cut off", NOTES 353); the divisions stepping is the hover's motion */
  #screen-lobby .court-row .court-code{transition:transform 200ms var(--uv-spring)} #screen-lobby .court-row:not([aria-disabled="true"]):hover .court-code{transform:scale(1.08)}
  #screen-lobby .tour-chip{transition:transform 180ms var(--uv-spring)} #screen-lobby .fr-more:hover svg{transform:rotate(90deg)} #screen-lobby .fr-more svg{transition:transform 200ms var(--uv-spring)}
  .settings button.set-row:hover svg{animation:uv-nudge-r 520ms ease-in-out infinite alternate}
  :is(.settings,.acct-card) .stepper .btn:not(:disabled):hover{transform:translateY(-.15rem) rotate(-4deg) scale(1.08)}
}
@keyframes uv-nudge{from{translate:-.1rem 0}to{translate:-.4rem 0}}
@keyframes uv-nudge-r{from{translate:.05rem 0}to{translate:.3rem 0}}
/* the ball on the primary: a run across the plate, three hops, squash on each landing, the spin of the home's Quick play ball. Behind the label, in front of the plate */
.uv-ball{position:absolute;left:.9rem;bottom:.55rem;width:2.1rem;height:2.1rem;z-index:-1;pointer-events:none;opacity:0}
.uv-ball > i{display:block;width:100%;height:100%;border-radius:50%;border:.1875rem solid var(--uv-ink);transform-origin:50% 100%;
  background:var(--ball-holes) 50%/100% no-repeat,var(--ball-body) 50%/100% no-repeat}      /* the game's neon pickleball (ui.css --ball-*): ball art keeps its neon, and a cyan ball would vanish on the cyan primary */
@media (hover:hover){
  :is(.btn:hover,.ae-sel:hover) > .uv-ball{opacity:1;animation:uv-ball-x 1500ms linear infinite}
  :is(.btn:hover,.ae-sel:hover) > .uv-ball > i{animation:uv-ball-y 500ms infinite}
}
@keyframes uv-ball-x{0%{transform:translateX(0) rotate(0);opacity:0}6%{opacity:1}92%{opacity:1}100%{transform:translateX(var(--uvw,10rem)) rotate(720deg);opacity:0}}
@keyframes uv-ball-y{0%,100%{transform:translateY(0) scale(1.18,.78);animation-timing-function:cubic-bezier(.2,.7,.4,1)}14%{transform:translateY(-.4rem) scale(.96,1.06)}50%{transform:translateY(-2rem) scale(1,1);animation-timing-function:cubic-bezier(.6,0,.8,.4)}86%{transform:translateY(-.3rem) scale(.96,1.06)}}
#lobby-friends .fr-more-n,.friends-card .fr-more-n{padding:.2rem .6rem .16rem;white-space:nowrap}
/* ---------- the bracket: the rounds as the artifact's tabs (dark glass, the current one white with the ink rim), each match a slanted plate with the hard drop, the winner on the neon edge. Skewed as one piece: its ::before / ::after are the lines between rounds ---------- */
#screen-lobby .br-round,#screen-lobby .br-col.is-current .br-round{position:relative;isolation:isolate;align-items:center;padding:.6rem 1.3rem .5rem 1.2rem;border-radius:0;background:none;color:var(--uv-ink);font-size:1.3rem}
#screen-lobby .br-round::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:.35rem;transform:skewX(var(--uv-skew));background:var(--vw-face);box-shadow:inset 0 0 0 var(--vw-ol) var(--uv-ink), var(--cp-drop-sm)}
#screen-lobby .br-round,#screen-lobby #lobby-bracket.panel.lobby-view:not(.lobby-home):not(.pf-view):not(.fr-view) :is(.br-round,.br-round small){color:var(--uv-ink)}
#screen-lobby .br-round small{color:var(--uv-ink);font-family:var(--font-display);font-weight:400;font-size:.95rem}
#screen-lobby .br-col.is-current .br-round{color:var(--uv-ink)}
#screen-lobby .br-col.is-current .br-round::before{background:var(--vw-face);box-shadow:inset 0 0 0 var(--vw-ol) var(--uv-ink), 0 0 0 var(--vw-ring) var(--uv-neon), var(--vw-drop-sm-x) var(--vw-drop-sm-y) 0 var(--vw-ring) var(--uv-ink)}
#screen-lobby #lobby-bracket.panel.lobby-view:not(.lobby-home):not(.pf-view):not(.fr-view) .br-col.is-current :is(.br-round,.br-round small){color:var(--uv-ink);background:none}      /* (the tray's white text rule carries #seg-note in its :is: an id to out-rank) */
#screen-lobby .br-match,#screen-lobby .br-match.is-you,#screen-lobby .br-match.is-live{border:var(--vw-ol) solid var(--uv-ink);border-radius:var(--uv-r);background:var(--vw-face);box-shadow:var(--vw-drop-x) var(--vw-drop-y) 0 var(--uv-ink);transform:skewX(var(--uv-skew));transition:transform 180ms var(--uv-spring)}
#screen-lobby :is(.br-p,.br-live) > *{transform:skewX(calc(-1 * var(--uv-skew)))}
#screen-lobby .br-match.is-you{box-shadow:0 0 0 var(--vw-ring) var(--uv-neon), var(--vw-drop-x) var(--vw-drop-y) 0 var(--vw-ring) var(--uv-ink)}      /* yours: the neon ring */
#screen-lobby .br-match.is-tbd{border-style:dashed;border-color:var(--cp-haze);background:var(--cp-well);box-shadow:none} #screen-lobby .br-match.is-tbd .br-name{color:var(--cp-text-2)}
#screen-lobby .br-p,#screen-lobby .br-p.is-me{background:none;box-shadow:none;border-color:rgba(var(--cp-ink-rgb),.14)} #screen-lobby .br-live{border-color:rgba(var(--cp-ink-rgb),.14)}
#screen-lobby .br-p.is-win{box-shadow:none} #screen-lobby .br-p.is-win .br-name::before{content:"";display:inline-block;width:.7rem;height:.7rem;margin-right:.5rem;border-radius:50%;background:var(--uv-neon);box-shadow:0 0 0 .125rem var(--uv-ink)}
#screen-lobby .br-p .br-name{color:var(--uv-ink);font-family:var(--font-display);font-weight:400} #screen-lobby .br-p.is-lose .br-name{color:var(--cp-text-2)}
#screen-lobby .br-sc{font-family:var(--font-display);font-weight:400;font-size:1.3rem;color:var(--uv-ink)}
@media (hover:hover){ #screen-lobby .br-match:not(.is-tbd):hover{transform:skewX(var(--uv-skew)) translateY(var(--vw-lift))} }
/* the friends search takes the neon slab like the courts' */
/* the search: the Locker's search block (locker.css .lk-search): one slanted white face, one outline, one hard drop, the field flat inside it; focus is the neon ring round the block and the lift */
#lobby-friends .fr-search{isolation:isolate;margin-bottom:calc(var(--cp-drop-y) + .6rem);transition:transform 180ms var(--uv-spring)}
#lobby-friends .fr-search::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:.35rem;background:var(--vw-face);box-shadow:inset 0 0 0 var(--vw-ol) var(--uv-ink), var(--cp-drop);transform:skewX(var(--uv-skew))}      /* FULL SWEEP: one white face, the outline and the big drop on the face itself (no separate ink slab) */
#lobby-friends .fr-search::after{content:none}
#lobby-friends .fr-search .field,#lobby-friends .fr-search .field::placeholder{color:var(--cp-text)} #lobby-friends .fr-search .field::placeholder{color:var(--cp-text-2);font-weight:500}
#lobby-friends .fr-search .field{border:0;border-radius:0;background:none;box-shadow:none;outline:0}
#lobby-friends .fr-search:focus-within{transform:translateY(var(--vw-lift))}
#lobby-friends .fr-search:focus-within::before{box-shadow:inset 0 0 0 var(--vw-ol) var(--uv-ink), 0 0 0 var(--vw-ring) var(--uv-neon), var(--cp-drop-x) var(--cp-drop-y) 0 var(--vw-ring) var(--uv-ink)}      /* the one selected state: the neon ring round the block */
#lobby-friends .fr-search > svg{stroke:var(--uv-ink);z-index:1}
#lobby-friends .fr-sec:first-of-type{margin-top:.35rem}
/* ---------- the emote bar on the result: the artifact's small plate, the keys white tiles on it, in the court's corner clear of the column ---------- */
body[data-overlay="match"] .emotes{isolation:isolate;gap:.3rem;padding:.5rem .8rem .55rem .9rem;border:0;border-radius:0;background:none;box-shadow:none}
body[data-overlay="match"] .emotes::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uv-r);background:var(--cp-panel);transform:skewX(var(--uv-skew));box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink), var(--cp-drop)}      /* FULL SWEEP: a white plate over the court */
body[data-overlay="match"] .emotes::after{left:.9rem;right:.9rem;bottom:.14rem;background:var(--uv-neon)}
body[data-overlay="match"] .emote-btn{border:var(--cp-ol-sm) solid var(--uv-ink);border-radius:.3rem;background:#fff;box-shadow:var(--cp-drop-sm);transition:transform 180ms var(--uv-spring), box-shadow 45ms}
@media (hover:hover){ body[data-overlay="match"] .emote-btn:hover{transform:translateY(-.3rem) rotate(-3deg) scale(1.08);box-shadow:var(--cp-drop-sm), 0 0 0 .2rem var(--cp-glow);z-index:1} }
body[data-overlay="match"] .emote-btn:active{transform:translate(var(--cp-drop-sm-x),var(--cp-drop-sm-y));box-shadow:none;transition-duration:45ms}
body[data-overlay="match"] .emote-key{color:var(--uv-ink)}
@media (min-aspect-ratio:1/1) and (min-width:761px){ body[data-overlay="match"] .emotes{right:auto;left:2.35rem;bottom:1.3rem} }
/* ---------- reduced motion: no lifts, pops or slides; the plates stay ---------- */
@media (prefers-reduced-motion: reduce){
  :is(#screen-match,#screen-lobby,.settings,.fc-skin,.acct-card) :is(.btn,.seg-opt,button.set-row){transition:none;transform:none!important}
  :is(#screen-match,#screen-lobby,.settings,.fc-skin,.acct-card) :is(.court-row,.lb-row,.lb-you,.fr-row,.ranks-card,.tour-chip){transition:none;transform:var(--vw-un)!important}      /* (a row on the slab keeps its unslant) */
  #screen-match .trophy-d{animation:none;transform:none} #screen-match .trophy-bar i::after{animation:none}
  #screen-match.is-active .result-card > *,#screen-match.is-active .rc-slab > *{animation:none}
  #screen-match .tally-say{animation:none;transform:rotate(-6deg)} .acct-card:not([hidden]){animation:none}
  .uv-ball{display:none} #screen-lobby .br-match{transition:none} #screen-lobby .br-match:hover{transform:skewX(var(--uv-skew))!important}
  #lobby-friends .fr-gate::before,#lobby-friends .fr-gate::after{animation:none} #lobby-profile :is(.st-tile,.st-matt,.st-people,.st-play,.st-badge,.st-fig dd,.st-num b,.st-wl,.st-ret-n > b){transition:none;transform:none!important} #lobby-profile .st-mlv{transition:none}
  :is(#screen-lobby,#screen-match) :is(.panel.lobby-view,.result-card){translate:none!important}
}

/* the empty Courts view: Create court is the action under the tray */
/* the tournament: no link (a local court, ?game=): the button stands alone, no empty well. You: the neon tag, ink on it */
#lobby-tour .tour-link-row:has(#tour-link[hidden]),#lobby-tour .tour-link-row:has(#tour-link:empty){justify-content:flex-start;padding:0;border:0;background:none;box-shadow:none}
#lobby-tour .tour-link-row:has(#tour-link[hidden]) .btn,#lobby-tour .tour-link-row:has(#tour-link:empty) .btn{width:100%}
#screen-lobby .tour-tag.is-you{background:var(--uv-neon);color:#fff;box-shadow:inset 0 0 0 .125rem var(--cp-deep)}
#screen-lobby .panel.lobby-view:is(.pf-view,.fr-view) :is(.st-hero,.st-matt,.st-people,.st-play,.st-tile,.fr-row) :is(.pad-link,.foot-link){color:var(--cp-deep)}
/* Your stats and Friends sit on the views' one panel: FULL SWEEP, the panel is light, so what stands straight on it reads in label ink */
#screen-lobby #lobby-profile > .pf-head :is(.pf-who,.pf-who b,.pf-name-row b){color:var(--cp-text)} #screen-lobby #lobby-profile > .pf-head .pf-who small{color:var(--cp-text-2)} #screen-lobby #lobby-profile > .pf-head a{color:var(--cp-deep)}
#screen-lobby #lobby-friends :is(.fr-gate-t,.fr-label,.fr-hint,.fr-sec > h3,.fr-sec > h2){color:var(--cp-text)} #screen-lobby #lobby-friends .fr-gate-s{color:var(--cp-text-2)}

/* ---------- the big cards (Settings on the home, Sign in, the tutorial): pop-ups, so upright (owner: "pop up containers should never be skewed"; --uv-card-sk 0): a face with the ink outline, the hard ink drop, sky-hi into white, the inset rim; everything on it stands upright ---------- */
#signin-card,.tut .tut-card{isolation:isolate;border:0;background:none;box-shadow:none;overflow:visible;max-height:none}
#signin-card::before,.tut .tut-card::before{content:"";display:block;position:absolute;inset:0;width:auto;height:auto;opacity:1;z-index:-1;border-radius:.6rem;border:.1875rem solid var(--uv-ink);transform:skewX(var(--uv-card-sk,0deg));
  background:var(--vw-face);box-shadow:none}      /* flat white (the cohesion sweep: no sky ramp, shine band or inner rim; UI rules 3, 7) */
#signin-card::after,.tut .tut-card::after{content:"";display:block;position:absolute;inset:0;width:auto;height:auto;opacity:1;z-index:-2;border-radius:.6rem;background:var(--cp-dc-ink);transform:translate(var(--cp-drop-x),var(--cp-drop-y)) skewX(var(--uv-card-sk,0deg))}
/* Settings: two columns on one tall plate, every row in sight at any desktop size */
/* Sign in: the dark glass tray behind a white block holding Google's own button (its iframe is theirs: it is framed, never redrawn) */
#signin-card{--uv-card-sk:0deg;padding:1.5rem 2.6rem 1.5rem 2.8rem;width:29rem;max-width:calc(100vw - 2rem)}
#signin-card .acct-body{gap:.8rem}
#signin-card .signin-google{isolation:isolate;display:grid;place-items:center;margin:.1rem 0;padding:1.1rem 1.5rem 1.3rem 1.3rem}
#signin-card .signin-google::before{transform:skewX(var(--cp-skew));border:0;border-radius:.6rem;background:var(--cp-well-2);box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink), var(--cp-drop)}      /* FULL SWEEP: a pale-sky well, the ink outline and drop */
#signin-card .signin-google .t-note{color:var(--cp-text);font-weight:500}
#signin-card .signin-btn{position:relative;isolation:isolate;display:grid;place-items:center;width:100%;min-height:4.2rem;padding:.5rem 1rem;transition:transform 200ms var(--uv-spring)}
#signin-card .signin-btn::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uv-r);transform:skewX(var(--uv-skew));border:var(--cp-ol) solid var(--uv-ink);background:#fff;box-shadow:none}
#signin-card .signin-btn::after{content:"";position:absolute;inset:0;z-index:-2;border-radius:var(--uv-r);transform:translate(var(--cp-drop-x),var(--cp-drop-y)) skewX(var(--uv-skew));background:var(--cp-dc-ink)}
@media (hover:hover){ #signin-card .signin-btn:hover{transform:translateY(-.22rem) rotate(-1.2deg) scale(1.02)} }
#signin-card .signin-btn:active{transform:scale(1,.92);transition-duration:45ms}
/* the player card and the share sheet on a desktop window: the same plate; a narrow or short window keeps the scrolling card (a slanted face cannot sit on a scroller) */
@media (min-width:981px) and (min-height:640px){
  html:not([data-mobile]) :is(#lbp-card,#share-card){isolation:isolate;border:0;background:none;box-shadow:none;overflow:visible;max-height:none;padding-inline:3.2rem;--uv-card-sk:0deg}
  html:not([data-mobile]) :is(#lbp-card,#share-card)::before{content:"";display:block;position:absolute;inset:0;width:auto;height:auto;opacity:1;z-index:-1;border-radius:.6rem;border:.1875rem solid var(--uv-ink);transform:skewX(var(--uv-card-sk));background:var(--vw-face);box-shadow:none}
  html:not([data-mobile]) :is(#lbp-card,#share-card)::after{content:"";display:block;position:absolute;inset:0;width:auto;height:auto;opacity:1;z-index:-2;border-radius:.6rem;background:var(--cp-dc-ink);transform:translate(var(--cp-drop-x),var(--cp-drop-y)) skewX(var(--uv-card-sk))}
}
/* a phone: a gentler lean, so the card stays inside the window; the sheet fits (a phone's has three groups), the sign-in card takes the width Google's button needs; a label never under 12 px */
@media (max-width:760px){
  #signin-card,.tut .tut-card{--uv-card-sk:0deg}
  #signin-card{width:calc(100vw - 4rem);padding:1.5rem 2.2rem}
  #signin-card .signin-google{padding:1rem 1.4rem 1.2rem}
  .tut{padding:1.6rem}
  .tut .tut-card{padding:1.6rem 2rem 1.4rem}
  .tut .tut-page{min-height:0}
  :is(#lobby-profile,.lbp-card) :is(.caps,.st-cap,.st-ret-n small,.st-fig dt,.st-mtext small,.st-chip,.pf-who small){font-size:max(1.2rem,12px)}
}
/* the tutorial: the slanted card, its art on a slanted plate with the ink drop, in the palette; the ball on Next */
.tut{background:var(--cp-scrim);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}      /* FULL SWEEP: the light frosted scrim */
.tut .tut-card{width:min(38rem,100%);padding:1.7rem 4rem 1.5rem 4.2rem;--uv-card-sk:0deg;gap:.9rem}
.tut .tut-page{min-height:25.5rem;gap:.8rem}
.tut .tut-art{position:relative;isolation:isolate;overflow:visible;border:0;border-radius:0;background:none;box-shadow:none;width:min(16rem,80%)}
.tut .tut-art::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uv-r);border:var(--cp-ol) solid var(--uv-ink);transform:skewX(var(--uv-skew));background:var(--cp-well);box-shadow:none}      /* FULL SWEEP: a flat pale-sky plate, no inner glow */
.tut .tut-art::after{content:"";position:absolute;inset:0;z-index:-2;border-radius:var(--uv-r);transform:translate(var(--cp-drop-x),var(--cp-drop-y)) skewX(var(--uv-skew));background:var(--cp-dc-ink)}
.tut-art [stroke="#4b535b"]{stroke:var(--uv-ink)} .tut-art [fill="#4b535b"]{fill:var(--uv-ink)} .tut-art [fill="#bfe1f4"],.tut-art [fill="#d9e9f2"]{fill:var(--uv-sky-2)} .tut-art [stroke="#34beed"],.tut-art [stroke="#a9e0f6"],.tut-art [stroke="#3aa0ff"]{stroke:var(--cp-main)} .tut-art [fill="#34beed"]{fill:var(--cp-main)} .tut-art [stroke="#cfae00"]{stroke:var(--uv-ink)} .tut-art [fill="#cfae00"]{fill:var(--uv-ink)} .tut-art [fill="#3f73c2"]{fill:var(--cp-main)} .tut-art [fill="#e3f1ff"]{fill:var(--uv-ice)} .tut-art [fill="#1670d8"]{fill:var(--cp-main)} .tut-art [fill="#1a9fd0"]{fill:var(--cp-main)} .tut-art [stroke="#1a9fd0"]{stroke:var(--cp-main)} .tut-art [fill="#fff0e2"]{fill:#fff} .tut-art [stroke="#ff9440"]{stroke:var(--uv-ink)} .tut-art [fill="#e6561a"]{fill:var(--cp-flame)} .tut-art rect[fill="#4b535b"]{fill:var(--cp-main)} .tut-art text{font-family:var(--font-display);font-weight:400}      /* (the ball keeps its own neon, #e8fb2a: ball art, never UI chrome) */
.tut-more{position:relative;isolation:isolate;border:0;border-radius:0;background:none;padding:.5rem 1.2rem .46rem}
.tut-more::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uv-r);transform:skewX(var(--cp-skew));background:var(--cp-well-2);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink), var(--cp-drop-sm)}      /* FULL SWEEP: a pale-sky note, never an ink plate */
.tut-more,.tut-more a{color:var(--cp-text)} .tut-more a{color:var(--cp-deep)}
.tut-shot{position:relative;isolation:isolate;border:0;border-radius:0;background:none;box-shadow:none}
.tut-shot::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uv-r);border:var(--cp-ol-sm) solid var(--uv-ink);transform:skewX(var(--uv-skew));background:var(--cp-well);box-shadow:var(--cp-drop-sm)}
.tut-shot svg,.tut-shot:nth-child(n) svg{color:var(--cp-main)}
.tut .tut-x{top:.9rem;right:1.9rem;width:2.4rem;height:2.4rem;border-radius:.3rem;transform:skewX(var(--uv-skew));background:#fff;box-shadow:inset 0 0 0 var(--cp-ol) var(--uv-ink), var(--cp-drop-sm);transition:transform 200ms var(--uv-spring)}
@media (hover:hover){ .tut .tut-x:hover{transform:skewX(var(--uv-skew)) translateY(-.15rem) rotate(-6deg) scale(1.08);box-shadow:inset 0 0 0 var(--cp-ol) var(--uv-ink), var(--cp-drop-sm), 0 0 0 .3rem var(--cp-glow)} }
.tut .tut-x:active{transform:skewX(var(--uv-skew)) translate(var(--cp-drop-sm-x),var(--cp-drop-sm-y));box-shadow:inset 0 0 0 var(--cp-ol) var(--uv-ink)}
.tut .tut-dots button{transform:skewX(var(--uv-skew));border-radius:.15rem}
.tut .tut-next,.tut .tut-next:is(.ae-sel,:focus-visible){--bdx:var(--cp-drop-sm-x);--bdy:var(--cp-drop-sm-y);--slab-c:transparent;--slab-o:transparent;position:relative} .tut .tut-next.is-last::before{opacity:1}      /* FULL SWEEP: one cyan block, one deep drop; no selection slab beside it */
.tut .tut-foot .btn{transition:transform 200ms var(--uv-spring)}
@media (hover:hover){ .tut .tut-foot .btn:not(:disabled):hover{transform:translate(-.1rem,-.22rem) rotate(-1.4deg) scale(1.04)} }
.tut .tut-foot .btn:not(:disabled):active{transform:scale(1,.88);transition-duration:45ms}
@media (prefers-reduced-motion: reduce){ .tut .tut-foot .btn,.tut .tut-x,#signin-card .signin-btn{transition:none;transform:none!important} .tut .tut-x{transform:skewX(var(--uv-skew))!important} }

/* ---------- a view with nothing to show here without an account (NOTES 342, the owner: "a screen that is kind of greyed out ... that says sign in to view"): the view's
   own layout dimmed and inert (profile.js lockStats, social.js draw set .is-locked and `inert`), ONE plate centred over it: Friends' gate (with its faces and its
   Sign in) or Your stats' #pf-lock (words only: nothing on a local copy can sign in). UI rules: white, -6deg on the plate, its words straight, one ink outline, one drop ---------- */
.lobby-view.is-locked{position:relative}
.lobby-view.is-locked > :not(.lv-lock){opacity:.45;pointer-events:none;user-select:none}      /* (FULL SWEEP) still dimmed under the plate (NOTES 342), but no grey-out: the ink words and drops keep their colour, only fainter */
#lobby-profile.is-locked #st-crest{pointer-events:auto}      /* the medal opens Ranks for a guest too (NOTES 379): the only live thing under the plate */
#screen-lobby .lobby-view.is-locked > .lv-lock{position:absolute;left:50%;top:50%;translate:-50% -50%;z-index:6;flex:none;box-sizing:border-box;width:max-content;max-width:min(calc(100% - 2rem), 30rem);margin:0;padding:1.7rem 2.8rem 2rem;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;text-align:center;background:#fff;border:var(--cp-ol) solid var(--uv-ink);border-radius:var(--uv-r);box-shadow:var(--cp-drop);transform:skewX(var(--cp-skew))}
.lv-lock[hidden]{display:none!important}
#screen-lobby .lobby-view.is-locked > .lv-lock > *{transform:skewX(calc(-1 * var(--cp-skew)))}
#screen-lobby .lobby-view.is-locked > .lv-lock::before,#screen-lobby .lobby-view.is-locked > .lv-lock::after{transform:skewX(calc(-1 * var(--cp-skew)));animation-name:uv-chip-bob-lv}
@keyframes uv-chip-bob-lv{from{transform:skewX(calc(-1 * var(--cp-skew)))}to{transform:skewX(calc(-1 * var(--cp-skew))) translateY(-.35rem)}}
#screen-lobby :is(#lobby-friends,#lobby-profile).is-locked > .lv-lock :is(.fr-gate-t,.lv-lock-t){margin:0;font-family:var(--font-display);font-weight:400;font-size:2.35rem;line-height:1.1;color:var(--uv-ink);text-wrap:balance}
#screen-lobby .lobby-view.is-locked > .lv-lock .fr-gate-b{margin-top:.8rem;--bf:var(--uv-neon);--bo:var(--cp-deep);color:#fff;}      /* the plate's one action is the primary: neon at every window size (the desktop rule above is the wide window's only) */
html[data-mobile] #screen-lobby .lobby-view.is-locked > .lv-lock{padding:1.2rem 1.5rem 1.4rem}
html[data-mobile] #screen-lobby :is(#lobby-friends,#lobby-profile).is-locked > .lv-lock :is(.fr-gate-t,.lv-lock-t){font-size:1.5rem}
@media (prefers-reduced-motion: reduce){ #screen-lobby .lobby-view.is-locked > .lv-lock::before,#screen-lobby .lobby-view.is-locked > .lv-lock::after{animation:none} }
/* ==========================================================================================================
   A VIEW IS ITS OWN SCREEN (owner 2026-11-09, NOTES 404: "get rid of the settings button etc, any other buttons below, those are not the focus on this screen"). On a computer every
   view past the home shows only Back, its title and its own panel: no player card, phone block, Inbox or Settings top right, no legal line, key hints or Product Hunt badge at the foot.
   The home keeps them all (Settings is reached there); Esc and F still work as keys. A phone keeps its bars (ui.css). In the wide layout the column then runs from Back's line to the
   window's foot, and its plate runs off the top, right and bottom edges: one full-height side panel
   ========================================================================================================== */
html:not([data-mobile]) #screen-lobby:not([data-view="home"]) :is(.head-end,.menu-foot){display:none}
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]){--vbot:1.6rem;--vbleed:3rem;--vtop0:calc(var(--vt) + 5.5rem);--vtop:calc(var(--vt) * .35 + var(--back-y));--vshift:calc(var(--vtop0) - var(--vtop));
    --vtray:calc(100vh - var(--vtop) - var(--vbot) - var(--vgap) - var(--vact))}      /* --vtop0: where the column began under the old top bar; --vshift: how far it rose */
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]):not([data-view="bracket"]) .panel.lobby-view:not(.lobby-home)::before{top:calc(var(--vtop) * -1 - var(--vbleed));right:calc((var(--vr) + var(--vbleed)) * -1);bottom:calc((var(--vbot) + var(--vbleed)) * -1)}
  html:not([data-mobile]) #screen-lobby:is([data-view="create"],[data-view="share"],[data-view="tour"]):not([data-view="home"]):not([data-view="bracket"]) .panel.lobby-view:not(.lobby-home)::before{bottom:calc((var(--vgap) + var(--vact) + var(--vbot) + var(--vbleed)) * -1)}      /* the action under the tray stands on the plate too (the two :not()s: the rule above out-ranked this one, so the plate stopped across the action, NOTES 410) */
  html:not([data-mobile]) #screen-lobby[data-view="bracket"] .menu-body{height:calc(100vh - var(--vt) - 9.4rem - var(--vbot))}
  html:not([data-mobile]) #screen-lobby:not([data-view="home"]) .lobby-down{position:fixed;left:50%;right:auto;top:1.5rem;translate:-50% 0;width:max-content;white-space:nowrap}      /* top centre, as on the home (owner 2026-11-17: "why is it here and not top centre of page as it normally is") */      /* (it sat above the column, where the top edge is now): under the title, beside the panel */
}
/* ==========================================================================================================
   THE SLAB ON EVERY VIEW (the cohesion sweep, NOTES 410; owner 2026-11-09: "make ui components all cohesive ... good example is locker ui style, with the skewed side half", then
   "You're supposed to make the containers skewed and fit everything nicely, kind of like the Brawl Stars layout"). In the wide layout every view's column is the Locker's catalogue
   slab (NOTES 367): the panel itself is sheared to the one slant and its plate (::before, flat --vw-slab-face) shears with it, running off the top, right and bottom edges (NOTES 404).
   Every container in it stays on that slant: a card, a row, a tile, a pill or a bar is a parallelogram whose sides run parallel to the slab's edge, so the cards stand in one tidy
   slanted column (no steps). A box that draws its own -6deg face (a row's ::before) turns that skew off here (--uv-skew / --ua-skew 0 on the face): the panel's shear is its slant.
   What a box holds (words, numbers, icons, pictures) is set back upright (--vw-unslant). A single-line row of items (the tabs, the code boxes, a button row) stands upright as a
   whole, each item drawing its own -6deg face. The bracket keeps its own upright window (it scrolls sideways); the Locker has its own rules (locker.css section 3). A narrow window and
   a phone keep the square tray
   ========================================================================================================== */
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby :is(#lobby-leaderboard,#lobby-ranks,#lobby-profile,#lobby-friends,#lobby-bot,#lobby-create,#lobby-share,#lobby-tour).panel.lobby-view{transform:skewX(var(--vw-slab-skew));
    width:calc(100% - max(0px, tan(calc(var(--vw-slab-skew) * -1)) * (var(--vtray) + var(--vgap) + var(--vact)) / 2 - var(--vr) + .3rem))}      /* the shear carries the top right corner out by tan 6deg x half the height: the column gives that back, so the panel's box (and the head row on it) ends inside the window */
  /* a row or card that draws its own slanted face: the face takes the panel's slant instead, what it holds stands upright */
  html:not([data-mobile]) #screen-lobby :is(#lobby-leaderboard .lb-row,#lobby-leaderboard .lb-you,#lobby-ranks .ranks-card,#lobby-friends .fr-row,#lobby-tour .tour-chip:not(.is-more))::before,
  html:not([data-mobile]) #screen-lobby :is(#lobby-leaderboard .lb-row,#lobby-leaderboard .lb-you,#lobby-ranks .ranks-card,#lobby-friends .fr-row,#lobby-tour .tour-chip:not(.is-more))::after,
  html:not([data-mobile]) #screen-lobby :is(#lobby-friends .fr-search,#lobby-friends .fr-empty)::before,html:not([data-mobile]) #screen-lobby :is(#lobby-friends .fr-search)::after{--uv-skew:0deg}
  html:not([data-mobile]) #screen-lobby :is(#lobby-leaderboard .lb-row,#lobby-leaderboard .lb-you,#lobby-friends .fr-row,#lobby-tour .tour-chip:not(.is-more),#lobby-friends .fr-search,#lobby-friends .fr-empty) > *{transform:var(--vw-unslant)}
  html:not([data-mobile]) #screen-lobby #lobby-tour .tour-chip.is-more{transform:var(--vw-unslant)}      /* (its words are the chip's own text: the chip stands upright on its own face) */
  html:not([data-mobile]) #screen-lobby #lobby-ranks .ranks-in{transform:none} html:not([data-mobile]) #screen-lobby #lobby-ranks .ranks-card > :not(.ranks-in){transform:var(--vw-unslant)}      /* (.ranks-in's pieces already stand back up by its own rule) */
  /* Your stats: the four cards and the tiles on the slant, their contents upright; the record bar is a bar on the slant too */
  html:not([data-mobile]) #screen-lobby #lobby-profile > :is(.pf-head,.pf-msg){transform:var(--vw-unslant)}
  html:not([data-mobile]) #screen-lobby #lobby-profile > .st-hero{align-content:center}      /* its rows sit together in the card's middle, not spread to its foot */
  html:not([data-mobile]) #screen-lobby #lobby-profile > :is(.st-hero,.st-matt,.st-people,.st-play) > :not(.st-bar){transform:var(--vw-unslant)}
  html:not([data-mobile]) #screen-lobby #lobby-profile > .st-hero > .st-crest > .st-em{transform:var(--vw-unslant)}      /* the medal stands up inside its crest: the crest's own drop-in (medal-drop, fill both) holds its transform, so the rule above never reached it (owner 2026-11-15: "why is it skewed") */
  html:not([data-mobile]) #screen-lobby #lobby-profile .st-tiles > *:not(.st-tile),html:not([data-mobile]) #screen-lobby #lobby-profile .st-tiles > .st-tile > :not(.st-badge){transform:var(--vw-unslant)} html:not([data-mobile]) #screen-lobby #lobby-profile .st-tile > .st-badge{transform:none}      /* the badge is a chip: it leans with its tile (the slab's one slant), only its icon stands up */
  html:not([data-mobile]) #screen-lobby #lobby-profile .st-people > .st-bar{transform:none} html:not([data-mobile]) #screen-lobby #lobby-profile .st-people > .st-bar > span{transform:var(--vw-unslant)}
  /* the lock plate over a view a local copy cannot fill: a card on the slant (its own -6deg is the panel's now) */
  html:not([data-mobile]) #screen-lobby :is(#lobby-profile,#lobby-friends).is-locked > .lv-lock{transform:none}
  /* Leaderboard: the tabs and the switch upright as rows, the Global pill on the slant with its words upright, the rows on the slant */
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard > :is(.lb-tabs,.lb-show,.lb-what){transform:var(--vw-unslant)}
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-scope > *{display:inline-block;transform:var(--vw-unslant)}
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-state{transform:var(--vw-unslant)}
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-tabs{margin-right:.4rem}      /* the shear carries the top right: the head row ends a little inside the column (the Locker's --lk-slab-head-r) */
  /* Friends: the gate, the search block and the lists' headings */
  html:not([data-mobile]) #screen-lobby #lobby-friends > .fr-gate > *,html:not([data-mobile]) #screen-lobby #lobby-friends .fr-scroll > .fr-hint,html:not([data-mobile]) #screen-lobby #lobby-friends .fr-sec > :not(.fr-list):not(.fr-empty),html:not([data-mobile]) #screen-lobby #lobby-friends .fr-search > svg{transform:var(--vw-unslant)}
  /* Play a bot: the four levels are cards on the slant */
  html:not([data-mobile]) #screen-lobby #lobby-bot > .uv-robot{transform:var(--vw-unslant)}
  html:not([data-mobile]) #screen-lobby #lobby-bot .bot-levels .btn{--ua-skew:0deg} html:not([data-mobile]) #screen-lobby #lobby-bot .bot-levels .btn > :not(.uv-ball){transform:var(--vw-unslant)}
  /* Create court: the two choices are cards on the slant, the art panel too; the note and Create upright */
  html:not([data-mobile]) #screen-lobby #lobby-create .seg-opt{--uv-skew:0deg} html:not([data-mobile]) #screen-lobby #lobby-create .seg-opt .cv-art{transform:none}      /* the art panel (.ms-art) leans with its card: its own -6 stacked to -12 */ html:not([data-mobile]) #screen-lobby #lobby-create .seg-opt > .cv-nm,html:not([data-mobile]) #screen-lobby #lobby-create .seg-opt .cv-art > .mi{transform:var(--vw-unslant)}
  html:not([data-mobile]) #screen-lobby #lobby-create > :is(#seg-note,#btn-create-go){transform:var(--vw-unslant)}
  /* Your court: each line is one row */
  html:not([data-mobile]) #screen-lobby #lobby-share > *{transform:var(--vw-unslant)}
  /* Tournament: the two columns on the slant, each line upright, the players' chips on the slant */
  html:not([data-mobile]) #screen-lobby #lobby-tour > section > :not(.tour-names){transform:var(--vw-unslant)}      /* (a section never takes a transform: its .tour-acts is absolute on the panel and must stay the panel's) */
}
/* ---------- Your stats' first card (owner 2026-11-09, NOTES 412: "An array of medals is not necessary; just remove this part. Extend bar and make streak part bigger slightly"): no trophy road
   (the eight small medals; ui.js still draws it, the Ranks page is where the ladder lives), the streak a size up ---------- */
html #screen-lobby #lobby-profile .st-hero .st-road{display:none}      /* (out-ranks the wide layout's own .st-road rule) */
#lobby-profile .st-ribbon{padding:.42rem 1.2rem .36rem 1rem;gap:.5rem} #lobby-profile .st-ribbon b{font-size:2.6rem}
#lobby-profile :is(.st-ribbon,.st-streak.is-hot .st-ribbon) .st-flame{width:1.95rem;height:2.25rem}
/* ---------- the button levels on every view (the Locker's, NOTES 409): the secondary buttons white with ink words (FULL SWEEP), the one primary cyan, Back and the tabs white ---------- */

#screen-lobby:not([data-view="home"]) :is(#btn-tour-copy,#btn-copy,#btn-tour-warm,#btn-tour-leave,#btn-br-leave,#btn-pf-signout,#btn-pf-share,#btn-pf-rename,.lb-you-go),
#screen-match :is(#btn-leave,#btn-champ-bracket){--bf:var(--vw-sec-face);color:var(--vw-sec-label)}      /* the result: Leave, and the champion's See bracket beside Back to courts, are secondary; Rematch / Back to courts the one neon */
#screen-lobby:not([data-view="home"]) :is(#btn-tour-copy,#btn-copy,#btn-tour-warm,#btn-tour-leave,#btn-br-leave,#btn-pf-signout,#btn-pf-share,#btn-pf-rename,.lb-you-go):not(:disabled):active,
#screen-match :is(#btn-leave,#btn-champ-bracket):not(:disabled):active{--bf:var(--vw-sec-press)}
#screen-lobby:not([data-view="home"]) :is(#btn-tour-copy,#btn-copy,#btn-tour-warm,#btn-tour-leave,#btn-br-leave,#btn-pf-signout,#btn-pf-share,#btn-pf-rename,.lb-you-go) svg,#screen-match #btn-leave svg{stroke:currentColor}
#screen-lobby:not([data-view="home"]) #btn-pf-share .pf-share-ic{background:none;box-shadow:none} #screen-lobby:not([data-view="home"]) #btn-pf-share .pf-share-ic svg{stroke:currentColor}
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #lobby-tour .tour-acts #btn-tour-warm{height:var(--vw-sec-h);align-self:center;font-size:var(--vw-sec-fs)}      /* a size down beside Start, the one action */
}
/* ==========================================================================================================
   FULL SWEEP: LIGHT AND WII, ONE CARTOON DROP (docs/cyanpop/SPEC.md, owner after the first pass: "a lot of the ui elements are still really dark and not giving wii vibes",
   "the cartoon double shadow effect behind each button is also not consistent"). The views lane's last word: one title plate, category accents on light surfaces, the
   Friends empty card, the mode sheet's title on a phone
   ========================================================================================================== */
/* ONE title plate everywhere (Choose a mode, every view, the tutorial's card titles): a white plate, Days One in label ink, the ink outline, the big ink drop, the one slant */
:is(#screen-lobby:not([data-view="home"]),.mode-sheet) .menu-title,.tut .tut-title{color:var(--cp-text);text-shadow:none}
:is(#screen-lobby:not([data-view="home"]),.mode-sheet) .menu-title::before,.tut .tut-title::before{background:var(--cp-panel);box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink), var(--cp-drop)}
/* "Choose a mode" fits a 390 wide phone window: a step smaller, inside the window (it ran off the right edge) */
@media (max-width:640px){
  .mode-sheet{--title-fs:2rem;--title-pt:.62rem;--title-pb:.52rem}
  .mode-sheet .ms-h{padding-left:1.2rem;padding-right:1.6rem;max-width:calc(100vw - var(--back-x) - var(--back-w) - var(--title-gap) - 1.6rem)}
}
/* Friends: the empty list is a white card (the one block: outline + drop), its words legible ink in the display face */
#screen-lobby #lobby-friends .fr-empty{position:relative;isolation:isolate;background:none;border:0;border-radius:0;box-shadow:none;margin:0 var(--cp-drop-x) var(--cp-drop-y) 0}
#screen-lobby #lobby-friends .fr-empty::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uv-r);background-color:var(--cp-panel);box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink), var(--cp-drop);transform:skewX(var(--uv-skew))}      /* (owner 2026-11-12: "why doesn't this use skew") the search's recipe: one slanted face, outline and drop on it, the words upright */
#screen-lobby #lobby-friends .fr-empty b{font-family:var(--font-display);font-weight:400;color:var(--cp-text)}
#screen-lobby #lobby-friends .fr-empty span{font-family:var(--font-text);font-weight:500;color:var(--cp-text-2)}
#screen-lobby #lobby-friends .fr-empty::before{background-color:var(--empty-face,#cfe5f4);box-shadow:inset 0 0 0 var(--cp-ol) var(--empty-edge,#a9cde8)}      /* empty (owner 2026-11-16): the inbox's muted blue, no ink, no drop */
#screen-lobby #lobby-friends .fr-empty{margin:0}
#screen-lobby #lobby-friends .fr-empty b{color:var(--empty-word,#6a9bc3)} #screen-lobby #lobby-friends .fr-empty span{color:var(--empty-mark,#86b6db)}
/* Boards: an empty (or unavailable) board is the same plate (owner 2026-11-16: "same style as the empty friends thing"), at the list's top */
#screen-lobby #lobby-leaderboard .lb-state{inset:.3rem .9rem auto .6rem;isolation:isolate;display:flex;flex-direction:column;align-items:center;gap:.375rem;padding:var(--s-5) var(--s-4);text-align:center}
#screen-lobby #lobby-leaderboard .lb-state[hidden]{display:none}
#screen-lobby #lobby-leaderboard .lb-state::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--uv-r);background-color:var(--empty-face,#cfe5f4);box-shadow:inset 0 0 0 var(--cp-ol) var(--empty-edge,#a9cde8);transform:skewX(var(--uv-skew))}
#screen-lobby #lobby-leaderboard .lb-state b{font-family:var(--font-display);font-weight:400;font-size:var(--t-md);color:var(--empty-word,#6a9bc3)}
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-state{transform:none} html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-state::before{--uv-skew:0deg} html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-state > *{transform:var(--vw-unslant)}      /* the panel's slant is the plate's, the words upright (Friends' recipe) */
}
#screen-lobby #lobby-friends :is(.fr-label,.fr-sec > h3,.fr-sec > h2){color:var(--cp-pink-deep);font-family:var(--font-display);font-weight:400;letter-spacing:0;text-transform:none}      /* Friends' accent: pink */
#lobby-friends .fr-search > svg{stroke:var(--cp-pink)}
/* Boards' accent: purple. The chosen board tab is a purple block (the deep purple outline and drop); the rest white */
#screen-lobby #lobby-leaderboard .seg-opt[aria-checked="true"]::before{background:var(--cp-purple);box-shadow:inset 0 0 0 var(--vw-ol) var(--cp-purple-deep), var(--cp-drop-sm-x) var(--cp-drop-sm-y) 0 var(--cp-dc-purple)}
#screen-lobby #lobby-leaderboard .lb-row .lb-rank{color:var(--cp-purple-deep)}
/* Ranks' accent: gold */
#screen-lobby #lobby-ranks .ranks-from{color:var(--cp-gold-deep)}
/* Stats' accent: green. The tiles' icon chips: green, a white glyph, the deep green edge and drop */
#lobby-profile .st-badge,#lbp-card .st-badge{background:var(--cp-green);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-green-deep), var(--cp-drop-sm-x) var(--cp-drop-sm-y) 0 var(--cp-dc-green)}
#lobby-profile .st-badge svg,#lbp-card .st-badge svg{stroke:#fff}
:is(#lobby-profile,.lbp-card) :is(.caps,.st-cap,.st-mtext small,.st-ret-n small){font-family:var(--font-display);font-weight:400}
/* the court list's Join and the bot levels' small words: no heavy Rubik */
#screen-lobby .court-go{font-family:var(--font-display);font-weight:400}
#screen-lobby #lobby-bot .bot-levels .btn small{font-family:var(--font-text);font-weight:500}      /* a level's description is a sentence: Rubik at 500 at every width (Days One has no 500) */
#screen-lobby .lb-scope{font-family:var(--font-display);font-weight:400}
/* small buttons (under ~3rem: the account row, Copy, the leaderboard's Go, a court state's button, the save line's) take the small drop, at rest, hovered and chosen alike */
#screen-lobby:not([data-view="home"]) :is(.pf-acct .btn,.lb-you-go,#btn-copy,#btn-tour-copy,.court-state .btn,.btn-icon,.view-info-btn),#screen-match .result-save .btn{--bd0x:var(--cp-drop-sm-x);--bd0y:var(--cp-drop-sm-y);--bdx:var(--bd0x);--bdy:var(--bd0y)}
/* (owner 2026-11-10, NOTES 446: "should stay slanted") the Ranks grid leans with the slab, as before the full sweep. The tags ("Never lost", "Kept", "Now") are small blocks: a white face on the slant (its own ::before), the ink outline and the small drop, the words upright */
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby #lobby-ranks .ranks-grid .ranks-tag,html:not([data-mobile]) #screen-lobby #lobby-ranks .ranks-grid .ranks-tag:is(.is-keep,.is-now){isolation:isolate;z-index:1;background:none;box-shadow:none;color:var(--cp-text);opacity:1}
  html:not([data-mobile]) #screen-lobby #lobby-ranks .ranks-grid .ranks-tag::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:.25rem;background:var(--cp-panel);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 #lobby-ranks .ranks-grid .ranks-tag.is-now{color:#fff;}
  html:not([data-mobile]) #screen-lobby #lobby-ranks .ranks-grid .ranks-tag.is-now::before{background:var(--cp-main);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-deep), var(--cp-drop-deep-sm)}
}
/* (FULL SWEEP) the board's caption repeats the chosen tab ("Longest rally, in hits" under Longest rally): read by a screen reader as the list's name, never drawn (as on a computer) */
#lobby-leaderboard .lb-what{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* (NOTES 458, owner 2026-11-10: "fix this padding") the Global pill under the board tabs: on the tabs' left edge (it sat 2rem in), no extra gap above it, room inside round its words */
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #lobby-leaderboard .lb-scope{margin:.2rem 0 0 -.8rem;padding:.6rem 1.3rem .6rem 1.1rem;font-size:.95rem}      /* (owner 2026-11-12: "improve padding here") the tabs and the pill a step in from the panel's slanted edge */
}

/* ONE inner margin for every slanted view panel (owner 2026-11-12: "needs more padding; im finding this issue across the entire game website, fix it universally").
   --vw-pad is the gap between the slab's edge and anything on it, both sides, the action row under the tray included (Create, Share, the tournament's buttons sat .6rem from the edge). */
#screen-lobby{--vw-pad:2.6rem}
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby :is(#lobby-leaderboard,#lobby-ranks,#lobby-profile,#lobby-friends,#lobby-bot,#lobby-create,#lobby-share,#lobby-tour).panel.lobby-view{padding-left:var(--vw-pad);padding-right:var(--vw-pad)}
  html:not([data-mobile]) #screen-lobby :is(#lobby-create #btn-create-go,#lobby-share #btn-share-go,#lobby-tour .tour-acts){left:var(--vw-pad);right:var(--vw-pad)}
}

/* (NOTES 479, owner 2026-11-12: "make this screen look more complete") the share view's two seats under the code: me, and the other seat, open (dashed, pulsing dots) until a person sits */
#lobby-share .share-seats{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem;flex:1 1 auto;min-height:0;align-content:center;padding:.3rem .5rem .6rem}
/* (NOTES 717, owner 2026-11-18: "skewed squares with the player box rendered in it with their name tag, rank next to it, total trophies") each seat a slanted
   square at the views' one angle: the player's picture filling a cyan stage, the trophies in a chip on top, the name tag across the foot with the rank emblem
   beside the name. The square leans; what is in it stands upright. The open seat: dashed, its pulsing dots, nothing else */
#lobby-share .seat{position:relative;isolation:isolate;display:block;aspect-ratio:1 / 1;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;transform:skewX(var(--uv-skew,-6deg))}
#lobby-share .seat::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:.55rem;border:var(--vw-ol,.2rem) solid var(--uv-ink,#1c3150);
  background:radial-gradient(120% 85% at 50% 30%,#7fe0ff 0%,#00c2ff 45%,#0089d6 100%);box-shadow:var(--cp-drop-x,.3rem) var(--cp-drop-y,.35rem) 0 var(--uv-ink,#1c3150)}
#lobby-share .seat.is-me::before{box-shadow:0 0 0 .2rem var(--uv-neon,#00c2ff), var(--cp-drop-x,.3rem) var(--cp-drop-y,.35rem) 0 var(--uv-ink,#1c3150)}
#lobby-share .seat > *{transform:skewX(calc(var(--uv-skew,-6deg) * -1))}

#lobby-share .seat-pic{position:absolute;left:6%;right:6%;top:12%;bottom:.2rem;display:block;background-position:50% 100%;background-size:contain!important;background-repeat:no-repeat;filter:drop-shadow(0 .3rem .4rem rgba(0,40,90,.35))}
#lobby-share .seat-tro{position:absolute;top:.55rem;left:.6rem;display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .6rem .2rem .4rem;border-radius:.35rem;background:var(--uv-ink,#1c3150);color:#fff;font:400 1.15rem/1 var(--font-display);font-variant-numeric:tabular-nums}
#lobby-share .seat-tro[hidden]{display:none}
#lobby-share .seat-tro .cup-ic{width:1.25rem;height:1.25rem;filter:none}
#lobby-share .seat-tag{position:absolute;left:-.1rem;right:-.1rem;bottom:-.1rem;display:flex;align-items:center;justify-content:center;gap:.45rem;min-height:2.9rem;padding:.3rem .7rem;border-radius:0 0 .55rem .55rem;background:var(--uv-ink,#1c3150)}
#lobby-share .seat-em{flex:none;display:grid;place-items:center;width:3.3rem;height:3.3rem;margin:-1.4rem 0 -.6rem}
#lobby-share .seat-em[hidden]{display:none}
#lobby-share .seat-em .st-em .rank-em{width:3.3rem;height:3.3rem;filter:drop-shadow(0 .1rem .15rem rgba(0,0,0,.4))}
#lobby-share .seat-em .st-em::after{display:none}
#lobby-share .seat-nm{min-width:0;font-family:var(--font-display);font-weight:400;font-size:1.35rem;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#lobby-share .seat-nm:empty{display:none}
#lobby-share .seat.is-open::before{background:rgba(255,255,255,.45);border-style:dashed;box-shadow:none}
#lobby-share .seat.is-open :is(.seat-pic,.seat-tro,.seat-tag){display:none}
#lobby-share .seat.is-open .seat-dots{position:absolute;inset:0;align-items:center;justify-content:center}
#lobby-share .seat-dots{display:none}
#lobby-share .seat.is-open .seat-dots{display:flex;gap:.5rem}
#lobby-share .seat-dots i{width:.7rem;height:.7rem;border-radius:50%;background:var(--cp-main);animation:seat-dot 1.2s ease-in-out infinite}
#lobby-share .seat-dots i:nth-child(2){animation-delay:.15s} #lobby-share .seat-dots i:nth-child(3){animation-delay:.3s}
@keyframes seat-dot{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-.35rem);opacity:1}}
@media (prefers-reduced-motion: reduce){ #lobby-share .seat-dots i{animation:none;opacity:.6} }

/* a guest's name is clickable to rename (owner 2026-11-18; ui.js nameEdit / pfNameEdit): Your stats' name shows a pen-cursor hover, its field keeps the name's look; the home card's field shows a caret while open */
#lobby-profile #pf-name.is-editable{cursor:text;border-radius:.3rem;transition:background 120ms} @media (hover:hover){ #lobby-profile #pf-name.is-editable:hover{background:var(--cp-sky-2)} }
#lobby-profile #pf-name.is-editable:focus-visible{outline:.2rem solid var(--cp-main);outline-offset:.15rem}
#lobby-profile .pf-name-field{font:inherit;font-family:var(--font-display);font-weight:400;font-size:1.7rem;line-height:1.1;color:var(--cp-text);width:12.5ch;max-width:100%;min-width:0;height:auto;padding:0 .45rem;margin:0;border-radius:.4rem;background:#fff;border:.15rem solid var(--cp-ink);box-shadow:var(--cp-drop-sm-x) var(--cp-drop-sm-y) 0 var(--cp-ink);outline:0}
html[data-mobile] #lobby-profile .pf-name-field{font-size:2.6rem}
html:not([data-mobile]) #lobby-home .pcard #home-name{cursor:pointer}
html:not([data-mobile]) #lobby-home .pcard.is-naming #home-name{cursor:text;background:#fff;border-radius:.4rem;box-shadow:inset 0 0 0 .15rem var(--cp-ink)}

/* ======================================================= NOTES 711: the leaderboard rows (owner 2026-11-18) =======================================================
   The Global pill is gone. Each tab wears its icon (the ball, the cup, the flame). A Rank / Name / value head stands over the rows in the rows' own columns.
   The place is a slanted tag at the views' one angle, its number upright and ink (it was a small upright purple chip), gold / silver / bronze for the top three.
   Every row has the player's picture before the name; the rank medal left the name and stands, big, right in front of the trophy count on the Trophies board only. */
#lobby-leaderboard .lb-tabs .seg-opt{display:inline-flex;align-items:center;justify-content:center;gap:.45rem}
#lobby-leaderboard .lb-tab-ic{flex:none;width:1.55rem;height:1.55rem;overflow:visible}
#lobby-leaderboard .lb-tab-ic.is-rally{fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}      /* (NOTES 735) the rally: back and forth (the dotted ball is gone, owner: never again) */
#lobby-leaderboard .lb-tab-ic.cup-ic .cup-c,#lobby-leaderboard .lb-tab-ic.cup-ic .cup-b,#lobby-leaderboard .lb-tab-ic.cup-ic .cup-s{stroke:var(--cp-ink,#1c3150);stroke-width:1.6}
#lobby-leaderboard .lb-tab-ic.cup-ic .cup-h{stroke:var(--cp-ink,#1c3150)}
#lobby-leaderboard .lb-tab-ic.cup-ic{filter:none}
html[data-mobile] #lobby-leaderboard .lb-tab-ic{display:none}      /* a phone's thirds are 98 px: the words only */

/* the head: the rows' three columns, words upright on the slanted panel, sentence case (no tracked capitals) */
#lobby-leaderboard .lb-wrap{flex-direction:column}
#lobby-leaderboard .lb-head{flex:none;display:grid;grid-template-columns:3.6rem minmax(0,1fr) auto;gap:.75rem;align-items:end;padding:0 2rem .15rem 1.1rem;font:400 1rem/1.2 var(--font-display);color:var(--cp-text-2)}
#lobby-leaderboard .lb-head > :first-child{justify-self:center} #lobby-leaderboard .lb-head > :last-child{justify-self:end}
#lobby-leaderboard .lb-wrap:has(#lb-list:empty) .lb-head{visibility:hidden}
html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-head > *{transform:var(--vw-unslant)}
html:not([data-mobile]) #lobby-leaderboard .lb-list{min-height:0}

/* the row's columns: the tag, the picture + name, the value */
#screen-lobby #lobby-leaderboard :is(.lb-row,.lb-you){grid-template-columns:3.6rem minmax(0,1fr) auto}
#screen-lobby #lobby-leaderboard .lb-row{min-height:3.9rem}
#screen-lobby #lobby-leaderboard :is(.lb-row,.lb-you) .lb-rank,#screen-lobby #lobby-leaderboard .lb-row:hover .lb-rank{justify-self:center;display:grid;place-items:center;min-width:3rem;height:2.4rem;padding:0 .5rem;border-radius:.4rem;
  background:var(--cp-panel,#fff);color:var(--cp-ink,#1c3150);box-shadow:inset 0 0 0 var(--cp-ol-sm,.15rem) var(--cp-ink,#1c3150), .16rem .2rem 0 var(--cp-ink,#1c3150);font:400 1.35rem/1 var(--font-display);font-variant-numeric:tabular-nums}
#screen-lobby #lobby-leaderboard .lb-row.is-top1 .lb-rank{background:linear-gradient(180deg,var(--gold-1),var(--gold-2) 55%,var(--gold-3))}
#screen-lobby #lobby-leaderboard .lb-row.is-top2 .lb-rank{background:linear-gradient(180deg,#fff,var(--silver-2) 55%,var(--silver-3))}
#screen-lobby #lobby-leaderboard .lb-row.is-top3 .lb-rank{background:linear-gradient(180deg,#f6c39a,#d98a4e 55%,#b8662a)}
#screen-lobby #lobby-leaderboard .lb-rank > b{display:inline-block;font:inherit;color:inherit}
#screen-lobby #lobby-leaderboard .lb-you .lb-rank:empty{display:none}
html:not([data-mobile]) #screen-lobby #lobby-leaderboard :is(.lb-row,.lb-you) > .lb-rank{transform:none}      /* the tag leans with the panel ... */
html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-rank > b{transform:var(--vw-unslant)}      /* ... its number stands upright */
html[data-mobile] #screen-lobby #lobby-leaderboard :is(.lb-row,.lb-you) > .lb-rank{transform:skewX(var(--uv-skew))} html[data-mobile] #screen-lobby #lobby-leaderboard .lb-rank > b{transform:skewX(calc(var(--uv-skew) * -1))}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-row:hover > .lb-rank{transform:scale(1.08)}
}

/* the picture: the player's own kid (web/main.js faceOn), a round ink-ringed disc before the name */
#lobby-leaderboard .lb-who{gap:.7rem}
#lobby-leaderboard .lb-pic{flex:none;display:block;width:2.7rem;height:2.7rem;border-radius:50%;background:var(--cp-sky-2,#e3f6ff) url("art/ua-face.png") 50% 50%/cover no-repeat;box-shadow:inset 0 0 0 .1rem var(--cp-ink,#1c3150);overflow:hidden}      /* (NOTES 890) one thin ink ring (an inner and an outer .15rem stacked read as a thick band), the friends' faces the same */
#lobby-leaderboard .lb-name{font-size:1.2rem}

/* the value: the medal (Trophies only), big, right in front of the count */
#lobby-leaderboard .lb-v{display:inline-flex;align-items:center;gap:.25rem}
#lobby-leaderboard .lb-med{flex:none;display:grid;place-items:center;width:2.9rem;height:2.9rem;margin-right:.3rem}
#lobby-leaderboard .lb-med .st-em .rank-em{width:2.9rem;height:2.9rem;filter:drop-shadow(0 .1rem .15rem rgba(20,60,90,.3))}
#lobby-leaderboard .lb-med .st-em::after{display:none}      /* the division is the medal's own size (as the header's emblem) */
html[data-mobile] #screen-lobby #lobby-leaderboard :is(.lb-row,.lb-you){grid-template-columns:48px minmax(0,1fr) auto}
html[data-mobile] #lobby-leaderboard .lb-head{grid-template-columns:48px minmax(0,1fr) auto;gap:6px;padding:0 22px 0 14px;font-size:13px}
html[data-mobile] #screen-lobby #lobby-leaderboard :is(.lb-row,.lb-you) .lb-rank{min-width:38px;height:28px;padding:0 5px;font-size:15px}
html[data-mobile] #lobby-leaderboard .lb-pic{width:32px;height:32px}
html[data-mobile] #screen-lobby #lobby-leaderboard .lb-row .lb-who{gap:8px}
html[data-mobile] #lobby-leaderboard .lb-med,html[data-mobile] #lobby-leaderboard .lb-med .st-em .rank-em{width:34px;height:34px}
html[data-mobile] #lobby-leaderboard .lb-name{font-size:15px}

/* ======================================================= NOTES 718: Your stats, the head row and the rank line (owner 2026-11-18) =======================================================
   "these item are not inline": the name, its hammer and the pen stand on the same centre line as Sign out and Share, the pen as tall as they are.
   "this text here is super fucked looking ... reduce clutter": the trophy count is a plain big number with its cup (no box), the next step a quiet line at the bar's right end
   ('3 to Silver I', the 3 in bold, no box, no dot) */
html:not([data-mobile]) #lobby-profile > .pf-head{align-items:center}
#lobby-profile .pf-name-row{align-items:center}
html:not([data-mobile]) #screen-lobby:not([data-view="home"]) #lobby-profile #btn-pf-rename.pf-edit{width:max(44px,2.75rem);height:max(44px,2.75rem);min-height:0;padding:0;align-self:center}
#lobby-profile .st-rank-cap{width:100%;gap:.35rem;align-items:center}
#lobby-profile .st-tro > b#st-trophies{padding:0;font-size:1.9rem;line-height:1;color:var(--cp-text,#0f2240)}
#lobby-profile .st-tro > b#st-trophies::before{content:none}
#lobby-profile .st-tro > .cup-ic{width:1.65rem;height:1.65rem}
#lobby-profile .st-next{margin-left:auto;align-self:flex-end;font-size:.95rem;color:var(--cp-text-2)}
#lobby-profile .st-next::before{content:none}
#lobby-profile .st-next > b{padding:0;font-size:1.1em;color:var(--cp-deep,#0068c2)}
#lobby-profile .st-next > b::before{content:none}

/* ======================================================= NOTES 722: the leaderboard overhaul (owner 2026-11-18) =======================================================
   "why do we have the player being shown on the left? it's not necessary ... the table container can be square, so we can scroll vertically rather than skewed,
   but the line items / row of each player can be skewed as usual." On a wide window: no kid (main.js setKidAway 'leaderboard'), the board centred and wider,
   the panel itself upright (a square container that scrolls), and each row, the You bar and the tabs lean on their own faces at the views' one angle,
   what they hold upright. A narrower window and a phone keep their layout */
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby[data-view="leaderboard"]{--lbw:min(64rem,calc(100vw - 2 * var(--vr)))}
  html:not([data-mobile]) #screen-lobby[data-view="leaderboard"] .menu-body{left:50%;right:auto;width:var(--lbw);translate:-50% 0;top:calc(var(--vt) + 6.9rem);height:calc(100vh - 2 * var(--vt) - 6.9rem - 2rem);padding:0}      /* (NOTES 736) a window: under the title, a margin all round */
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard.panel.lobby-view{transform:none;width:100%;height:100%;padding:1.5rem 1.9rem 1.4rem!important;grid-template-rows:auto auto minmax(0,1fr) auto}
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard.panel.lobby-view::before{inset:0;top:0;transform:none;border-radius:.9rem;background-color:var(--cp-panel);background-image:repeating-linear-gradient(180deg,var(--cp-pin-on-white) 0 var(--cp-pin-w),transparent var(--cp-pin-w) var(--cp-pin-gap));box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink),var(--cp-drop),var(--cp-pop-soft)}      /* (NOTES 736) the Settings window's face: white, pinstriped, the ink line, the big drop */
  html:not([data-mobile]) #lobby-leaderboard .lb-show{grid-row:2}  html:not([data-mobile]) #lobby-leaderboard .lb-wrap{grid-row:3}  html:not([data-mobile]) #lobby-leaderboard .lb-you{grid-row:4;margin:0 .9rem 0 .6rem}
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard.lb-view :is(.lb-row,.lb-you)::before,html:not([data-mobile]) #screen-lobby #lobby-leaderboard.lb-view :is(.lb-row,.lb-you)::after{--uv-skew:var(--vw-slab-skew)}
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard.lb-view :is(.lb-row,.lb-you) > *{transform:none}
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard.lb-view :is(.lb-row,.lb-you) > .lb-rank{transform:skewX(var(--vw-slab-skew))}
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard.lb-view .lb-rank > b{transform:skewX(calc(var(--vw-slab-skew) * -1))}
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-head > *{transform:none}
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard > :is(.lb-tabs,.lb-show,.lb-what){transform:none}
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-tabs .seg-opt{transform:skewX(var(--vw-slab-skew))}
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-tabs .seg-opt > *{transform:skewX(calc(var(--vw-slab-skew) * -1))}
  /* (NOTES 887, owner: "the leaderboard buttons have no button fx / reactivity") the slant above out-ranked every tab's own beat (the hover tilt-and-pop, the press squash): they stood dead. Both kept, the slant last */
  @media (hover:hover){ html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-tabs .seg-opt.uv-hot:not(:disabled):not(:active){transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) rotateZ(-1deg) translateY(-.18rem) translateZ(.7rem) scale(1.0217) skewX(var(--vw-slab-skew));z-index:3} }
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-tabs .seg-opt:active:not(:disabled){transform:scale(1,.9) skewX(var(--vw-slab-skew))}
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-state > *{transform:none}
  html:not([data-mobile]) #lobby-leaderboard .lb-tabs{justify-self:stretch;width:auto;margin:0 .9rem .2rem .6rem;padding:0;gap:1rem;height:3.4rem}      /* (NOTES 736) inside the window, across it */
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-tabs .seg-opt{height:3.4rem}
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-tabs .seg-opt{font-size:1.2rem;white-space:nowrap;padding:0 .4rem}      /* the title ends at 34.9rem at every size: the tabs start past it, at the board's right */
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) and (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby #lobby-leaderboard.lb-view .lb-row:hover > .lb-rank{transform:skewX(var(--vw-slab-skew)) scale(1.08)}
}

/* (NOTES 724, owner 2026-11-18, a spectator's result card: "this padding needs to be fixed. this layout for the rematch text is just bad") 'Matt wants a rematch'
   sat under Leave in the slab's bottom padding (negative margins), pressed against the card's edge. It now stands above the buttons, centred, in the panel's own
   gap; its line is still kept, so the card never grows when it comes */
#screen-match #result #rematch-note{order:0;margin:0;padding:0 .3rem;min-height:1.25em;line-height:1.25;text-align:center}

/* (NOTES 729, owner 2026-11-18: "this text should not line break, then, put it below the sign in with google button") the sign-in card's line sits under the Google
   button on one line; it shrinks with the card rather than wrap */
#signin-card .signin-lead{margin:.2rem -1.5rem 0;white-space:nowrap;text-align:center;font-size:1.05rem}
@media (max-width:420px){ #signin-card .signin-lead{white-space:normal;text-wrap:balance;margin:.2rem 0 0} }      /* a phone: one line would need ~11px; two even lines instead */

/* (NOTES 735, owner 2026-11-18) the board loads past 100 as it scrolls; the You card takes you to your row (it flashes); the medal before your trophies on the You card
   as on your row; Win streak: the flame before the count, no 'wins' */
#lobby-leaderboard .lb-fl{flex:none;display:inline-grid;place-items:center;width:1.5rem;height:1.6rem;margin-right:.2rem} #lobby-leaderboard .lb-fl svg{width:100%;height:100%}
#lobby-leaderboard .lb-you .lb-v{display:inline-flex;align-items:center;gap:.25rem}
#lobby-leaderboard .lb-you.is-link{cursor:pointer}
@keyframes lb-found{0%,100%{filter:none}30%,70%{filter:drop-shadow(0 0 .6rem rgba(var(--cp-main-rgb),.9))}}
#lobby-leaderboard .lb-row.is-found{animation:lb-found 1.4s ease-in-out}
@media (prefers-reduced-motion:reduce){ #lobby-leaderboard .lb-row.is-found{animation:none} }

/* (NOTES 738, owner 2026-11-18, Your stats' hero: "we can afford to make the streak thing a LOT smaller; then resize the medal to be larger, put even more emphasis on it")
   the streak block about half its size (the count 2.6 -> 1.45rem, the flame with it); the rank medal 6 -> 8.8rem (4.7 -> 7.6rem while the play row shows), hanging into the hero's padding so the hero keeps its height */
#lobby-profile .st-ribbon{padding:.26rem .7rem .22rem .6rem;gap:.32rem} #lobby-profile .st-ribbon b{font-size:1.45rem}
#lobby-profile :is(.st-ribbon,.st-streak.is-hot .st-ribbon) .st-flame{width:1.1rem;height:1.27rem}
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #lobby-profile .st-crest{width:7.6rem;height:7.6rem;margin:-1rem 0} html:not([data-mobile]) #lobby-profile .st-crest .st-disc,html:not([data-mobile]) #lobby-profile .st-crest .rank-em{width:7.4rem;height:7.4rem}
  html:not([data-mobile]) #lobby-profile:has(#pf-play[hidden]) .st-crest{width:8.8rem;height:8.8rem;margin:-1.2rem 0} html:not([data-mobile]) #lobby-profile:has(#pf-play[hidden]) .st-crest .st-disc,html:not([data-mobile]) #lobby-profile:has(#pf-play[hidden]) .st-crest .rank-em{width:8.6rem;height:8.6rem}
}
/* (NOTES 755, owner 2026-11-18) "medal is bugged": the division's numeral pill sits at --em-h, still 5rem (the old medal's height), so on the bigger crest (NOTES 738) it landed
   in the middle of the medal; it now sits at the medal's own bottom. "this spacing is bugged, make the streak button a bit bigger": the streak block a size up, centred on the hero */
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #lobby-profile .st-crest .st-em{--em-h:7.4rem}
  html:not([data-mobile]) #lobby-profile:has(#pf-play[hidden]) .st-crest .st-em{--em-h:8.6rem}
  html:not([data-mobile]) #lobby-profile .st-hero .st-streak{align-self:center;margin:0}
}
#lobby-profile .st-ribbon{padding:.34rem .9rem .3rem .75rem;gap:.42rem} #lobby-profile .st-ribbon b{font-size:1.9rem}
#lobby-profile :is(.st-ribbon,.st-streak.is-hot .st-ribbon) .st-flame{width:1.42rem;height:1.64rem}
/* (NOTES 756) the streak block shows the best streak; a small 'highest' under it */
#lobby-profile .st-streak{display:flex;flex-direction:column;align-items:center;gap:.2rem}
#lobby-profile .st-streak-lbl{font:400 .8rem/1 var(--font-display);color:var(--cp-text-2);letter-spacing:0}

/* (NOTES 759, owner 2026-11-18, the share view: "this is skewed incorrectly" (the player square) and "this is also not skewed" (the link bar)) every part draws its own
   slant, so it reads the same whatever the panel does: the seats' row stands upright (it cancels a slanted panel), each square's face, its name tag and its trophy chip
   lean at the one angle with their contents upright, the picture upright; the link bar leans with the panel, its address and Copy link upright */
#lobby-share .seat{transform:none}
#lobby-share .seat > *{transform:none}
#lobby-share .seat::before{transform:skewX(var(--uv-skew,-6deg))}
#lobby-share .seat-tag{left:.15rem;right:.15rem;bottom:0;border-radius:0 0 .5rem .5rem;transform:skewX(var(--uv-skew,-6deg))} #lobby-share .seat-tag > *{transform:skewX(calc(var(--uv-skew,-6deg) * -1))}
#lobby-share .seat-tro{transform:skewX(var(--uv-skew,-6deg))} #lobby-share .seat-tro > *{transform:skewX(calc(var(--uv-skew,-6deg) * -1))}
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #lobby-share .share-seats{transform:var(--vw-unslant)}
  html:not([data-mobile]) #screen-lobby #lobby-share #share-row{transform:none}
  html:not([data-mobile]) #screen-lobby #lobby-share #share-row > *{transform:var(--vw-unslant)}
}

/* (NOTES 762, owner 2026-11-18: "spacing is awkward with the text being bumped up ... put a BEST text under it and make it slightly bigger the streak tag")
   "3 to Silver I" sits on the trophy count's baseline, not floating at the row's foot, and ends where the bar ends: the bar runs the whole rank column
   (ui.css capped it at 20rem, so the bar stopped short of the text). The streak tag a step up (count 1.9 -> 2.3rem), its BEST label with it */
html:not([data-mobile]) #lobby-profile .st-rank-cap{align-items:baseline} html:not([data-mobile]) #lobby-profile .st-rank-cap > .st-tro{align-self:center}
html:not([data-mobile]) #lobby-profile .st-next{align-self:baseline}
html:not([data-mobile]) #lobby-profile .st-rank-bar{width:100%}
#lobby-profile .st-ribbon{padding:.28rem .74rem .25rem .6rem;gap:.35rem} #lobby-profile .st-ribbon b{font-size:1.6rem}      /* (NOTES 767) 30% smaller than NOTES 762 */
#lobby-profile :is(.st-ribbon,.st-streak.is-hot .st-ribbon) .st-flame{width:1.2rem;height:1.39rem}
#lobby-profile .st-streak{gap:.4rem} #lobby-profile .st-streak-lbl{font-size:.68rem;letter-spacing:.02em;color:var(--cp-text-2)}      /* clear of the tag's drop */

/* (NOTES 769, owner 2026-11-18 "fix this": the You bar's #256 ran into "You") off the board the words spanned the rank's column (ui.css: it was empty then);
   now an off-board player has a rank (#256), so the words keep their own column whenever the rank shows, and that column grows to its tag past #99 */
#screen-lobby #lobby-leaderboard .lb-you{grid-template-columns:minmax(3.6rem,max-content) minmax(0,1fr) auto;column-gap:.9rem}
#screen-lobby #lobby-leaderboard .lb-you:has(> .lb-rank:not(:empty)) .lb-you-text{grid-column:2}

/* (NOTES 787, owner 2026-11-18, Your court: "fix weird padding space at the top / equal it out with bottom") the slab's air above "Court code" matches the air under
   Start (the panel's own top padding was 2.6rem over the slab's top inset; Start hangs under the panel at --vgap, so the panel's top is what moves) */
@media (min-width:981px) and (min-aspect-ratio:6/5){ html:not([data-mobile]) #screen-lobby .panel.lobby-view#lobby-share{padding-top:0} html:not([data-mobile]) #lobby-share > .caps{margin-top:-.8rem} }
/* (NOTES 787) "communicate to the user that if they press start without another player they will play with bot (matt) ... and then let them choose difficulty":
   the open seat IS Matt's: his robot and name stand in the dashed seat (dashed: still open, a friend who joins takes it), his level is picked right under him,
   and Start reads Play Matt (ui.js shareSeats). The level chips lean at the one slant with upright words, flat (an inset control: no drop) */
#lobby-share .seat-matt,#lobby-share .seat-lv{display:none}
#lobby-share .seat.is-open .seat-dots{display:none}
#lobby-share .seat.is-open .seat-matt{position:absolute;left:0;right:0;top:7%;bottom:31%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:.45rem;pointer-events:none}
#lobby-share .seat-matt .uv-robot{flex:0 1 auto;width:auto;height:72%;min-height:0;opacity:.92}
#lobby-share .seat-matt b{font:400 1.45rem/1 var(--font-display);color:var(--uv-ink,#1c3150)}
#lobby-share .seat.is-open .seat-lv{position:absolute;left:5%;right:6%;bottom:8%;display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:.3rem}
#lobby-share .seat-lv button{position:relative;isolation:isolate;min-width:0;height:2.7rem;padding:0 .15rem;border:0;border-radius:0;background:none;box-shadow:none;
  font:400 .95rem/1 var(--font-display);color:var(--uv-ink,#1c3150);white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform 140ms var(--uv-spring,ease-out)}
#lobby-share .seat-lv button::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:.35rem;border:.15rem solid var(--uv-ink,#1c3150);background:#fff;transform:skewX(var(--uv-skew,-6deg));transition:background 140ms}
#lobby-share .seat-lv button[aria-checked="true"]{color:#fff;}
#lobby-share .seat-lv button[aria-checked="true"]::before{background:var(--uv-neon,#00c2ff);border-color:var(--cp-deep,#0068c2)}
@media (hover:hover){ #lobby-share .seat-lv button[aria-checked="false"]:hover::before{background:var(--cp-well-2,#e3f6ff)} }
#lobby-share .seat-lv button:active{transform:scale(.96)}
#lobby-share .seat-lv button:focus-visible{outline:none} #lobby-share .seat-lv button:focus-visible::before{box-shadow:0 0 0 .2rem var(--cp-main,#00c2ff)}
@media (prefers-reduced-motion:reduce){ #lobby-share .seat-lv button,#lobby-share .seat-lv button::before{transition:none} #lobby-share .seat-lv button:active{transform:none} }
/* (NOTES 791, owner 2026-11-18: "on the leaderboard, the rank placements like the medals are never aligned in the same column ... make it so it's always perfectly
   spaced and placed properly") each row is its own grid and the value cluster (medal, number, cup / unit) was sized by its number, so the medal sat 3 to 70 px apart
   from row to row (a longer number pushed it left; Days One's digits are not even tabular). The number now has one fixed, right-aligned box, so the medal, the
   flame and the unit hold one column down the board (up to 12,345,678 fits) */
#lobby-leaderboard :is(.lb-row,.lb-you) .lb-v > b{display:inline-block;min-width:var(--lb-num,4.6em);text-align:right}
html[data-mobile] #lobby-leaderboard :is(.lb-row,.lb-you) .lb-v > b{min-width:var(--lb-num,3.6em)}      /* (NOTES 825) --lb-num: the widest number shown (profile.js fitNums) */

/* (NOTES 795, owner 2026-11-18: "make it so that all leaderboard placement tags show ... it says number one global, like we know it's global. You should maybe put the
   trophy icon next to it but in a monotone color so that doesn't clash with the bottom trophy icon of the actual count") the hero's place tags: one per board the
   player is on, under the bar beside the best rank, never crammed beside the rank's name. Each is the board's own icon (the cup, the rally arrows, the flame) drawn
   in the one ink as a line, and #N; no globe, no "global". They open that board at the row, so they are buttons: a small slanted plate with the small drop */
#lobby-profile .st-foot{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem .9rem;margin-top:.55rem}
#lobby-profile .st-foot .st-best{margin:0}
#lobby-profile .st-places{display:flex;flex-wrap:wrap;gap:.5rem}
#lobby-profile .st-places[hidden],#lobby-profile .st-place[hidden]{display:none}
#lobby-profile .st-place,#lobby-profile .st-place:hover,#lobby-profile .st-place:focus-visible{position:relative;isolation:isolate;flex:none;display:inline-flex;align-items:center;gap:.32rem;height:1.95rem;margin:0;padding:0 .75rem 0 .6rem;border:0;border-radius:0;background:none;box-shadow:none;transform:none;color:var(--cp-ink,#1c3150);font:400 .95rem/1 var(--font-display);cursor:pointer}
#lobby-profile .st-place::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:.35rem;background:var(--cp-sky-2,#e3f6ff);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink,#1c3150),var(--cp-drop-sm);transform:skewX(var(--cp-skew));transition:background-color 120ms}
@media (hover:hover){ #lobby-profile .st-place:hover::before{background:#fff} }
#lobby-profile .st-place:active{translate:var(--cp-drop-sm-x) var(--cp-drop-sm-y)} #lobby-profile .st-place:active::before{box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink,#1c3150)}
#lobby-profile .st-place:focus-visible{outline:none} #lobby-profile .st-place:focus-visible::before{box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink,#1c3150),var(--cp-drop-sm),0 0 0 .2rem var(--cp-glow,rgba(0,194,255,.45))}
#lobby-profile .st-place-ic{width:1.05rem;height:1.05rem;flex:none;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
#lobby-profile .st-place b{font:inherit;font-variant-numeric:tabular-nums;color:inherit}
html[data-mobile] #screen-lobby #lobby-profile .st-place{height:2.9rem;padding:0 1rem 0 .8rem;font-size:1.35rem;gap:.45rem} html[data-mobile] #screen-lobby #lobby-profile .st-place-ic{width:1.5rem;height:1.5rem}
html[data-mobile] #screen-lobby #lobby-profile .st-place::after{top:-.3rem;bottom:-.3rem;left:-.15rem;right:-.15rem}      /* phone.css's bigger finger target, kept off the neighbouring tags */
html[data-mobile] #screen-lobby #lobby-profile .st-foot{margin-top:.6rem}
/* ================= Tournament piece D (NOTES 802): the champion, the line between rounds, the ended notice ================= */
/* the champion's title wraps inside the card: the general title rule's :is(... .is-watch.is-them-won ...) outranked the champion's own, so its nowrap and 100%
   cap kept "Bartholomew is the champion" on one line, past the window's edge (1601 px on a 1440 window; 407 on a 390 phone) */
#screen-match #result.result-card.is-champion h2{white-space:normal;text-wrap:balance;overflow-wrap:anywhere;max-width:100%;font-size:clamp(2.3rem,2.4vw + .9rem,3rem);line-height:1.08}
/* the road: one card per match, full width, the round as a chip, the opponent's picture and name, the score as a chip (pictures: main.js faceOn after ui.champion) */
#screen-match #result-road.road{display:flex;flex-direction:column;flex-wrap:nowrap;gap:.55rem;width:100%;list-style:none}
#screen-match #result-road .road-step{display:grid;grid-template-columns:auto 2.5rem minmax(0,1fr) auto;align-items:center;column-gap:.75rem;width:100%;box-sizing:border-box;min-height:3.5rem;padding:.4rem 1rem .4rem .85rem}
#screen-match #result-road :is(.road-round,.road-sc){position:relative;isolation:isolate;justify-self:start;padding:.3rem .65rem .26rem;font-family:var(--font-display);font-weight:400;line-height:1;white-space:nowrap;letter-spacing:0;text-transform:none}
#screen-match #result-road :is(.road-round,.road-sc)::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:.3rem;transform:skewX(var(--cp-skew))}
#screen-match #result-road .road-round{font-size:.9rem;color:var(--cp-deep)} #screen-match #result-road .road-round::before{background:var(--cp-sky-2,#e3f6ff)}
#screen-match #result-road .road-pic{display:block;width:2.5rem;height:2.5rem;border-radius:50%;background:var(--cp-haze);box-shadow:inset 0 0 0 .14rem var(--cp-ink);overflow:hidden}
#screen-match #result-road .road-vs{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-display);font-weight:400;font-size:1.25rem;color:var(--cp-text)}
#screen-match #result-road .road-sc{justify-self:end;font-size:1.25rem;color:var(--cp-ink);font-variant-numeric:tabular-nums} #screen-match #result-road .road-sc::before{background:var(--cp-gold,#ffb800)}
#screen-match #result-road .road-sc.is-walk{font-size:.9rem;color:var(--cp-text-2)} #screen-match #result-road .road-sc.is-walk::before{background:var(--cp-well-2)}
/* the line between rounds: "Out" [Semifinal], "Through" [Final], "Won" [Final]: a status word and the round as a chip, in the display face (it was a small line) */
#screen-match #result-note.is-tour{display:flex;align-items:center;gap:.7rem;padding:0 .3rem;font-family:var(--font-display);font-weight:400;font-size:1.7rem;line-height:1;color:var(--cp-text)}
#screen-match #result-note.is-tour .tr-chip{position:relative;isolation:isolate;padding:.34rem .8rem .3rem;font-weight:400;font-size:1.3rem;white-space:nowrap}
#screen-match #result-note.is-tour .tr-chip::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:.35rem;transform:skewX(var(--cp-skew))}
#screen-match #result-note.is-tour .tr-chip.is-out{color:var(--cp-red-deep,#a8282b)} #screen-match #result-note.is-tour .tr-chip.is-out::before{background:#ffe4e1}
#screen-match #result-note.is-tour .tr-chip.is-up{color:var(--cp-green-deep,#0a6e30)} #screen-match #result-note.is-tour .tr-chip.is-up::before{background:var(--cp-green-tint,#e2f8ea)}
/* the tournament ended under you: a small upright window (a pop-up, NOTES 715's frame: the panel face, the ink outline, the drop): the trophy, "Tournament ended",
   the reason under it, OK. On the home it sits over the middle of the court, never over the player card at the top left (it did) */
.tour-ended{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:1.1rem;width:min(34rem,calc(100vw - 2rem));box-sizing:border-box;padding:1rem 1.1rem 1rem 1rem;
  text-align:left;border:0;border-radius:var(--ua-r);background:var(--cp-panel,#fff);box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink),var(--cp-drop)}
.tour-ended[hidden]{display:none}
.tour-ended .te-trophy{display:grid;place-items:center;width:3.4rem;height:3.4rem;border-radius:50%;background:var(--cp-gold-tint,#fff4c9);box-shadow:inset 0 0 0 .15rem var(--cp-gold-deep,#a35f00)}
.tour-ended .te-trophy svg{width:1.9rem;height:1.9rem;fill:none;stroke:var(--cp-gold-deep,#a35f00);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tour-ended .te-body{min-width:0} .tour-ended h2{margin:0;max-width:none;font-family:var(--font-display);font-weight:400;font-size:1.45rem;line-height:1.1;color:var(--cp-text)}
.tour-ended .te-why{margin:.3rem 0 0;font-family:var(--font-text);font-size:1.05rem;line-height:1.25;color:var(--cp-text-2)} .tour-ended .te-why[hidden]{display:none}
.tour-ended #btn-tour-ended-ok{min-width:6rem}
html:not([data-mobile]) #screen-lobby[data-view="home"] #tour-ended{position:fixed;left:50%;top:10rem;translate:-50% 0;z-index:20}      /* under the header row, between the player card and the logo, over the stands (not the kid's face) */
html[data-mobile] #tour-ended{grid-template-columns:auto minmax(0,1fr);row-gap:.8rem} html[data-mobile] #tour-ended #btn-tour-ended-ok{grid-column:1 / -1}

/* ==========================================================================================================
   TOURNAMENT PIECE B: THE BRACKET (NOTES 805, owner 2026-11-18: "the tournament screen is totally unfinished")
   The view on the one slant like every other lobby view (its column sheared, what it holds upright); the status and the countdown as chips; each round's target a chip;
   match cards of one fixed height (Live and Watch hang on the card's top edge instead of growing it), each player with their kid (Matt his robot), name, medal and score,
   the winner bold on a gold keyline, the loser dimmed; real lines between rounds (ui.js brLines, an SVG under the cards), your road lit; a fade at the scroller's foot
   while there is more below. Cards are not buttons: no drop (NOTES 781); yours keeps its neon ring
   ========================================================================================================== */
#lobby-bracket{--brk-row:max(2.3rem,27px);--brk-gap:1.6rem}
#lobby-bracket .br-head{align-items:center;min-height:2.6rem}
#lobby-bracket .br-you{display:flex;align-items:center;gap:.7rem;min-width:0}
#lobby-bracket :is(.br-chip,.br-count,.br-target){position:relative;isolation:isolate;display:inline-flex;align-items:center;gap:.3rem;white-space:nowrap;font-family:var(--font-display);font-weight:400;line-height:1}
#lobby-bracket :is(.br-chip,.br-count,.br-target)::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:.35rem;transform:skewX(var(--cp-skew))}
#lobby-bracket .br-chip{padding:.45rem .95rem .4rem;font-size:1.2rem;color:var(--cp-ink)}
#lobby-bracket .br-chip::before{background:var(--cp-sky-2);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-ink)}
#lobby-bracket .br-chip.is-through{color:var(--cp-green-deep)} #lobby-bracket .br-chip.is-through::before{background:var(--cp-green-tint);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-green-deep)}
#lobby-bracket .br-chip.is-out{color:var(--cp-red-deep)} #lobby-bracket .br-chip.is-out::before{background:#ffe4e1;box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-red-deep)}
#lobby-bracket .br-chip.is-next{color:#fff} #lobby-bracket .br-chip.is-next::before{background:var(--cp-main);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-deep)}
#lobby-bracket .br-chip.is-gold{color:var(--cp-gold-deep)} #lobby-bracket .br-chip.is-gold::before{background:var(--cp-gold-tint);box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--cp-gold-deep)}
#lobby-bracket .br-who{font-family:var(--font-display);font-weight:400;font-size:1.3rem;color:var(--cp-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#lobby-bracket .br-next{gap:.7rem} #lobby-bracket .br-next-text{display:inline-flex;align-items:center;gap:.55rem}
#lobby-bracket .br-next-l{margin-right:.6rem;font-family:var(--font-display);font-weight:400;font-size:1.15rem;color:var(--cp-ink)}
#lobby-bracket .br-count{padding:.4rem .75rem .35rem;font-size:1.15rem;color:#fff;font-variant-numeric:tabular-nums} #lobby-bracket .br-count::before{background:var(--cp-ink)}
#lobby-bracket .br-count .fig,#lobby-bracket .br-count *{color:inherit}
/* the round's head: its name, the target chip */
#lobby-bracket .br-round{align-items:center}
#lobby-bracket .br-target{padding:.3rem .55rem .25rem .45rem;font-size:.95rem;color:var(--cp-ink)} #lobby-bracket .br-target::before{background:var(--cp-sky-2)}
#lobby-bracket .br-target svg{width:.95rem;height:.95rem;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
#screen-lobby #lobby-bracket .br-round small.br-target{font-size:max(.95rem,12px)}
/* the board: lines under the cards */
#lobby-bracket .bracket{position:relative;column-gap:3rem}
#lobby-bracket .br-lines{position:absolute;left:0;top:0;z-index:0;pointer-events:none;overflow:visible}
#lobby-bracket .br-lines path{fill:none;stroke:rgba(var(--cp-ink-rgb),.3);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
#lobby-bracket .br-lines path.is-lit{stroke:var(--cp-main);stroke-width:4}
#lobby-bracket .br-col{position:relative;z-index:1}
#lobby-bracket .br-list,#lobby-bracket .bracket.is-big .br-list{gap:var(--brk-gap);padding-top:1.1rem}
/* a card: one height everywhere (two rows), no drop; Live and Watch hang on its top edge */
#screen-lobby #lobby-bracket .br-match{position:relative;align-self:center;box-shadow:none}
#screen-lobby #lobby-bracket .br-match.is-you{box-shadow:0 0 0 var(--vw-ring) var(--uv-neon)}
#screen-lobby #lobby-bracket .br-match.is-live{border-color:var(--uv-ink)}
#lobby-bracket .br-p,#lobby-bracket .bracket.is-big .br-p{height:var(--brk-row);gap:.5rem;padding:0 .75rem 0 .45rem}
#lobby-bracket .bracket.is-big{--brk-row:max(2.05rem,27px);--brk-gap:1.45rem}
#lobby-bracket .br-pic{flex:none;display:block;width:1.65rem;height:1.65rem;border-radius:50%;background:var(--cp-sky-2) url("art/ua-face.png") 50% 50%/cover no-repeat;box-shadow:inset 0 0 0 .13rem var(--cp-ink);overflow:hidden}
#lobby-bracket .bracket.is-big .br-pic{width:1.45rem;height:1.45rem}
#lobby-bracket .br-pic.is-bot{background:var(--cp-sky-2)} #lobby-bracket .br-pic.is-bot svg{display:block;width:100%;height:100%;fill:none;stroke:var(--cp-ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#lobby-bracket .br-pic.is-bot .bt-h{fill:#fff} #lobby-bracket .br-pic.is-bot .bt-v{fill:var(--cp-main);stroke:none} #lobby-bracket .br-pic.is-bot .bt-e{fill:#fff;stroke:none} #lobby-bracket .br-pic.is-bot .bt-b{fill:var(--cp-gold);stroke-width:1}
#lobby-bracket .br-pic.is-tbd{background:none;box-shadow:none;border:.13rem dashed var(--cp-haze);box-sizing:border-box}
#lobby-bracket .br-name{font-size:max(1.05rem,13px)}
#screen-lobby #lobby-bracket .br-p.is-win .br-name::before{content:none}
#screen-lobby #lobby-bracket .br-p.is-win{box-shadow:inset .3rem 0 0 var(--cp-gold)}
#screen-lobby #lobby-bracket .br-p.is-win :is(.br-name,.br-sc){color:var(--cp-ink)}
#screen-lobby #lobby-bracket .br-p.is-win .br-sc{color:var(--cp-gold-deep)}
#screen-lobby #lobby-bracket .br-p.is-lose > *{opacity:.5}
#screen-lobby #lobby-bracket .br-p.is-me .br-name{color:var(--cp-deep)}
#screen-lobby #lobby-bracket .br-sc{font-size:max(1.2rem,14px);min-width:1.4rem}
#screen-lobby #lobby-bracket .br-match.is-live{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-auto-rows:var(--brk-row)}
#screen-lobby #lobby-bracket .br-match.is-live > .br-p{grid-column:1}
#screen-lobby #lobby-bracket .br-live{display:contents;font-size:max(.9rem,12px)}

#screen-lobby #lobby-bracket .br-live > span{position:absolute;left:.55rem;top:0;z-index:2;transform:translateY(calc(-100% + .25rem));isolation:isolate;padding:.28rem .7rem .24rem;font-size:max(.9rem,12px);gap:.3rem;color:#fff;line-height:1;background:var(--cp-red-deep,#a8282b);clip-path:polygon(.25rem 0,100% 0,calc(100% - .25rem) 100%,0 100%)}
#screen-lobby #lobby-bracket .br-live > span::before{content:none}
#screen-lobby #lobby-bracket .br-live .br-dot{position:static;flex:none;width:.5rem;height:.5rem;margin:0 .1rem 0 0;background:#fff;box-shadow:none}
#screen-lobby #lobby-bracket .br-live .br-eye svg{width:.9rem;height:.9rem;stroke:#fff}
#screen-lobby #lobby-bracket .br-watch{grid-column:2;grid-row:1 / span 2;align-self:stretch;height:auto;min-height:44px;min-width:44px;margin:.35rem .4rem .55rem .2rem;padding:0 .8rem;font-size:max(.95rem,12px)}
/* the foot of the scroller fades while there is more below */
#lobby-bracket .bracket:not(.is-end){-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 2.4rem),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 2.4rem),transparent)}
/* the slab: the view on the one slant, its rows upright, the cards' faces on the panel's slant (their own skew off), what they hold upright */
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby #lobby-bracket.panel.lobby-view{transform:skewX(var(--vw-slab-skew));--uv-skew:0deg}
  html:not([data-mobile]) #screen-lobby #lobby-bracket > :is(.br-head,.br-foot,.br-tabs){transform:var(--vw-unslant)}
  html:not([data-mobile]) #screen-lobby #lobby-bracket .br-round{transform:none} html:not([data-mobile]) #screen-lobby #lobby-bracket .br-round::before{transform:none}
  html:not([data-mobile]) #screen-lobby #lobby-bracket .br-round > *,html:not([data-mobile]) #screen-lobby #lobby-bracket :is(.br-p,.br-live) > *{transform:var(--vw-unslant)}
  html:not([data-mobile]) #screen-lobby #lobby-bracket .br-round{text-indent:0} html:not([data-mobile]) #screen-lobby #lobby-bracket .br-target::before{transform:none}
  html:not([data-mobile]) #screen-lobby #lobby-bracket .br-live > span::before{transform:none}
  html:not([data-mobile]) #screen-lobby #lobby-bracket .br-live > span{transform:translateY(calc(-100% + .25rem)) var(--vw-unslant)}
  html:not([data-mobile]) #screen-lobby #lobby-bracket .br-live > .br-watch{transform:none} html:not([data-mobile]) #screen-lobby #lobby-bracket .br-watch > *{transform:var(--vw-unslant)}
  html:not([data-mobile]) #screen-lobby #lobby-bracket .br-match:not(.is-tbd):hover{transform:translateY(var(--vw-lift))}
}
/* (piece B) the round heads are labels, not buttons: no drop (NOTES 781); the round being played keeps its neon ring */
#screen-lobby #lobby-bracket .br-round::before{box-shadow:inset 0 0 0 var(--vw-ol) var(--uv-ink)}
#screen-lobby #lobby-bracket .br-col.is-current .br-round::before{box-shadow:inset 0 0 0 var(--vw-ol) var(--uv-ink), 0 0 0 var(--vw-ring) var(--uv-neon)}
/* (piece B) the round heads stay on top while the board scrolls (ua-views' head rule had made them position:relative, so they scrolled away and a card's focus could hide under nothing) */
#screen-lobby #lobby-bracket .br-round{position:sticky;top:-.3rem;z-index:3}
#screen-lobby #lobby-bracket .br-round::after{content:"";position:absolute;left:-1rem;right:-1rem;top:-1rem;bottom:40%;z-index:-2;background:var(--vw-slab-face,#e6f4ff)}      /* a strip of the board's own colour behind the head: a card scrolling up never peeks over it */

/* ===== (NOTES 806) TOURNAMENT PIECE C: the in-court tournament: the VS card, the card (T), the pill ===== */
/* the VS card: the round's name big with its match number a chip; the two kids' pictures big (main.js faceOn: the looks the server sends, Matt's robot); the target as chips */
#vs-card .vs-round{display:flex;align-items:center;justify-content:center;gap:.7rem;margin:0;font:400 2.3rem/1 var(--font-display);color:var(--cp-text,#0f2240);text-transform:none;letter-spacing:-.01em}
#vs-card .vs-n{display:inline-flex;align-items:baseline;gap:.25rem;padding:.3rem .7rem .32rem;border-radius:.4rem;background:var(--cp-sky-2,#e3f6ff);font:400 1.05rem/1 var(--font-display);color:var(--cp-text-2,#5a6b85)}
#vs-card .vs-n b{font-size:1.35rem;color:var(--cp-deep,#0068c2)}
#vs-card .chip-lg{width:6.4rem;height:6.4rem;border-width:.3rem;background-color:#fff}
#vs-card .vs-side{gap:.6rem;padding:1.1rem 1.75rem 1.2rem}
#vs-card .vs-target{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem;margin:0}
#vs-card .vs-chip{display:inline-flex;align-items:baseline;gap:.4rem;padding:.4rem .95rem .45rem;border-radius:.4rem;background:var(--cp-sky-2,#e3f6ff);font:400 1.05rem/1 var(--font-display);color:var(--cp-text-2,#5a6b85);transform:skewX(var(--cp-skew))}
#vs-card .vs-chip > *{display:inline-block;transform:skewX(calc(-1 * var(--cp-skew)))} #vs-card .vs-chip b{font-size:1.45rem;color:var(--cp-deep,#0068c2)}
/* the card (T): the Settings window's title plate (white, the ink outline, its drop, at the one slant) over the plate; the code its letter chips; the count a chip; picture chips */
#tour-card > .set-head{background:none;box-shadow:none;border:0;padding:0;margin:0 0 .2rem}
#tour-card > .set-head h2,body[data-paused] #tour-card > .set-head h2{position:relative;isolation:isolate;display:inline-block;margin:0;padding:.2em .7em .18em .55em;font:400 1.9rem/1 var(--font-display);color:var(--cp-text,#0f2240);background:none;text-shadow:none}
#tour-card > .set-head h2::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--ua-r,.375rem);background:var(--cp-panel,#fff);box-shadow:inset 0 0 0 var(--cp-ol) var(--cp-ink),var(--cp-drop);transform:skewX(var(--cp-skew))}
#tour-card .tc-code{flex:1 1 auto;flex-direction:row;align-items:center;justify-content:center;gap:.6rem;padding:.35rem .5rem}
#tour-card .tc-code b{display:flex;gap:.22rem;letter-spacing:0;font-size:inherit}
#tour-card .tc-l{display:grid;place-items:center;width:1.75rem;height:2.2rem;border-radius:.3rem;background:var(--cp-sky-2,#e3f6ff);font:400 1.3rem/1 var(--font-display);color:var(--cp-deep,#0068c2)}
#tour-card .tc-code small:empty{display:none}
#tour-card .tc-n{margin:0}
#tour-card .tc-count{display:inline-flex;align-items:baseline;gap:.3rem;padding:.3rem .8rem .35rem;border-radius:.4rem;background:var(--cp-sky-2,#e3f6ff);font:400 1rem/1 var(--font-display);color:var(--cp-text-2,#5a6b85);transform:skewX(var(--cp-skew))}
#tour-card .tc-count > *{display:inline-block;transform:skewX(calc(-1 * var(--cp-skew)))} #tour-card .tc-count b{font-size:1.5rem;color:var(--cp-deep,#0068c2)}
#tour-card .tc-chip{display:flex;align-items:center;gap:.5rem;min-height:2.6rem;padding:.25rem .6rem .25rem .3rem;box-shadow:none;border-width:.125rem}      /* inset in the window: the outline, no drop (NOTES 781) */
#tour-card .tc-chip.is-you{box-shadow:0 0 0 .2rem var(--cp-main,#00c2ff)}      /* mine: the cyan ring, no You tag */
#tour-card .tc-pic{flex:none;width:2rem;height:2rem;border-radius:50%;background:var(--cp-sky-2,#e3f6ff) center / cover no-repeat;box-shadow:0 0 0 .125rem var(--cp-ink,#1c3150)}
#tour-card .tc-chip .tour-chip-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#tour-card .tc-chip.is-more{justify-content:center;font-family:var(--font-display)}
/* the pill: one line (the cup, the round or the count chip, T) */
.tour-pill .tp-text{display:inline-flex;align-items:center;gap:.5rem;white-space:nowrap}
.tour-pill :is(.tp-long,.tp-short):empty{display:none}
.tour-pill .tp-sub{display:inline-flex;align-items:center;gap:.4rem}
.tour-pill #tour-pill-n{font-family:var(--font-display);font-weight:400;font-variant-numeric:tabular-nums}
.tour-pill #tour-pill-n:empty{display:none}
/* ===== Tournament piece A (NOTES 803, owner 2026-11-18: "the tournament screen is totally unfinished"): the code screen, the host's and a guest's, laid out as
   Your court (NOTES 787): the title with the count as a chip, the four big code boxes, the link bar, the rules and the state as chips, then a square per player
   (ui.js tourSeats), then one action row under the panel: Leave quiet, Warm up, Start the hero (a guest: who they wait for, in Start's place).
   Chips and squares sit inside the panel: no drop (NOTES 781); the squares lean at the one angle, their contents upright ===== */
#lobby-tour .tour-head{display:flex;align-items:center;justify-content:space-between;gap:.8rem;width:100%;min-width:0}
#lobby-tour .tour-join{display:block;margin:0;min-width:0;line-height:1.1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#lobby-tour .tour-n{position:relative;isolation:isolate;flex:none;display:inline-flex;align-items:center;gap:.4rem;margin:0;padding:.35rem .9rem .35rem .75rem;font-family:var(--font-display);line-height:1;color:var(--uv-ink,#1c3150)}
#lobby-tour :is(.tour-n,.tour-rule-chips li,.tour-why)::before{content:"";position:absolute;inset:0;z-index:-1;flex:none;width:auto;height:auto;border-radius:.4rem;background:#fff;box-shadow:inset 0 0 0 .14rem rgba(var(--cp-ink-rgb),.2);transform:skewX(var(--cp-skew,-6deg))}      /* white on the pale slab (its own pale blue hid the plate); the ready dot's own size gone */
#lobby-tour .tour-n svg{width:1.3em;height:1.3em;fill:none;stroke:var(--cp-deep,#0068c2);stroke-width:2.2;stroke-linecap:round}
#lobby-tour .tour-n b{font-size:1.6em;line-height:1;color:var(--cp-deep,#0068c2)}
#lobby-tour .tour-n small{font-size:1em;color:var(--cp-text-2)}
#lobby-tour .tour-facts{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem .8rem;width:100%}
#lobby-tour .tour-rule-chips{display:flex;flex-wrap:wrap;gap:.45rem;list-style:none;margin:0;padding:0}
#lobby-tour :is(.tour-rule-chips li,.tour-why){position:relative;isolation:isolate;display:inline-flex;align-items:center;gap:.3rem;margin:0;padding:.4rem .8rem;font-family:var(--font-display);font-weight:400;line-height:1;color:var(--cp-text-2);white-space:nowrap}
#lobby-tour .tour-rule-chips b,#lobby-tour .tour-why b{font-weight:400;color:var(--cp-deep,#0068c2)}
#lobby-tour .tour-why{color:var(--uv-ink,#1c3150)} #lobby-tour .tour-why.is-ready{color:#0a6e30} #lobby-tour .tour-why.is-ready::before{background:var(--cp-green-tint,#e2f8ea);box-shadow:inset 0 0 0 .14rem rgba(10,110,48,.35);border-radius:.4rem}
#lobby-tour .tour-why:empty{display:none}
#lobby-tour .tour-names{display:grid;grid-template-columns:repeat(var(--cols,4),minmax(0,1fr));gap:.6rem;list-style:none;margin:0;padding:0}
#lobby-tour .tour-seat{position:relative;isolation:isolate;aspect-ratio:1 / 1;min-width:0;list-style:none;font-size:.85rem;transform:skewX(var(--cp-skew,-6deg))}
#lobby-tour .tour-seat > *{transform:skewX(calc(-1 * var(--cp-skew,-6deg)))}
#lobby-tour .tour-seat::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:.55rem;border:var(--vw-ol,.2rem) solid var(--uv-ink,#1c3150);background:radial-gradient(120% 85% at 50% 30%,#7fe0ff 0%,#00c2ff 45%,#0089d6 100%)}
#lobby-tour .tour-seat.is-you::before{box-shadow:0 0 0 .2rem var(--uv-neon,#00c2ff)}
#lobby-tour .tour-seat-pic{position:absolute;left:8%;right:8%;top:10%;bottom:1.6em;display:block;background-image:url(art/ua-face.png);background-position:50% 100%;background-size:contain!important;background-repeat:no-repeat;filter:drop-shadow(0 .25rem .35rem rgba(0,40,90,.35))}
#lobby-tour .tour-seat-tag{position:absolute;left:-.1rem;right:-.1rem;bottom:-.1rem;display:flex;align-items:center;justify-content:center;gap:.3em;min-height:2.2em;padding:.2em .5em;border-radius:0 0 .55rem .55rem;background:var(--uv-ink,#1c3150)}
#lobby-tour .tour-seat-em{flex:none;display:grid;place-items:center;width:2.5em;height:2.5em;margin:-1em 0 -.45em}
#lobby-tour .tour-seat-em[hidden]{display:none}
#lobby-tour .tour-seat-em .st-em .rank-em{width:2.5em;height:2.5em;filter:drop-shadow(0 .1rem .15rem rgba(0,0,0,.4))}
#lobby-tour .tour-seat-em .st-em::after{display:none}
#lobby-tour .tour-seat-nm{min-width:0;font:400 1em/1.1 var(--font-display);color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#lobby-tour .tour-seat .tour-tag{position:absolute;top:.45em;left:.5em;padding:.25em .5em;border-radius:.3rem;background:var(--uv-ink,#1c3150);color:#fff;font:400 .8em/1 var(--font-display);letter-spacing:0;box-shadow:none;}
#lobby-tour .tour-seat .tour-tag.is-you{background:#fff;color:var(--cp-deep,#0068c2)}
#lobby-tour .tour-seat .tour-tag.is-off{background:#fff6e0;color:#8a5200}
#lobby-tour .tour-seat.is-off .tour-seat-pic{opacity:.45;filter:grayscale(.6)}
#lobby-tour .tour-seat.is-new{animation:chip-in 420ms var(--ease-bounce) both}
#lobby-tour .tour-seat:is(.is-open,.is-matt)::before{background:rgba(255,255,255,.5);border-style:dashed;border-color:rgba(var(--cp-ink-rgb),.45)}
#lobby-tour .tour-seat-matt{position:absolute;left:0;right:0;top:12%;bottom:2.2em;display:flex;align-items:flex-end;justify-content:center;opacity:.5}
#lobby-tour .tour-seat-matt .uv-robot{width:auto;height:100%}
#lobby-tour .tour-seat.is-matt .tour-seat-tag{background:transparent}
#lobby-tour .tour-seat.is-matt .tour-seat-nm{color:rgba(var(--cp-ink-rgb),.6)}
#lobby-tour .tour-wait{position:relative;isolation:isolate;white-space:nowrap}
#lobby-tour #tour-wait-text{min-width:0;overflow:hidden;text-overflow:ellipsis}
@media (prefers-reduced-motion: reduce){ #lobby-tour .tour-seat.is-new{animation:none} }
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby .panel.lobby-view#lobby-tour{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:1rem;padding-top:1.6rem;padding-bottom:1.6rem}
  html:not([data-mobile]) #lobby-tour :is(.tour-share,.tour-side){display:flex;flex-direction:column;align-items:stretch;height:auto;min-width:0}
  html:not([data-mobile]) #lobby-tour .tour-share{position:relative;flex:none;gap:1rem}
  html:not([data-mobile]) #lobby-tour .tour-side{flex:1 1 auto;min-height:0;gap:.7rem}
  html:not([data-mobile]) #lobby-tour .tour-head{min-height:2.6rem}
  html:not([data-mobile]) #lobby-tour .tour-join{font-size:1.76rem}
  html:not([data-mobile]) #lobby-tour .tour-n{font-size:1.15rem}
  html:not([data-mobile]) #lobby-tour .code-boxes.is-huge{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem;width:100%}
  html:not([data-mobile]) #lobby-tour .code-boxes.is-huge .code-box{width:auto;height:min(7.6rem,15.5vh);font-size:min(4.9rem,10.5vh)}
  html:not([data-mobile]) #lobby-tour .tour-copied{position:absolute;right:0;top:-1.6rem;min-height:0;margin:0;font-size:.95rem;pointer-events:none}
  html:not([data-mobile]) #lobby-tour .tour-link-row{max-width:none}
  html:not([data-mobile]) #lobby-tour :is(.tour-rule-chips li,.tour-why){font-size:1.02rem}
  /* the squares take the room left and never grow past it: each the smaller of a column's width and a row's height (container units), lean with the slab */
  html:not([data-mobile]) #lobby-tour .tour-names{--sg:.9rem;flex:1 1 0;min-height:0;grid-template-columns:repeat(var(--cols,4),auto);grid-auto-rows:auto;justify-content:center;align-content:center;gap:var(--sg);padding:.2rem 0 .4rem;overflow:visible;container-type:size}
  html:not([data-mobile]) #lobby-tour .tour-seat{--sq:min(calc((100cqw - (var(--cols,4) - 1) * var(--sg)) / var(--cols,4)),calc((100cqh - (var(--rows,1) - 1) * var(--sg)) / var(--rows,1)),12.5rem);width:var(--sq);height:var(--sq);aspect-ratio:auto;font-size:calc(var(--sq) / 9.2);transform:none}
  html:not([data-mobile]) #lobby-tour .tour-seat > *{transform:var(--vw-unslant)}
  /* one action row under the panel: Leave (quiet, its own width) | Warm up | Start, the hero; a guest's wait chip takes Start's place. The leave question covers the row */
  html:not([data-mobile]) #lobby-tour .tour-acts{grid-auto-flow:column;grid-template-columns:auto minmax(0,1.12fr) minmax(0,1.2fr);grid-auto-columns:minmax(0,1.2fr);align-items:center;gap:1rem}
  html:not([data-mobile]) #lobby-tour .tour-acts :is(#btn-tour-warm,#btn-tour-start){white-space:nowrap;padding:0 .9rem} html:not([data-mobile]) #lobby-tour .tour-acts #btn-tour-warm{font-size:1.04rem;gap:.4rem;overflow:hidden} html:not([data-mobile]) #lobby-tour .tour-acts #btn-tour-start:not(:disabled),html:not([data-mobile]) #lobby-tour .tour-acts #btn-tour-start{font-size:1.28rem}
  html:not([data-mobile]) #lobby-tour .tour-acts .tour-leave{display:flex;min-height:0;height:100%;align-items:center}
  html:not([data-mobile]) #lobby-tour .tour-acts #btn-tour-leave{height:3.6rem;padding:0 1.2rem;font-size:1.1rem;white-space:nowrap}
  html:not([data-mobile]) #lobby-tour .tour-acts #btn-tour-start{height:100%}
  html:not([data-mobile]) #lobby-tour .tour-confirm:not([hidden]){position:absolute;inset:0;z-index:3;display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:.9rem;padding:0 1.2rem;border:var(--vw-ol) solid var(--uv-ink);border-radius:var(--uv-r);background:#fff;font-size:1.25rem}
  html:not([data-mobile]) #lobby-tour .tour-confirm .btn{height:3.4rem;padding:0 1.4rem;font-size:1.15rem}
  html:not([data-mobile]) #lobby-tour .tour-wait{display:flex;align-items:center;justify-content:center;gap:.5rem;height:100%;margin:0;padding:0 1rem;font-size:1.2rem;color:var(--uv-ink);overflow:hidden}
  html:not([data-mobile]) #lobby-tour .tour-wait::before{content:"";position:absolute;inset:0;z-index:-1;border:var(--vw-ol) dashed rgba(var(--cp-ink-rgb),.45);border-radius:var(--uv-r);background:rgba(255,255,255,.6);transform:skewX(var(--cp-skew))}
  html:not([data-mobile]) #lobby-tour .tour-full{flex:none;align-self:center}
}
@media (max-width:700px){ #lobby-tour .tour-names{grid-template-columns:repeat(4,minmax(0,1fr))} #lobby-tour .tour-seat{font-size:.7rem} }      /* (NOTES 803) a narrow window: four squares a row whatever the count */
@media (max-width:999px){ #lobby-tour .tour-seat-nm{font-size:max(1em,12px)} #lobby-tour .tour-seat .tour-tag{font-size:max(.8em,12px)} #lobby-tour :is(.tour-rule-chips li,.tour-why,.tour-n small,.tour-n b){font-size:max(.95rem,12px)} #lobby-tour .tour-n b{font-size:max(1.5rem,16px)} }      /* (NOTES 803) the 12 px floor on a narrow window (verify.mjs h) */
@media (max-width:980px),(max-aspect-ratio:1199/1000){ #lobby-tour .tour-acts > .tour-leave{order:3} }      /* (NOTES 803) a narrow window's stacked actions: Start (or the wait), Warm up, then Leave last */
/* (NOTES 808, owner 2026-11-18: "The label that is adding the trophies to our account should be the one with the colored icon, and then the total trophy count
   should be less emphasized ... inspiration from brawlstars") the change is the hero: no tile, the gold cup (ink-outlined, as the game's gold) and big
   outlined numbers, green for a gain and red for a loss; the total drops its gold plate and its colour: a small quiet count with a plain cup beside it */
#screen-match .trophy-d:is(.is-up,.is-down){gap:.3rem;padding:.1rem .2rem;text-shadow:0 .07em 0 var(--cp-ink)}
#screen-match .trophy-d:is(.is-up,.is-down)::before{content:none}
#screen-match .trophy-d.is-up{color:var(--cp-green)} #screen-match .trophy-d.is-down{color:var(--cp-red)}
#screen-match .trophy-d:is(.is-up,.is-down)::after{width:1.05em;height:1.05em;-webkit-mask:none;mask:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 26 26'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffe680'/%3E%3Cstop offset='.5' stop-color='%23ffc21a'/%3E%3Cstop offset='1' stop-color='%23e8930c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 5.5H4.5a1 1 0 0 0-1 1V8a4 4 0 0 0 4 4M17 5.5h2.5a1 1 0 0 1 1 1V8a4 4 0 0 1-4 4' fill='none' stroke='%231c3150' stroke-width='4.4'/%3E%3Cpath d='M7 5.5H4.5a1 1 0 0 0-1 1V8a4 4 0 0 0 4 4M17 5.5h2.5a1 1 0 0 1 1 1V8a4 4 0 0 1-4 4' fill='none' stroke='%23ffc21a' stroke-width='1.8'/%3E%3Cpath d='M10.5 14.5h3v3h-3Z' fill='%23e8930c' stroke='%231c3150' stroke-width='1.6'/%3E%3Crect x='7' y='17' width='10' height='4' rx='1.2' fill='%23e8930c' stroke='%231c3150' stroke-width='1.6'/%3E%3Cpath d='M6.5 3h11v6.5a5.5 5.5 0 0 1-11 0Z' fill='url(%23g)' stroke='%231c3150' stroke-width='1.6'/%3E%3Cpath d='M9 5.5v3.5' stroke='%23fff' stroke-width='1.4' opacity='.7'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;filter:drop-shadow(0 .06em 0 var(--cp-ink))}      /* the gold cup, drawn with its own ink outline (a mask would clip one) */
#screen-match .trophy-count{align-self:center;padding:0 .2rem;gap:.25rem}
#screen-match .trophy-count::before{content:none}
#screen-match .trophy-word,#screen-match .trophy-word.trophy-word{width:1rem;height:1rem;background:var(--cp-text-2);opacity:.75}
#screen-match .trophy-n,#screen-match .trophy-roll,#screen-match .trophy-n::before{font-size:1.15rem;color:var(--cp-text-2)}
/* (NOTES 809) the coin tag pops in after the trophy count lands, with its ding (web/shop.js resultCoins) */
#screen-match .trophy-coins.is-pop{animation:ov-trophy-pop 420ms var(--ease-bounce) both}
/* (NOTES 810, owner 2026-11-18: "this interface looks terrible. fix it") a guest's You card on the leaderboard: one row like the board's own (the rows' height),
   an empty rank tag, "You" over its line, Sign in at the right end; it was a stack crammed against the slanted edge */
html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-you:not(.is-on){display:grid;grid-template-columns:3.2rem minmax(0,1fr) auto;grid-template-areas:"rk txt go";align-items:center;column-gap:1rem;min-height:3.9rem;padding:.4rem 1rem .4rem 1.1rem}
html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-you:not(.is-on) .lb-rank{grid-area:rk;display:inline-grid;place-items:center;justify-self:center;width:3rem;height:2.4rem;border-radius:var(--uv-r,.4rem);color:var(--cp-text-2);font-family:var(--font-display);font-size:1.2rem}
html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-you:not(.is-on) .lb-rank:empty::before{content:"–"}
html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-you:not(.is-on) .lb-you-text{grid-area:txt;display:flex;flex-direction:column;justify-content:center;gap:.2rem;min-width:0}
html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-you:not(.is-on) .lb-you-text b{font-size:1.2rem;line-height:1}
html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-you:not(.is-on) #lb-you-cap{font-size:.85rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-you:not(.is-on) .lb-v:empty{display:none}
html:not([data-mobile]) #screen-lobby #lobby-leaderboard .lb-you:not(.is-on) .lb-you-go{grid-area:go;justify-self:end;margin:0;height:2.7rem;min-height:0;padding:0 1.5rem;font-size:1.1rem;white-space:nowrap}
/* (NOTES 832, owner 2026-11-18: "can u remove parallax on profile page and locker and just centre the camera view properly") Your stats, a player's page and the Locker
   hold still: the column and Back no longer lean with the cursor (the scene's camera stops its orbit and nudge there too: scene.js setMenuCalm) */
html:not([data-mobile]) #screen-lobby:is([data-view="profile"],[data-view="player"],[data-view="locker"]) :is(.panel.lobby-view,.btn-back:not([hidden])){translate:none}

/* ---------- (NOTES 861, owner: "why are we using all three different button styles wtf?? fix these") the tournament's one action row: Leave / Cancel, Warm up and Start
   are the one button, the same height, words, outline and drop; Start is the primary (neon) once it can go, and short of players the same shape switched off
   (the ink outline kept: no pale outline). (owner: "why no skew??") the invite link and the code's boxes lie on the panel's slant like every block: their plate
   is a ::before on skewX(var(--cp-skew)), what they hold stays upright ---------- */
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #lobby-tour .tour-acts :is(#btn-tour-leave,#btn-tour-warm,#btn-tour-start),html:not([data-mobile]) #lobby-tour .tour-acts #btn-tour-start:not(:disabled){height:var(--vw-sec-h);align-self:center;padding:0 1rem;font-size:1.15rem;gap:.45rem;white-space:nowrap;overflow:visible}      /* (NOTES 896) overflow visible: Warm up's overflow:hidden clipped its drop and ring under the mouse */
}
html:not([data-mobile]) :is(#lobby-share,#lobby-tour) .share-link{position:relative;isolation:isolate;border-color:transparent;background:none;box-shadow:none}
html:not([data-mobile]) :is(#lobby-share,#lobby-tour) .share-link::before{content:"";position:absolute;inset:calc(var(--vw-ol) * -1);z-index:-1;border:var(--vw-ol) solid var(--uv-ink);border-radius:var(--uv-r);background:#fff;box-shadow:var(--cp-drop);transform:skewX(var(--cp-skew));pointer-events:none}
html:not([data-mobile]) #lobby-tour .tour-link-row:is(:has(#tour-link[hidden]),:has(#tour-link:empty))::before{content:none}
html:not([data-mobile]) #screen-lobby :is(#lobby-share,#lobby-tour) .code-boxes.is-static .code-box{position:relative;isolation:isolate;border-color:transparent;background:none;box-shadow:none}
html:not([data-mobile]) #screen-lobby :is(#lobby-share,#lobby-tour) .code-boxes.is-static .code-box::before{content:"";position:absolute;inset:calc(var(--cp-ol) * -1.25);z-index:-1;border:calc(var(--cp-ol) * 1.25) solid var(--uv-ink);border-radius:.6rem;background:#fff;box-shadow:inset 0 .1875rem .5rem rgba(120,170,200,.25), var(--cp-drop-sm);transform:skewX(var(--cp-skew));pointer-events:none}
/* (NOTES 862, owner on the Matt levels: "i dont like this text colour being used as an indicator. can we make the card just like golden") a level beaten without
   giving up a point is a gold card, its words the ink of every other level (not brown on cyan) */
:is(#lobby-profile,.lbp-card) .st-mlv.is-flawless{background:linear-gradient(180deg,var(--gold-1),var(--gold-2));box-shadow:none}
:is(#lobby-profile,.lbp-card) .st-mlv.is-flawless :is(b,small,small i),:is(#lobby-profile,.lbp-card) .st-mlv.is-flawless b::before{color:var(--uv-ink)}
.st-mlv.is-flawless :is(b,small,small i),.st-mlv.is-flawless b::before{color:var(--cp-ink,#1c3150)}
/* (NOTES 861) Copy invite and Warm up are white secondary buttons even when they hold the "do this next" mark (.is-focus): the ink outline and no breathing,
   so the one state they show is the views' selection ring, as every button's (it was a deep outline, a breathing scale and outlined words) */
#screen-lobby:not([data-view="home"]) :is(#btn-tour-copy,#btn-copy,#btn-tour-warm).is-focus{--bo:var(--cp-ink);animation:none}

/* (NOTES 880, owner: "can u give matt a profile picture") Matt's own picture (web/art/matt-face.png, his on-court look baked like the default kid's) where he stands in a seat:
   Your court's open seat and the tournament's odd spot, in place of the robot (the robot stays where it marks the mode: the difficulty view, the Matt badge, a court row's icon) */
#lobby-share .seat-matt .seat-matt-pic{flex:0 1 auto;display:block;height:78%;aspect-ratio:1;background:url(art/matt-face.png) 50% 100%/contain no-repeat;filter:drop-shadow(0 .3rem .4rem rgba(0,40,90,.35))}
#lobby-tour .tour-seat-matt{opacity:.8}
#lobby-tour .tour-seat-matt .tour-seat-matt-pic{display:block;height:100%;aspect-ratio:1;background:url(art/matt-face.png) 50% 100%/contain no-repeat;filter:drop-shadow(0 .25rem .35rem rgba(0,40,90,.35))}
/* (NOTES 896, owner: the rank medal by a player's name "pokes up out of the dark name strip over the picture's edge and looks stuck on") the medal sits inside the
   strip, centred on the name's line and sized to it, as the leaderboard rows' medals */
#lobby-tour .tour-seat-tag{min-height:2.3em;gap:.35em}
#lobby-tour .tour-seat-em{width:1.75em;height:1.75em;margin:0}
#lobby-tour .tour-seat-em .st-em,#lobby-tour .tour-seat-em .st-em .rank-em{width:1.75em;height:1.75em}
/* (NOTES 1001) the win streak's tile in the result's stats row: the flame beside the number, in the streak's own flame colour, "Win streak" as the label, like Your stats' tag */
#screen-match .stat.is-streak b{display:inline-flex;align-items:center;gap:.32rem;color:var(--cp-flame-num)}
#screen-match .stat.is-streak .st-flame{flex:none;width:1.5rem;height:1.74rem;overflow:visible;fill:none;stroke:none;filter:none}
html[data-mobile] #screen-match .stat.is-streak .st-flame{width:1.25rem;height:1.45rem}
