/* ==========================================================================================================
   THE LOCKER (docs/LOCKER.md). Markup: web/locker.js only (one render function per component). Linked after ua-views.css.
   1. TOKENS: every colour, angle, timing and component size the Locker draws with. A redesign starts here.
      (Only the layout breakpoints, 980px and 6:5, are written in section 3: a media query cannot read a custom property.)
   2. COMPONENTS: the entry plate, the tabs head, the tray, an item, its badges, the style editor, the actions, the stage.
   3. LAYOUT: the desktop column (the views' right column, ua-views.css --vcol / --vtray / --vgap / --vact), the stage over the figure,
      (Back at the top left is every view's: ua-views.css --back-*, NOTES 314), then the narrow window and the phone (one column, a still for the stage).
   It reuses the game's own pieces as they are: .btn (the plate button), .seg / .seg-opt (the tab row), .panel.lobby-view (the tray plate).
   ========================================================================================================== */

/* ======================================================= 1. TOKENS ======================================================= */
:root{
  /* ---- colours ---- */
  /* ink and light, Cyan pop (ui.css --cp-*): the ink outline and drop of every block, the pale sky surfaces */
  --lk-ink:var(--cp-ink); --lk-ink-2:var(--cp-label); --lk-ice:var(--cp-sky-2); --lk-ice-deep:var(--cp-sky-3); --lk-white:#fff; --lk-sky:var(--cp-haze); --lk-sky-glow:rgba(var(--cp-main-rgb),.5);
  /* "whatever is on" (NOTES 420): the cyan fill, its outline and drop in the deep, white words with the deep text outline (was the neon fill with ink words) */
  --lk-cyan:var(--cp-main); --lk-cyan-deep:var(--cp-deep); --lk-cyan-press:var(--cp-press); --lk-door:var(--cp-blue);      /* the entry plate's door: the Locker plate's own blue (the home's plate icons) */
  /* the plate faces (white into ice): the entry plate, Reset, Edit style, the pattern chips, an item's face, the stage's backdrop */
  --lk-face:var(--lk-white);
  --lk-item-face:linear-gradient(180deg, var(--cp-sky-3) 0%, var(--cp-haze) 100%);      /* every item tile's face, everywhere (the Locker, the inbox, the claim screen; owner 2026-11-09: "can we not use white for item frame backgrounds? settle on a theme colour"): the game's sky, shaded by a hue shift toward cyan, never white or grey */
  --lk-stage-bg:radial-gradient(70% 60% at 50% 42%,var(--lk-white) 0%,var(--lk-ice) 55%,var(--cp-sky-3) 100%);
  /* Equip, the primary action: the cyan face and its glow; Edit style while open */
  --lk-equip-face:var(--lk-cyan); --lk-equip-glow:rgba(var(--cp-main-rgb),.3);
  --lk-edit-on:var(--lk-cyan);      /* on = the cyan fill, as In hand (UI rules 4, NOTES 305) */
  /* a switched-off button (Reset with nothing to reset, Edit style or Equip while they cannot act): the plate stays whole and opaque, its face greyed, its word dimmed */
  --lk-off-face:var(--cp-off); --lk-off-label:var(--cp-text-3);
  /* rarity frames (DESIGN-MASTER: Common green, Rare blue, Epic purple, Legendary gold, Mythic red); the starter is plain */
  --lk-rarity-starter:#c9d6ee; --lk-rarity-common:#3fbf5a; --lk-rarity-rare:#3d8bff; --lk-rarity-epic:#a855f7; --lk-rarity-legendary:#ffb020; --lk-rarity-mythic:#ff3b2f;
  /* Exclusive (owner 2026-11-16): never sold, only won (the first: a trail for beating Dan). The logo ball's own lime (web/art/wm/l1.webp: #E4FF3A shaded to #b9d400), more vibrant
     (owner 2026-11-16, NOTES 638), a slight gradient from its lit side to its deeper, still bright edge; --lk-rarity-exclusive is the flat colour for rings and drops, --lk-rarity-exclusive-fill the gradient for every painted face */
  --lk-rarity-exclusive:#D8FF1A; --lk-rarity-exclusive-deep:#B2EC00; --lk-rarity-exclusive-fill:linear-gradient(115deg,#F2FF66 0%,#D8FF1A 45%,#B2EC00 100%);
  /* the starter's colours: 12 swatches for rim and face, read by locker.js (any #RRGGBB; keep STYLE_DEFAULT's #1F5FE0 and #F4F8FF among them) */
  --lk-swatch-1:#1F5FE0; --lk-swatch-2:#F4F8FF; --lk-swatch-3:#E4FF3A; --lk-swatch-4:#C8603A; --lk-swatch-5:#FF8FB8; --lk-swatch-6:#8A5CF0;
  --lk-swatch-7:#FF3B2F; --lk-swatch-8:#FF8A1F; --lk-swatch-9:#FFD23F; --lk-swatch-10:#9BE22D; --lk-swatch-11:#2DBE7A; --lk-swatch-12:#1B2A6B;
  /* the Hair tab's 14 hair colours (6 natural, then the rainbow) and the Skin tab's 5 tones (the toy white, then light to deepest): the SAME values, in the same order, as web/loadout.js
     HAIR_COLOURS and SKINS, which the server checks against (test/locker-e2e.mjs fails if they differ). Change both together */
  --lk-hair-1:#141216; --lk-hair-2:#55382F; --lk-hair-3:#8A5A3B; --lk-hair-4:#B4532A; --lk-hair-5:#E2B866; --lk-hair-6:#EDE7DC; --lk-hair-7:#FFFFFF; --lk-hair-8:#E5322D; --lk-hair-9:#FF8A1F; --lk-hair-10:#FFD23F; --lk-hair-11:#2DBE7A; --lk-hair-12:#19BFD3; --lk-hair-13:#1F5FE0; --lk-hair-14:#8A5CF0; --lk-hair-15:#FF8FB8;
  --lk-way-reset-d:2rem; --lk-way-reset-ic:1.15rem; --lk-way-reset-t:.12s; --lk-way-reset-hover:-30deg; --lk-way-reset-press:-60deg; --lk-way-reset-off:.35;      /* (NOTES 546) a colour group's Reset: its size, icon, motion, and how faint it is while off */
  --lk-default-slash:135deg; --lk-sect-size:1.15rem; --lk-sect-rule-a:.18;      /* the sections' headers on the Look and Clothes tabs, and their rule */      /* the Default swatch's slash (none chosen: today's look) */
  /* the eyes' 14 colours and the clothes' 14 (the Clothes tab, NOTES 437): the SAME values, in the same order, as web/loadout.js EYE_COLOURS and OUTFIT_COLOURS (test/locker-e2e.mjs checks) */
  --lk-eye-1:#4A302C; --lk-eye-2:#1B1416; --lk-eye-3:#7A5A2E; --lk-eye-4:#B07A2A; --lk-eye-5:#3E8E4A; --lk-eye-6:#7D8899; --lk-eye-7:#D93A3A; --lk-eye-8:#F07A1F; --lk-eye-9:#E8C21F; --lk-eye-10:#2DBE7A; --lk-eye-11:#19BFD3; --lk-eye-12:#2F6FDE; --lk-eye-13:#8A5CF0; --lk-eye-14:#FF6FA8;
  --lk-out-1:#F4F5F8; --lk-out-2:#9AA3B5; --lk-out-3:#5E6577; --lk-out-4:#2A2D3A; --lk-out-5:#1B2A6B; --lk-out-6:#E8352C; --lk-out-7:#FF8A1F; --lk-out-8:#FFD23F; --lk-out-9:#E4FF3A; --lk-out-10:#9BE22D; --lk-out-11:#2DBE7A; --lk-out-12:#19BFD3; --lk-out-13:#1F5FE0; --lk-out-14:#8A5CF0; --lk-out-15:#FF8FB8; --lk-out-16:#8A5A3B;
  --lk-skin-1:#F4F5F8; --lk-skin-2:#F2C7B4; --lk-skin-3:#D9A47E; --lk-skin-4:#A86F4C; --lk-skin-5:#6B4226;
  --lk-pal-swatch:2.6rem; --lk-pal-gap:.8rem; --lk-pal-mt:1.4rem; --lk-pal-swatch-phone:2.05rem; --lk-pal-gap-phone:.5rem;      /* the look's swatches: a little bigger than the starter's, the row under the hair tiles */
  /* the starter's handle (its tile, the phone still and the 3D starter: locker.js reads it for web/locker3d.js) */
  --lk-grip:#23252e;
  /* the default face's colours (the menu kid's: web/scene.js kidFaceTex; the eyes are web/cel.js EYES) */
  --lk-face-skin:#f4f5f8; --lk-face-eye:#1b2147; --lk-face-blush:rgba(246,124,140,.5); --lk-face-iris:#1b1416; --lk-face-white:#f7f7fa; --lk-face-lid-w:3;
  /* "In hand" while on: the cyan of a chosen thing (DESIGN-MASTER UI rules 4-5) */
  --lk-hand-on:var(--lk-cyan);
  /* the style editor's row labels */
  --lk-label-c:var(--cp-text);      /* (Cyan pop sweep) ink words on the light slab */

  /* ---- shapes ---- */
  --lk-skew:var(--cp-skew); --lk-upright:0deg; --lk-none:0px; --lk-stage-skew:var(--cp-skew); --lk-deg:1deg; --lk-check-angle:225deg; --lk-face-lean-pad:calc(1.1rem * .18);      /* (the last three: values that sat raw in sections 2 and 3, NOTES 305) */
  --lk-r:.41rem; --lk-stage-r:.6rem; --lk-ol:var(--cp-ol); --lk-ol-thin:.16rem; --lk-frame:.22rem; --lk-rarity-band:.735rem; --lk-rarity-band-off:0rem;      /* (NOTES 565, 30% thinner since NOTES 578) a tile's thick foot, in its rarity's colour */ --lk-drop-x:var(--cp-drop-x); --lk-drop-y:var(--cp-drop-y); --lk-drop-sm-x:var(--cp-drop-sm-x); --lk-drop-sm-y:var(--cp-drop-sm-y);      /* (Cyan pop sweep) the one cartoon drop: the big one under tiles, cards and the slab, its half under chips, swatches and the bar's blocks */
  --lk-slab:.35rem;             /* the selection's cyan slab offset (an item); the entry plate's is --lk-plate-slab */
  --lk-ring:.4rem;              /* the cyan ring round a chosen swatch or pattern chip */
  --lk-tile-ring:.26rem;        /* the cyan ring round the chosen tile: the views' one selected state (ua-views.css --vw-ring) */

  /* ---- the entry plate under the figure ---- */
  --lk-plate-w:6.2rem; --lk-plate-h:4.6rem; --lk-plate-icon:2.4rem; --lk-plate-ol:var(--cp-ol); --lk-plate-slab:.47rem;

  /* ---- the head row: the tabs and Reset ---- */
  --lk-head-h:4.82rem; --lk-head-gap:.94rem;
  --lk-tab-h:3.6rem; --lk-tab-pad:1.7rem; --lk-tab-fs:1.5rem; --lk-tab-off:.45;
  --lk-lv-gap:.85rem; --lk-grp-pad:.8rem; --lk-grp-gap:.6rem; --lk-grp-fs:1.35rem; --lk-grp-fs-phone:1.1rem; --lk-grp-ic:1.7rem; --lk-part-gap:.6rem; --lk-part-h:2.9rem; --lk-part-ic:1.5rem; --lk-part-pad:.4rem; --lk-part-word-gap:.4rem; --lk-part-fs:1rem; --lk-part-fs-phone:1rem; --lk-part-ic-phone:1.4rem; --lk-part-word-gap-phone:.25rem; --lk-part-pad-phone:.15rem; --lk-part-gap-phone:.4rem;      /* (NOTES 532) the two tab levels: Gear / Face / Outfit, then the parts (NOTES 538: the parts share the row equally, each its icon and name) */
  --lk-tab-icon:2.05rem; --lk-tab-ic-pad:1.1rem; --lk-check-fold:45deg;      /* the tabs are icons alone (owner 2026-11-09): the icon's size, the room either side */
  --lk-reset-h:3.2rem; --lk-reset-pad:1.3rem; --lk-reset-fs:1.15rem;
  --lk-hand-icon:1.25rem; --lk-hand-gap:.4rem; --lk-hand-stroke:2.2;      /* "In hand", left of Reset: Reset's size, a small hand before the words */
  --lk-phone-w:2.75rem; --lk-phone-h:2.75rem; --lk-phone-icon:1.6rem;      /* the phone block while it stands in the Locker's top bar, left of Settings (Settings is ui.css .btn-icon, 2.75rem: the same size) */

  /* ---- the tray and the grid ---- */
  --lk-tray-pad:1.7rem 1.2rem 1.2rem 1.5rem;      /* more room under the tabs, a little less at the sides (owner 2026-11-07) */
  --lk-cols:4; --lk-cols-narrow:3; --lk-cols-phone:3; --lk-gap:.9rem; --lk-item-aspect:1;      /* owner 2026-11-07: square items, about 70% bigger (six across became four) */
  --lk-pic-pad:.35rem;

  /* ---- an item's badges ---- */
  --lk-check:2.5rem; --lk-need:1.9rem; --lk-locked-dim:.62; --lk-locked-sat:1.15; --lk-locked-veil:rgba(var(--cp-ink-rgb),.55); --lk-face-fade:9%;      /* a locked item's picture: darkened, its colour kept (a little more saturated, so each racket's own colour still reads) (owner 2026-11-09: "rather than greying them, just darken the icon") */

  /* ---- a locked item's lock (an ink disc, the lock in white, the corner opposite the medal) ---- */
  --lk-lock-shackle:var(--cp-main); --lk-lock-face:#fff; --lk-lock-shade:var(--cp-sky-3);      /* the toy padlock's shackle, body and its lower band (locker.js renderLock) */
  --lk-lock:2.3rem; --lk-lock-tilt:-6deg; --lk-lock-icon:.95rem; --lk-lock-stroke:2.6;

  /* ---- the grids' search / filter / sort bar over the tray (NOTES 314): three blocks by the UI rules (one -6deg slant, one .16rem outline, one hard drop; chosen = a cyan fill; focus = a cyan ring) ---- */
  --lk-bar-h:2.55rem; --lk-bar-gap:.75rem; --lk-bar-mb:1rem; --lk-bar-fs:.95rem; --lk-bar-pad:.75rem; --lk-bar-icon:1.15rem; --lk-bar-stroke:2.4;
  --lk-bar-skew:var(--cp-skew); --lk-bar-ol:.16rem; --lk-bar-drop-x:var(--cp-drop-sm-x); --lk-bar-drop-y:var(--cp-drop-sm-y); --lk-bar-r:.35rem; --lk-bar-lift:translateY(-.25rem);
  --lk-bar-face:var(--lk-white); --lk-chip-on:var(--lk-cyan); --lk-chip-pad:.8rem; --lk-search-min:9rem; --lk-trail-ov:1.16;      /* = web/locker3d.js SQ_OV (NOTES 638) */
  --lk-scroll-pad:.7rem; --lk-lean-room:1.1rem;      /* the scrolling grid's own room (the selection slab and the hover lift reach past a tile) */

  /* ---- the style editor ---- */
  --lk-swatch:2rem; --lk-pattern-w:2.6rem; --lk-label-w:6rem; --lk-label-fs:1.15rem; --lk-style-gap:1.1rem; --lk-opt-gap:.55rem;

  /* ---- the actions row: Edit style, Equip ---- */
  --lk-acts-gap:1.2rem; --lk-act-fs:1.5rem; --lk-equip-w:14rem; --lk-equip-fs:2rem;
  --lk-act-h-narrow:4.2rem;                         /* the buttons' height in a narrow window (a desktop's is ua-views.css --vact) */
  --lk-act-h-phone:4.4rem; --lk-act-fs-phone:1.2rem; --lk-equip-fs-phone:1.5rem;

  /* ---- the stage (the racket close-up, left of the column, over the figure) ---- */
  --lk-kid-hit-w:min(19rem,24vw); --lk-kid-hit-h:calc(min(100vh,52.94rem) * .72); --lk-kid-hit-foot:-.5rem;      /* the click target over the home kid */
  --lk-pic-lean-scale:.92;
  --lk-stage-lean:-34; --lk-stage-bob:0;      /* the racket floats leaning this many degrees (negative: to the left), like a shop pickaxe, and bobs this share of its height (locker3d.js) */
  --lk-info-l:.2rem; --lk-sect-ic:1.6rem; --lk-sect-ic-c:var(--cp-deep); --lk-sub-gap:.45rem; --lk-sub-fs:.9rem; --lk-sub-mt:.35rem; --lk-info-kind-mb:.45rem; --lk-info-r:-.6rem; --lk-info-gap:.2rem; --lk-info-pad:.7rem 1rem .75rem 1.15rem; --lk-info-edge:.45rem; --lk-info-kind-fs:.85rem; --lk-info-kind-pad:.22rem .55rem .2rem; --lk-info-kind-r:.35rem;      /* the racket's card at the stage's foot (NOTES 333, 344) */
  --lk-info-name-fs:1.6rem; --lk-info-how-gap:.4rem; --lk-info-how-fs:.95rem; --lk-info-lock-w:1.15rem; --lk-info-lock-h:1.2rem; --lk-info-starter:var(--cp-panel); --lk-info-how-c:var(--cp-text-2);
  --lk-view-foot:7.4rem;      /* the racket's 3D view is centred on the stage above its card (the free height: the stage less this), 1.3x that height as before for the aura's room */
  --lk-stage-w:26rem; --lk-stage-gap:2.4rem; --lk-stage-top:.6rem; --lk-stage-h-narrow:18rem; --lk-stage-h-phone:14rem; --lk-still-pad:1rem;

  --lk-row-h:calc(var(--vact, 5rem) * .82 + 1.4rem); --lk-row-pad:.3rem 1.2rem 1.1rem 1.6rem;      /* the actions' row at the foot of the panel */      /* Edit style's row in the panel */

  /* ---- the catalogue slab (NOTES 367, owner 2026-11-08: "make that entire chunk of the screen a parallelogram, like how brawlstars does their catalogue"): on a wide desktop the
     panel is one parallelogram, the tabs along its top edge, the bar, the grid and the actions inside on its slant (each row and tile set back upright: --lk-unslant) ---- */
  --lk-slab-skew:var(--cp-skew); --lk-unslant:skewX(0deg); --lk-upright:skewX(0deg);      /* the slab's slant (the UI's one); --lk-unslant undoes it on what stands inside (0 outside the slab) */
  --lk-slab-face:var(--cp-panel); --lk-slab-ol:var(--cp-ink); --lk-slab-ol-w:var(--cp-ol); --lk-slab-drop-x:var(--cp-drop-x); --lk-slab-drop-y:var(--cp-drop-y);      /* (Cyan pop sweep) a white slab, the ink outline, the big ink drop (was the navy slab) */ --lk-slab-r:.7rem;      /* flat fill, one outline, one hard drop: ua-views.css's slab, read from it so the two stay equal */
  --lk-slab-top:calc(var(--lk-head-h) * .5);      /* the slab's top edge runs through the tabs' middle: they sit on it */
  --lk-slab-bleed:6rem;      /* how far the slab runs past the column's right, off the screen's edge (Brawl Stars' catalogue: the slab runs out of the screen) */
  --lk-slab-head-r:.4rem; --lk-slab-tab-pad:1.25rem;      /* the tab row's right end inside the column (the shear carries the top right, so Reset stays on screen) */
  /* ---- layout: the desktop column's insets (inside ua-views.css's right column) ---- */
  --lk-col-pad-l:2.5rem; --lk-col-pad-r:2.2rem; --lk-head-pad:.6rem; --lk-acts-l:1.5rem; --lk-acts-r:1.8rem;
  /* ---- layout: a narrow window and a phone (one column) ---- */
  --lk-slot-gap-narrow:.5rem 0 .9rem; --lk-slot-gap-phone:1.2rem 0 .6rem;      /* round the entry plate where it rests under the blocks */
  --lk-stage-mb-narrow:1.2rem; --lk-acts-mt-narrow:1.4rem; --lk-stage-mb-phone:1rem; --lk-head-mb-phone:.8rem; --lk-acts-mt-phone:1.2rem;
  --lk-foot-clear:6rem;      /* room under the actions, so the last row clears the footer and the Product Hunt badge once the body is scrolled to its end */

  /* ---- motion ---- */
  --lk-spring:cubic-bezier(.2,1.5,.4,1); --lk-snap:cubic-bezier(.2,.9,.25,1);
  --lk-t:180ms; --lk-t-plate:200ms; --lk-t-press:45ms; --lk-t-busy:700ms;
  --lk-hover-lift:translateY(-.35rem) rotate(-2deg) scale(1.05);       /* the entry plate */
  --lk-item-lift:translateY(-.25rem) rotate(-1.5deg) scale(1.04);      /* an item */
  --lk-press:scale(1,.88); --lk-item-press:scale(1,.9);
  --lk-busy-to:translateY(-.2rem) rotate(-6deg);                         /* the plate's door rocking while the view gets ready */
  --lk-chosen-scale:1.18; --lk-hover-scale:1.12; --lk-pattern-scale:1.1;
  /* ---- racket mastery (NOTES 359, materials since NOTES 389): the finishes (web/loadout.js FINISHES swatch / ring, kept equal), the tile's ring, the Finish row ---- */
  --lk-fin-pearl:#FFF4EC; --lk-fin-obsidian:#1E1830; --lk-fin-chrome:#C9D3E6; --lk-fin-plain:#ffffff;
  --lk-fin-pearl-band:#C8D8FF; --lk-fin-obsidian-band:#8A5CFF; --lk-fin-chrome-band:#ffffff;      /* each chip's one thin flat band (UI rule 7: no gradient) */
  --lk-fin-band-at:58%; --lk-fin-band-w:14%;      /* the band's place across the chip and its width */
  --lk-fin-f-pearl:url(#lk-fin-pearl); --lk-fin-f-obsidian:url(#lk-fin-obsidian); --lk-fin-f-chrome:url(#lk-fin-chrome);      /* the still's material: locker.js finFilters */
  --lk-mring:1.55rem; --lk-ring-w:3.2; --lk-ring-bg:var(--cp-sky-2); --lk-ring-fs:.62rem; --lk-ring-face:#ffffff;
  --lk-fin-slash:-45deg; --lk-ring-start:-90deg; --lk-ring-pearl:#C98FC8; --lk-ring-obsidian:#2A2140; --lk-ring-chrome:#6F7FA0;
  --lk-fin-how-gap:.4rem; --lk-fin-how-w:9.5rem; --lk-fin-count-fs:1.05rem; --lk-fin-bar-h:.45rem;      /* (owner 2026-11-12) the Finish row's wins: a short count over a short bar */
  --lk-fin-chip:2.3rem; --lk-fin-ring:.25rem; --lk-fin-gap:.75rem; --lk-fin-how-fs:.8125rem; --lk-fin-row-mt:.7rem;
  --lk-fin-band-bg:var(--cp-well-2); --lk-fin-band-rule:rgba(var(--cp-ink-rgb),.12); --lk-fin-band-pad:.65rem 1rem .7rem; --lk-fin-band-gap:1.1rem; --lk-fin-band-rule-w:1px; --lk-fin-badge:1.05rem; --lk-fin-badge-off:-.3rem; --lk-fin-how-op:.8;      /* the Finish row's band (NOTES 405) */
  --lk-vcol:42rem; --lk-tab-ic-pad-10:.2rem; --lk-tab-icon-10:min(var(--lk-tab-icon-big, 2.3rem), 1.9rem); --lk-tab-gap-10:.45rem; --lk-head-tab-pad:.85rem; --lk-info-fin-k:.74; --lk-trail-cv-l:-90%; --lk-trail-cv-w:280%; --lk-cv-fade-x:10%; --lk-cv-fade-y:8%; --lk-racket-cv-l:-12%; --lk-racket-cv-k:2; --lk-styles-grow:2; --lk-equip-grow:3; --lk-tab-h-big:4.3rem; --lk-tab-icon-big:2.6rem; --lk-tab-ic-pad-big:1.35rem; --lk-menu-w:9rem; --lk-menu-gap:.5rem; --lk-menu-pad:.4rem; --lk-menu-opt-h:2.6rem; --lk-menu-opt-pad:.9rem; --lk-menu-z:20; --lk-chev:1rem; --lk-chev-open:180deg; --lk-well-dark:var(--cp-sky-3); --lk-well-rule:rgba(var(--cp-ink-rgb),.14); --lk-well-pad:1rem; --lk-tray-pad-r:1.2rem;      /* the racket's canvas starts 12% left of the stage, not 30%: the leaning racket's middle sits on the stage's middle (NOTES 415) */ --lk-mask:#000;      /* the Locker's column (NOTES 405: the views' 46.6rem took ~60%), its tabs, the finish card's name, the Trails canvas, the stills' fade mask */
  /* (NOTES 409, Cyan pop sweep) the panel's three button levels: the tabs white, In hand / Reset / Edit style / Styles the white plate (secondary), Equip alone cyan (the one action);
     Equipped is a state, not a button: the white plate with the words in the deep */
  --lk-sec-face:var(--cp-sec); --lk-sec-label:var(--cp-sec-label); --lk-sec-off-face:var(--cp-off); --lk-sec-off-label:var(--cp-text-3); --lk-sec-h:3.7rem; --lk-sec-fs:1.25rem; --lk-done-label:var(--lk-cyan-deep);
  /* (NOTES 420) the overhaul's states: on / selected is the cyan fill (deep outline and drop, white words with the deep text outline) everywhere (a tab, a filter chip, Styles, In hand); a plain control is the white plate; Equip the one large action; the actions' band */
  --lk-on-face:var(--lk-cyan); --lk-on-label:var(--lk-white); --lk-ctl-gap:.6rem; --lk-ctl-h:2.7rem; --lk-ctl-fs:1.05rem; --lk-ctl-pad:1rem;
  --lk-fin2-chip:2.6rem; --lk-fin2-gap:1.1rem; --lk-fin2-pad:.9rem 1.3rem; --lk-fin2-col:calc(var(--lk-fin2-gap) - var(--lk-fin-ring) * 2);      /* (NOTES 578, owner 2026-11-16: "too much margin for the first gap here") Finish to its first chip the same as chip to chip (the chips' row pads by two rings) */ --lk-band2-gap:1.25rem; --lk-fin2-lift:translateY(-.15rem);      /* (NOTES 449) the reworked Finish band: slanted chips with room, the row's own plate */
  --lk-band-bg:transparent; --lk-band-well:var(--cp-well-2); --lk-band-pad:.7rem .9rem .7rem 1.1rem; --lk-band-gap:1rem; --lk-styles-pad:1rem; --lk-search-min-styles:4rem; --lk-reset-ic:1.6rem; --lk-equip-w-band:9.5rem; --lk-gap:.9rem; --lk-row-gap:1.1rem; --lk-tray-top:.35rem; --lk-tray-l:1.5rem;      /* (NOTES 421) one gap between the controls in a row, one between the rows (tabs, strip, grid, band) */ --lk-ctl-b:7rem;      /* the strip keeps one line with Styles in it; the preview's controls stand this far up from the stage's foot, just over the racket's card */
  /* ---- the shop (docs/SHOP.md): the coin and an item's price chip. The coin is the game's gold (ui.css --cp-gold): a gold face, the lower band hue-shifted to amber (never a darker brown),
     the rim ring and the ball's holes in the band's deep, the ink outline and its hard drop. A price chip sits where a racket's medal does; "Owned" is the same chip on the sky ---- */
  --lk-coin-face:var(--cp-gold); --lk-coin-band:var(--cp-cup); --lk-coin-deep:var(--cp-cup-num); --lk-coin-ink:var(--lk-ink); --lk-coin-ol:1.6; --lk-coin-rim-w:1.3;
  --lk-price-h:1.55rem; --lk-price-fs:.95rem; --lk-price-pad:.4rem; --lk-price-gap:.2rem; --lk-price-ic:1.15rem; --lk-price-face:var(--lk-white); --lk-price-label:var(--lk-ink); --lk-price-ol:var(--cp-ol-sm); --lk-price-r:.4rem;
  --lk-price-k-big:1.35;      /* a big tile's chip (the shop's Featured) this much larger */
  --lk-owned-face:var(--cp-sec); --lk-owned-label:var(--cp-sec-label);
  /* the shop's offer card (owner 2026-11-15: "the item frames in shops need to be nicer ... look at brawl star frames"; web/locker.js rewardTile opts.offer): sizes in the card's own width (cqw), so a daily
     square, a Featured card, a phone's and the pop-up's picture all keep the same proportions. The card is its rarity's flat colour; the picture's panel is that colour lit from behind the item, shaded by a hue shift
     (lighter toward warm / yellow, darker toward blue / teal: art, as the claim screen's glow); the name and the price bar are flat fills without an outline of their own (UI rules 2, 3) */
  --lk-offer-pad:4.2%; --lk-offer-pad-cq:4.2cqw; --lk-offer-gap:3.2cqw;      /* the pad in % of the card's width (a container's own padding cannot be in its cqw); the gap a margin inside it */
  --lk-offer-r:.55rem; --lk-offer-in-r:.4rem;
  --lk-offer-hover:brightness(1.1) saturate(1.08); --lk-offer-press:brightness(.94); --lk-offer-hover-t:.15s; --lk-offer-foot-scale:1.08; --lk-offer-name-fs:9.4cqw; --lk-offer-name-h:12cqw; --lk-offer-bar-h:17cqw; --lk-offer-bar-fs:10cqw; --lk-offer-bar-ic:10.5cqw; --lk-offer-bar-gap:2cqw; --lk-offer-owned-fs:8.4cqw;
  --lk-offer-glow-at:50% 40%; --lk-offer-glow-size:78% 72%;
  --lk-offer-common-lit:#d9f77e; --lk-offer-common-deep:#0f8068;
  --lk-offer-rare-lit:#b9f1ff; --lk-offer-rare-deep:#2236c2;
  --lk-offer-epic-lit:#f6c2ff; --lk-offer-epic-deep:#4a24b5;
  --lk-offer-legendary-lit:#fff3a6; --lk-offer-legendary-deep:#e2511b;
  --lk-offer-name-stroke:.12em; --lk-offer-kind-h:7.6cqw; --lk-offer-kind-fs:6.4cqw; --lk-offer-kind-ic:7cqw; --lk-offer-ic:10.5cqw; --lk-offer-ic-stroke:2.6; --lk-offer-name-drop:.07em;
  --lk-offer-mythic-lit:#ffd0a0; --lk-offer-mythic-deep:#a3123e;
  --lk-offer-exclusive-lit:#f8ffc0; --lk-offer-exclusive-deep:#8ED000;
  --lk-offer-starter-lit:#ffffff; --lk-offer-starter-deep:var(--cp-sky-3);
  --lk-tray-focus-room:.8rem;      /* (owner 2026-11-12: "fix this getting cutoff") room above the strip for the search's focus ring, given back by a margin */
  --lk-pat-coin:1.05rem; --lk-pat-veil:rgba(var(--cp-ink-rgb),.62);      /* a sold pattern swatch: its veil and a coin in its corner (no figure: a swatch is too small for one) */
}

/* ======================================================= 2. COMPONENTS ======================================================= */
/* ---- the entry plate under the figure (B1 C, B2 C): a locker door, no word beside it (the phone plate's language, ua-phone.css #btn-phone) ---- */
#btn-locker{position:relative;display:inline-flex;align-items:center;justify-content:center;width:var(--lk-plate-w);height:var(--lk-plate-h);padding:0;margin:0;isolation:isolate;cursor:pointer;color:var(--lk-ink);
  --bf:var(--lk-face);--bdx:var(--cp-drop-x);--bdy:var(--cp-drop-y);transition:transform var(--lk-t-plate) var(--lk-spring)}
