/* The Locker Room page (/locker/), v2 for locker-room-v9.js: the CHARACTER screen, after Fortnite's Locker, in the
   Motions house style. Screens: designs/shared-cast/locker-v8/. Shared nav, store and sign-in: motions-locker-nav-v1.css
   (the light sheets keep their own look). Immutable under /assets/* once deployed: a change then ships as -v3.

   The same light sky world as the landing page (index.html): a soft blue sky over the hero's cloud art
   (motions-hero-sky-soft-clouds.webp) with a warm sun glow, frosted WHITE glass panels, dark-navy type, the navy
   MOTIONS nav, pink-to-purple pill buttons, the gold Motion Bucks chip and yellow "new" badges. The layout is a game
   screen: the 3D stage on the left (the character striking a pose on a glowing pedestal, backlit by the sun) with
   its info block over the bottom-left; the locker on the right (a big LOCKER title, tabs, search / show / sort and a
   dense grid of square portrait tiles tinted by rarity). Phones: the stage, the info, then the locker. */
:root{
  --nav-y:34px; --nav-ink:#2b2366; --nav-ink-hov:#0B0D12;
  /* the sky (the cloud art's own blues) and the landing's ink; every text tone holds WCAG AA on the white glass */
  --lk-bg:#7cbdfe; --lk-sky-top:#6fb2fb; --lk-sky-low:#a9d5ff;
  --lk-ink:#221a5c; --lk-ink-2:#4a4275; --lk-ink-3:#5b5585; --lk-ink-rgb:43,35,102;
  --lk-glass:linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,.54)); --lk-line:rgba(255,255,255,.78);
  --lk-well:rgba(43,35,102,.06); --lk-well-line:rgba(43,35,102,.11); --lk-field:rgba(255,255,255,.72);
  --lk-shadow:0 18px 50px rgba(14,8,32,.14), 0 2px 6px rgba(14,8,32,.05);
  --lk-pink:#ec3fc8; --lk-blue:#4fa8ff; --lk-green:#2fe0a0; --lk-green-ink:#0d7f55; --lk-focus:#2b2366;
  --rar-common:radial-gradient(120% 95% at 50% 22%,#a8ffe6 0%,#2fcfae 38%,#0f8c80 72%,#0a5a5c 100%);   --rar-common-c:#14b896;
  --rar-rare:radial-gradient(120% 95% at 50% 22%,#bfe2ff 0%,#4d97ff 38%,#2557e0 72%,#162f8f 100%);     --rar-rare-c:#2f7cf5;
  --rar-epic:radial-gradient(120% 95% at 50% 22%,#f0d0ff 0%,#b064ff 38%,#7230e0 72%,#3e1590 100%);     --rar-epic-c:#9b47f0;
  --rar-legendary:radial-gradient(120% 95% at 50% 22%,#fff6c4 0%,#ffcf45 38%,#f09a12 72%,#9a4f00 100%); --rar-legendary-c:#f5a10f;
}
*, *::before, *::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; background:var(--lk-bg); }
body.lr-page{ margin:0; min-height:100dvh; overflow-x:hidden; color:var(--lk-ink); font-family:Inter,system-ui,sans-serif; background:var(--lk-bg); }
.lr-visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.lr-page button, .lr-page input, .lr-page select{ font-family:inherit; }
.lr-page :focus-visible{ outline:3px solid var(--lk-focus); outline-offset:2px; }

/* ---- the nav: the site's own navy nav over the sky (as on the landing); a sky-blue backing once scrolled ---- */
.lr-page .nav::before{ background:linear-gradient(to bottom,rgba(116,184,252,.97) 0%,rgba(116,184,252,.9) 55%,rgba(116,184,252,0) 100%); }

/* ---- the backdrop: the landing's sky. A blue gradient under the hero's cloud art, a warm sun glow top-left with
   faint slow rays, soft white haze drifting, and a cloud bank the pedestal stands on. (Still with reduced motion.) ---- */
.lk-bg{ position:fixed; inset:0; z-index:0; overflow:hidden; pointer-events:none;
  background:url("/assets/motions-hero-sky-soft-clouds.webp") center bottom / cover no-repeat, linear-gradient(180deg,var(--lk-sky-top) 0%,var(--lk-bg) 45%,var(--lk-sky-low) 100%); }
.lk-bg i{ position:absolute; display:block; }
.lk-bg__glow{ width:70vmax; height:70vmax; border-radius:50%; filter:blur(60px); opacity:.55; animation:lk-drift 26s ease-in-out infinite alternate; }
.lk-bg__glow--a{ left:-24vmax; top:-34vmax; background:radial-gradient(circle,rgba(255,252,236,1) 0%,rgba(255,244,214,.75) 22%,rgba(255,236,200,0) 62%); opacity:.85; }
.lk-bg__glow--b{ right:-30vmax; top:-36vmax; background:radial-gradient(circle,rgba(255,214,246,.9) 0%,rgba(236,200,255,0) 60%); animation-duration:31s; animation-delay:-9s; opacity:.38; }
.lk-bg__glow--c{ left:6vmax; bottom:-46vmax; background:radial-gradient(circle,rgba(255,255,255,.95) 0%,rgba(255,255,255,0) 62%); animation-duration:37s; animation-delay:-17s; opacity:.5; }
@keyframes lk-drift{ 0%{ transform:translate(0,0) scale(1); } 50%{ transform:translate(6vmax,4vmax) scale(1.12); } 100%{ transform:translate(-4vmax,7vmax) scale(.94); } }
.lk-bg__rays{ left:-60vmax; top:-60vmax; width:120vmax; height:120vmax; opacity:.16;
  background:repeating-conic-gradient(from 0deg at 50% 50%,rgba(255,255,255,.9) 0deg 4deg,rgba(255,255,255,0) 4deg 16deg);
  -webkit-mask:radial-gradient(circle,#000 0%,rgba(0,0,0,.45) 28%,transparent 58%); mask:radial-gradient(circle,#000 0%,rgba(0,0,0,.45) 28%,transparent 58%);
  animation:lk-turn 160s linear infinite; }
@keyframes lk-turn{ to{ rotate:360deg; } }
.lk-bg__floor{ left:0; right:0; bottom:0; height:38vh; opacity:.9;
  background:url("/assets/motions-hero-sky-soft-clouds.webp") center bottom / max(100%, 1100px) auto no-repeat;
  -webkit-mask:linear-gradient(to top,#000 35%,transparent 100%); mask:linear-gradient(to top,#000 35%,transparent 100%); }
@media (prefers-reduced-motion:reduce){ .lk-bg__glow, .lk-bg__rays{ animation:none; } }

.lr{ position:relative; width:min(1640px, calc(100% - 40px)); margin:0 auto; padding:84px 0 24px; }
.lr > :not(.lk-bg){ position:relative; z-index:1; }
.lr-loading, .lr-noscript{ text-align:center; padding:40px 0; font-weight:600; color:var(--lk-ink-2); }

/* ---- coming soon: the launch flag is off (locker-room-v9.js#comingSoon) ---- */
.lr-panel{ position:relative; padding:22px; border-radius:32px; background:var(--lk-glass); border:1px solid var(--lk-line); box-shadow:var(--lk-shadow), inset 0 1px 0 #fff; -webkit-backdrop-filter:blur(20px) saturate(1.3); backdrop-filter:blur(20px) saturate(1.3); }
.lr.is-soon .lr-mbar{ display:none; }
.lr.is-soon .lk-grid{ display:block; max-width:820px; margin:40px auto 0; }
.lr-soon{ text-align:center; padding:34px 12px 26px; }
.lr-soon__tag{ display:inline-block; margin:0; padding:6px 14px; border-radius:999px; background:var(--lr-grad); color:#fff; font:400 14px/1 var(--lr-display); letter-spacing:.06em; }
.lr-soon__title{ margin:16px 0 0; font:400 clamp(24px,2.6vw,34px)/1.1 var(--lr-display); color:var(--lk-ink); }
.lr-soon__text{ max-width:30em; margin:12px auto 0; font:500 16px/1.45 Inter,system-ui,sans-serif; color:var(--lk-ink-2); }
.lr-soon__games{ display:flex; justify-content:center; flex-wrap:wrap; gap:14px; margin:24px 0 0; padding:0; list-style:none; }
.lr-soon__games a{ display:flex; flex-direction:column; align-items:center; gap:8px; padding:12px 14px 10px; border-radius:22px; background:rgba(255,255,255,.72); color:var(--lk-ink); font:700 14px Inter,system-ui,sans-serif; text-decoration:none; box-shadow:0 6px 16px rgba(14,8,32,.08), inset 0 0 0 1px #fff; transition:transform .18s cubic-bezier(.2,.7,.3,1); }
.lr-soon__games a:hover{ transform:translateY(-2px); }
.lr-soon__games img{ width:64px; height:64px; border-radius:16px; }
@media (prefers-reduced-motion:reduce){ .lr-soon__games a{ transition:none; } .lr-soon__games a:hover{ transform:none; } }
@media (max-width:640px){ .lr-soon{ padding:26px 4px 18px; } .lr-soon__games{ gap:10px; } .lr-soon__games a{ padding:10px 8px 8px; font-size:13px; } .lr-soon__games img{ width:56px; height:56px; } }

/* ======================= the layout ======================= */
.lk-grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.06fr); gap:26px; align-items:start; }

/* ---- the stage (locker-preview-3d-v2.js): the whole left column; the info block over its bottom-left ---- */
.lk-show{ position:sticky; top:80px; height:calc(100dvh - 96px); min-height:620px; --accent:#7b3cf0; --shift:13%; }
.lr-stage{ position:relative; overflow:hidden; touch-action:pan-y; user-select:none; }
.lk-stage{ position:absolute; inset:0; border-radius:30px; outline-offset:-3px; }
/* the studio (no game world): the sky shows through; a sunlit halo, tinted by the outfit's accent, backlights the character */
.lk-halo{ position:absolute; z-index:0; left:calc(50% + var(--shift)); top:50%; width:min(80%,640px); aspect-ratio:1; translate:-50% -50%; border-radius:50%; pointer-events:none;
  background:radial-gradient(circle,rgba(255,255,255,.95) 0%,color-mix(in srgb,var(--accent) 22%,#fff) 20%,color-mix(in srgb,var(--accent) 26%,transparent) 42%,transparent 68%);
  opacity:.8; filter:blur(8px); transition:opacity .4s ease, background .4s ease; animation:lk-pulse 5.5s ease-in-out infinite alternate; }
@keyframes lk-pulse{ from{ scale:.94; opacity:.68; } to{ scale:1.06; opacity:.9; } }
.lk-stage:not([data-world="locker"]) .lk-halo{ opacity:0; }
/* a game's world: a framed window into it, a white glass edge like the landing's panels */
.lk-stage:not([data-world="locker"]){ box-shadow:0 0 0 1.5px rgba(255,255,255,.85), 0 24px 60px rgba(14,8,32,.22), 0 0 50px color-mix(in srgb,var(--accent) 22%,transparent); }
.lk-stage .lr-art{ position:absolute; inset:0; z-index:0; display:block; }
.lk-stage .lr-art img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
/* while the 3D loads: an outfit's (or gloves') portrait cut-out stands where the character will */
.lk-stage .lr-art img[src*="/cosmetics/motions/"], .lk-stage .lr-art img[src*="/cosmetics/motion-boxing/"]{ inset:8% 0 6%; height:86%; object-fit:contain; object-position:50% 100%; translate:var(--shift) 0;
  filter:drop-shadow(0 18px 26px rgba(30,40,110,.28)); }
.lr-stage.is-turntable{ cursor:grab; }
.lr-stage.is-dragging{ cursor:grabbing; }
.lr-stage video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.lr-3d{ position:absolute; inset:0; z-index:1; }
.lr-3d__canvas{ display:block; width:100%; height:100%; opacity:0; transition:opacity .32s cubic-bezier(.2,.7,.3,1); cursor:grab; touch-action:none; outline:none; }
.lr-3d__canvas:active{ cursor:grabbing; }
.lr-3d.is-ready .lr-3d__canvas{ opacity:1; }
.lr-stage.is-3d-ready .lr-art{ visibility:hidden; transition:visibility 0s .32s; }
/* with 3D on, never the 2D cut-out (no pop-up between characters: the stage slides one out and the next in) */
.lr-stage.is-3d .lr-art{ visibility:hidden; }
.lr-3d__loading{ position:absolute; left:calc(50% + var(--shift)); top:50%; translate:-50% -50%; margin:0; display:inline-flex; align-items:center; gap:9px; padding:9px 16px; border-radius:999px;
  background:rgba(255,255,255,.72); color:var(--lk-ink); font:600 14px/1 Inter,system-ui,sans-serif; white-space:nowrap; box-shadow:0 6px 18px rgba(14,8,32,.1), inset 0 0 0 1px #fff; -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); }
.lr-3d.is-ready .lr-3d__loading, .lr-3d.is-failed .lr-3d__loading{ display:none; }
.lr-3d__spin{ width:15px; height:15px; border-radius:50%; border:2.5px solid rgba(123,60,240,.22); border-top-color:#7b3cf0; animation:lr-spin .8s linear infinite; }
@keyframes lr-spin{ to{ rotate:360deg; } }
/* the clip buttons and pause: top-right of the stage, clear of the info block */
.lr-3d__bar{ position:absolute; z-index:2; top:14px; right:14px; display:flex; justify-content:flex-end; gap:8px; pointer-events:none; }
.lr-anim{ display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:42px; padding:0 14px; border:0; border-radius:14px; cursor:pointer; pointer-events:auto;
  background:rgba(255,255,255,.6); color:var(--lk-ink); font:700 14px/1 Inter,system-ui,sans-serif; box-shadow:0 6px 16px rgba(14,8,32,.1), inset 0 0 0 1px rgba(255,255,255,.9); -webkit-backdrop-filter:blur(12px) saturate(1.3); backdrop-filter:blur(12px) saturate(1.3); }
.lr-anim:hover{ background:rgba(255,255,255,.82); }
.lr-anim[aria-pressed="true"]{ background:var(--lk-ink); color:#fff; }
.lr-3d__bar .lr-3d__pause{ width:42px; padding:0; }
.lr-3d__bar .lr-3d__pause svg{ width:18px; height:18px; }
.lr-stage__hint{ position:absolute; z-index:2; right:18px; bottom:16px; margin:0; display:flex; align-items:center; gap:8px; padding:7px 12px; border-radius:999px; background:rgba(255,255,255,.55); color:var(--lk-ink); font:600 14px Inter,system-ui,sans-serif; box-shadow:inset 0 0 0 1px rgba(255,255,255,.8); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); pointer-events:none; opacity:.92; }
.lr-stage__hint svg{ width:18px; height:18px; }
.lr-stage.is-3d .lr-stage__hint{ animation:lr-hint-out .5s ease 5s forwards; }
.lr-stage.is-3d:has(.lr-3d.is-touched) .lr-stage__hint{ animation:lr-hint-out .3s ease forwards; }
@keyframes lr-hint-out{ to{ opacity:0; } }
.lr-stage__video{ z-index:1; }
.lr-stage .lr-stage__inset{ position:absolute; z-index:2; inset:68px 14px auto auto; height:auto; width:min(30%,220px); aspect-ratio:1; border-radius:18px; object-fit:cover; box-shadow:0 10px 26px rgba(14,8,32,.22), inset 0 0 0 1.5px rgba(255,255,255,.85); }
.lk-locker{ position:absolute; z-index:3; top:14px; left:14px; display:inline-flex; align-items:center; gap:6px; min-height:42px; padding:0 16px 0 10px; border:0; border-radius:999px; cursor:pointer;
  background:rgba(255,255,255,.66); color:var(--lk-ink); font:700 14px/1 Inter,system-ui,sans-serif; box-shadow:0 6px 16px rgba(14,8,32,.12), inset 0 0 0 1px rgba(255,255,255,.9); -webkit-backdrop-filter:blur(12px) saturate(1.3); backdrop-filter:blur(12px) saturate(1.3); }
.lk-locker svg{ width:18px; height:18px; }
.lk-locker:hover{ background:rgba(255,255,255,.88); }
.lk-locker[hidden]{ display:none; }
@media (prefers-reduced-motion:reduce){ .lr-stage.is-3d .lr-stage__hint{ animation:none; } .lr-3d__canvas{ transition:none; } .lr-stage.is-3d-ready .lr-art{ transition:none; } .lr-3d__spin, .lk-halo{ animation:none; } }

/* ---- the info block: rarity + what it is, the name, a line, Play it in, and the action ---- */
.lk-hero{ position:absolute; z-index:4; left:0; bottom:0; width:min(420px,52%); padding:18px 20px 16px; border-radius:26px;
  background:linear-gradient(170deg,rgba(255,255,255,.78),rgba(255,255,255,.6)); border:1px solid var(--lk-line);
  box-shadow:var(--lk-shadow), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(14,8,32,.06); -webkit-backdrop-filter:blur(20px) saturate(1.3); backdrop-filter:blur(20px) saturate(1.3); }
.lk-hero::before{ content:""; position:absolute; left:20px; right:20px; top:0; height:4px; border-radius:0 0 4px 4px; background:var(--rar-common-c); box-shadow:0 2px 12px var(--rar-common-c); }
.lk-hero[data-rarity="rare"]::before{ background:var(--rar-rare-c); box-shadow:0 2px 12px var(--rar-rare-c); }
.lk-hero[data-rarity="epic"]::before{ background:var(--rar-epic-c); box-shadow:0 2px 12px var(--rar-epic-c); }
.lk-hero[data-rarity="legendary"]::before{ background:var(--rar-legendary-c); box-shadow:0 2px 12px var(--rar-legendary-c); }
.lk-hero__id{ display:flex; align-items:center; flex-wrap:wrap; gap:8px 10px; }
.lr-rarity{ display:inline-block; padding:5px 10px 4px; border-radius:7px; font:900 12px/1 Inter,system-ui,sans-serif; letter-spacing:.09em; text-transform:uppercase; color:#fff; transform:skewX(-8deg); text-shadow:0 1px 1px rgba(0,0,0,.18); box-shadow:0 3px 8px rgba(14,8,32,.12); }
.lr-rarity--common{ background:linear-gradient(135deg,#1fc9a4,#0c8577); } .lr-rarity--rare{ background:linear-gradient(135deg,#4b97ff,#1f4fd6); }
.lr-rarity--epic{ background:linear-gradient(135deg,#b46bff,#6a2ad8); } .lr-rarity--legendary{ background:linear-gradient(135deg,#ffd94f,#ef8f0a); color:#3a2000; text-shadow:none; }
.lk-hero__kind{ font:800 12.5px/1.2 Inter,system-ui,sans-serif; letter-spacing:.08em; text-transform:uppercase; color:var(--lk-ink-2); }
.lk-hero__name{ margin:8px 0 0; font:400 clamp(30px,3vw,48px)/.98 var(--lr-display); color:var(--lk-ink); overflow-wrap:anywhere; transform:skewX(-6deg); transform-origin:0 100%;
  text-shadow:0 3px 0 rgba(236,63,200,.32), 0 8px 18px rgba(123,60,240,.18); }
.lr-tagline{ margin:8px 0 0; font:500 15px/1.4 Inter,system-ui,sans-serif; color:var(--lk-ink-2); }
.lk-hero__skins{ display:inline-flex; align-items:center; gap:7px; margin:10px 0 0; min-height:40px; padding:0 14px 0 10px; border:0; border-radius:999px; cursor:pointer;
  background:rgba(255,255,255,.75); color:var(--lk-ink); font:700 13.5px/1 Inter,system-ui,sans-serif; box-shadow:0 4px 12px rgba(14,8,32,.08), inset 0 0 0 1px rgba(var(--lk-ink-rgb),.14); }
.lk-hero__skins svg{ width:18px; height:18px; }
.lk-hero__skins:hover{ background:#fff; box-shadow:0 6px 16px rgba(14,8,32,.1), inset 0 0 0 1.5px rgba(123,60,240,.4); }
.lk-seein{ display:grid; gap:7px; margin:14px 0 0; }
.lk-seein__k{ font:800 11.5px/1 Inter,system-ui,sans-serif; letter-spacing:.09em; text-transform:uppercase; color:var(--lk-ink-3); }
.lk-seein__opts{ flex:1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.lk-world{ position:relative; display:grid; justify-items:center; gap:4px; min-height:56px; padding:6px 2px 5px; border:0; border-radius:14px; cursor:pointer;
  background:rgba(255,255,255,.6); color:var(--lk-ink); font:700 12px/1 Inter,system-ui,sans-serif; box-shadow:0 3px 10px rgba(14,8,32,.06), inset 0 0 0 1px rgba(var(--lk-ink-rgb),.1);
  transition:transform .16s cubic-bezier(.2,.7,.3,1), background .16s ease, box-shadow .16s ease; }
.lk-world img{ width:30px; height:30px; border-radius:9px; object-fit:cover; }
.lk-world:hover:not([disabled]){ transform:translateY(-2px); background:rgba(255,255,255,.9); }
.lk-world[aria-pressed="true"]{ background:#fff; color:var(--lk-ink); box-shadow:0 0 0 2.5px var(--lk-pink), 0 6px 18px rgba(236,63,200,.32); }
.lk-world[disabled]{ cursor:default; opacity:.45; filter:grayscale(.7); }
.lk-world__soon{ position:absolute; top:-6px; right:-4px; padding:3px 6px; border-radius:999px; background:linear-gradient(180deg,#fff2b0,#ffd457); color:#3b2a07; box-shadow:0 2px 6px rgba(120,80,0,.25), inset 0 0 0 1px rgba(255,255,255,.75); font:800 9px/1 Inter,system-ui,sans-serif; font-style:normal; letter-spacing:.04em; text-transform:uppercase; }
.lk-hero__acts{ display:flex; align-items:center; flex-wrap:wrap; gap:10px 12px; margin-top:14px; }
.lk-hero__acts .lr-btn{ width:auto; flex:1 1 200px; min-height:52px; font-size:17px; }
.lk-hero__note{ margin:10px 0 0; font:500 13px/1.4 Inter,system-ui,sans-serif; color:var(--lk-ink-2); }
.lk-hero .lr-msg{ margin:6px 0 0; color:var(--lk-ink-2); }
.lk-hero .lr-msg:empty{ display:none; }
.lk-equipped{ display:inline-flex; align-items:center; gap:7px; font:800 15px Inter,system-ui,sans-serif; color:var(--lk-green-ink); }
.lk-equipped svg{ width:26px; height:26px; padding:5px; border-radius:50%; color:#fff; background:var(--lr-green); box-shadow:0 3px 10px rgba(31,168,116,.35); }
.lk-cost{ display:inline-flex; align-items:center; gap:8px; padding:6px 14px 6px 7px; border-radius:999px; background:var(--lr-gold); font:900 21px/1 Inter,system-ui,sans-serif; font-variant-numeric:tabular-nums; color:#2a1a00; box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 4px 14px rgba(255,190,40,.3); }
.lk-cost .mb{ width:30px; height:30px; }
.lk-cost small{ font:700 13px Inter,system-ui,sans-serif; color:#6a4a00; }
.lk-ach{ display:grid; grid-template-columns:auto 1fr; align-items:center; gap:6px 10px; flex:1 1 100%; font:600 15px/1.3 Inter,system-ui,sans-serif; color:var(--lk-ink); }
.lk-ach svg{ width:24px; height:24px; color:#e09a00; }
.lk-ach .lr-meter{ grid-column:1 / -1; height:10px; }
.lk-ach b{ grid-column:1 / -1; font-variant-numeric:tabular-nums; }
.lr-meter{ position:relative; display:block; width:100%; height:6px; border-radius:6px; background:rgba(var(--lk-ink-rgb),.12); overflow:hidden; }
.lr-meter i{ position:absolute; inset:0 auto 0 0; border-radius:inherit; background:var(--lr-grad); }
.lk-parent{ margin:12px 0 0; font:600 13px Inter,system-ui,sans-serif; color:var(--lr-ink-2); }
.lk-kicker{ font:800 12px/1 Inter,system-ui,sans-serif; letter-spacing:.07em; text-transform:uppercase; color:var(--lr-ink-2); }

/* Styles: an outfit's variants as swatches in the info block */
.lk-styles{ display:flex; align-items:center; gap:8px; margin:10px 0 0; }
.lk-styles__k{ font:800 11.5px/1 Inter,system-ui,sans-serif; letter-spacing:.08em; text-transform:uppercase; color:var(--lk-ink-3); margin-right:2px; }
.lk-style{ position:relative; width:48px; height:48px; padding:0; border:0; border-radius:12px; overflow:hidden; cursor:pointer; background:var(--rar-common); box-shadow:0 3px 8px rgba(14,8,32,.12), inset 0 0 0 2px rgba(255,255,255,.75); transition:transform .15s ease, box-shadow .15s ease; }
.lk-style[data-rarity="rare"]{ background:var(--rar-rare); } .lk-style[data-rarity="epic"]{ background:var(--rar-epic); } .lk-style[data-rarity="legendary"]{ background:var(--rar-legendary); }
.lk-style img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 4%; transform:scale(1.7); transform-origin:50% 5%; }
.lk-style:hover{ transform:translateY(-2px); }
.lk-style[aria-checked="true"]{ box-shadow:0 0 0 3px #fff, 0 0 0 5px var(--lk-pink); }
.lk-style i{ position:absolute; right:3px; bottom:3px; display:grid; place-items:center; width:18px; height:18px; border-radius:50%; color:#fff; font-style:normal; }
.lk-style i svg{ width:11px; height:11px; }
.lk-style__lock{ background:rgba(20,14,60,.75); } .lk-style__on{ background:linear-gradient(135deg,#c64cf0,#7b3cf0); }

/* ---- the locker (right): title + wallet, tabs, tools, grid ---- */
.lk-side{ position:relative; padding:20px 22px 16px; border-radius:30px; background:var(--lk-glass); border:1px solid var(--lk-line);
  box-shadow:var(--lk-shadow), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(14,8,32,.06); -webkit-backdrop-filter:blur(22px) saturate(1.3); backdrop-filter:blur(22px) saturate(1.3); }
.lk-side__top{ display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:10px 18px; margin:0 2px 14px; }
.lk-side__title{ margin:0; font:400 clamp(44px,3.8vw,70px)/.9 var(--lr-display); text-transform:uppercase; letter-spacing:.01em; transform:skewX(-8deg); transform-origin:0 100%;
  color:var(--lk-ink); background:linear-gradient(100deg,#e43dbb 0%,#a23ee6 50%,#6a32e0 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 3px 0 #fff) drop-shadow(0 10px 16px rgba(123,60,240,.25)); padding:4px 6px 4px 0; }
.lr-mhead__coins{ display:none; }

/* the wallet row: who, the ONE balance (tap = the store), what you earned playing */
.lr-player{ display:grid; grid-template-columns:minmax(0,auto) auto; align-items:center; justify-content:end; gap:6px 12px; min-width:0; }
.lr-me{ display:flex; align-items:center; gap:10px; min-width:0; }
.lr-me > span:last-child{ min-width:0; }
.lr-avatar{ display:grid; place-items:center; width:42px; height:42px; border-radius:50%; flex:none; background:radial-gradient(circle at 35% 30%,#ffd0f3,#f06bd1 55%,#a03be8); color:#fff;
  font:400 19px/1 var(--lr-display); box-shadow:0 0 0 2px #fff, 0 4px 12px rgba(236,63,200,.35); }
.lr-avatar--guest{ background:linear-gradient(180deg,#ffffff,#e8e4fb); color:var(--lk-ink); }
.lr-avatar--guest svg{ width:22px; height:22px; }
.lr-me__name{ display:block; font:800 17px/1.15 Inter,system-ui,sans-serif; color:var(--lk-ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:16em; }
.lr-me__sub{ display:none; font:500 12px/1.3 Inter,system-ui,sans-serif; color:var(--lk-ink-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:22em; }
.lr-me .lr-btn{ width:auto; min-height:38px; font-size:14px; padding:0 14px; margin-left:4px; }
.lr-wallet{ display:contents; }
.lr-stat{ display:flex; align-items:center; gap:8px; padding:5px 6px 5px 6px; border:0; border-radius:999px; cursor:pointer; text-align:left;
  background:var(--lr-gold); color:#3a2500; font:600 12px/1.1 Inter,system-ui,sans-serif; box-shadow:0 6px 18px rgba(255,190,40,.28), inset 0 1px 0 rgba(255,255,255,.8); }
.lr-stat b{ display:block; font:900 18px/1 Inter,system-ui,sans-serif; color:#2a1a00; font-variant-numeric:tabular-nums; }
.lr-stat .mb{ width:34px; height:34px; flex:none; }
@media (max-width:1700px){ .lk-side .lr-earned{ display:none; } }
@media (max-width:1400px){ .lr-stat > span:not(.lr-getmore){ font-size:0; } .lr-stat b{ font-size:18px; } .lr-me > span:not(.lr-avatar){ display:none; } }
.lr-stat:hover{ filter:brightness(1.05); }
.lr-getmore{ margin-left:4px; padding:7px 12px; border-radius:999px; background:var(--lr-grad); color:#fff; font:800 12.5px/1 Inter,system-ui,sans-serif; white-space:nowrap; }
.lr-earned{ grid-column:1 / -1; display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:4px 12px; margin:0; padding:0; list-style:none; font:500 12px/1.2 Inter,system-ui,sans-serif; color:var(--lk-ink-3); }
.lr-earned li{ display:inline-flex; align-items:center; gap:5px; }
.lr-earned img{ width:16px; height:16px; border-radius:4px; object-fit:cover; }
.lr-earned b{ color:var(--lk-ink); font-weight:800; font-variant-numeric:tabular-nums; }
.lr-earned__k{ font-weight:800; text-transform:uppercase; letter-spacing:.07em; font-size:10.5px; }

/* tabs: real tabs (role=tablist); the one on show lifts to white with the Motions gradient under it */
.lk-tabs{ display:flex; gap:4px; padding:4px; margin:0 0 12px; border-radius:18px; background:var(--lk-well); box-shadow:inset 0 0 0 1px var(--lk-well-line); overflow-x:auto; scrollbar-width:none; }
.lk-tabs::-webkit-scrollbar{ display:none; }
.lk-tab{ position:relative; flex:1 1 0; min-width:0; display:grid; justify-items:center; align-content:center; gap:5px; min-height:62px; padding:6px 6px 8px; border:0; border-radius:14px; cursor:pointer;
  background:transparent; color:var(--lk-ink-2); font:800 12px/1 Inter,system-ui,sans-serif; letter-spacing:.05em; text-transform:uppercase; white-space:nowrap;
  transition:background .16s ease, color .16s ease; }
.lk-tab img{ width:24px; height:24px; border-radius:7px; object-fit:cover; flex:none; }
.lk-tab__i{ width:20px; height:20px; flex:none; }
.lk-tab__label{ max-width:100%; white-space:normal; text-align:center; line-height:1.1; }
.lk-tab__sub{ position:absolute; top:5px; right:6px; max-width:46%; overflow:hidden; text-overflow:ellipsis; padding:2px 6px; border-radius:999px; background:rgba(var(--lk-ink-rgb),.08); font:700 10px/1.2 Inter,system-ui,sans-serif; text-transform:none; letter-spacing:0; color:var(--lk-ink-2); }
.lk-tab:hover{ color:var(--lk-ink); background:rgba(255,255,255,.5); }
.lk-tab[aria-selected="true"]{ color:var(--lk-ink); background:#fff; box-shadow:0 4px 14px rgba(14,8,32,.1), inset 0 0 0 1px rgba(255,255,255,.9); }
.lk-tab[aria-selected="true"]::after{ content:""; position:absolute; left:18%; right:18%; bottom:3px; height:3px; border-radius:3px; background:var(--lr-grad); box-shadow:0 2px 8px rgba(236,63,200,.45); }
.lk-tab[aria-selected="true"] .lk-tab__sub{ color:var(--lk-ink-2); }

/* search, show (All / Yours / New), sort */
.lk-tools{ display:flex; align-items:center; gap:8px; margin:0 0 12px; flex-wrap:wrap; }
.lk-search{ flex:1 1 200px; display:flex; align-items:center; gap:8px; min-width:0; height:48px; padding:0 14px; border-radius:14px; background:var(--lk-field); box-shadow:0 3px 10px rgba(14,8,32,.05), inset 0 0 0 1px rgba(var(--lk-ink-rgb),.12); color:var(--lk-ink-3); }
.lk-search:focus-within{ background:#fff; box-shadow:inset 0 0 0 2px #7b3cf0, 0 0 0 4px rgba(123,60,240,.16); }
.lk-search svg{ width:18px; height:18px; flex:none; }
.lk-search input{ flex:1; min-width:0; height:100%; border:0; background:none; color:var(--lk-ink); font:600 15px Inter,system-ui,sans-serif; outline:none; }
.lk-search input::placeholder{ color:var(--lk-ink-3); }
.lk-filter{ display:flex; gap:2px; height:48px; padding:3px; border-radius:14px; background:var(--lk-field); box-shadow:0 3px 10px rgba(14,8,32,.05), inset 0 0 0 1px rgba(var(--lk-ink-rgb),.12); }
.lk-filter button{ min-width:58px; padding:0 12px; border:0; border-radius:11px; cursor:pointer; background:none; color:var(--lk-ink-2); font:800 13px/1 Inter,system-ui,sans-serif; letter-spacing:.03em; }
.lk-filter button:hover{ color:var(--lk-ink); background:rgba(var(--lk-ink-rgb),.06); }
.lk-filter button[aria-pressed="true"]{ background:var(--lk-ink); color:#fff; box-shadow:0 4px 10px rgba(34,26,92,.25); }
.lk-filter button[data-filter="new"][aria-pressed="true"]{ background:var(--lr-grad); color:#fff; box-shadow:0 4px 12px rgba(170,60,230,.35); }
.lk-sort{ display:flex; align-items:center; gap:8px; height:48px; padding:0 6px 0 12px; border-radius:14px; background:var(--lk-field); box-shadow:0 3px 10px rgba(14,8,32,.05), inset 0 0 0 1px rgba(var(--lk-ink-rgb),.12);
  font:800 11.5px/1 Inter,system-ui,sans-serif; letter-spacing:.07em; text-transform:uppercase; color:var(--lk-ink-3); }
.lk-sort select{ height:40px; padding:0 8px; border:0; border-radius:10px; background:rgba(var(--lk-ink-rgb),.07); color:var(--lk-ink); font:700 14px Inter,system-ui,sans-serif; cursor:pointer; }
.lk-sort select option{ color:#1a0b3d; }

/* the grid */
.lk-body{ display:block; }
.lk-body__head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:2px 2px 10px; }
.lk-body__title{ margin:0; font:400 clamp(20px,1.7vw,26px)/1.05 var(--lr-display); color:var(--lk-ink); letter-spacing:.01em; }
.lk-count{ flex:none; font:800 13px Inter,system-ui,sans-serif; color:var(--lk-ink-2); font-variant-numeric:tabular-nums; }
.lk-body__lead{ margin:-4px 2px 12px; font:500 14px/1.4 Inter,system-ui,sans-serif; color:var(--lk-ink-2); }
.lk-none{ margin:6px 2px 14px; padding:18px; border-radius:16px; background:var(--lk-well); color:var(--lk-ink-2); font:600 15px/1.4 Inter,system-ui,sans-serif; text-align:center; }
.lk-sec{ margin:0 0 16px; }
.lk-sec__title{ display:flex; align-items:center; gap:8px; margin:0 2px 9px; font:900 13px/1 Inter,system-ui,sans-serif; letter-spacing:.1em; text-transform:uppercase; color:var(--lk-ink); }
.lk-sec__title svg{ width:22px; height:22px; padding:4px; border-radius:50%; flex:none; }
.lk-sec__title b{ padding:3px 8px; border-radius:999px; background:rgba(var(--lk-ink-rgb),.09); font:800 12px/1 Inter,system-ui,sans-serif; letter-spacing:0; }
.lk-sec__title small{ font:600 12.5px/1.2 Inter,system-ui,sans-serif; letter-spacing:0; text-transform:none; color:var(--lk-ink-3); }
.lk-sec--yours .lk-sec__title svg{ background:var(--lr-green); color:#fff; }
.lk-sec--new .lk-sec__title svg{ background:var(--lr-grad); color:#fff; box-shadow:0 3px 10px rgba(236,63,200,.4); }
.lk-sec--new .lk-sec__title > span{ background:linear-gradient(90deg,#c81f9c,#6a2ad8); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.lk-tiles{ display:grid; grid-template-columns:repeat(auto-fill,minmax(118px,1fr)); gap:10px; }

/* ---- a tile: a square portrait on its rarity, its state at the foot ---- */
.lk-tile{ position:relative; display:block; width:100%; aspect-ratio:1; padding:0; border:2px solid rgba(255,255,255,.85); border-radius:16px; overflow:hidden; cursor:pointer;
  background:transparent; color:#fff; text-align:left; isolation:isolate;
  box-shadow:0 8px 18px rgba(30,24,90,.16), 0 1px 3px rgba(30,24,90,.1); transition:transform .16s cubic-bezier(.2,.7,.3,1), box-shadow .16s ease, border-color .16s ease, filter .16s ease; }
.lk-tile__art{ position:absolute; inset:0; z-index:-1; background:var(--rar-common); }
.lk-tile[data-rarity="rare"] .lk-tile__art{ background:var(--rar-rare); }
.lk-tile[data-rarity="epic"] .lk-tile__art{ background:var(--rar-epic); }
.lk-tile[data-rarity="legendary"] .lk-tile__art{ background:var(--rar-legendary); }
/* a faint diagonal sheen and stripes, like a trading card */
.lk-tile__art::before{ content:""; position:absolute; inset:0; z-index:0; background:repeating-linear-gradient(135deg,rgba(255,255,255,.07) 0 8px,rgba(255,255,255,0) 8px 18px); }
.lk-tile__art::after{ content:""; position:absolute; inset:0; z-index:2; background:linear-gradient(125deg,rgba(255,255,255,.28) 0%,rgba(255,255,255,0) 34%); pointer-events:none; }
.lk-tile__art img{ position:absolute; inset:0; z-index:1; width:100%; height:100%; object-fit:cover; }
/* an outfit's card is a full-body cut-out: show the head and shoulders (cover, anchored near the top, zoomed in) */
.lk-tile[data-crop="head"] .lk-tile__art img{ object-position:50% 3%; transform:scale(1.72); transform-origin:50% 4%; filter:drop-shadow(0 6px 8px rgba(10,0,40,.35)); }
.lk-tile[data-crop="center"] .lk-tile__art img{ inset:4% 6% 20%; width:88%; height:76%; object-fit:contain; filter:drop-shadow(0 6px 8px rgba(10,0,40,.35)); }
.lk-tile__foot{ position:absolute; left:0; right:0; bottom:0; z-index:3; display:grid; gap:3px; padding:22px 7px 7px; background:linear-gradient(to top,rgba(24,18,68,.9) 0%,rgba(24,18,68,.66) 55%,rgba(24,18,68,0) 100%); }
.lk-tile__name{ display:block; font:800 13px/1.12 Inter,system-ui,sans-serif; letter-spacing:-.01em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-shadow:0 1px 2px rgba(0,0,0,.5); }
.lk-tile__state{ display:flex; align-items:center; gap:4px; min-width:0; font:900 10.5px/1 Inter,system-ui,sans-serif; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }
.lk-tile__state > span{ overflow:hidden; text-overflow:ellipsis; }
.lk-tile__state svg{ width:14px; height:14px; flex:none; padding:2px; border-radius:50%; }
.lk-st--on{ color:#ffd2f6; } .lk-st--on svg{ background:var(--lr-grad); color:#fff; }
.lk-st--owned{ color:var(--lk-green); } .lk-st--owned svg{ background:var(--lk-green); color:#0b3a2a; }
.lk-st--needs{ color:rgba(236,232,255,.86); letter-spacing:.02em; text-transform:none; font-weight:700; font-size:11px; } .lk-st--needs svg{ padding:0; border-radius:0; color:#fff; }
.lk-st--earn{ color:#ffe08a; } .lk-st--earn svg{ padding:0; border-radius:0; color:#ffcf45; }
.lk-tile__price{ justify-self:start; display:inline-flex; align-items:center; gap:3px; padding:2px 7px 2px 2px; border-radius:999px; background:var(--lr-gold); color:#2a1a00; font:900 12px/1 Inter,system-ui,sans-serif; font-variant-numeric:tabular-nums; box-shadow:inset 0 1px 0 rgba(255,255,255,.8); }
.lk-tile__price .mb{ width:17px; height:17px; }
/* NEW: everything you don't have yet (Yours never carries it); the landing's yellow "new skins" badge */
.lk-tile__new{ position:absolute; z-index:3; top:6px; left:6px; padding:4px 7px 3px; border-radius:7px; background:linear-gradient(180deg,#fff2b0,#ffd457); color:#3b2a07; font:400 10.5px/1 var(--lr-display); letter-spacing:.04em;
  box-shadow:0 3px 10px rgba(120,80,0,.28), inset 0 0 0 1px rgba(255,255,255,.75); transform:skewX(-8deg) rotate(-2deg); }
.lk-tile__tag{ position:absolute; z-index:3; top:6px; right:6px; padding:4px 7px; border-radius:999px; background:rgba(24,18,68,.62); color:#fff; font:800 10.5px/1 Inter,system-ui,sans-serif; letter-spacing:.02em; }
.lk-tile:hover{ transform:translateY(-3px); border-color:#fff; box-shadow:0 14px 26px rgba(30,24,90,.24); }
.lk-tile:active{ transform:translateY(-1px) scale(.98); }
/* equipped / playing: a Motions-gradient frame */
.lk-tile.is-equipped{ border-color:transparent; background:var(--lr-grad) border-box; box-shadow:0 0 0 1.5px #fff, 0 10px 24px rgba(236,63,200,.32); }
/* the one on the stage: a white rim and a gold ring, like the Motion Bucks chip */
.lk-tile[aria-pressed="true"]{ border-color:#fff; transform:translateY(-3px) scale(1.03); z-index:1; box-shadow:0 0 0 3px #ffb31a, 0 0 0 5px rgba(255,255,255,.9), 0 0 24px rgba(255,190,40,.5), 0 14px 28px rgba(30,24,90,.26); }
.lk-tile.is-equipped[aria-pressed="true"]{ border-color:transparent; }

/* a game's slots (what you wear in each): pick one to fill the grid */
.lk-slots{ display:grid; grid-template-columns:repeat(auto-fill,minmax(84px,1fr)); gap:8px; margin:0 0 14px; }
.lk-slot{ display:grid; justify-items:center; gap:6px; padding:6px 6px 8px; border:0; border-radius:16px; cursor:pointer; background:rgba(255,255,255,.5); color:var(--lk-ink-2);
  box-shadow:0 3px 10px rgba(14,8,32,.05), inset 0 0 0 1px rgba(var(--lk-ink-rgb),.1); transition:background .16s ease, box-shadow .16s ease; }
.lk-slot:hover{ background:rgba(255,255,255,.85); color:var(--lk-ink); }
.lk-slot[aria-pressed="true"]{ background:#fff; color:var(--lk-ink); box-shadow:inset 0 0 0 2px #7b3cf0, 0 6px 18px rgba(123,60,240,.22); }
.lk-slot__art{ position:relative; display:grid; place-items:center; width:100%; aspect-ratio:1; border-radius:12px; overflow:hidden; background:rgba(var(--lk-ink-rgb),.07); }
.lk-slot__art[data-rarity="common"]{ background:var(--rar-common); } .lk-slot__art[data-rarity="rare"]{ background:var(--rar-rare); }
.lk-slot__art[data-rarity="epic"]{ background:var(--rar-epic); } .lk-slot__art[data-rarity="legendary"]{ background:var(--rar-legendary); }
.lk-slot__art img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.lk-slot__art i{ font:300 30px/1 Inter,system-ui,sans-serif; font-style:normal; color:var(--lk-ink-3); }
.lk-slot__name{ max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:800 11px/1.1 Inter,system-ui,sans-serif; letter-spacing:.02em; text-transform:uppercase; text-align:center; }

.lr-collection{ display:flex; align-items:center; gap:14px; margin:4px 2px 2px; padding:10px 14px; border-radius:14px; background:var(--lk-well); font:700 13px Inter,system-ui,sans-serif; color:var(--lk-ink-2); }
.lr-collection .lr-meter{ flex:1; min-width:0; height:10px; }
.lr-collection span{ white-space:nowrap; font-variant-numeric:tabular-nums; }
.lk-hints{ display:flex; flex-wrap:wrap; justify-content:center; gap:6px 18px; margin:12px 0 0; padding-top:12px; border-top:1px solid rgba(var(--lk-ink-rgb),.1); font:600 12px/1 Inter,system-ui,sans-serif; color:var(--lk-ink-3); }
.lk-hints span{ display:inline-flex; align-items:center; gap:4px; }
.lk-hints kbd{ display:inline-grid; place-items:center; min-width:22px; height:22px; padding:0 5px; border-radius:6px; background:#fff; box-shadow:inset 0 -2px 0 rgba(var(--lk-ink-rgb),.16), 0 0 0 1px rgba(var(--lk-ink-rgb),.1); color:var(--lk-ink); font:800 11px/1 Inter,system-ui,sans-serif; }
@media (pointer:coarse){ .lk-hints{ display:none; } }
.lr-free{ margin:16px 0 0; text-align:center; font:700 14px Inter,system-ui,sans-serif; color:var(--lk-ink); }

/* ---- the purchase sheets (light, from the nav CSS): confirm + almost there ---- */
.lr-lockbadge{ position:absolute; z-index:2; top:12px; left:12px; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:rgba(20,14,60,.62); color:#fff; box-shadow:0 2px 8px rgba(0,0,0,.25); pointer-events:none; }
.lr-lockbadge svg{ width:15px; height:15px; }
.lr-acts{ display:grid; gap:12px; margin-top:16px; }
.lr-balance{ display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:7px; margin:14px 0 0; padding-top:14px; border-top:1.5px solid rgba(90,80,160,.14); font:500 16px Inter,system-ui,sans-serif; color:var(--lr-ink-2); }
.lr-balance b{ color:var(--lr-ink); font-weight:800; display:inline-flex; align-items:center; gap:5px; font-variant-numeric:tabular-nums; }
.lr-balance .mb{ width:22px; height:22px; }
.lr-small{ width:min(560px, calc(100vw - 24px)); color:var(--lr-ink); }
.lr-small .lr-sheet__panel{ text-align:center; padding:36px 36px 26px; }
.lr-small h2{ margin:4px 0 14px; font:900 clamp(32px,5vw,50px)/1.05 Inter,system-ui,sans-serif; letter-spacing:-.03em; color:var(--lr-ink); }
.lr-small .lr-art{ position:relative; display:block; width:180px; height:180px; margin:0 auto; border-radius:24px; overflow:hidden; box-shadow:0 0 0 4px #fff, 0 12px 30px rgba(40,24,110,.25); }
.lr-small .lr-art .lr-lockbadge{ top:auto; left:auto; right:10px; bottom:10px; width:40px; height:40px; background:#2a1f6e; }
.lr-small .lr-art .lr-lockbadge svg{ width:22px; height:22px; }
.lr-small h3{ margin:16px 0 4px; font:400 30px/1.05 var(--lr-display); color:var(--lr-ink); }
.lr-small__line{ display:flex; align-items:center; justify-content:center; gap:7px; font:800 20px Inter,system-ui,sans-serif; font-variant-numeric:tabular-nums; }
.lr-small__line .mb{ width:24px; height:24px; }
.lr-small__usd{ font:500 15px Inter,system-ui,sans-serif; color:var(--lr-ink-2); }
.lr-progress{ display:flex; align-items:center; gap:12px; margin:12px 20px 0; }
.lr-progress .lr-meter{ flex:1; height:22px; border-radius:22px; background:rgba(90,80,160,.16); box-shadow:inset 0 0 0 2px rgba(255,255,255,.8); }
.lr-progress .lr-meter i{ background:linear-gradient(90deg,#ffd75a,#f7b52c); }
.lr-progress b{ font:800 18px Inter,system-ui,sans-serif; font-variant-numeric:tabular-nums; }
.lr-small p.lr-small__hint{ margin:14px 0 18px; font:500 16px/1.4 Inter,system-ui,sans-serif; color:var(--lr-ink-2); }
.lr-small .lr-acts{ margin-top:0; }
.lr-small .lr-balance{ border-top:0; padding-top:4px; }
.lr-small .lr-balance + .lr-acts{ margin-top:18px; }
.lr-small__ok svg{ width:64px; height:64px; padding:14px; border-radius:50%; background:var(--lr-green); color:#fff; }
.lr-small .lk-small-art{ background:var(--rar-common); }
.lr-small .lk-small-art[data-rarity="rare"]{ background:var(--rar-rare); } .lr-small .lk-small-art[data-rarity="epic"]{ background:var(--rar-epic); } .lr-small .lk-small-art[data-rarity="legendary"]{ background:var(--rar-legendary); }
.lr-small .lk-small-art img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.lr-small .lk-small-art img[src*="/motions/"]{ inset:6% 4% 0; width:92%; height:94%; object-fit:contain; object-position:50% 100%; }

/* first visit: pick your character (Rio or Jay) */
.lk-pick-first .lr-sheet__panel{ padding:30px 30px 24px; }
.lk-pick-first h2{ margin:8px 0 6px; }
.lk-first__sub{ margin:0 0 18px; font:500 16px/1.4 Inter,system-ui,sans-serif; color:var(--lr-ink-2); }
.lk-first{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.lk-card{ position:relative; display:flex; flex-direction:column; width:100%; padding:0 0 10px; border:0; border-radius:20px; overflow:hidden; cursor:pointer; background:#fff; color:var(--lr-ink); text-align:center;
  box-shadow:0 8px 20px rgba(40,24,110,.14), inset 0 0 0 2px #fff; transition:transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease; }
.lk-card:hover{ transform:translateY(-3px); box-shadow:0 0 0 3px #fff, 0 0 0 6px #f058d6, 0 16px 34px rgba(220,60,220,.3); }
.lk-card__art{ position:relative; display:block; aspect-ratio:4/5; background:var(--rar-common); }
.lk-card[data-rarity="rare"] .lk-card__art{ background:var(--rar-rare); } .lk-card[data-rarity="epic"] .lk-card__art{ background:var(--rar-epic); } .lk-card[data-rarity="legendary"] .lk-card__art{ background:var(--rar-legendary); }
.lk-card__art img{ position:absolute; inset:5% 3% 0; width:94%; height:95%; object-fit:contain; object-position:50% 100%; filter:drop-shadow(0 8px 10px rgba(20,10,60,.28)); }
.lk-card__name{ margin:12px 8px 4px; font:800 18px/1.15 Inter,system-ui,sans-serif; }
@media (max-width:640px){ .lk-pick-first .lr-sheet__panel{ padding:26px 16px 18px; } .lk-first{ gap:10px; } }

/* ---- footer ---- */
.lr-foot{ position:relative; z-index:1; padding:10px 16px 26px; text-align:center; font:500 13px Inter,system-ui,sans-serif; color:var(--lk-ink); }
.lr-foot nav{ display:flex; justify-content:center; flex-wrap:wrap; gap:8px; }
.lr-foot a{ color:var(--lk-ink); font-weight:600; text-decoration:none; }
.lr-foot a:hover{ text-decoration:underline; }
.lr-foot p{ margin:8px 0 0; opacity:.9; }

@media (prefers-reduced-motion:reduce){
  .lk-tile, .lk-world, .lk-style, .lk-tab, .lk-slot{ transition:none; }
  .lk-tile:hover, .lk-tile[aria-pressed="true"], .lk-tile:active, .lk-world:hover:not([disabled]), .lk-style:hover{ transform:none; }
}

/* ======================= narrower screens: the stage, the info, then the locker ======================= */
@media (max-width:1100px){
  .lk-grid{ grid-template-columns:1fr; gap:14px; }
  .lk-show{ position:relative; top:0; height:auto; min-height:0; --shift:0%; display:grid; gap:10px; }
  .lk-stage{ position:relative; inset:auto; height:min(64vh,620px); }
  .lk-hero{ position:relative; width:auto; }
  .lk-side__top{ margin-bottom:12px; }
}
.lr-mbar{ display:none; }
@media (max-width:640px){
  :root{ --nav-y:20px; }
  .lr{ width:calc(100% - 20px); padding-top:72px; }
  .lr-mbar{ display:flex; justify-content:center; align-items:center; gap:10px; margin:0 0 10px; }
  .lr-mbar__pill{ display:inline-flex; align-items:center; gap:10px; height:52px; padding:0 22px; border-radius:999px; text-decoration:none;
    background:var(--lr-grad); color:#fff; font:600 17px Inter,system-ui,sans-serif; white-space:nowrap; box-shadow:0 8px 20px rgba(150,60,230,.4), inset 0 0 0 1.5px rgba(255,255,255,.4); }
  .lr-mbar__pill svg{ width:26px; height:26px; }
  .lr-mbar__games{ display:flex; gap:8px; min-width:0; }
  /* four games + the pill on a 390px phone: the icons give way (down to 38px) before the row overflows */
  .lr-mbar__games a{ display:block; flex:0 1 52px; min-width:38px; aspect-ratio:1; width:52px; height:auto; border-radius:16px; overflow:hidden; background:rgba(255,255,255,.55); box-shadow:0 6px 14px rgba(14,8,32,.14), inset 0 0 0 1.5px rgba(255,255,255,.85); }
  .lr-mbar__games img{ width:100%; height:100%; object-fit:cover; }
  .lk-stage{ height:min(56vh,460px); border-radius:24px; }
  .lk-hero{ padding:16px 14px 14px; border-radius:22px; }
  .lk-hero__name{ font-size:32px; }
  .lr-tagline{ font-size:14px; }
  .lk-hero__acts .lr-btn{ flex-basis:100%; }
  .lk-side{ padding:14px 12px 12px; border-radius:24px; }
  .lk-side__title{ font-size:40px; }
  .lr-mhead__coins{ display:inline-flex; align-items:center; gap:7px; min-height:44px; padding:6px 14px 6px 7px; border:0; border-radius:999px; cursor:pointer; background:var(--lr-gold); color:#2a1a00; font:700 15px Inter,system-ui,sans-serif; white-space:nowrap; box-shadow:0 6px 16px rgba(255,190,40,.3); }
  .lr-mhead__coins .mb{ width:30px; height:30px; }
  .lr-mhead__coins b{ font:900 16px/1 Inter,system-ui,sans-serif; font-variant-numeric:tabular-nums; }
  .lk-side .lr-player{ display:none; }   /* phones: the balance is the header chip */
  .lk-tabs{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; overflow:visible; }
  .lk-tab{ min-height:56px; font-size:11px; letter-spacing:.03em; }
  .lk-tab__sub{ display:none; }
  .lk-tab img{ width:22px; height:22px; }
  .lk-search{ flex-basis:100%; }
  .lk-filter{ flex:1; }
  .lk-filter button{ flex:1; min-width:0; padding:0 6px; }
  .lk-tiles{ grid-template-columns:repeat(auto-fill,minmax(96px,1fr)); gap:8px; }
  .lk-tile{ border-radius:14px; }
  .lk-tile__name{ font-size:12px; }
  .lk-slots{ grid-template-columns:repeat(auto-fill,minmax(70px,1fr)); }
  .lk-sec__title small{ display:none; }
  .lr-small .lr-sheet__panel{ padding:28px 18px 20px; }
  .lr-small .lr-art{ width:140px; height:140px; }
  .lr-btn{ font-size:17px; }
}
@media (max-width:380px){
  .lr-mbar__games{ gap:6px; }
  .lr-mbar__games a{ flex-basis:44px; min-width:32px; border-radius:12px; }
  .lr-mbar{ gap:8px; }
  .lr-mbar__pill{ padding:0 16px; font-size:16px; }
  .lk-sort span{ display:none; }
}
@media (max-width:340px){
  /* the pill + four games no longer fit one row at a tappable size: the games wrap under the pill */
  .lr-mbar{ flex-wrap:wrap; row-gap:8px; }
  .lr-mbar__games{ flex-basis:100%; justify-content:center; }
  .lr-mbar__games a{ flex:0 0 44px; }
}