#btn-locker::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--lk-r);background:var(--bf);transform:skewX(var(--lk-skew));box-shadow:inset 0 0 0 var(--lk-plate-ol) var(--lk-ink);height:auto;opacity:1;border:0;clip-path:none}
#btn-locker::after{content:"";position:absolute;inset:0;z-index:-2;border-radius:var(--lk-r);background:var(--lk-ink);transform:translate(var(--bdx),var(--bdy)) skewX(var(--lk-skew));box-shadow:none;opacity:1;animation:none}
#btn-locker svg{width:var(--lk-plate-icon);height:var(--lk-plate-icon);fill:none;stroke:var(--lk-ink);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
#btn-locker svg .lk-door{fill:var(--lk-door)}
@media (hover:hover){ #btn-locker:hover{transform:var(--lk-hover-lift)} }
#btn-locker:active{transform:var(--lk-press);--bdx:calc(var(--cp-drop-x) * .35);--bdy:calc(var(--cp-drop-y) * .35);transition-duration:var(--lk-t-press)}
#btn-locker.is-opening{cursor:progress} #btn-locker.is-opening svg{animation:lk-busy var(--lk-t-busy) var(--lk-snap) infinite alternate}
#btn-locker:focus-visible{outline:0} #btn-locker:focus-visible::before,#btn-locker.ae-sel::before{box-shadow:inset 0 0 0 var(--lk-plate-ol) var(--lk-ink), calc(var(--lk-plate-slab) * -1) calc(var(--lk-plate-slab) * .8) 0 0 var(--lk-cyan), calc(var(--lk-plate-slab) * -1) calc(var(--lk-plate-slab) * .8) 0 var(--lk-ol) var(--lk-cyan-deep)}
@keyframes lk-busy{to{transform:var(--lk-busy-to)}}
#btn-locker{--i:2}      /* its place in the home's staggered entrance (#lobby-home.enter, data-in) */

/* ---- the view: the stage, the panel (head + tray), the actions ---- */
#screen-lobby #lobby-locker.lk{display:flex;flex-direction:column;align-items:stretch;gap:0}
.lk-panel{display:flex;flex-direction:column;align-self:stretch;width:100%;flex:1 1 auto;min-height:0}
.lk-tray{width:100%}

/* the head: the game's tab row, Reset at its end */
.lk-head{display:flex;align-items:center;gap:var(--lk-head-gap);height:var(--lk-head-h);flex:none}
.lk-head .lk-tabs{display:flex;gap:var(--lk-head-gap);margin:0}
#screen-lobby .lk-head .seg-opt{height:var(--lk-tab-h);padding:0 var(--lk-tab-pad);font-size:var(--lk-tab-fs)}
#screen-lobby .lk-head .seg-opt[aria-disabled="true"]{opacity:var(--lk-tab-off);cursor:not-allowed}
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-tab{padding:0 var(--lk-tab-ic-pad);display:inline-flex;align-items:center;justify-content:center}
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-tab:not([aria-checked="true"]){color:var(--lk-door)}      /* the icon is the tab's own colour (fill: currentColor): Locker blue on white, white on the chosen cyan tab */
.lk-tab-ic{width:var(--lk-tab-icon);height:var(--lk-tab-icon);display:block;overflow:visible;flex:none;fill:currentColor;stroke:none;pointer-events:none}      /* filled silhouettes, one colour (locker.js TAB_ICONS); overflow visible (NOTES 467): the turned paddle and the chosen tab's deep edge reach past the 24 box and were sliced flat */
.lk-head .lk-hand{margin-left:auto;display:inline-flex;align-items:center;gap:var(--lk-hand-gap);height:var(--lk-reset-h);padding:0 var(--lk-reset-pad);font-size:var(--lk-reset-fs);--bf:var(--cp-sec);color:var(--cp-sec-label)}
.lk-head .lk-hand[aria-pressed="true"]{--bf:var(--lk-hand-on);--bo:var(--lk-cyan-deep);color:var(--lk-on-label);}
.lk-hand-ic{width:var(--lk-hand-icon);height:var(--lk-hand-icon);flex:none;fill:none;stroke:currentColor;stroke-width:var(--lk-hand-stroke);stroke-linecap:round;stroke-linejoin:round}
.lk-head .lk-hand + .lk-reset{margin-left:0}
.lk-head .lk-reset{margin-left:auto;height:var(--lk-reset-h);padding:0 var(--lk-reset-pad);font-size:var(--lk-reset-fs);--bf:var(--cp-sec);color:var(--cp-sec-label)}

/* the tray: the plate is .panel.lobby-view's ::before (ua-views.css), lowered under the head row */
.lk-tray{flex:1 1 auto;min-height:0;overflow:auto;padding:var(--lk-tray-pad);scrollbar-width:thin}
.lk-grid{display:grid;grid-template-columns:repeat(var(--lk-cols),minmax(0,1fr));gap:var(--lk-gap);align-content:start}

/* an item: a picture in its rarity frame (data-rarity), on the ice face, over the ink drop */
.lk-item{position:relative;aspect-ratio:var(--lk-item-aspect);min-width:0;padding:0;margin:0;border:0;background:none;cursor:pointer;color:var(--lk-ink);isolation:isolate;
  --frame:var(--lk-rarity-starter);--band:var(--lk-rarity-band-off);transition:transform var(--lk-t) var(--lk-spring);transform:var(--lk-unslant)}
.lk-item[data-rarity="common"]{--frame:var(--lk-rarity-common)} .lk-item[data-rarity="rare"]{--frame:var(--lk-rarity-rare)} .lk-item[data-rarity="epic"]{--frame:var(--lk-rarity-epic)}
.lk-item[data-rarity="legendary"]{--frame:var(--lk-rarity-legendary)} .lk-item[data-rarity="mythic"]{--frame:var(--lk-rarity-mythic)}
.lk-item[data-rarity="exclusive"]{--frame:var(--lk-rarity-exclusive)}
/* Exclusive's foot band is the gradient, and still paints over the thin ink ring (owner 2026-11-16, see the band note below). A box-shadow cannot hold a gradient and every inset shadow
   paints above the backgrounds, so here frame, ink ring, face and band are all background layers, the band on top */
.lk-item[data-rarity="exclusive"]:not([data-offer])::before{--xr:calc(var(--lk-frame) + var(--lk-ol-thin) * .6);box-shadow:none;
  background:var(--lk-rarity-exclusive-fill) 0 100%/100% var(--band) no-repeat, var(--lk-item-face) 50% 50%/calc(100% - 2 * var(--xr)) calc(100% - 2 * var(--xr)) no-repeat,
    linear-gradient(var(--lk-ink),var(--lk-ink)) 50% 50%/calc(100% - 2 * var(--lk-frame)) calc(100% - 2 * var(--lk-frame)) no-repeat, linear-gradient(var(--frame),var(--frame))}
.lk-item[data-rarity="exclusive"]:not([data-offer]):is([aria-pressed="true"],:focus-visible)::before{box-shadow:0 0 0 var(--lk-tile-ring) var(--lk-cyan)}
#inbox .lk-item,#reveal .lk-item{--lk-skew:var(--lk-slab-skew)}      /* a reward's tile outside the Locker (web/locker.js rewardTile) leans as the Locker's tray does: one slant for every item tile */
/* the tilt is for rackets only (owner 2026-11-08: "for the avatar customisation items dont make it tilted. only should apply to rackets"): Face, Hair and Skin stand upright */
/* every tab's tiles are the Rackets tab's (owner 2026-11-09: "why are these item containers inconsistent?? they should follow the first style"): the same slant, face, frame and drop; only a racket's picture leans */
.lk-item::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--lk-r);background:var(--lk-item-face);transform:skewX(var(--lk-skew));
  box-shadow:inset 0 calc(var(--band) * -1) 0 0 var(--frame), inset 0 0 0 var(--lk-frame) var(--frame), inset 0 0 0 calc(var(--lk-frame) + var(--lk-ol-thin) * .6) var(--lk-ink);transition:box-shadow var(--lk-t) var(--lk-snap)}      /* the first: the rarity band painted over the thin ink ring (owner 2026-11-16: "make the z index of the rarity bar go over this thin black line"); 0 tall on an offer card */
/* (NOTES 565, owner 2026-11-16: "the item frames in the locker for rarity are so thin", then "lets not make the entire background the rarity colour, just make like the bottom part of the border / item frame the rarity and make it decently thick")
   a tile's frame is thick along its foot: a band of the rarity's colour (--lk-rarity-band) under the picture. (NOTES 578, owner 2026-11-16: "resize the item frames ... so that the item image frame
   is square, with extra spacing at the bottom to compensate for the rarity bar") the tile's box stays square and the picture fills it as before the band; the frame, its band and the drop reach
   below it by the band, and the tile's bottom margin keeps that room in the grid. The skew turns about the square's middle, so the frame still meets the picture's slanted cut. Every tile has it
   (the starter's band its pale frame colour), so a row stands level; the Shop's offer cards are their rarity whole already */
.lk-item:not([data-offer]){--band:var(--lk-rarity-band);margin-bottom:var(--band)}
.lk-item:not([data-offer])::before,.lk-item:not([data-offer])::after{bottom:calc(var(--band) * -1);transform-origin:50% calc(50% - var(--band) / 2)}
.lk-item:not([data-offer])::before{background:linear-gradient(to top,var(--frame) var(--band),transparent var(--band)),var(--lk-item-face)}
.lk-item:not([data-offer]) .lk-item-veil{border-bottom-left-radius:0;border-bottom-right-radius:0}      /* the veil covers the square, the band below it never dims */
.lk-item::after{content:"";position:absolute;inset:0;z-index:-2;border-radius:var(--lk-r);background:var(--lk-ink);transform:translate(var(--lk-drop-sm-x),var(--lk-drop-sm-y)) skewX(var(--lk-skew));transition:transform var(--lk-t) var(--lk-spring)}      /* an item's drop: the small one (owner 2026-11-10: "shadow is too heavy here on item icons") */
.lk-item-face{position:absolute;inset:var(--lk-pic-pad) calc(var(--lk-pic-pad) + var(--lk-face-lean-pad));display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:calc(var(--lk-r) * .6)}
.lk-item-face:has(> img.lk-pic){-webkit-mask-image:none;mask-image:none}      /* (NOTES 415, owner 2026-11-09: "get rid of vignette on item frames") no fade at a tile picture's edges (it was NOTES 400's) */
.lk-item-face > :is(img,svg){width:100%;height:100%;object-fit:contain;display:block;pointer-events:none;transform:rotate(calc(var(--lk-stage-lean) * var(--lk-deg))) scale(var(--lk-pic-lean-scale))}
.lk-item-face > img.lk-pic{width:auto;height:100%;max-width:none;aspect-ratio:1;transform:rotate(calc(var(--lk-stage-lean) * var(--lk-deg))) scale(calc(var(--lk-pic-lean-scale) * var(--fit-s,1) * var(--lk-racket-zoom,1))) translate(var(--fit-x,0%),var(--fit-y,0%))}
.lk-item-face > img.lk-pic[data-file], .lk-item-face > .lk-fin-tint{--lk-racket-zoom:1.15}      /* (owner 2026-11-17: "frame things a bit better ... see it larger") the racket pictures 15% larger in their tiles */      /* locker.js FIT: every still's racket one size (the picture's own box, so the % moves are the picture's) */      /* the icons lean like the stage's racket */
.lk-item-face > :is(img,span).lk-trail-pic{width:100%;height:100%;max-width:none;aspect-ratio:auto;object-fit:cover;transform:none}
.lk-item:not([data-offer]) .lk-item-face > :is(img,span).lk-trail-pic{position:absolute;left:calc(50% - 50% * var(--lk-trail-ov));top:calc(50% - 50% * var(--lk-trail-ov));width:calc(100% * var(--lk-trail-ov));height:calc(100% * var(--lk-trail-ov));max-width:none;max-height:none;aspect-ratio:auto;object-fit:fill;transform:none}      /* (NOTES 638) the baked picture's room round its frame (web/locker3d.js SQ_OV) lies outside the face: the face's slanted clip is the only cut */
.lk-item-face > img.lk-hair-pic{width:100%;height:100%;max-width:none;aspect-ratio:auto;object-fit:cover;transform:none}      /* a hair tile: the head upright and filling the tile (owner 2026-11-08: "make it bigger and make it normal"); the lean is the rackets' only */
@media (hover:hover){ .lk-item:not([aria-disabled="true"]):hover{transform:var(--lk-unslant) var(--lk-item-lift);z-index:2} .lk-item:not([aria-disabled="true"]):hover::after{transform:translate(calc(var(--lk-drop-sm-x) * 1.25),calc(var(--lk-drop-sm-y) * 1.25)) skewX(var(--lk-skew))} }
.lk-item:active:not([aria-disabled="true"]){transform:var(--lk-unslant) translate(calc(var(--lk-drop-sm-x) * .6),calc(var(--lk-drop-sm-y) * .6));transition-duration:var(--lk-t-press)}
.lk-item:active:not([aria-disabled="true"])::after{transform:translate(calc(var(--lk-drop-sm-x) * .4),calc(var(--lk-drop-sm-y) * .4)) skewX(var(--lk-skew));transition-duration:var(--lk-t-press)}      /* pressed: the tile sinks onto its drop (the home's press) */
.lk-item:focus-visible{outline:0}
/* selected: the one selected state, the cyan ring round the tile, its drop grown under it (UI rules 4; was the offset neon slab) */
.lk-item[aria-pressed="true"]::before,.lk-item:focus-visible::before{box-shadow:inset 0 calc(var(--band) * -1) 0 0 var(--frame), inset 0 0 0 var(--lk-frame) var(--frame), inset 0 0 0 calc(var(--lk-frame) + var(--lk-ol-thin) * .6) var(--lk-ink), 0 0 0 var(--lk-tile-ring) var(--lk-cyan)}
.lk-item[aria-pressed="true"]::after,.lk-item:focus-visible::after{box-shadow:0 0 0 var(--lk-tile-ring) var(--lk-ink)}
/* locked: the picture darkened (its colour still shows), the medal of the rank it needs in the corner (no words) */
      /* locked: the whole tile goes dark blue (owner 2026-11-09: "a dark blue square over the entire item container" rather than a greyed picture) */
      /* the dark blue over the whole picture too (owner 2026-11-09: "the entire thing, not just the image as an overlay"): the stills carry their own white ground, so the veil, not the face, is what turns the tile dark blue; the lock and medal sit above it */      /* and a dark blue veil over the picture, its colour still showing through */
.lk-item[data-state="locked"] .lk-item-face > *{filter:saturate(var(--lk-locked-sat))}
.lk-item-need{z-index:2;position:absolute;right:calc(var(--lk-pic-pad) * .6);bottom:calc(var(--lk-pic-pad) * .6);width:var(--lk-need);height:var(--lk-need);display:flex}
.lk-item-need .rank-em{width:100%;height:100%}
.lk-item-more{z-index:2;position:absolute;right:calc(var(--lk-pic-pad) * .6);top:calc(var(--lk-pic-pad) * .6);width:var(--lk-need);height:var(--lk-need);display:flex;pointer-events:none}      /* (NOTES 547) the Rank racket's plus, top right (owner 2026-11-17: "put the additional style icon in the top right"), left of the worn check; once bottom right (NOTES 683 (owner 2026-11-17: "move the plus icon to the bottom right, then get rid of the rank icon"): its styles inside */
.lk-item:has(.lk-check) > .lk-item-more{right:calc(var(--lk-check) * .95)}      /* worn: beside the check's cyan corner, not under it */
.lk-more-pic{width:100%;height:100%;overflow:visible}
/* locked: also a lock, in the bottom-left corner */
.lk-item-veil{position:absolute;inset:0;z-index:1;border-radius:var(--lk-r);background:var(--lk-locked-veil);transform:skewX(var(--lk-skew));pointer-events:none}      /* locked: a see-through square over the whole white tile (owner 2026-11-09: "keep the square white, just a dark blue square that's transparent overlaid on top of the entire thing"); since the Cyan pop full sweep (owner: "still a lot of the old dark blue") it is a light Locker-blue wash, --lk-locked-veil */
.lk-item-lock{z-index:2;position:absolute;left:calc(var(--lk-pic-pad) * .6 + var(--lk-face-lean-pad));bottom:calc(var(--lk-pic-pad) * .6);width:var(--lk-lock);height:var(--lk-lock);display:flex;align-items:center;justify-content:center;transform:rotate(var(--lk-lock-tilt))}
.lk-item-lock svg{width:100%;height:100%;display:block;overflow:visible}
/* the shop (docs/SHOP.md): a sold item's price, or Owned, in the medal's corner; the coin (locker.js coinIcon, also the shop's) */
.coin-ic{display:block;overflow:visible} .coin-ic .coin-drop{fill:var(--lk-coin-ink)} .coin-ic .coin-face{fill:var(--lk-coin-face)} .coin-ic .coin-band{fill:var(--lk-coin-band)}
.coin-ic .coin-rim{fill:none;stroke:var(--lk-coin-deep);stroke-width:var(--lk-coin-rim-w)} .coin-ic .coin-hole{fill:var(--lk-coin-deep)} .coin-ic .coin-ol{fill:none;stroke:var(--lk-coin-ink);stroke-width:var(--lk-coin-ol)}
.lk-item-price{z-index:3;position:absolute;right:calc(var(--lk-pic-pad) * .6);bottom:calc(var(--lk-pic-pad) * .6);display:inline-flex;align-items:center;gap:var(--lk-price-gap);height:var(--lk-price-h);padding:0 var(--lk-price-pad) 0 calc(var(--lk-price-pad) * .6);box-sizing:border-box;
  border-radius:var(--lk-price-r);background:var(--lk-price-face);box-shadow:inset 0 0 0 var(--lk-price-ol) var(--lk-ink), var(--lk-drop-sm-x) var(--lk-drop-sm-y) 0 var(--lk-ink);
  font-family:var(--font-display);font-weight:400;font-synthesis:none;font-size:var(--lk-price-fs);line-height:1;color:var(--lk-price-label);white-space:nowrap;pointer-events:none}
.lk-item-price .coin-ic{width:var(--lk-price-ic);height:var(--lk-price-ic);flex:none}
.lk-item-owned{padding:0 var(--lk-price-pad);background:var(--lk-owned-face);color:var(--lk-owned-label)}
.lk-item[data-big="true"] .lk-item-price{height:calc(var(--lk-price-h) * var(--lk-price-k-big));font-size:calc(var(--lk-price-fs) * var(--lk-price-k-big));padding:0 calc(var(--lk-price-pad) * var(--lk-price-k-big))}
.lk-item[data-big="true"] .lk-item-price .coin-ic{width:calc(var(--lk-price-ic) * var(--lk-price-k-big));height:calc(var(--lk-price-ic) * var(--lk-price-k-big))}
/* ---- the shop's offer card (Brawl Stars' offers, in our rules; web/locker.js rewardTile opts.offer, web/shop.js): ONE block in its rarity's colour (the one ink outline, the one small drop, the one slant),
   the name across its head, the picture standing on its rarity's glow in a panel, the price as a white bar across its foot (Owned: the secondary plate's fill). The panel and the bar lean with the card (rule 8);
   the words, the coin and the picture stand upright. data-offer="art": the picture on its glow alone (the buy pop-up, which names and prices it beside) ---- */
.lk-item[data-offer]{container-type:size;display:flex;flex-direction:column;padding:var(--lk-offer-pad);box-sizing:border-box;
  --lit:var(--lk-offer-starter-lit);--deep:var(--lk-offer-starter-deep)}
.lk-item[data-offer][data-rarity="common"]{--lit:var(--lk-offer-common-lit);--deep:var(--lk-offer-common-deep)} .lk-item[data-offer][data-rarity="rare"]{--lit:var(--lk-offer-rare-lit);--deep:var(--lk-offer-rare-deep)}
.lk-item[data-offer][data-rarity="epic"]{--lit:var(--lk-offer-epic-lit);--deep:var(--lk-offer-epic-deep)} .lk-item[data-offer][data-rarity="legendary"]{--lit:var(--lk-offer-legendary-lit);--deep:var(--lk-offer-legendary-deep)} .lk-item[data-offer][data-rarity="exclusive"]{--lit:var(--lk-offer-exclusive-lit);--deep:var(--lk-offer-exclusive-deep)}
.lk-item[data-offer][data-rarity="mythic"]{--lit:var(--lk-offer-mythic-lit);--deep:var(--lk-offer-mythic-deep)}
.lk-item[data-offer]::before{border-radius:var(--lk-offer-r);background:var(--frame);box-shadow:inset 0 0 0 var(--lk-ol) var(--lk-ink)}
.lk-item[data-offer]::after{border-radius:var(--lk-offer-r)}
.lk-item[data-offer]:is([aria-pressed="true"],:focus-visible)::before{box-shadow:inset 0 0 0 var(--lk-ol) var(--lk-ink), 0 0 0 var(--lk-tile-ring) var(--lk-cyan)}
.lk-offer-name{flex:none;height:var(--lk-offer-name-h);margin-bottom:var(--lk-offer-gap);display:flex;align-items:center;padding:0 2.4cqw 0 calc(2.4cqw + tan(var(--lk-skew)) * -1 * (50cqh - var(--lk-offer-name-h) / 2));      /* in from the slanted left edge where the name sits (the card leans about its middle) */
  min-width:0;
  font-family:var(--font-display);font-weight:400;font-size:var(--lk-offer-name-fs);line-height:1;color:var(--lk-white);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  text-shadow:0 var(--lk-offer-name-drop) 0 var(--lk-ink)}
.lk-offer-name{justify-content:space-between;gap:2cqw;text-overflow:clip}
.lk-offer-nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lk-item[data-offer="true"]:has(> .lk-offer-kind) > .lk-offer-name{margin-bottom:0}
.lk-offer-kind{flex:none;height:var(--lk-offer-kind-h);margin:-.6cqw 0 var(--lk-offer-gap);display:flex;align-items:center;gap:1.4cqw;min-width:0;
  padding:0 2.4cqw 0 calc(2.6cqw + tan(var(--lk-skew)) * -1 * (50cqh - var(--lk-offer-name-h) - var(--lk-offer-kind-h) / 2));      /* the kind under the name, word and icon (owner 2026-11-15: "text saying what the item type is"), in from the slant at its own height */
  font-family:var(--font-display);font-weight:400;font-size:var(--lk-offer-kind-fs);line-height:1;color:var(--lk-white);white-space:nowrap;
  text-shadow:0 var(--lk-offer-name-drop) 0 var(--lk-ink)}
.lk-offer-kind .lk-offer-ic{height:var(--lk-offer-kind-ic);width:var(--lk-offer-kind-ic)}
.lk-offer-ic{flex:none;height:var(--lk-offer-ic);width:var(--lk-offer-ic);fill:var(--lk-white);stroke:var(--lk-ink);stroke-width:var(--lk-offer-ic-stroke);stroke-linejoin:round;paint-order:stroke fill;filter:drop-shadow(0 var(--lk-offer-name-drop) 0 var(--lk-ink));overflow:visible}      /* the kind (hair, eyes, mouth, shirt, pants, pattern), white and inked like the name */
.lk-item[data-offer] .lk-item-face{position:relative;inset:auto;flex:1 1 0;min-height:0;clip-path:none;overflow:visible;border-radius:0;isolation:isolate;display:flex;align-items:flex-end;justify-content:center}
.lk-item[data-offer] .lk-item-face::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--lk-offer-in-r);transform:skewX(var(--lk-skew));
  background:radial-gradient(var(--lk-offer-glow-size) at var(--lk-offer-glow-at),var(--lit) 0%,var(--frame) 58%,var(--deep) 100%)}
.lk-item[data-offer] .lk-item-face > :is(img,span).lk-pic{width:auto;height:100%;max-width:100%;aspect-ratio:1;object-fit:contain;object-position:50% 100%;transform:none;
  clip-path:inset(0 0 0 0 round 0 0 var(--lk-offer-in-r) var(--lk-offer-in-r))}      /* the picture's foot (the bust's shoulders, the shirt's hem) on the panel's floor */
.lk-item[data-offer="art"]{padding:6%}
.lk-item[data-offer="art"] .lk-item-face > img.lk-body-pic{aspect-ratio:3/4}      /* the whole kid (web/locker3d.js portrait full) */
.lk-item[data-offer="true"] .lk-item-face::before{transform-origin:50% calc(50cqh - var(--lk-offer-pad-cq) - var(--lk-offer-name-h) - var(--lk-offer-gap))}
.lk-item[data-offer="true"]:has(> .lk-offer-kind) .lk-item-face::before{transform-origin:50% calc(50cqh - var(--lk-offer-pad-cq) - var(--lk-offer-name-h) - var(--lk-offer-kind-h) + .6cqw - var(--lk-offer-gap))}      /* the panel and the bar lean about the CARD's middle, not their own, so their slanted edges stay parallel and inside the card's (owner 2026-11-15: the price bar stuck out past the card's right edge) */
.lk-item[data-offer="true"] > .lk-offer-bar::before{transform-origin:50% calc(var(--lk-offer-pad-cq) + var(--lk-offer-bar-h) - 50cqh)}
.lk-item[data-offer] > .lk-item-price.lk-offer-bar{position:relative;inset:auto;flex:none;align-self:stretch;justify-content:center;height:var(--lk-offer-bar-h);gap:var(--lk-offer-bar-gap);padding:0;margin:var(--lk-offer-gap) 0 0;
  background:none;box-shadow:none;border-radius:0;font-size:var(--lk-offer-bar-fs);color:var(--lk-price-label);isolation:isolate}
.lk-item[data-offer] > .lk-offer-bar::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--lk-offer-in-r);background:var(--lk-price-face);transform:skewX(var(--lk-skew))}
.lk-item[data-offer] > .lk-offer-bar .coin-ic{width:var(--lk-offer-bar-ic);height:var(--lk-offer-bar-ic)}
.lk-item[data-offer] > .lk-offer-bar .lk-price-n{font-variant-numeric:tabular-nums}
.lk-item[data-offer] > .lk-offer-bar.lk-item-owned{font-size:var(--lk-offer-owned-fs);color:var(--lk-owned-label)} .lk-item[data-offer] > .lk-offer-bar.lk-item-owned::before{background:var(--lk-owned-face)}
/* (NOTES 545, owner 2026-11-15: "why is this not centered") the bar's face is slanted about the card's middle (the transform-origin above), so down at the foot it sits left of where the bar
   stands and the price or Owned looked pushed right. The bar moves by that same amount and its face moves back: the words stay centred on the face they sit on, its edges on the frame's slant */
.lk-item[data-offer="true"] > .lk-item-price.lk-offer-bar{--lk-bar-dx:calc((50cqh - var(--lk-offer-pad-cq) - var(--lk-offer-bar-h) / 2) * tan(var(--lk-skew)));left:var(--lk-bar-dx)}
.lk-item[data-offer="true"] > .lk-offer-bar::before{left:calc(var(--lk-bar-dx) * -1);right:var(--lk-bar-dx)}
/* (owner 2026-11-16: "for the buttons in the shop on each item frame, dont make it look like a button, as you can click the whole card ... make it clearer that they're cards and to
   claim or buy them, you can just tap the frame") the foot is no plate: the price, Owned or the gift's Claim stand on the card's own frame in the name's lettering (white, ink edged), so the
   card is one object. The card is what answers: hovered, the selection's cyan ring goes round it and its panel brightens (the shop's tilt lifts it too) */
.lk-item[data-offer="true"] > .lk-offer-bar::before{content:none}
.lk-item[data-offer="true"] > .lk-item-price.lk-offer-bar,.lk-item[data-offer="true"] > .lk-offer-bar.lk-item-owned{color:var(--lk-white);font-size:calc(var(--lk-offer-bar-fs) * var(--lk-offer-foot-scale));
  text-shadow:0 var(--lk-offer-name-drop) 0 var(--lk-ink)}
.lk-item[data-offer="true"] > .lk-offer-bar .coin-ic{filter:drop-shadow(0 var(--lk-offer-name-drop) 0 var(--lk-ink))}
.lk-item[data-offer="true"] > .lk-offer-bar.lk-item-owned{font-size:var(--lk-offer-owned-fs)}
@media (hover:hover){
  .lk-item[data-offer="true"]:not([aria-disabled="true"]):hover::before{box-shadow:inset 0 0 0 var(--lk-ol) var(--lk-ink), 0 0 0 var(--lk-tile-ring) var(--lk-cyan)}
  .lk-item[data-offer="true"]:not([aria-disabled="true"]):hover .lk-item-face::before{filter:var(--lk-offer-hover)}
}
.lk-item[data-offer="true"] .lk-item-face::before{transition:filter var(--lk-offer-hover-t)}
.lk-item[data-offer="true"]:active .lk-item-face::before{filter:var(--lk-offer-press)}
.lk-pat{position:relative} .lk-pat-veil{position:absolute;inset:0;background:var(--lk-pat-veil);pointer-events:none}
.lk-pat-coin{position:absolute;right:0;bottom:0;width:var(--lk-pat-coin);height:var(--lk-pat-coin);pointer-events:none} .lk-pat-coin .coin-ic{width:100%;height:100%}
.lk-pat[data-peek="true"]{outline:0;box-shadow:0 0 0 var(--lk-ol-thin) var(--lk-ink), 0 0 0 var(--lk-ring) var(--lk-cyan), 0 0 0 calc(var(--lk-ring) * 1.3) var(--lk-ink)}      /* a sold pattern previewed: the ring is on what the kid wears */
/* equipped: the check badge on the corner */
/* (NOTES 295-296) a ball-yellow folded corner in the tile's top right: a layer the size of the tile, skewed about the same centre as the tile's face, so the corner sits exactly in the face's corner */
.lk-check{position:absolute;inset:0;z-index:2;pointer-events:none;transform:skewX(var(--lk-skew));border-radius:var(--lk-r);overflow:hidden}
.lk-check::before{content:"";position:absolute;right:0;top:0;width:var(--lk-check);height:var(--lk-check);background:linear-gradient(var(--lk-check-angle),var(--lk-cyan) 0 50%,transparent 50%)}      /* the cyan corner */
.lk-check::after{content:"";position:absolute;right:calc(var(--lk-check) * .5 - var(--lk-check) * .7071);top:calc(var(--lk-check) * .5);width:calc(var(--lk-check) * 1.4142);height:var(--lk-ol-thin);background:var(--lk-cyan-deep);transform:rotate(var(--lk-check-fold))}      /* its fold: one thin deep edge (an edge, never a fill) */
.lk-check svg{position:absolute;right:calc(var(--lk-check) * .08);top:calc(var(--lk-check) * .08);width:calc(var(--lk-check) * .46);height:calc(var(--lk-check) * .46);fill:none;stroke:var(--lk-white);stroke-width:4;filter:drop-shadow(0 calc(var(--lk-ol-thin) * .6) 0 var(--lk-cyan-deep));stroke-linecap:round;stroke-linejoin:round;transform:skewX(calc(var(--lk-skew) * -1))}

/* ---- the grids' bar: search, All / Owned / Unowned, sort (web/locker.js renderBar). Each block's face and drop are its ::before / ::after, slanted; what is inside stays straight ---- */
.lk-tray{display:flex;flex-direction:column}
.lk-scroll{flex:1 1 auto;min-height:0;overflow:auto;padding:var(--lk-scroll-pad);padding-inline:calc(var(--lk-scroll-pad) + var(--lk-lean-room));margin:calc(var(--lk-scroll-pad) * -1);scrollbar-width:thin}      /* --lk-lean-room: a slanted tile's foot and its selection ring reach past its box on the left (owner 2026-11-08: the first column's ring was cut off) */
.lk-bar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--lk-bar-gap);flex:none;margin-bottom:var(--lk-bar-mb);font-family:var(--font-display);font-weight:400;font-synthesis:none;font-size:var(--lk-bar-fs);color:var(--lk-ink)}
.lk-bar > *{position:relative;isolation:isolate;display:flex;align-items:center;height:var(--lk-bar-h);transition:transform var(--lk-t) var(--lk-spring)}
.lk-bar > *::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--lk-bar-r);background:var(--lk-bar-face);box-shadow:inset 0 0 0 var(--lk-bar-ol) var(--lk-ink);transform:skewX(var(--lk-bar-skew))}
.lk-bar > *::after{content:"";position:absolute;inset:0;z-index:-2;border-radius:var(--lk-bar-r);background:var(--lk-ink);transform:translate(var(--lk-bar-drop-x),var(--lk-bar-drop-y)) skewX(var(--lk-bar-skew))}
.lk-bar > :focus-within{transform:var(--lk-bar-lift)}
.lk-bar > :has(:focus-visible)::before{box-shadow:inset 0 0 0 var(--lk-bar-ol) var(--lk-ink), 0 0 0 var(--lk-ring) var(--lk-cyan), 0 0 0 calc(var(--lk-ring) + var(--lk-bar-ol)) var(--lk-ink)}
.lk-bar-ic{width:var(--lk-bar-icon);height:var(--lk-bar-icon);flex:none;fill:none;stroke:currentColor;stroke-width:var(--lk-bar-stroke);stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.lk-search{flex:1 1 var(--lk-search-min);min-width:0;gap:var(--lk-bar-gap);padding:0 var(--lk-bar-pad);cursor:text}
.lk-q{flex:1 1 auto;min-width:0;width:100%;height:100%;padding:0;margin:0;border:0;background:none;outline:0;font:inherit;font-family:var(--font-text);font-weight:400;color:inherit;-webkit-appearance:none;appearance:none}
.lk-q::-webkit-search-cancel-button{cursor:pointer}
.lk-own{flex:none}
.lk-chip{position:relative;isolation:isolate;height:100%;padding:0 var(--lk-chip-pad);margin:0;border:0;background:none;font:inherit;color:inherit;cursor:pointer}
.lk-chip::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--lk-bar-r);transform:skewX(var(--lk-bar-skew))}      /* a flat fill inside the block (UI rule 2), slanted with it: chosen is the cyan fill, outlined in the deep */
.lk-chip[aria-checked="true"]{color:var(--lk-on-label);} .lk-chip[aria-checked="true"]::before{background:var(--lk-chip-on);box-shadow:inset 0 0 0 var(--lk-bar-ol) var(--lk-cyan-deep), var(--cp-drop-deep-sm)}
.lk-chip:focus-visible{outline:0} .lk-chip:focus-visible::before{box-shadow:inset 0 0 0 var(--lk-bar-ol) var(--lk-ink)}
.lk-sort{flex:none;gap:var(--lk-bar-gap);padding:0 var(--lk-bar-pad);cursor:pointer}
.lk-sort-sel{flex:1 1 auto;min-width:0;height:100%;padding:0;margin:0;border:0;background:none;outline:0;font:inherit;color:inherit;cursor:pointer;-webkit-appearance:none;appearance:none}
.lk-bar :is(input,select,button):disabled,.lk-bar [aria-disabled="true"]{cursor:not-allowed;color:var(--lk-off-label)}

/* the starter, drawn (its rim, face and pattern carry the player's colours as SVG fills) */
.lk-starter .lk-grip{fill:var(--lk-grip)} .lk-starter .lk-ink{stroke:var(--lk-ink);stroke-width:1.6}

/* the default face */
.lk-face-skin{fill:var(--lk-face-skin);stroke:var(--lk-ink);stroke-width:2.5} .lk-face-blush{fill:var(--lk-face-blush)}
.lk-face-white{fill:var(--lk-face-white)} .lk-face-iris{fill:var(--lk-face-iris)} .lk-face-lid{fill:var(--lk-face-eye)}
.lk-face-mouth{fill:none;stroke:var(--lk-face-eye);stroke-width:2.2;stroke-linecap:round}

/* ---- the style editor (the starter only): three rows, each a label beside its choices (the choices wrap among themselves, never under the label) ---- */
.lk-style{display:flex;flex-direction:column;gap:var(--lk-style-gap)}
.lk-style-row{display:grid;grid-template-columns:var(--lk-label-w) minmax(0,1fr);align-items:center;column-gap:var(--lk-opt-gap)}
.lk-style-label{font-family:var(--font-display);font-weight:400;font-size:var(--lk-label-fs);color:var(--lk-label-c)}
.lk-style-opts{display:flex;flex-wrap:wrap;align-items:center;gap:var(--lk-opt-gap);padding:var(--lk-ring)}      /* (the padding: room for a chosen one's ring) */
.lk-swatch{width:var(--lk-swatch);height:var(--lk-swatch);padding:0;border:0;border-radius:50%;cursor:pointer;background:var(--c);box-shadow:0 0 0 var(--lk-ol-thin) var(--lk-ink), var(--lk-drop-sm-x) var(--lk-drop-sm-y) 0 var(--lk-ol-thin) var(--lk-ink);transition:transform var(--lk-t) var(--lk-spring)}
.lk-swatch[data-i="1"]{--c:var(--lk-swatch-1)} .lk-swatch[data-i="2"]{--c:var(--lk-swatch-2)} .lk-swatch[data-i="3"]{--c:var(--lk-swatch-3)} .lk-swatch[data-i="4"]{--c:var(--lk-swatch-4)}
.lk-swatch[data-i="5"]{--c:var(--lk-swatch-5)} .lk-swatch[data-i="6"]{--c:var(--lk-swatch-6)} .lk-swatch[data-i="7"]{--c:var(--lk-swatch-7)} .lk-swatch[data-i="8"]{--c:var(--lk-swatch-8)}
.lk-swatch[data-i="9"]{--c:var(--lk-swatch-9)} .lk-swatch[data-i="10"]{--c:var(--lk-swatch-10)} .lk-swatch[data-i="11"]{--c:var(--lk-swatch-11)} .lk-swatch[data-i="12"]{--c:var(--lk-swatch-12)}
.lk-swatch[data-pal="hair"][data-i="1"]{--c:var(--lk-hair-1)} .lk-swatch[data-pal="hair"][data-i="2"]{--c:var(--lk-hair-2)} .lk-swatch[data-pal="hair"][data-i="3"]{--c:var(--lk-hair-3)} .lk-swatch[data-pal="hair"][data-i="4"]{--c:var(--lk-hair-4)} .lk-swatch[data-pal="hair"][data-i="5"]{--c:var(--lk-hair-5)} .lk-swatch[data-pal="hair"][data-i="6"]{--c:var(--lk-hair-6)} .lk-swatch[data-pal="hair"][data-i="7"]{--c:var(--lk-hair-7)} .lk-swatch[data-pal="hair"][data-i="8"]{--c:var(--lk-hair-8)} .lk-swatch[data-pal="hair"][data-i="9"]{--c:var(--lk-hair-9)} .lk-swatch[data-pal="hair"][data-i="10"]{--c:var(--lk-hair-10)} .lk-swatch[data-pal="hair"][data-i="11"]{--c:var(--lk-hair-11)} .lk-swatch[data-pal="hair"][data-i="12"]{--c:var(--lk-hair-12)} .lk-swatch[data-pal="hair"][data-i="13"]{--c:var(--lk-hair-13)} .lk-swatch[data-pal="hair"][data-i="14"]{--c:var(--lk-hair-14)} .lk-swatch[data-pal="hair"][data-i="15"]{--c:var(--lk-hair-15)}
.lk-swatch[data-pal="skin"][data-i="1"]{--c:var(--lk-skin-1)} .lk-swatch[data-pal="skin"][data-i="2"]{--c:var(--lk-skin-2)} .lk-swatch[data-pal="skin"][data-i="3"]{--c:var(--lk-skin-3)} .lk-swatch[data-pal="skin"][data-i="4"]{--c:var(--lk-skin-4)} .lk-swatch[data-pal="skin"][data-i="5"]{--c:var(--lk-skin-5)}
/* the look's palettes (the Hair tab under its tiles, the Skin tab alone): the swatches only, no label */
.lk-pal{margin-top:var(--lk-pal-mt)} .lk-tray[data-tab="skin"] .lk-pal{margin-top:0}
.lk-swatch[data-pal="eye"][data-i="1"]{--c:var(--lk-eye-1)} .lk-swatch[data-pal="eye"][data-i="2"]{--c:var(--lk-eye-2)} .lk-swatch[data-pal="eye"][data-i="3"]{--c:var(--lk-eye-3)} .lk-swatch[data-pal="eye"][data-i="4"]{--c:var(--lk-eye-4)} .lk-swatch[data-pal="eye"][data-i="5"]{--c:var(--lk-eye-5)} .lk-swatch[data-pal="eye"][data-i="6"]{--c:var(--lk-eye-6)} .lk-swatch[data-pal="eye"][data-i="7"]{--c:var(--lk-eye-7)} .lk-swatch[data-pal="eye"][data-i="8"]{--c:var(--lk-eye-8)} .lk-swatch[data-pal="eye"][data-i="9"]{--c:var(--lk-eye-9)} .lk-swatch[data-pal="eye"][data-i="10"]{--c:var(--lk-eye-10)} .lk-swatch[data-pal="eye"][data-i="11"]{--c:var(--lk-eye-11)} .lk-swatch[data-pal="eye"][data-i="12"]{--c:var(--lk-eye-12)} .lk-swatch[data-pal="eye"][data-i="13"]{--c:var(--lk-eye-13)} .lk-swatch[data-pal="eye"][data-i="14"]{--c:var(--lk-eye-14)}
.lk-swatch[data-pal="out"][data-i="1"]{--c:var(--lk-out-1)} .lk-swatch[data-pal="out"][data-i="2"]{--c:var(--lk-out-2)} .lk-swatch[data-pal="out"][data-i="3"]{--c:var(--lk-out-3)} .lk-swatch[data-pal="out"][data-i="4"]{--c:var(--lk-out-4)} .lk-swatch[data-pal="out"][data-i="5"]{--c:var(--lk-out-5)} .lk-swatch[data-pal="out"][data-i="6"]{--c:var(--lk-out-6)} .lk-swatch[data-pal="out"][data-i="7"]{--c:var(--lk-out-7)} .lk-swatch[data-pal="out"][data-i="8"]{--c:var(--lk-out-8)} .lk-swatch[data-pal="out"][data-i="9"]{--c:var(--lk-out-9)} .lk-swatch[data-pal="out"][data-i="10"]{--c:var(--lk-out-10)} .lk-swatch[data-pal="out"][data-i="11"]{--c:var(--lk-out-11)} .lk-swatch[data-pal="out"][data-i="12"]{--c:var(--lk-out-12)} .lk-swatch[data-pal="out"][data-i="13"]{--c:var(--lk-out-13)} .lk-swatch[data-pal="out"][data-i="14"]{--c:var(--lk-out-14)} .lk-swatch[data-pal="out"][data-i="15"]{--c:var(--lk-out-15)} .lk-swatch[data-pal="out"][data-i="16"]{--c:var(--lk-out-16)}
.lk-face-pic[data-eye="1"] .lk-face-iris{fill:var(--lk-eye-1)} .lk-face-pic[data-eye="2"] .lk-face-iris{fill:var(--lk-eye-2)} .lk-face-pic[data-eye="3"] .lk-face-iris{fill:var(--lk-eye-3)} .lk-face-pic[data-eye="4"] .lk-face-iris{fill:var(--lk-eye-4)} .lk-face-pic[data-eye="5"] .lk-face-iris{fill:var(--lk-eye-5)} .lk-face-pic[data-eye="6"] .lk-face-iris{fill:var(--lk-eye-6)} .lk-face-pic[data-eye="7"] .lk-face-iris{fill:var(--lk-eye-7)} .lk-face-pic[data-eye="8"] .lk-face-iris{fill:var(--lk-eye-8)} .lk-face-pic[data-eye="9"] .lk-face-iris{fill:var(--lk-eye-9)} .lk-face-pic[data-eye="10"] .lk-face-iris{fill:var(--lk-eye-10)} .lk-face-pic[data-eye="11"] .lk-face-iris{fill:var(--lk-eye-11)} .lk-face-pic[data-eye="12"] .lk-face-iris{fill:var(--lk-eye-12)} .lk-face-pic[data-eye="13"] .lk-face-iris{fill:var(--lk-eye-13)} .lk-face-pic[data-eye="14"] .lk-face-iris{fill:var(--lk-eye-14)}      /* the face tile's eyes in the chosen colour */
.lk-swatch-default{--c:var(--lk-face-white);background:linear-gradient(var(--lk-default-slash), transparent 44%, var(--lk-ink) 44%, var(--lk-ink) 56%, transparent 56%), var(--c)}      /* Default: today's look (a slash: none chosen) */
.lk-sect{display:flex;flex-direction:column;gap:var(--lk-pal-gap);margin-top:var(--lk-pal-mt)} .lk-sect:first-child{margin-top:0}
.lk-sect-name{display:flex;align-items:center;gap:var(--lk-pal-gap);font-weight:700;font-size:var(--lk-sect-size);color:var(--lk-label-c)} .lk-sect-name::after{content:"";flex:1;height:var(--lk-ol-thin);background:var(--lk-ink);opacity:var(--lk-sect-rule-a)}      /* a header and a rule to the edge: the Look and Clothes tabs' sections (NOTES 438) */      /* the Clothes tab's Shirt, Pants and Shoes; the eyes */
/* (NOTES 546) a colour group's Reset: an icon button at the head's far end, past its rule; off (faint, no press) while the colours are the item's own colourway */
.lk-sect-name::after{order:1} .lk-way-reset{order:2;flex:none;display:grid;place-items:center;width:var(--lk-way-reset-d);height:var(--lk-way-reset-d);padding:0;border:var(--lk-ol-thin) solid var(--lk-ink);border-radius:50%;background:var(--lk-white);color:var(--lk-ink);cursor:pointer;transition:transform var(--lk-way-reset-t) ease,opacity var(--lk-way-reset-t) ease}
.lk-way-reset svg{width:var(--lk-way-reset-ic);height:var(--lk-way-reset-ic);fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.lk-way-reset:hover{transform:rotate(var(--lk-way-reset-hover)) scale(1.06)} .lk-way-reset:active{transform:rotate(var(--lk-way-reset-press)) scale(.94)}
.lk-way-reset:focus-visible{outline:0;box-shadow:0 0 0 var(--lk-ring) var(--lk-cyan)}
.lk-way-reset[aria-disabled="true"]{opacity:var(--lk-way-reset-off);cursor:default;transform:none}
.lk-pats{display:grid;grid-template-columns:repeat(6, var(--lk-pal-swatch));gap:var(--lk-pal-gap)} html[data-mobile] .lk-pats{grid-template-columns:repeat(6, var(--lk-pal-swatch-phone));gap:var(--lk-pal-gap-phone)}
.lk-pat{width:var(--lk-pal-swatch);height:var(--lk-pal-swatch);padding:0;border:0;border-radius:var(--lk-ol-thin);overflow:hidden;cursor:pointer;background:none;box-shadow:0 0 0 var(--lk-ol-thin) var(--lk-ink)} html[data-mobile] .lk-pat{width:var(--lk-pal-swatch-phone);height:var(--lk-pal-swatch-phone)}
.lk-pat-pic{display:block;width:100%;height:100%} .lk-pat[aria-checked="true"],.lk-pat:focus-visible{outline:0;box-shadow:0 0 0 var(--lk-ol-thin) var(--lk-ink), 0 0 0 var(--lk-ring) var(--lk-cyan), 0 0 0 calc(var(--lk-ring) * 1.3) var(--lk-ink)} .lk-pat[aria-disabled="true"]{cursor:not-allowed}
.lk-pal .lk-pal-opts{gap:var(--lk-pal-gap)} .lk-pal .lk-swatch{width:var(--lk-pal-swatch);height:var(--lk-pal-swatch)}
.lk-swatch[aria-disabled="true"]{cursor:not-allowed}
html[data-mobile] .lk-pal .lk-pal-opts{gap:var(--lk-pal-gap-phone)} html[data-mobile] .lk-pal .lk-swatch{width:var(--lk-pal-swatch-phone);height:var(--lk-pal-swatch-phone)}      /* a phone: the hair colours wrap to two rows of seven */
.lk-swatch[aria-checked="true"],.lk-swatch:focus-visible{outline:0;transform:scale(var(--lk-chosen-scale));box-shadow:0 0 0 var(--lk-ol-thin) var(--lk-ink), 0 0 0 var(--lk-ring) var(--lk-cyan), 0 0 0 calc(var(--lk-ring) * 1.3) var(--lk-ink), var(--lk-drop-sm-x) var(--lk-drop-sm-y) 0 calc(var(--lk-ring) * 1.3) var(--lk-ink)}
@media (hover:hover){ .lk-swatch:hover{transform:scale(var(--lk-hover-scale))} }
.lk-pattern{width:var(--lk-pattern-w);aspect-ratio:2/3;padding:calc(var(--lk-ol-thin) * .9);border:0;border-radius:var(--lk-r);cursor:pointer;background:var(--lk-face);box-shadow:0 0 0 var(--lk-ol-thin) var(--lk-ink), var(--lk-drop-sm-x) var(--lk-drop-sm-y) 0 var(--lk-ol-thin) var(--lk-ink);transition:transform var(--lk-t) var(--lk-spring)}
.lk-pattern svg{width:100%;height:100%;display:block}
.lk-pattern[aria-checked="true"],.lk-pattern:focus-visible{outline:0;transform:scale(var(--lk-pattern-scale));box-shadow:0 0 0 var(--lk-ol-thin) var(--lk-ink), 0 0 0 var(--lk-ring) var(--lk-cyan), 0 0 0 calc(var(--lk-ring) * 1.3) var(--lk-ink), var(--lk-drop-sm-x) var(--lk-drop-sm-y) 0 calc(var(--lk-ring) * 1.3) var(--lk-ink)}

/* ---- racket mastery (NOTES 359): the finish on a still, the ring on a tile, the Finish row under the tray ---- */
.lk-fin-tint{position:absolute;inset:0;margin:auto;pointer-events:none;background:var(--lk-pic-url) center / contain no-repeat;filter:var(--fin-f)}      /* the still itself again, its value mapped onto the material (NOTES 389), over the plain still */
.lk-item-face > .lk-fin-tint{width:auto;height:100%;max-width:none;aspect-ratio:1;transform:rotate(calc(var(--lk-stage-lean) * var(--lk-deg))) scale(calc(var(--lk-pic-lean-scale) * var(--fit-s,1) * var(--lk-racket-zoom,1))) translate(var(--fit-x,0%),var(--fit-y,0%))}      /* the picture's own box and fit, so the mask lies on the racket */
.lk-item-face:has(> .lk-fin-tint) > img.lk-pic{visibility:hidden}      /* a finish: the tint draws the whole still (the racket and its glow in the finish's colours, NOTES 395) */
.lk-fin-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}      /* the filters' own svg (locker.js finFilters): takes no room */
.lk-fin-tint[data-fin="pearl"]{--fin-f:var(--lk-fin-f-pearl)} .lk-fin-tint[data-fin="obsidian"]{--fin-f:var(--lk-fin-f-obsidian)} .lk-fin-tint[data-fin="chrome"]{--fin-f:var(--lk-fin-f-chrome)}
.lk-item-ring{position:absolute;left:calc(var(--lk-pic-pad) * .6 + var(--lk-face-lean-pad));top:calc(var(--lk-pic-pad) * .6);width:var(--lk-mring);height:var(--lk-mring);display:grid;place-items:center;z-index:1;pointer-events:none;
  border-radius:50%;background:var(--lk-ring-face)}
.lk-item-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(var(--lk-ring-start))}
.lk-ring-bg,.lk-ring-fg{fill:none;stroke-width:var(--lk-ring-w)} .lk-ring-bg{stroke:var(--lk-ring-bg)} .lk-ring-fg{stroke:var(--ring,var(--lk-ring-pearl));stroke-linecap:round}
.lk-item-ring[data-next="pearl"]{--ring:var(--lk-ring-pearl)} .lk-item-ring[data-next="obsidian"]{--ring:var(--lk-ring-obsidian)} .lk-item-ring[data-next="chrome"],.lk-item-ring[data-next="done"]{--ring:var(--lk-ring-chrome)}      /* the next finish's colour, a shade that reads on white */
.lk-ring-n{position:relative;font:400 var(--lk-ring-fs)/1 var(--font-display);color:var(--lk-ink)}
.lk-fin-row{display:grid;grid-template-columns:var(--lk-label-w) minmax(0,1fr);align-items:center;column-gap:var(--lk-opt-gap);row-gap:var(--lk-fin-ring);margin-top:var(--lk-fin-row-mt)}
.lk-fin-opts{display:flex;flex-wrap:wrap;align-items:center;gap:var(--lk-fin-gap);padding:var(--lk-fin-ring)}
.lk-fin{position:relative;width:var(--lk-fin-chip);height:var(--lk-fin-chip);padding:0;border:0;border-radius:50%;cursor:pointer;background:var(--c);display:grid;place-items:center;
  box-shadow:0 0 0 var(--lk-ol-thin) var(--lk-ink), var(--lk-ol-thin) calc(var(--lk-ol-thin) * 1.25) 0 var(--lk-ol-thin) var(--lk-ink);transition:transform var(--lk-t) var(--lk-spring)}
.lk-fin[data-fin="plain"]{--c:var(--lk-fin-plain)} .lk-fin[data-fin="pearl"]{--c:var(--lk-fin-pearl);--fb:var(--lk-fin-pearl-band)} .lk-fin[data-fin="obsidian"]{--c:var(--lk-fin-obsidian);--fb:var(--lk-fin-obsidian-band)} .lk-fin[data-fin="chrome"]{--c:var(--lk-fin-chrome);--fb:var(--lk-fin-chrome-band)}
.lk-fin[data-fin]:not([data-fin="plain"]){background:linear-gradient(var(--c) 0 var(--lk-fin-band-at),var(--fb) var(--lk-fin-band-at) calc(var(--lk-fin-band-at) + var(--lk-fin-band-w)),var(--c) 0) var(--c)}      /* the material's flat colour and its one thin hard band */
.lk-fin[data-fin="plain"]::after{content:"";width:58%;height:var(--lk-ol-thin);background:var(--lk-ink);transform:rotate(var(--lk-fin-slash));border-radius:50%}      /* plain: a slash, no colour */
.lk-fin[data-state="locked"]{cursor:pointer} .lk-fin[data-state="locked"] svg{width:70%;height:70%;overflow:visible}
.lk-fin[aria-disabled="true"]:not([data-state="locked"]){cursor:default}
.lk-fin[aria-checked="true"],.lk-fin[data-peek="true"],.lk-fin:focus-visible{outline:0;transform:scale(var(--lk-chosen-scale));box-shadow:0 0 0 var(--lk-ol-thin) var(--lk-ink), 0 0 0 var(--lk-fin-ring) var(--lk-cyan), 0 0 0 calc(var(--lk-fin-ring) * 1.6) var(--lk-ink), var(--lk-drop-sm-x) var(--lk-drop-sm-y) 0 calc(var(--lk-fin-ring) * 1.6) var(--lk-ink)}
.lk-fin-opts[data-peek] .lk-fin[aria-checked="true"]:not(:focus-visible){transform:none;box-shadow:0 0 0 var(--lk-ol-thin) var(--lk-ink), var(--lk-ol-thin) calc(var(--lk-ol-thin) * 1.25) 0 var(--lk-ol-thin) var(--lk-ink)}      /* a locked finish previewed (NOTES 403): the ring is on what the stage shows, as a locked tile's selection */
@media (hover:hover){ .lk-fin:not([aria-disabled="true"]):hover{transform:scale(var(--lk-hover-scale))} }
.lk-fin-how{grid-column:2;font-family:var(--font-display);font-weight:400;font-size:var(--lk-fin-how-fs);color:var(--cp-text-2)}
html:not([data-mobile]) #lobby-locker .lk-fin-row{transform:var(--lk-unslant,none)}      /* the catalogue slab (NOTES 367) shears the panel: the Finish row stands back upright, as the bar and the actions do, so its chips stay round (NOTES 370) */
/* ---- the actions: Edit style and Equip on the right ---- */
.lk-acts{display:flex;align-items:stretch;gap:var(--lk-acts-gap)}
.lk-acts-gap{flex:1 1 auto}
.lk-acts .btn{height:auto;font-size:var(--lk-act-fs);--bf:var(--cp-sec);color:var(--cp-sec-label)}
.lk-acts .lk-equip{min-width:var(--lk-equip-w);font-size:var(--lk-equip-fs);--bf:var(--lk-equip-face);--bo:var(--lk-cyan-deep);--glo:var(--lk-equip-glow);color:var(--lk-on-label);}
.lk-acts .lk-equip:active{--bf:var(--lk-cyan-press)}
.lk-acts .lk-equip[aria-disabled="true"]{--bf:var(--lk-face);--bo:var(--lk-ink);color:var(--lk-ink);cursor:default}      /* Equipped: the plain plate, the word alone */
.lk-acts :is(.lk-edit,.lk-styles)[aria-pressed="true"]{--bf:var(--lk-edit-on);--bo:var(--lk-cyan-deep);color:var(--lk-on-label);}      /* Styles (the Rank racket's) looks and sits as Edit style (the starter's) */
/* switched off (Reset, Edit style, Equip on a locked racket): whole and opaque, so it never fades into the stadium behind it, but plainly not pressable */
#screen-lobby :is(.lk-head .lk-reset,.lk-acts .btn)[aria-disabled="true"]:not([data-equipped="true"]){--bf:var(--lk-off-face);--glo:transparent;color:var(--lk-off-label);cursor:default}

/* ---- the phone block in the Locker's top bar (web/locker.js phoneBar moves the one #btn-phone there while the Locker shows; ua-phone.css draws it) ---- */
#screen-lobby .head-end #btn-phone{position:relative;right:auto;top:auto;width:var(--lk-phone-w);height:var(--lk-phone-h);flex:none}
#screen-lobby .head-end #btn-phone .pp-ic{width:var(--lk-phone-icon);height:var(--lk-phone-icon)}

/* ---- the stage: the racket close-up on its plate (live canvas on a desktop, a still on a phone) ---- */
.lk-stage{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center}
.lk-stage::before{display:none;content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--lk-stage-r);background:var(--lk-stage-bg);box-shadow:inset 0 0 0 var(--lk-ol) var(--lk-ink), var(--cp-drop);transform:skewX(var(--lk-stage-skew))}
.lk-stage-canvas{width:100%;height:100%;display:block;cursor:grab;touch-action:none} .lk-stage-canvas:active{cursor:grabbing}
.lk-stage-still{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:var(--lk-still-pad)}
.lk-stage-still > :is(img,svg){max-width:100%;max-height:100%;object-fit:contain;transform:rotate(calc(var(--lk-stage-lean) * var(--lk-deg))) scale(.86)}
.lk-stage-still > .lk-fin-tint{position:relative;inset:auto;width:100%;height:100%;transform:rotate(calc(var(--lk-stage-lean) * var(--lk-deg))) scale(.86)}      /* a phone: the finish's tint stands in for the still (it draws the whole still) */
.lk-stage:not([data-tab="rackets"]):not([data-tab="trails"]){display:none}
html:not([data-mobile]) #lobby-locker .lk-stage:not([data-tab="rackets"]):not([data-tab="trails"]):has(.lk-info[data-look]){display:flex;pointer-events:none} html:not([data-mobile]) #lobby-locker .lk-stage:not([data-tab="rackets"]):not([data-tab="trails"]) .lk-stage-canvas{visibility:hidden}      /* a wear tab on a desktop: the stage shows only the look card (lookInfo) over the kid; its canvas stays laid out but unseen and the swivel under it still takes the drag */
.lk-stage-still > img.lk-trail-still{height:100%;aspect-ratio:1;object-fit:contain;transform:none}      /* a phone's Trails tab: the trail's picture, upright (it carries its own ink line) */
.lk-stage[data-hand="true"]{visibility:hidden}      /* In hand: the kid behind it holds the racket instead (web/scene.js setHomePreview) */      /* the Face tab: no close-up, the figure shows */

/* ======================================================= 3. LAYOUT ======================================================= */
/* ---- a desktop where the figure stands on the left (ua-views.css's right column): the panel is the tray, the actions dock under it, the stage stands over the figure
   (while it shows, web/scene.js keeps the figure out of sight behind it: locker.js tells main.js, scene.setKidAway) ---- */
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby #lobby-locker.panel.lobby-view{padding:0 var(--lk-col-pad-r) 0 var(--lk-col-pad-l);overflow:visible}
  html:not([data-mobile]) #screen-lobby #lobby-locker.panel.lobby-view::before{top:var(--lk-head-h)}
  html:not([data-mobile]) #lobby-locker .lk-head{margin:0 calc(var(--lk-col-pad-r) * -1) 0 calc(var(--lk-col-pad-l) * -1);padding:0 var(--lk-head-pad)}
  html:not([data-mobile]) #screen-lobby #lobby-locker.panel.lobby-view{height:calc(var(--vtray) + var(--vgap) + var(--vact))}      /* the panel runs down to where the actions sat: they are inside it now */
  html:not([data-mobile]) #lobby-locker .lk-acts{flex:none;height:var(--lk-row-h);padding:var(--lk-row-pad)}
  html:not([data-mobile]) #lobby-locker .lk-stage{position:absolute;right:calc(100% + var(--lk-stage-gap));top:calc(var(--lk-stage-top) - var(--vt) * .65);width:var(--lk-stage-w);height:calc(var(--vtray) - var(--lk-stage-top) + var(--vt) * .65 + var(--vgap) + var(--vact))}
  /* the Locker has no name row, so a guest with no name yet keeps the whole tray (ua-views.css shortens every view's tray by the height of the name row the other views show them) */
  html:not([data-mobile]) #screen-lobby[data-view="locker"]:is(.needs-name,:has(#name-input:focus)) #lobby-locker.panel.lobby-view{height:calc(var(--vtray) + var(--vgap) + var(--vact))}
  /* the catalogue slab (NOTES 367): the panel itself is sheared to the slant and carries the plate (the views' own plate, #lobby-locker::before, steps aside); what stands in it is set back
     upright row by row (the head, the bar, the actions, the style editor's rows, the palettes) and tile by tile (the grid scrolls on the slant, so its rows keep to the slab's edges) */
  html:not([data-mobile]) #screen-lobby #lobby-locker.panel.lobby-view::before{display:none}
  html:not([data-mobile]) #lobby-locker .lk-panel{position:relative;isolation:isolate;transform:skewX(var(--lk-slab-skew));--lk-unslant:skewX(calc(var(--lk-slab-skew) * -1))}
  html:not([data-mobile]) #lobby-locker .lk-panel::before{content:"";position:absolute;top:var(--lk-slab-top);bottom:0;left:calc(var(--lk-col-pad-l) * -1);right:calc((var(--lk-col-pad-r) + var(--lk-slab-bleed)) * -1);z-index:-1;
    border-radius:var(--lk-slab-r);background:var(--lk-slab-face);box-shadow:inset 0 0 0 var(--lk-slab-ol-w) var(--lk-slab-ol), var(--lk-slab-drop-x) var(--lk-slab-drop-y) 0 var(--lk-slab-ol)}
  html:not([data-mobile]) #lobby-locker :is(.lk-head,.lk-bar,.lk-acts,.lk-style-row,.lk-pal){transform:var(--lk-unslant)}
  html:not([data-mobile]) #lobby-locker .lk-head{margin-right:var(--lk-slab-head-r);--lk-tab-pad:var(--lk-slab-tab-pad)}      /* a little narrower tabs: the row ends inside the screen, Reset whole */
  /* (owner 2026-11-10, NOTES 446: "should stay slanted") the scrolling grid leans with the slab again, its rows along the slant, parallel to the slab's edges; was stood upright in the full sweep */
  html:not([data-mobile]) #lobby-locker .lk-tray{--lk-skew:var(--lk-slab-skew)}      /* every tile leans with the slab: one slant, in every tab */
  html:not([data-mobile]) #lobby-locker .lk-stage{--lk-stage-skew:var(--lk-slab-skew)}      /* and so does the racket's card on the stage */
  html:not([data-mobile]) #lobby-locker .lk-info{--lk-slab-foot:calc((var(--vtray) + var(--vgap) + var(--vact)) * .5 * tan(calc(var(--lk-slab-skew) * -1)));right:calc(var(--lk-info-r) + var(--lk-slab-foot))}      /* the slab's foot reaches left by its shear: the card's right edge keeps the same gap from it, parallel */
}
/* the full-height slab (NOTES 404): the view alone on a computer (ua-views.css), the column runs from Back's line to the window's foot and the slab off the top and bottom edges, still
   slanted; the tabs stand at its top, the actions at its foot. The stage keeps its place over the figure (--vshift: how far the column rose) and its foot on the slab's */
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-panel::before{top:calc(var(--vtop) * -1 - var(--vbleed));bottom:calc((var(--vbot) + var(--vbleed)) * -1)}
  html:not([data-mobile]) #screen-lobby #lobby-locker :is(.lk-stage,.lk-swivel[data-on="true"]){top:calc(var(--lk-stage-top) - var(--vt) * .65 + var(--vshift));height:calc(var(--vtray) + var(--vgap) + var(--vact) - var(--lk-stage-top) + var(--vt) * .65 - var(--vshift))}
}
/* ---- the entry plate: centred in the slot under the kid (ua-home.css #home-kid-slot is a zero-size point at his feet); in the flow under the blocks where the home stacks, and on a phone ---- */
html:not([data-mobile]) #lobby-home #home-kid-slot #btn-locker{position:absolute;left:0;top:0;translate:-50% 0;pointer-events:auto}
#kid-hit{display:none}      /* the kid himself opens the Locker: a mouse target over his figure, standing on the slot (the plate stays the keyboard and screen-reader way in) */
html:not([data-mobile]) #lobby-home #home-kid-slot #kid-hit{display:block;position:absolute;left:calc(var(--lk-kid-hit-w) * -.5);bottom:var(--lk-kid-hit-foot);width:var(--lk-kid-hit-w);height:var(--lk-kid-hit-h);pointer-events:auto;cursor:pointer;border-radius:40% 40% 20% 20%}      /* (the slot itself lets the pointer through to the court) */
@media (max-width:980px), (max-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby #lobby-home #home-kid-slot{display:flex;justify-content:center;align-items:flex-start;position:static;width:auto;height:auto;translate:none;margin:var(--lk-slot-gap-narrow)}
  html:not([data-mobile]) #lobby-home #home-kid-slot #btn-locker{position:relative;translate:none}
  html:not([data-mobile]) #lobby-home #home-kid-slot #kid-hit{display:none}      /* stacked: the kid is not beside the blocks */
}
html[data-mobile] #lobby-home #home-kid-slot{display:flex;justify-content:center;margin:var(--lk-slot-gap-phone);grid-column:1 / -1}
/* ---- a narrow or upright desktop window, and a phone: one column (the stage, the panel, the actions), the actions clear of the footer ---- */
@media (max-width:980px), (max-aspect-ratio:6/5){
  #lobby-locker .lk-stage{height:var(--lk-stage-h-narrow);margin:0 0 var(--lk-stage-mb-narrow)}
  #lobby-locker .lk-grid{--lk-cols:var(--lk-cols-narrow)}
  #lobby-locker .lk-acts{margin:var(--lk-acts-mt-narrow) 0 var(--lk-foot-clear)}
  #lobby-locker .lk-acts .btn{height:var(--lk-act-h-narrow);flex:none}
}
html[data-mobile] #lobby-locker .lk-stage{height:var(--lk-stage-h-phone);margin:0 0 var(--lk-stage-mb-phone)}
html[data-mobile] #lobby-locker .lk-stage:not([data-tab="rackets"]):not([data-tab="trails"]):has(.lk-info[data-look]){display:block;height:auto} html[data-mobile] #lobby-locker .lk-stage:not([data-tab="rackets"]):not([data-tab="trails"]) :is(.lk-stage-still,.lk-stage-canvas){display:none} html[data-mobile] #lobby-locker .lk-stage:not([data-tab="rackets"]):not([data-tab="trails"]) .lk-info{position:relative;left:auto;right:auto;bottom:auto}      /* a phone's wear tab: no stage, the look card alone above the panel */
html[data-mobile] #lobby-locker .lk-grid{--lk-cols:var(--lk-cols-phone)}
html[data-mobile] #lobby-locker .lk-head{height:auto;flex-wrap:wrap;margin-bottom:var(--lk-head-mb-phone)}
html[data-mobile] #lobby-locker .lk-acts{margin:var(--lk-acts-mt-phone) 0 var(--lk-foot-clear);flex-wrap:wrap}
html[data-mobile] #lobby-locker .lk-acts .btn{height:var(--lk-act-h-phone);flex:none;font-size:var(--lk-act-fs-phone)}
html[data-mobile] #lobby-locker .lk-acts .lk-equip{min-width:0;flex:1 1 auto;font-size:var(--lk-equip-fs-phone)}
html[data-mobile] #lobby-locker .lk-acts .lk-acts-gap{display:none}
html[data-mobile] #lobby-locker .lk-search{flex-basis:100%}      /* a phone: the search its own row, the chips and the sort under it */
html[data-mobile] #lobby-locker .lk-sort{margin-left:auto}

@media (prefers-reduced-motion: reduce){ #btn-locker,.lk-item,.lk-swatch,.lk-pattern{transition:none} #btn-locker.is-opening svg{animation:none} }

/* a pick redraws the Locker's panel; only opening the view slides it in (owner 2026-11-07: "the entire side of the screen slides in again") */
#screen-lobby #lobby-locker[data-settled] > *,#screen-lobby #lobby-locker[data-settled]::before{animation:none!important}
/* the Face tab's items stand upright: the lean is the rackets' only (owner 2026-11-07) */
#lobby-locker .lk-item[data-id^="face"] .lk-item-face > :is(img,svg){transform:none}
/* the swivel: a drag area over the kid where he stands in the Locker (In hand, the Face tab); same place as the racket stage */
.lk-swivel{display:none}
html:not([data-mobile]) #lobby-locker .lk-swivel[data-on="true"]{display:block;position:absolute;right:calc(100% + var(--lk-stage-gap));top:calc(var(--lk-stage-top) - var(--vt) * .65);width:var(--lk-stage-w);height:calc(var(--vtray) - var(--lk-stage-top) + var(--vt) * .65 + var(--vgap) + var(--vact));cursor:grab;touch-action:none}
html:not([data-mobile]) #lobby-locker .lk-swivel[data-on="true"]:active{cursor:grabbing}
/* the racket's drawing area reaches past its box (the leaning racket at double size was cut at the box's edge); locker3d.js ZOOM is set for this larger canvas */
html:not([data-mobile]) #lobby-locker .lk-stage-canvas{position:absolute;left:-30%;top:-15%;width:140%;height:130%}

/* the selected racket's card at the foot of the stage (locker.js renderInfo, owner 2026-11-08 "kind of like Fortnite"): the kind in the rarity's colour, the name big, how it is had.
   One slant, one ink outline, one hard drop, flat fills. It stays when In hand hides the floating racket */
.lk-info{--frame:var(--lk-rarity-starter);position:absolute;left:var(--lk-info-l);right:var(--lk-info-r);bottom:0;z-index:2;visibility:visible;display:grid;gap:var(--lk-info-gap);padding:var(--lk-info-pad);color:var(--lk-ink);pointer-events:none;isolation:isolate}
.lk-info::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--lk-r);background:var(--frame);box-shadow:inset 0 0 0 var(--lk-ol) var(--lk-ink),var(--cp-drop);transform:skewX(var(--lk-stage-skew))}
.lk-info[data-rarity="common"]{--frame:var(--lk-rarity-common)} .lk-info[data-rarity="rare"]{--frame:var(--lk-rarity-rare)} .lk-info[data-rarity="epic"]{--frame:var(--lk-rarity-epic)}
.lk-info[data-rarity="legendary"]{--frame:var(--lk-rarity-legendary)} .lk-info[data-rarity="mythic"]{--frame:var(--lk-rarity-mythic)}
.lk-info[data-rarity="exclusive"]{--frame:var(--lk-rarity-exclusive)} .lk-info[data-rarity="exclusive"]::before{background:var(--lk-rarity-exclusive-fill)}
.lk-info-kind{justify-self:start;font-family:var(--font-display);font-weight:400;font-synthesis:none;font-size:var(--lk-info-kind-fs);line-height:1;color:var(--cp-text);background:var(--cp-panel);padding:var(--lk-info-kind-pad);border-radius:var(--lk-info-kind-r);margin-bottom:calc(var(--cp-drop-sm-y) + var(--lk-info-kind-mb));box-shadow:inset 0 0 0 var(--cp-ol-sm) var(--lk-ink), var(--cp-drop-sm)}      /* the rarity as a solid chip in its colour, white words (owner 2026-11-09: the outlined coloured words were hard to read) */
.lk-info[data-rarity="starter"]{--frame:var(--lk-info-starter)}      /* (Cyan pop sweep) the starter's card is the white plate */
.lk-info-name{font-family:var(--font-display);font-weight:400;font-size:var(--lk-info-name-fs);line-height:1.05}
.lk-info-how{display:flex;align-items:center;gap:var(--lk-info-how-gap);font-family:var(--font-display);font-weight:400;font-size:var(--lk-info-how-fs);line-height:1.25;color:var(--lk-info-how-c)}
.lk-info-how .lk-lock-pic{flex:none;width:var(--lk-info-lock-w);height:var(--lk-info-lock-h)}
.lk-stage:not([data-tab="rackets"]):not([data-tab="trails"]) .lk-info:not([data-look]){display:none} .lk-info[hidden]{display:none}      /* the wear tabs show the look card (locker.js lookInfo) */
.lk-info-how .lk-item-price{position:static}      /* the look card's price: the tile's coin chip, in the line */
html:not([data-mobile]) #lobby-locker .lk-stage:is([data-tab="rackets"],[data-tab="trails"]){align-items:flex-start}
html:not([data-mobile]) #lobby-locker .lk-stage:is([data-tab="rackets"],[data-tab="trails"]) .lk-stage-canvas{top:calc((100% - var(--lk-view-foot)) * -.08);height:calc((100% - var(--lk-view-foot)) * 1.3)}      /* the racket is framed above its card, with room between (owner 2026-11-08) */

/* the info card in its rarity's colour, whole (owner 2026-11-09: "make the item label the ENTIRE colour of the rarity ... more bold and fun"): white words on the dark frames, ink on the light ones; the kind chip turns ink so it still stands out */
.lk-info{color:var(--lk-white)} .lk-info .lk-info-how{color:var(--lk-white);opacity:.92}      /* the kind is the white chip on every card (Cyan pop sweep: no ink chip) */
.lk-info:is([data-rarity="legendary"],[data-rarity="exclusive"],[data-rarity="common"],[data-rarity="starter"]){color:var(--cp-text)} .lk-info:is([data-rarity="legendary"],[data-rarity="exclusive"],[data-rarity="common"],[data-rarity="starter"]) .lk-info-how{color:var(--cp-text-2);opacity:1}

/* ---- (NOTES 405, owner 2026-11-09) the Locker's column a little narrower: "the half side ui takes up a bit too much space, its look like 60%" (--lk-vcol, about 5% of the window back to the stage);
   its top row stays on one line (tighter tabs, "In hand" never wraps) ---- */
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby[data-view="locker"]{--vcol:var(--lk-vcol)}
  html:not([data-mobile]) #screen-lobby[data-view="locker"] #lobby-locker{--lk-slab-tab-pad:var(--lk-head-tab-pad)}
  html:not([data-mobile]) #screen-lobby[data-view="locker"] #lobby-locker .lk-head .btn{white-space:nowrap}
}
/* ---- the Finish row as its own section under the grid ("this thing needs fixing and hierarchy"): a darker inset band with a rule on top, the word Finish its heading inside the band (no longer
   cut off by the slab's edge), bigger chips that show their material when locked (the lock a small corner badge, as on the tiles), the line under them quieter ---- */
#lobby-locker .lk-fin-row{grid-template-columns:auto minmax(0,1fr);column-gap:var(--lk-fin-band-gap);padding:var(--lk-fin-band-pad);border-radius:var(--lk-r);background:var(--lk-fin-band-bg);box-shadow:inset 0 var(--lk-fin-band-rule-w) 0 var(--lk-fin-band-rule)}
#lobby-locker .lk-fin-row .lk-style-label{grid-row:1 / span 2;align-self:center}
#lobby-locker .lk-fin-how{opacity:var(--lk-fin-how-op);padding-left:var(--lk-fin-ring)}
#lobby-locker .lk-fin[data-state="locked"] svg{position:absolute;right:var(--lk-fin-badge-off);bottom:var(--lk-fin-badge-off);width:var(--lk-fin-badge);height:var(--lk-fin-badge)}
/* the card naming a finish ("Master III Obsidian mastery") stays on one line */
.lk-info[data-fin] .lk-info-name{font-size:calc(var(--lk-info-name-fs) * var(--lk-info-fin-k));white-space:nowrap}
/* (owner 2026-11-09: "ensure trail renders dont get cutoff") the Trails tab's canvas reaches well past the stage on both sides, so the ribbon's tail streams off the window's edge (or under the
   slab) instead of ending on a hard line in the open; centred as before, its height unchanged, so the ball keeps its place and size (locker3d.js frames by height) */
html:not([data-mobile]) #lobby-locker .lk-stage[data-tab="trails"] .lk-stage-canvas{left:var(--lk-trail-cv-l);width:var(--lk-trail-cv-w)}
html:not([data-mobile]) #lobby-locker .lk-stage:is([data-tab="rackets"],[data-tab="trails"]) .lk-stage-canvas{
  -webkit-mask-image:linear-gradient(to right,transparent,var(--lk-mask) var(--lk-cv-fade-x),var(--lk-mask) calc(100% - var(--lk-cv-fade-x)),transparent),linear-gradient(to bottom,transparent,var(--lk-mask) var(--lk-cv-fade-y),var(--lk-mask) calc(100% - var(--lk-cv-fade-y)),transparent);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent,var(--lk-mask) var(--lk-cv-fade-x),var(--lk-mask) calc(100% - var(--lk-cv-fade-x)),transparent),linear-gradient(to bottom,transparent,var(--lk-mask) var(--lk-cv-fade-y),var(--lk-mask) calc(100% - var(--lk-cv-fade-y)),transparent);mask-composite:intersect}      /* (NOTES 415, owner 2026-11-09: the racket's aura was cut off on the canvas's edge) every edge of the stage's canvas fades out (the racket's keeps its width: its framing reads the width), so no glow ever ends on a line */
/* ---- (NOTES 409, then NOTES 420's overhaul, owner 2026-11-09: "no visual hierarchy, as everything is thrown into the same box ... the color usage for buttons to show that you're clicked
   into something is very poor"). One rule for every state: ON / SELECTED is the cyan fill, its outline and drop in the deep, white words with the deep text outline (Cyan pop; was the neon fill with ink words) (a tab, a filter chip, Styles, In hand); a plain control is the white plate; a control
   that can't act is dim; Equip is the one large action at the band's right. The places: the tabs on the slab's top edge; the filter strip (Styles first) over the grid; the Finish row and Equip
   in one band at the slab's foot; In hand and Reset, which change the preview, over the stage beside the slab ---- */
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-tab[aria-checked="true"]{color:var(--lk-on-label)}
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-tab[aria-checked="true"]::before{background:var(--lk-on-face);box-shadow:inset 0 0 0 var(--vw-ol) var(--lk-cyan-deep), var(--cp-drop-deep-sm)}      /* the tab you are in: the cyan fill, the views' outline and drop in the deep (no white tile with a ring) */
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-tab{--seg-drop:var(--cp-drop-sm)}      /* (Cyan pop sweep) the tabs are small controls: the half drop */
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-tab[aria-checked="true"] .lk-tab-ic{fill:var(--lk-on-label);stroke:var(--lk-cyan-deep);stroke-width:2.4;stroke-linejoin:round;paint-order:stroke fill}      /* the white icon keeps a deep edge on the cyan, as a white word does */
#lobby-locker .lk-ctl{display:flex;gap:var(--lk-ctl-gap);align-items:center}
#screen-lobby #lobby-locker .lk-ctl .btn{height:var(--lk-ctl-h);padding:0 var(--lk-ctl-pad);font-size:var(--lk-ctl-fs);display:inline-flex;align-items:center;gap:var(--lk-hand-gap);--bf:var(--lk-face);color:var(--lk-ink);white-space:nowrap}
#screen-lobby #lobby-locker .lk-ctl .lk-hand[aria-pressed="true"]{--bf:var(--lk-on-face);--bo:var(--lk-cyan-deep);color:var(--lk-on-label);}
#screen-lobby #lobby-locker .lk-acts .lk-reset[aria-disabled="true"]{--bf:var(--lk-off-face);--glo:transparent;color:var(--lk-off-label);cursor:default}
#lobby-locker .lk-bar > .lk-styles{padding:0 var(--lk-styles-pad);border:0;background:none;font:inherit;color:var(--lk-ink);cursor:pointer;white-space:nowrap}
#lobby-locker .lk-bar > .lk-styles[aria-pressed="true"]{color:var(--lk-on-label);}
#lobby-locker .lk-bar > .lk-styles[aria-pressed="true"]::before{background:var(--lk-on-face);box-shadow:inset 0 0 0 var(--lk-bar-ol) var(--lk-cyan-deep)} #lobby-locker .lk-bar > .lk-styles[aria-pressed="true"]::after{background:var(--lk-cyan-deep)}      /* in the styles: the cyan fill, its outline and drop in the deep, as the tab you are in */
#screen-lobby #lobby-locker .lk-acts{align-items:center;gap:var(--lk-band-gap);padding:var(--lk-band-pad);border-radius:var(--lk-r);background:var(--lk-band-bg)}      /* the one band: the Finish row left, Equip right; no surface of its own (Cyan pop sweep: was a dark band) */
#screen-lobby #lobby-locker .lk-acts:has(> .lk-fin-row){background:var(--lk-band-well)}      /* with the Finish row in it: a pale sky well, so the row reads as its own section */
#lobby-locker .lk-acts > .lk-fin-row{margin:0;padding:0;background:none;box-shadow:none;transform:none;flex:0 1 auto;min-width:0}      /* inside the band: no band of its own, upright already */
#screen-lobby #lobby-locker .lk-acts :is(.lk-edit,.lk-reset,.lk-styles){--bf:var(--cp-sec);color:var(--cp-sec-label)}      /* the secondary: the sky block (owner 2026-11-10) */
#screen-lobby #lobby-locker .lk-acts :is(.lk-edit,.lk-styles)[aria-pressed="true"]{--bf:var(--lk-on-face);--bo:var(--lk-cyan-deep);color:var(--lk-on-label);}
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-acts{height:auto;min-height:var(--lk-row-h)}
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-acts :is(.lk-edit,.lk-reset,.lk-styles){height:var(--lk-sec-h);font-size:var(--lk-sec-fs)}
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-acts .lk-equip{align-self:stretch;min-height:var(--lk-sec-h)}
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-ctl{position:absolute;z-index:3;right:calc(100% + (100vw - var(--vr) - var(--vcol) - var(--lk-stage-w)) / 2);width:var(--lk-stage-w);top:auto;bottom:var(--lk-ctl-b);padding-left:var(--lk-info-l)}      /* over the racket's card, at its left edge: the preview's own controls */
  html:not([data-mobile]) #lobby-locker .lk-bar{flex-wrap:nowrap} html:not([data-mobile]) #lobby-locker .lk-bar:has(> .lk-styles) .lk-search{flex-basis:var(--lk-search-min-styles)}
}
#screen-lobby #lobby-locker .lk-acts .lk-equip[data-equipped="true"]{--bf:var(--lk-sec-face);--bo:var(--lk-ink);color:var(--lk-done-label);}      /* Equipped, a state: the white plate, the words in the deep */
#screen-lobby #lobby-locker .lk-acts .lk-equip[aria-disabled="true"]:not([data-equipped="true"]){--bf:var(--lk-sec-off-face);--bo:var(--lk-ink);color:var(--lk-sec-off-label);}      /* Equip not possible (locked, previewing): the pale off plate, faint words */
/* (NOTES 415, owner 2026-11-09: "the racket render is not centered in the viewport ... same with the label underneath it") the stage stands centred in the open space left of the column
   (the window's left edge to the column's, where the slab's edge crosses the stage's middle), not a fixed gap from the slab; its card is centred on it too */
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby #lobby-locker :is(.lk-stage,.lk-swivel[data-on="true"]){right:calc(100% + (100vw - var(--vr) - var(--vcol) - var(--lk-stage-w)) / 2)}
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-info{right:var(--lk-info-l)}
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-stage[data-tab="rackets"] .lk-stage-canvas{left:var(--lk-racket-cv-l)}      /* (the lean swings the head left: the canvas moves right by the difference, its width the same, so the racket keeps its size) */
}
/* ---- (NOTES 421, owner 2026-11-09: "why is the mastery buttons line breaking and why are they skewed" / "spacing between these is so inconsistent") ---- */
html:not([data-mobile]) #screen-lobby #lobby-locker .lk-acts > .lk-fin-row{transform:none;flex:none}      /* the band already stands upright: no second un-slant on the row (it sheared the chips), and it never shrinks */
#lobby-locker .lk-acts .lk-fin-opts{flex-wrap:nowrap}      /* the four chips on one line */
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-head{margin-left:var(--lk-tray-l);padding-left:0;gap:var(--lk-gap);--lk-head-h:var(--lk-tab-h);margin-bottom:var(--lk-row-gap)}      /* the tabs start on the strip's slanted edge, the row as tall as a tab */
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-head .lk-tabs{gap:var(--lk-gap)}
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-tray{padding-top:calc(var(--lk-tray-top) + var(--lk-tray-focus-room));margin-top:calc(var(--lk-tray-focus-room) * -1);padding-left:var(--lk-tray-l)}      /* the strip a row gap under the tabs (the tray's own top room, --lk-tray-pad, was much more), its left edge the tabs'. (owner 2026-11-12: "fix this getting cutoff") some more room above (--lk-tray-focus-room), given back by the margin, so the search's focus lift and ring are inside the scroll box's clip */
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-bar{gap:var(--lk-gap);margin-bottom:var(--lk-row-gap)}
  /* (owner 2026-11-16: "this is not aligned") the bar stands upright on its own, a tab-row-and-a-half lower than the tabs, so the slab's slant slid it left of them: set back by the slant over
     that drop (the tabs' middle to the bar's), its edges under the tabs' */
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-bar{--lk-bar-dy:calc((var(--lk-tab-h-big) + var(--lk-lv-gap) + var(--lk-part-h)) / 2 + var(--lk-row-gap) + var(--lk-tray-top) + var(--lk-bar-h) / 2);
    transform:var(--lk-unslant) translateX(calc(tan(var(--lk-slab-skew)) * var(--lk-bar-dy) * -1));margin-right:calc(var(--lk-slab-head-r) + var(--lk-head-pad) - var(--lk-tray-pad-r))}      /* and its right end the tabs' (the head's right margin and padding, less the tray's right padding) */
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-acts{margin-top:var(--lk-row-gap)}
}
/* (NOTES 425) the band holds Finish, Reset, Styles and Equip on one line: Reset a square icon, Equip as wide as its word */
#screen-lobby #lobby-locker .lk-acts .lk-reset{width:var(--lk-sec-h);padding:0;display:inline-grid;place-items:center}
#lobby-locker .lk-acts .lk-reset svg{width:var(--lk-reset-ic);height:var(--lk-reset-ic);fill:none;stroke:currentColor;stroke-width:var(--lk-bar-stroke);stroke-linecap:round;stroke-linejoin:round}
@media (min-width:981px) and (min-aspect-ratio:6/5){ html:not([data-mobile]) #screen-lobby #lobby-locker .lk-acts .lk-equip{min-width:var(--lk-equip-w-band)} }
#screen-lobby #lobby-locker .lk-acts > .btn{flex:none}      /* the buttons keep their size */
#screen-lobby #lobby-locker .lk-acts:has(> .lk-fin-row){flex-wrap:wrap;row-gap:var(--lk-gap)}      /* a rank racket: the band's two lines, the Finish row across the top, Reset / Styles / Equip under it at the right */
html:not([data-mobile]) #screen-lobby #lobby-locker .lk-acts > .lk-fin-row{flex:1 0 100%}
#lobby-locker .lk-acts .lk-fin{flex:none}
#screen-lobby #lobby-locker .lk-acts .lk-styles{padding:0 var(--lk-ctl-pad)}
/* ---- (Cyan pop sweep) light and one drop: the tray's plate in one column (a narrow window, a phone) is the slab's white face, ink outline and big ink drop, as on a wide desktop
   (it was the views' navy slab); the band's Reset / Edit style / Equip fit one line there, Equip taking what is left ---- */
#screen-lobby #lobby-locker.panel.lobby-view::before{background:var(--lk-slab-face);box-shadow:inset 0 0 0 var(--lk-slab-ol-w) var(--lk-slab-ol), var(--lk-slab-drop-x) var(--lk-slab-drop-y) 0 var(--lk-slab-ol)}
@media (max-width:980px), (max-aspect-ratio:6/5){
  #screen-lobby #lobby-locker .lk-acts .lk-equip{min-width:0;flex:1 1 auto;font-size:var(--lk-sec-fs)}
}
html[data-mobile] #screen-lobby #lobby-locker .lk-acts .lk-equip{min-width:0;flex:1 1 auto;font-size:var(--lk-equip-fs-phone)}
/* ---- (NOTES 449, owner 2026-11-10: "this part is just a clusterfuck ... elements not skewed, things too close, reset button unnecessary") the band at the slab's foot reworked:
   no pale well with round corners standing upright on the slanted slab; the Finish row is its own slanted plate (the UI's one slant, contents upright), its chips slanted tiles with room
   between them (no grow on the chosen one: the ring alone marks it), and under it Styles and Equip on one line, Equip taking the rest. Reset and In hand are gone ---- */
#screen-lobby #lobby-locker .lk-acts:has(> .lk-fin-row){background:none;padding-left:0;padding-right:0;row-gap:var(--lk-band2-gap);column-gap:var(--lk-band2-gap)}
html:not([data-mobile]) #screen-lobby #lobby-locker .lk-acts:has(> .lk-fin-row){margin-top:0;padding-top:0}      /* (owner 2026-11-16: "margin here is way too big reduce it") the band has no plate with the Finish row in it, so its row gap and top pad were empty air on top of the tray's own foot pad (~3rem): the tray's pad alone is the gap, as the bar's over the well */
#screen-lobby #lobby-locker .lk-acts > .lk-fin-row{position:relative;isolation:isolate;column-gap:var(--lk-fin2-col);padding:var(--lk-fin2-pad)}
#screen-lobby #lobby-locker .lk-acts > .lk-fin-row::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:var(--ua-r);background:var(--lk-band-well);box-shadow:inset 0 0 0 var(--lk-fin-band-rule-w) var(--lk-fin-band-rule);transform:skewX(var(--cp-skew))}
#lobby-locker .lk-acts .lk-fin-opts{gap:var(--lk-fin2-gap);padding:var(--lk-fin-ring) calc(var(--lk-fin-ring) * 2)}
#lobby-locker .lk-acts .lk-fin{width:var(--lk-fin2-chip);height:var(--lk-fin2-chip);border-radius:var(--ua-r);transform:skewX(var(--cp-skew))}
#lobby-locker .lk-acts .lk-fin > svg{transform:skewX(calc(var(--cp-skew) * -1))}      /* the lock badge stands upright on the slanted chip */
#lobby-locker .lk-acts .lk-fin[data-fin="plain"]::after{border-radius:0}
#lobby-locker .lk-acts .lk-fin:is([aria-checked="true"],[data-peek="true"],:focus-visible){transform:skewX(var(--cp-skew))}
@media (hover:hover){ #lobby-locker .lk-acts .lk-fin:not([aria-disabled="true"]):hover{transform:skewX(var(--cp-skew)) var(--lk-fin2-lift)} }
#screen-lobby #lobby-locker .lk-acts:has(> .lk-fin-row) .lk-acts-gap{display:none}
#screen-lobby #lobby-locker .lk-acts:has(> .lk-fin-row) .lk-equip{flex:1 1 auto}      /* Styles at its size, Equip the rest of the line */
/* ---- (NOTES 457, owner 2026-11-10: "make these consistent bro", then "dont make the colours square") the colour swatches stay round and take the Finish chips' language: the chosen one
   ringed in cyan without growing, Default the same thin slash as the Finish row's Plain ---- */
#lobby-locker .lk-swatch:is([aria-checked="true"],:focus-visible){transform:none}
#lobby-locker .lk-swatch-default{background:var(--c);display:grid;place-items:center}
#lobby-locker .lk-swatch-default::after{content:"";width:58%;height:var(--lk-ol-thin);background:var(--lk-ink);transform:rotate(var(--lk-fin-slash))}
/* ---- (NOTES 457, owner 2026-11-10: "fix this soft cutoff issue, i dont want it cutoff") the racket's canvas is drawn --lk-cv-k times as large round the same centre (locker3d.js frames
   the racket the same size in it), so its glow and rays fade out far past the stage, off the window or under the slab, never on a soft line in the open ---- */
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-stage[data-tab="rackets"] .lk-stage-canvas{--lk-cv-k:var(--lk-racket-cv-k);--k:var(--lk-cv-k);
    width:calc(140% * var(--k));left:calc(var(--lk-racket-cv-l) - 70% * (var(--k) - 1));
    height:calc((100% - var(--lk-view-foot)) * 1.3 * var(--k));top:calc((100% - var(--lk-view-foot)) * (-.08 - .65 * (var(--k) - 1)))}
}
/* ---- (NOTES 458, owner 2026-11-10: "make style button two fifths of the bottom row") Styles (or Edit style) takes two fifths of the bottom row and Equip the other three; no spacer between them ---- */
#screen-lobby #lobby-locker .lk-acts:has(> :is(.lk-styles,.lk-edit)) .lk-acts-gap{display:none}
#screen-lobby #lobby-locker .lk-acts:has(> :is(.lk-styles,.lk-edit)) > :is(.lk-styles,.lk-edit){flex:var(--lk-styles-grow) 1 0;min-width:0}
#screen-lobby #lobby-locker .lk-acts:has(> :is(.lk-styles,.lk-edit)) > .lk-equip{flex:var(--lk-equip-grow) 1 0;min-width:0}
/* ---- (NOTES 458, owner 2026-11-10: "make locker tabs larger") the tab row's plates and icons larger; the row is as tall as a tab ---- */
#screen-lobby #lobby-locker{--lk-tab-h:var(--lk-tab-h-big)}
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-tab{height:var(--lk-tab-h-big);padding:0 var(--lk-tab-ic-pad-big)}
#lobby-locker .lk-tab-ic{width:var(--lk-tab-icon-big);height:var(--lk-tab-icon-big)}
/* ---- (NOTES 458, owner: "make custom drop down, fix this cutoff, and make it inline with the other sorter") the sort: a plate in the strip like the Show chips (its word whole, never cut),
   its menu the game's own upright pop-up under it: white face, ink outline, one ink drop, the chosen order in the cyan fill ---- */
#lobby-locker .lk-bar > .lk-sort{padding:0;z-index:var(--lk-menu-z)}
#lobby-locker .lk-sort-btn{display:flex;align-items:center;gap:var(--lk-bar-gap);height:100%;padding:0 var(--lk-bar-pad);margin:0;border:0;background:none;font:inherit;color:inherit;cursor:pointer;white-space:nowrap}
#lobby-locker .lk-sort-btn .lk-bar-ic:last-child{width:var(--lk-chev);height:var(--lk-chev);transition:transform var(--lk-t) var(--lk-spring)}
#lobby-locker .lk-sort[data-open="true"] .lk-sort-btn .lk-bar-ic:last-child{transform:rotate(var(--lk-chev-open))}
#lobby-locker .lk-sort-btn:focus-visible{outline:0}
#lobby-locker .lk-sort-menu{position:absolute;top:calc(100% + var(--lk-menu-gap));right:0;min-width:max(100%,var(--lk-menu-w));display:flex;flex-direction:column;padding:var(--lk-menu-pad);gap:var(--lk-menu-pad);
  border-radius:var(--lk-r);background:var(--lk-face-white);box-shadow:inset 0 0 0 var(--lk-bar-ol) var(--lk-ink), var(--lk-bar-drop-x) var(--lk-bar-drop-y) 0 var(--lk-ink)}
#lobby-locker .lk-sort-opt{position:relative;isolation:isolate;height:var(--lk-menu-opt-h);padding:0 var(--lk-menu-opt-pad);margin:0;border:0;border-radius:var(--lk-bar-r);background:none;font:inherit;color:var(--lk-ink);text-align:left;cursor:pointer;white-space:nowrap}
#lobby-locker .lk-sort-opt[aria-selected="true"]{background:var(--lk-chip-on);color:var(--lk-on-label);box-shadow:inset 0 0 0 var(--lk-bar-ol) var(--lk-cyan-deep)}
#lobby-locker .lk-sort-opt:is(:hover,:focus-visible):not([aria-selected="true"]){outline:0;background:var(--lk-band-well)}
/* ---- (NOTES 458, owner 2026-11-10: "add like darker colour containers within this for more hierarchy visibility and make things aligned nicely") on the slab, each section sits in a
   darker sky well on the slab's slant: the grid (or a tab's sections) in one, the Finish row in another. Their left edges line up with the strip's, and the Finish row's word and chips start on that line too ---- */
@media (min-width:981px) and (min-aspect-ratio:6/5){
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-scroll{margin:0;padding:var(--lk-well-pad);padding-inline:calc(var(--lk-well-pad) + var(--lk-lean-room));border-radius:var(--lk-r);background:var(--lk-well-dark);box-shadow:inset 0 0 0 var(--lk-fin-band-rule-w) var(--lk-well-rule)}
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-acts > .lk-fin-row::before{background:var(--lk-well-dark);box-shadow:inset 0 0 0 var(--lk-fin-band-rule-w) var(--lk-well-rule)}
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-acts > .lk-fin-row{padding-left:var(--lk-well-pad)}
  html:not([data-mobile]) #screen-lobby #lobby-locker .lk-acts{margin-left:var(--lk-tray-l);margin-right:var(--lk-tray-pad-r)}      /* the band on the strip's and the grid's edges */
}
#lobby-locker .lk-bar{position:relative;z-index:var(--lk-menu-z)}      /* (NOTES 458) the strip, and the sort's menu dropping from it, over the grid's well */
/* ---- (NOTES 463) the Look and Clothes tabs' groups: an icon before each group's one word, and each control under it with a small label of its own ---- */
#lobby-locker .lk-sect-ic{width:var(--lk-sect-ic);height:var(--lk-sect-ic);flex:none;fill:var(--lk-sect-ic-c)}
#lobby-locker .lk-sub{display:flex;flex-direction:column;gap:var(--lk-sub-gap)}
#lobby-locker .lk-sub-name{font-family:var(--font-display);font-weight:400;font-size:var(--lk-sub-fs);color:var(--cp-text-2)}
#lobby-locker .lk-sect > .lk-sub + .lk-sub,#lobby-locker .lk-sect > .lk-grid + .lk-sub{margin-top:var(--lk-sub-mt)}
#screen-lobby #lobby-locker .lk-acts:not(:has(> .btn, > .lk-fin-row)){display:none}      /* (NOTES 463) the Look and Clothes tabs have no actions: no empty band, their well runs to the slab's foot */
#lobby-locker .lk-sect :is(.lk-sub,.lk-sect) > .lk-pal,#lobby-locker .lk-sect > .lk-pal{margin-top:0}      /* (NOTES 463) a palette sits right under its label */

/* (NOTES 477) the Face tab's cheek toggles: any mix, so each carries a checkbox that is there when off too (the one-pick grids show the cyan corner only when chosen) */
#lobby-locker .lk-toggle .lk-tick{position:absolute;right:calc(var(--lk-check) * .18);top:calc(var(--lk-check) * .18);z-index:2;width:calc(var(--lk-check) * .62);height:calc(var(--lk-check) * .62);box-sizing:border-box;border:var(--lk-ol-thin) solid var(--lk-ink);border-radius:calc(var(--lk-check) * .16);background:var(--lk-white);pointer-events:none}
#lobby-locker .lk-toggle .lk-tick svg{display:none;width:100%;height:100%;fill:none;stroke:var(--lk-white);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
#lobby-locker .lk-toggle[aria-pressed="true"] .lk-tick{background:var(--lk-cyan)}
#lobby-locker .lk-toggle[aria-pressed="true"] .lk-tick svg{display:block}
/* (owner 2026-11-12: "expand this to fill the full row") the tabs share the row's whole width */
#screen-lobby #lobby-locker .lk-head .lk-tabs{flex:1 1 auto}
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-tab{flex:1 1 0}
/* (NOTES 521, owner 2026-11-15: "make seperate tabs for all of these acecssories, make it fit nicely") ten tabs: each a share of the row, the icon a touch smaller, never cut */
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-tab{min-width:0;padding:0 var(--lk-tab-ic-pad-10)}
#lobby-locker .lk-head .lk-tabs{gap:var(--lk-tab-gap-10)}
#lobby-locker .lk-tab-ic{width:var(--lk-tab-icon-10);height:var(--lk-tab-icon-10)}
/* (owner 2026-11-12: the tile's wins ring "looks bad") the mastery progress as a slim bar under the Finish row's line, in the next finish's colour (the ring's tokens) */
#lobby-locker .lk-fin-bar{display:block;margin-top:0;height:var(--lk-fin-bar-h);border-radius:var(--lk-fin-bar-h);background:var(--lk-ring-bg);overflow:hidden;--ring:var(--lk-ring-pearl)}
#lobby-locker .lk-fin-bar > svg{display:block;width:100%;height:100%} #lobby-locker .lk-fin-bar-fg{fill:var(--ring)}
#lobby-locker .lk-fin-bar[data-next="obsidian"]{--ring:var(--lk-ring-obsidian)} #lobby-locker .lk-fin-bar[data-next="chrome"],#lobby-locker .lk-fin-bar[data-next="done"]{--ring:var(--lk-ring-chrome)}

/* (owner 2026-11-12: "this design looks terrible, padding is cooked") the Finish row on one line: label, chips, and the wins at the right (a short count over a short bar) */
#screen-lobby #lobby-locker .lk-acts > .lk-fin-row{grid-template-columns:auto auto minmax(0,1fr);align-items:center}
#screen-lobby #lobby-locker .lk-fin-row .lk-style-label{grid-row:1}
#screen-lobby #lobby-locker .lk-fin-how{grid-column:3;grid-row:1;justify-self:end;display:flex;flex-direction:column;align-items:stretch;gap:var(--lk-fin-how-gap);width:var(--lk-fin-how-w);max-width:100%;padding:0;opacity:1}
#screen-lobby #lobby-locker .lk-fin-count{font-family:var(--font-display);font-size:var(--lk-fin-count-fs);color:var(--cp-ink);text-align:right;white-space:nowrap}
#screen-lobby #lobby-locker .lk-fin-how[data-mine="false"] .lk-fin-count{white-space:normal;font-size:var(--lk-fin-how-fs);color:var(--cp-text-2)}
#screen-lobby #lobby-locker .lk-fin-bar{margin:0;height:var(--lk-fin-bar-h)}
/* (owner 2026-11-13: "why is this getting cutoff on the item frame", "its just all item frames in general") every item tile's picture fills its frame and clips on the frame's own slant, never a straight vertical edge inside a leaning frame:
   the full width inside the frame, cut as a parallelogram sheared by the tile's lean (a square tile: the shear is tan(lean) of its width) */
.lk-item-face{inset:var(--lk-face-in);border-radius:calc(var(--lk-r) - var(--lk-face-in));--lk-face-in:calc(var(--lk-frame) + var(--lk-ol-thin) * .6);--lk-face-sh:calc(tan(var(--lk-skew)) * -100%);clip-path:polygon(calc(var(--lk-face-sh) / 2) 0, calc(100% + var(--lk-face-sh) / 2) 0, calc(100% - var(--lk-face-sh) / 2) 100%, calc(var(--lk-face-sh) / -2) 100%);overflow:visible}      /* sheared about the centre, as the frame's skewX is: the cut lies on the frame's inner edge all round; the clip alone crops (no upright overflow box)      /* the picture runs to the frame's inner edge (no pale band of padding round it), cut on the frame's slant

/* ---------- (NOTES 532, owner 2026-11-15: the build board's option B) the tabs in two levels: Gear / Face / Outfit, named, then the open group's parts as small icon tabs ----------
   The groups share the row's width, each its own icon and name (no icon used twice: the kit bag, the smiling face, the hanger); the chosen group is the cyan face. The parts sit under
   them, small and left to right, the other groups' parts hidden (they stay in the page: locker.js renderTabs). */
#screen-lobby #lobby-locker .lk-head{flex-direction:column;align-items:stretch;height:auto;gap:var(--lk-lv-gap)}
#lobby-locker .lk-head .lk-grps{display:flex;gap:var(--lk-tab-gap-10);margin:0}
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-grp{flex:1 1 0;min-width:0;height:var(--lk-tab-h-big);padding:0 var(--lk-grp-pad);display:inline-flex;align-items:center;justify-content:center;gap:var(--lk-grp-gap);font-size:var(--lk-grp-fs);white-space:nowrap;--seg-drop:var(--cp-drop-sm)}
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-grp .lk-tab-ic{width:var(--lk-grp-ic);height:var(--lk-grp-ic)}
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-grp:not([aria-checked="true"]) .lk-tab-ic{color:var(--lk-door)}
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-grp[aria-checked="true"]{color:var(--lk-on-label)}
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-grp[aria-checked="true"]::before{background:var(--lk-on-face);box-shadow:inset 0 0 0 var(--vw-ol) var(--lk-cyan-deep), var(--cp-drop-deep-sm)}
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-grp[aria-checked="true"] .lk-tab-ic{fill:var(--lk-on-label);stroke:var(--lk-cyan-deep);stroke-width:2.4;stroke-linejoin:round;paint-order:stroke fill}
#screen-lobby #lobby-locker .lk-head .lk-tabs{flex:none;display:flex;gap:var(--lk-part-gap)}
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-tab{flex:1 1 0;min-width:0;width:auto;height:var(--lk-part-h);padding:0 var(--lk-part-pad);display:inline-flex;align-items:center;justify-content:center;gap:var(--lk-part-word-gap);font-size:var(--lk-part-fs);white-space:nowrap}      /* (NOTES 538, owner 2026-11-15: "make the secondary tabs ... equal spacing") every part the same share of the row, as the groups above */
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-tab[hidden]{display:none}
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-tab .lk-tab-ic{width:var(--lk-part-ic);height:var(--lk-part-ic)}
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-tab:not([aria-checked="true"]){color:var(--uv-ink)}      /* the name in the ink and the icon in the Locker blue, as an unchosen group's */
#screen-lobby #lobby-locker .lk-head .seg-opt.lk-tab:not([aria-checked="true"]) .lk-tab-ic{color:var(--lk-door)}
html[data-mobile] #screen-lobby #lobby-locker{--lk-grp-fs:var(--lk-grp-fs-phone);--lk-part-fs:var(--lk-part-fs-phone);--lk-part-ic:var(--lk-part-ic-phone);--lk-part-word-gap:var(--lk-part-word-gap-phone);--lk-part-pad:var(--lk-part-pad-phone);--lk-part-gap:var(--lk-part-gap-phone)}
.lk-coin-tile{position:relative;display:grid;place-items:center;aspect-ratio:1;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;transition:scale 180ms var(--lk-spring,ease)} .lk-coin-tile > .coin-ic{width:100%;height:100%}      /* a gift's picture (NOTES 700, 705; locker.js coinTile): the coin alone, no item frame */
/* (NOTES 791, owner 2026-11-18: "the selected check mark clashes with the extra styles plus ... I'm thinking you can do the bottom left corner") the plus for more
   styles sits in the tile's bottom left, where the lock sits on an item not owned (the two never meet: a locked tile keeps its plus top right, where no check is ever
   drawn); the check keeps the top right corner to itself */
.lk-item:not(:has(.lk-item-lock)) > .lk-item-more{right:auto;top:auto;left:calc(var(--lk-pic-pad) * .6 + var(--lk-face-lean-pad));bottom:calc(var(--lk-pic-pad) * .6)}

/* (NOTES 796, owner 2026-11-18: "remove the ability to scroll horizontally? And like [Locker], I don't even know why that's a thing") the tray and its grid were
   overflow:auto on both axes, so the slanted tiles' lean room let them slide 4..42 px sideways under a trackpad or shift-wheel; they scroll up and down only */
.lk-tray,.lk-scroll{overflow-x:hidden;overflow-y:auto;overscroll-behavior-x:none}
