/* The Locker Room page (/locker/). Concepts: design/locker-room-concepts 02-05 (desktop hub, preview, tabs),
   07 (almost there), 09 (phones). Shared nav, store and sign-in: motions-locker-nav-v1.css.
   Immutable under /assets/*: a change ships as -v2. */

:root{
  --nav-y:34px; --nav-ink:#2b2366; --nav-ink-hov:#0B0D12; --ink:#372A63; --lo-rgb:14,8,32;
  --cw:132px;                     /* one card unit; JS packs rows from the measured width */
}
*, *::before, *::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body.lr-page{
  margin:0; min-height:100dvh; overflow-x:hidden; color:var(--lr-ink);
  font-family:Inter,system-ui,sans-serif;
  background:#8fc6f7 url('/assets/motions-hero-sky-soft-clouds.webp') center top / cover fixed;
}
@supports (-webkit-touch-callout:none){ body.lr-page{ background-attachment:scroll; } }
.lr-visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.lr-page button{ font-family:inherit; }
.lr-page :focus-visible{ outline:3px solid #7b3cf0; outline-offset:2px; }

.lr{ position:relative; width:min(1170px, calc(100% - 32px)); margin:0 auto; padding:84px 0 28px; }

/* ---- title ---- */
.lr-head{ text-align:center; margin-bottom:14px; }
.lr-title{
  margin:0; font:400 clamp(44px,6.4vw,84px)/.95 var(--lr-display); color:#fff; letter-spacing:.01em;
  transform:skewX(-9deg);
  text-shadow:0 2px 0 #6b3ee6, 0 4px 0 #4b2bb8, 0 6px 0 #33208a, 0 10px 22px rgba(40,20,120,.45);
  -webkit-text-stroke:1.5px rgba(70,40,170,.55);
}
.lr-sub{ margin:12px 0 0; font:600 clamp(15px,1.4vw,19px)/1.3 Inter,system-ui,sans-serif; color:#fff; text-shadow:0 1px 3px rgba(20,20,80,.45), 0 0 14px rgba(20,30,90,.25); }

/* ---- the glass panel ---- */
.lr-panel{
  position:relative; padding:22px 22px 18px; border-radius:32px;
  background:linear-gradient(180deg,rgba(255,255,255,.46),rgba(232,240,255,.34));
  border:1.5px solid rgba(255,255,255,.8);
  box-shadow:0 26px 70px rgba(40,40,140,.20), inset 0 1px 0 rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(22px) saturate(1.25); backdrop-filter:blur(22px) saturate(1.25);
}
.lr-loading, .lr-noscript{ text-align:center; padding:40px 0; font-weight:600; color:var(--lr-ink-2); }
.lr-mhead{ display:none; }

/* ---- coming soon: the launch flag is off (locker-room-v1.js#comingSoon) ---- */
.lr.is-soon .lr-mbar{ display:none; }
.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(--lr-ink); }
.lr-soon__text{ max-width:30em; margin:12px auto 0; font:500 16px/1.45 Inter,system-ui,sans-serif; color:var(--lr-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,.6); color:var(--lr-ink); font:700 14px Inter,system-ui,sans-serif; text-decoration:none; box-shadow:0 8px 22px rgba(40,40,140,.12); 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; } }
.lr-featured{ display:none; } /* phones only (concept 09) */

/* ---- player row ---- */
.lr-player{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin:0 auto 16px; width:fit-content; max-width:100%;
  padding:10px 14px; border-radius:24px;
  background:rgba(255,255,255,.5); border:1.5px solid rgba(255,255,255,.85); box-shadow:0 8px 24px rgba(40,24,110,.08);
}
.lr-me{ display:flex; align-items:center; gap:14px; padding-right:18px; margin-right:4px; border-right:1.5px solid rgba(90,80,160,.18); }
.lr-avatar{
  display:grid; place-items:center; width:64px; height:64px; border-radius:50%; flex:none;
  background:radial-gradient(circle at 35% 30%,#ffd0f3,#f06bd1 55%,#a03be8); color:#fff;
  font:400 28px/1 var(--lr-display); box-shadow:0 0 0 3px #fff, 0 0 0 6px rgba(200,80,240,.55), 0 8px 18px rgba(150,40,200,.3);
}
.lr-avatar--guest{ background:linear-gradient(180deg,#e7e5f6,#c9c4e6); color:#6c6898; }
.lr-avatar--guest svg{ width:32px; height:32px; }
.lr-me__name{ font:800 24px/1.1 Inter,system-ui,sans-serif; letter-spacing:-.02em; }
.lr-me__sub{ display:block; font:500 13px/1.3 Inter,system-ui,sans-serif; color:var(--lr-ink-2); }
.lr-me .lr-btn{ width:auto; min-height:40px; font-size:15px; padding:0 18px; }
.lr-stat{
  display:flex; align-items:center; gap:10px; padding:8px 18px 8px 10px; border-radius:20px; min-width:150px;
  background:rgba(255,255,255,.62); border:1.5px solid rgba(255,255,255,.9);
  font:500 14px/1.15 Inter,system-ui,sans-serif; color:var(--lr-ink-2); text-align:left;
}
button.lr-stat{ cursor:pointer; }
button.lr-stat:hover{ box-shadow:0 6px 16px rgba(120,50,220,.18); }
.lr-stat b{ display:block; font:800 21px/1.1 Inter,system-ui,sans-serif; color:var(--lr-ink); font-variant-numeric:tabular-nums; }
.lr-stat .mb{ width:44px; height:44px; flex:none; }
/* ONE wallet: the Motion Coin balance (tap = the store) + a small "earned playing" history line, never more balances */
.lr-wallet{ display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.lr-stat--wallet{ min-width:0; padding-right:10px; }
.lr-getmore{ margin-left:8px; padding:7px 13px; border-radius:999px; background:var(--lr-grad); color:#fff; font:800 13px/1 Inter,system-ui,sans-serif; white-space:nowrap; box-shadow:0 4px 10px rgba(160,60,230,.28); }
.lr-earned{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; margin:0; padding:0 6px; list-style:none; font:500 12px/1.2 Inter,system-ui,sans-serif; color:var(--lr-ink-2); }
.lr-earned li{ display:inline-flex; align-items:center; gap:5px; }
.lr-earned img{ width:18px; height:18px; border-radius:5px; object-fit:cover; }
.lr-earned b{ color:var(--lr-ink); font-weight:800; font-variant-numeric:tabular-nums; }
.lr-earned__k{ font-weight:700; text-transform:uppercase; letter-spacing:.06em; font-size:10.5px; }

/* ---- game tabs: icon tiles (concept 02) ---- */
.lr-tabs{ display:flex; justify-content:center; gap:18px; margin:0 0 6px; }
.lr-tab{
  position:relative; width:166px; aspect-ratio:166/124; padding:0; border:0; border-radius:22px; cursor:pointer; overflow:hidden;
  background:#2b2370; box-shadow:0 8px 20px rgba(40,24,110,.18), inset 0 0 0 2px rgba(255,255,255,.65);
  transition:transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s ease;
}
.lr-tab img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; scale:1.18; }
.lr-tab span{
  position:absolute; left:0; right:0; bottom:0; padding:18px 6px 7px; color:#fff;
  font:700 15px/1 Inter,system-ui,sans-serif; text-shadow:0 1px 3px rgba(0,0,0,.6);
  background:linear-gradient(180deg,transparent,rgba(20,10,60,.55));
}
.lr-tab:hover:not([disabled]){ transform:translateY(-3px); }
.lr-tab[aria-selected="true"]{
  transform:scale(1.06); z-index:1;
  box-shadow:0 0 0 4px #f058d6, 0 0 0 7px rgba(255,255,255,.9), 0 14px 34px rgba(220,60,220,.45);
}
.lr-tab[disabled]{ cursor:default; filter:grayscale(1) brightness(1.12); opacity:.62; }

/* ---- sections, packed into rows ---- */
.lr-rows{ display:grid; gap:10px; margin-top:10px; }
.lr-row{ display:flex; gap:0; justify-content:center; align-items:stretch; margin-inline:auto; width:100%; }
.lr-sec{ flex:var(--units) 1 0; min-width:0; padding:0 8px; display:flex; flex-direction:column; }
.lr-sec + .lr-sec{ border-left:1.5px solid rgba(90,80,160,.16); padding-left:14px; margin-left:6px; }
.lr-sec__head{ display:flex; align-items:center; gap:10px; margin:4px 4px 8px; }
.lr-sec__title{ margin:0; font:400 26px/1 var(--lr-display); color:var(--lr-ink); letter-spacing:.01em; text-transform:uppercase; }
.lr-sec__new{ padding:4px 9px; border-radius:999px; background:var(--lr-grad); color:#fff; font:800 12px/1 Inter,system-ui,sans-serif; }
.lr-sec__sub{ margin:-4px 4px 8px; font:500 14px Inter,system-ui,sans-serif; color:var(--lr-ink-2); }
.lr-grid{ display:grid; grid-template-columns:repeat(var(--n), minmax(0,1fr)); gap:10px; padding:8px; border-radius:20px; background:rgba(255,255,255,.28); border:1.5px solid rgba(255,255,255,.6); flex:1; align-content:start; }

/* ---- a card ---- */
.lr-card{
  position:relative; display:flex; flex-direction:column; align-items:center; min-width:0;
  padding:6px 6px 8px; border-radius:16px;
  background:rgba(255,255,255,.66); border:1.5px solid rgba(255,255,255,.95);
  box-shadow:0 6px 16px rgba(40,24,110,.08);
  transition:transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease;
}
.lr-card:hover{ transform:translateY(-2px); box-shadow:0 12px 26px rgba(40,24,110,.15); }
.lr-card .lr-art{ width:100%; aspect-ratio:1; border-radius:11px; cursor:zoom-in; border:0; padding:0; }
.lr-card[data-shape="wide"] .lr-art{ aspect-ratio:16/10; }
.lr-card[data-shape="tall"]:not([data-game="moon-jump"]) .lr-art{ aspect-ratio:4/5; }
.lr-card.is-equipped{ border-color:transparent; background:linear-gradient(#fff6fe,#fbefff) padding-box, var(--lr-grad) border-box; border-width:3px; box-shadow:0 0 0 3px rgba(240,88,214,.25), 0 10px 26px rgba(200,60,230,.30); }
.lr-card.is-locked .lr-art img, .lr-card.is-achievement .lr-art img{ filter:brightness(.82) saturate(.85); }
.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-lockbadge--trophy{ background:linear-gradient(180deg,#ffd75a,#f0a91b); color:#5a3500; }
.lr-card__name{ margin:7px 0 2px; font:700 14px/1.2 Inter,system-ui,sans-serif; text-align:center; color:var(--lr-ink); overflow-wrap:anywhere; }
.lr-card__state{ display:flex; align-items:center; justify-content:center; gap:5px; min-height:24px; margin-bottom:6px; text-align:center; }
.lr-pill{ display:inline-flex; align-items:center; gap:5px; font:800 12px/1 Inter,system-ui,sans-serif; letter-spacing:.03em; text-transform:uppercase; }
.lr-pill svg{ width:18px; height:18px; flex:none; border-radius:50%; padding:3px; color:#fff; }
.lr-pill--equipped{ color:#9a2fe0; } .lr-pill--equipped svg{ background:linear-gradient(135deg,#c64cf0,#7b3cf0); }
.lr-pill--owned{ color:var(--lr-green); } .lr-pill--owned svg{ background:var(--lr-green); }
.lr-price{
  display:inline-flex; align-items:center; gap:5px; padding:4px 10px 4px 6px; border:0; border-radius:999px; cursor:pointer;
  background:var(--lr-gold); color:var(--lr-ink); font:800 13px/1 Inter,system-ui,sans-serif; font-variant-numeric:tabular-nums;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 2px 6px rgba(200,140,0,.22);
}
.lr-price .mb{ width:18px; height:18px; }
.lr-price small{ font:600 11px/1 Inter,system-ui,sans-serif; color:#6a5a2a; }
.lr-price:hover{ filter:brightness(1.05); }
.lr-rule{ display:grid; gap:4px; justify-items:center; width:100%; font:500 11px/1.25 Inter,system-ui,sans-serif; color:var(--lr-ink-2); }
.lr-rule__line{ display:flex; align-items:flex-start; gap:4px; text-align:center; }
.lr-rule__line svg{ width:14px; height:14px; flex:none; color:#e2a114; }
.lr-meter{ position:relative; width:100%; height:6px; border-radius:6px; background:rgba(90,80,160,.16); overflow:hidden; }
.lr-meter i{ position:absolute; inset:0 auto 0 0; border-radius:inherit; background:var(--lr-grad); }
.lr-rule__n{ font-weight:700; color:var(--lr-ink); font-variant-numeric:tabular-nums; }
.lr-card__actions{ display:flex; gap:6px; width:100%; margin-top:auto; }
.lr-mini{
  flex:1; display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:32px; padding:0 8px; border:0; border-radius:999px; cursor:pointer;
  background:#fff; color:var(--lr-ink); font:600 13px/1 Inter,system-ui,sans-serif;
  box-shadow:0 2px 8px rgba(40,24,110,.08), inset 0 0 0 1.5px rgba(120,100,200,.14);
}
.lr-mini svg{ width:16px; height:16px; }
.lr-mini:hover{ color:var(--lr-violet); box-shadow:0 4px 12px rgba(40,24,110,.12), inset 0 0 0 1.5px rgba(123,60,240,.4); }
.lr-mini--equip{ background:var(--lr-grad); color:#fff; box-shadow:0 4px 10px rgba(170,60,230,.3); }
.lr-mini--equip:hover{ color:#fff; filter:brightness(1.06); }
.lr-mini--icon{ flex:0 0 32px; padding:0; }

/* ---- collection bar ---- */
.lr-collection{
  display:flex; align-items:center; gap:18px; margin:16px auto 0; padding:10px 18px; width:min(880px,100%);
  border-radius:999px; background:rgba(255,255,255,.5); border:1.5px solid rgba(255,255,255,.85);
  font:600 14px Inter,system-ui,sans-serif; color:var(--lr-ink);
}
.lr-collection .lr-meter{ flex:1; height:12px; }
.lr-collection span{ white-space:nowrap; font-variant-numeric:tabular-nums; }
.lr-free{ margin:12px 0 0; text-align:center; font:700 15px Inter,system-ui,sans-serif; color:var(--lr-ink); }

/* ---- preview modal (concept 03) ---- */
.lr-preview{ width:min(980px, calc(100vw - 24px)); }
.lr-preview .lr-sheet__panel{ display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); gap:38px; padding:32px 40px 22px 44px; overflow:visible; }
.lr-stage{
  position:relative; aspect-ratio:512/566; border-radius:28px; overflow:hidden; touch-action:pan-y; user-select:none;
  box-shadow:0 18px 40px rgba(20,10,70,.28), inset 0 0 0 1px rgba(255,255,255,.25);
}
.lr-stage .lr-art{ position:absolute; inset:0; }
.lr-stage .lr-art img{ inset:auto 6% 4%; width:88%; height:80%; }
.lr-stage .lr-art[data-shape="wide"] img{ inset:8%; width:84%; height:84%; }
.lr-stage .lr-art[data-shape="wide"][data-game="moon-jump"] img{ inset:20% 6%; width:88%; height:60%; object-fit:contain; }
.lr-stage .lr-art[data-fit="cover"][data-shape] img{ inset:0; width:100%; height:100%; object-fit:cover; }
.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; }
/* 3D stage (locker-preview-3d-v1.js): the thumbnail stays as the placeholder until the first frame, then the canvas
   fades in over it (ease-out 320ms; reduced motion: no fade). The tags, hint and buttons sit above the canvas. */
.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; }
.lr-3d__loading{ position:absolute; left:50%; bottom:22px; translate:-50% 0; margin:0; display:inline-flex; align-items:center; gap:9px; padding:9px 16px; border-radius:999px;
  background:rgba(30,22,80,.6); color:#fff; font:600 14px/1 Inter,system-ui,sans-serif; white-space:nowrap;
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.3); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
.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(255,255,255,.35); border-top-color:#fff; animation:lr-spin .8s linear infinite; }
@keyframes lr-spin{ to{ rotate:360deg; } }
.lr-3d__bar{ position:absolute; z-index:2; left:12px; right:12px; bottom:16px; display:flex; justify-content:center; gap:8px; pointer-events:none; }
.lr-3d__bar .lr-anim{ pointer-events:auto; width:auto; min-width:0; flex:0 1 auto; padding:10px 14px; font-size:14px; border-radius:14px; }
.lr-3d__bar .lr-3d__pause{ width:42px; flex:none; padding:10px 0; }
.lr-3d__bar .lr-3d__pause svg{ width:18px; height:18px; }
.lr-stage.is-3d .lr-stage__hint{ bottom:74px; font-size:14px; animation:lr-hint-out .5s ease 4.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__inset{ position:absolute; z-index:2; right:14px; bottom:76px; width:34%; aspect-ratio:1; border-radius:16px; object-fit:cover; box-shadow:0 8px 20px rgba(0,0,0,.35), inset 0 0 0 1.5px rgba(255,255,255,.4); }
@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{ animation:none; } }
.lr-stage__tags{ position:absolute; z-index:2; top:18px; left:18px; right:18px; display:flex; gap:10px; flex-wrap:wrap; }
.lr-tag{
  display:inline-flex; align-items:center; gap:7px; padding:8px 16px; border-radius:999px;
  background:rgba(30,22,80,.55); color:#fff; font:600 15px/1 Inter,system-ui,sans-serif;
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.35); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
.lr-tag svg{ width:16px; height:16px; }
.lr-stage__hint{ position:absolute; z-index:2; left:0; right:0; bottom:106px; display:flex; justify-content:center; align-items:center; gap:8px; color:#fff; font:600 15px Inter,system-ui,sans-serif; text-shadow:0 1px 4px rgba(0,0,0,.6); pointer-events:none; }
.lr-stage__hint svg{ width:20px; height:20px; }
.lr-anims{ position:absolute; z-index:2; left:0; right:0; bottom:20px; display:flex; justify-content:center; gap:12px; }
.lr-anim{
  display:grid; justify-items:center; gap:4px; width:110px; padding:10px 0 8px; border:0; border-radius:16px; cursor:pointer;
  background:rgba(40,40,140,.55); color:#fff; font:600 15px/1 Inter,system-ui,sans-serif;
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.35); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
.lr-anim svg{ width:24px; height:24px; }
.lr-anim[aria-pressed="true"]{ background:rgba(60,70,200,.75); box-shadow:inset 0 0 0 2.5px #fff; }
.lr-info{ display:flex; flex-direction:column; padding-top:18px; min-width:0; }
.lr-info h2{ margin:0 56px 10px 0; font:400 clamp(34px,4.4vw,52px)/1 var(--lr-display); color:var(--lr-ink); overflow-wrap:anywhere; }
.lr-rarity{ align-self:flex-start; padding:5px 12px; border-radius:6px; font:800 14px/1 Inter,system-ui,sans-serif; letter-spacing:.04em; text-transform:uppercase; color:#fff; }
.lr-rarity--common{ background:#5f8fb8; } .lr-rarity--rare{ background:#2f7ff0; } .lr-rarity--epic{ background:#9b30e8; }
.lr-tagline{ margin:14px 0 18px; font:500 18px/1.35 Inter,system-ui,sans-serif; color:var(--lr-ink-2); }
.lr-pricebox{ padding:16px 22px; border-radius:20px; background:rgba(255,255,255,.75); border:1.5px solid #fff; box-shadow:0 6px 18px rgba(40,24,110,.06); }
.lr-pricebox__main{ display:flex; align-items:center; gap:10px; font:800 30px/1.1 Inter,system-ui,sans-serif; font-variant-numeric:tabular-nums; }
.lr-pricebox__main small{ font:700 24px Inter,system-ui,sans-serif; }
.lr-pricebox__main .mb{ width:34px; height:34px; }
.lr-pricebox__usd{ margin:2px 0 0 46px; font:500 16px Inter,system-ui,sans-serif; color:var(--lr-ink-2); }
.lr-pricebox__note{ margin:6px 0 0; font:500 14px/1.35 Inter,system-ui,sans-serif; color:var(--lr-ink-2); }
.lr-pricebox--ach .lr-pricebox__main{ font-size:20px; gap:10px; }
.lr-pricebox--ach .lr-pricebox__main svg{ width:28px; height:28px; color:#e2a114; flex:none; }
.lr-pricebox .lr-meter{ height:10px; margin-top:12px; }
.lr-acts{ display:grid; gap:12px; margin-top:16px; }
.lr-acts__note{ margin:-4px 0 0; text-align:center; font:500 14px Inter,system-ui,sans-serif; color:var(--lr-ink-2); }
.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-nav-btn{
  position:absolute; top:50%; z-index:4; display:grid; place-items:center; width:58px; height:58px; margin-top:-29px; border:0; border-radius:50%; cursor:pointer;
  background:#fff; color:var(--lr-ink); box-shadow:0 8px 22px rgba(40,24,110,.2);
}
.lr-nav-btn svg{ width:26px; height:26px; }
.lr-nav-btn--prev{ left:-36px; } .lr-nav-btn--next{ right:-36px; }
.lr-dots{ grid-column:1 / -1; display:flex; justify-content:center; align-items:center; gap:10px; margin-top:-8px; }
.lr-dots i{ width:10px; height:10px; border-radius:50%; background:rgba(90,80,160,.22); }
.lr-dots i.is-on{ background:#7b3cf0; }
.lr-dots span{ margin-left:12px; font:600 15px Inter,system-ui,sans-serif; color:var(--lr-ink-2); font-variant-numeric:tabular-nums; }

/* ---- confirm + almost there (concept 07) ---- */
.lr-small{ width:min(560px, calc(100vw - 24px)); }
.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{ width:180px; height:180px; margin:0 auto; border-radius:24px; 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; 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; }

/* ======================= responsive ======================= */
@media (max-width:1100px){
  .lr-player{ justify-content:center; }
  .lr-me{ border-right:0; padding-right:0; margin-right:0; width:100%; justify-content:center; }
  .lr-stat{ min-width:0; }
  .lr-wallet{ align-items:center; }
  .lr-preview .lr-sheet__panel{ gap:26px; padding:28px 30px 20px; }
  .lr-nav-btn--prev{ left:-14px; } .lr-nav-btn--next{ right:-14px; }
}
@media (max-width:900px){
  .lr-tab{ width:132px; }
  .lr-preview .lr-sheet__panel{ grid-template-columns:1fr; gap:16px; padding:20px 18px 16px; }
  .lr-stage{ aspect-ratio:4/3.4; }
  .lr-info{ padding-top:0; }
  .lr-info h2{ margin-right:0; }
  .lr-nav-btn{ top:min(36%, 260px); width:46px; height:46px; }
  .lr-nav-btn--prev{ left:8px; } .lr-nav-btn--next{ right:8px; }
  .lr-preview .lr-close{ top:12px; right:12px; }
  .lr-preview .lr-stage__tags{ right:52px; }   /* clear of the close button */
}

/* Phones (concept 09): a featured card, then two cards a row, each art beside its name. */
.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 12px; }
  .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; }
  .lr-mbar__games a{ display:block; width:52px; height:52px; border-radius:16px; overflow:hidden; background:rgba(255,255,255,.55); box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.9), 0 4px 12px rgba(40,24,110,.12); }
  .lr-mbar__games img{ width:100%; height:100%; object-fit:cover; }
  .lr-head{ display:none; }
  .lr-panel{ padding:16px 12px 14px; border-radius:30px; }
  .lr-mhead{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0 4px 12px; }
  .lr-mhead__title{ font:400 23px/1 var(--lr-display); color:var(--lr-ink); white-space:nowrap; }
  .lr-mhead__coins{ display:inline-flex; align-items:center; gap:7px; padding:7px 14px 7px 7px; border-radius:999px; background:rgba(255,255,255,.7); font:700 15px Inter,system-ui,sans-serif; white-space:nowrap; }
  .lr-mhead__coins{ border:0; cursor:pointer; color:var(--lr-ink); }
  .lr-mhead__coins .mb{ width:30px; height:30px; }
  .lr-mhead__coins b{ font:800 16px/1 Inter,system-ui,sans-serif; font-variant-numeric:tabular-nums; }
  .lr-player{ display:none; }
  .lr-tabs{ gap:0; padding:3px; border-radius:18px; background:rgba(255,255,255,.55); border:1.5px solid rgba(255,255,255,.9); margin-bottom:12px; }
  .lr-tab{ flex:1; width:auto; aspect-ratio:auto; height:46px; border-radius:15px; background:transparent; box-shadow:none; }
  .lr-tab img{ display:none; }
  .lr-tab span{ position:static; display:block; padding:0; background:none; color:var(--lr-ink-2); text-shadow:none; font-size:15px; font-weight:600; }
  .lr-tab[aria-selected="true"]{ transform:none; background:linear-gradient(100deg,#b145ee,#7b3cf0); box-shadow:0 6px 14px rgba(123,60,240,.35); }
  .lr-tab[aria-selected="true"] span{ color:#fff; }
  .lr-tab[disabled]{ display:none; }
  .lr-featured:not([hidden]){
    position:relative; display:grid; grid-template-columns:52% 48%; align-items:center; margin-bottom:12px; overflow:hidden;
    border-radius:22px; border:1.5px solid rgba(255,255,255,.9); background:rgba(255,255,255,.5); box-shadow:0 10px 26px rgba(40,24,110,.12);
  }
  .lr-featured .lr-art{ height:100%; min-height:230px; border:0; padding:0; cursor:zoom-in; }
  .lr-featured__body{ display:grid; gap:9px; padding:14px 12px 14px 8px; }
  .lr-featured h3{ margin:0; font:800 22px/1.1 Inter,system-ui,sans-serif; letter-spacing:-.02em; }
  .lr-featured .lr-price{ justify-self:start; font-size:15px; padding:6px 12px 6px 7px; }
  .lr-featured .lr-btn{ min-height:44px; font-size:16px; padding:0 12px; gap:8px; white-space:nowrap; }
  .lr-featured .lr-btn svg.lr-play{ width:16px; height:16px; }
  .lr-sec{ padding:0; }
  .lr-sec + .lr-sec{ border-left:0; padding-left:0; margin-left:0; margin-top:6px; }
  .lr-row{ flex-direction:column; gap:6px; }
  .lr-sec__title{ font-size:20px; }
  .lr-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); padding:0; background:none; border:0; gap:10px; }
  /* Concept 09: the render fills the card, a frosted panel on the right carries the name and state. */
  .lr-card{ display:grid; grid-template-columns:36% 64%; grid-template-rows:auto auto 1fr auto; align-items:start; padding:0; overflow:hidden; border-radius:18px; min-height:156px; }
  .lr-card .lr-art, .lr-card[data-shape="wide"] .lr-art{ grid-column:1 / -1; grid-row:1 / -1; aspect-ratio:auto; height:100%; min-height:156px; border-radius:0; }
  .lr-card[data-shape="tall"] .lr-art img{ inset:auto auto 0 -6%; width:66%; height:94%; }
  /* A full-scene thumbnail sits left, its subject clear of the frosted panel, its right edge fading into it. */
  .lr-card .lr-art[data-fit="cover"][data-shape] img{ inset:0 auto 0 0; width:62%; height:100%;
    -webkit-mask-image:linear-gradient(90deg,#000 72%,transparent); mask-image:linear-gradient(90deg,#000 72%,transparent); }
  .lr-card::after{ content:""; grid-column:2; grid-row:1 / -1; align-self:stretch; z-index:1; pointer-events:none;
    background:linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.86) 24%, rgba(255,255,255,.92)); }
  .lr-card.is-equipped::after{ background:linear-gradient(90deg, rgba(255,246,254,0), rgba(255,246,254,.88) 24%, rgba(255,246,254,.94)); }
  .lr-card__name, .lr-card__state, .lr-card__actions{ grid-column:2; position:relative; z-index:2; }
  .lr-card .lr-lockbadge{ top:8px; left:8px; width:24px; height:24px; }
  .lr-card__name{ grid-row:1; }
  .lr-card__state{ grid-row:2; }
  .lr-card__actions{ grid-row:4; }
  .lr-card__name{ margin:12px 6px 4px 16px; font-size:15px; text-align:left; justify-self:start; }
  .lr-card__state{ justify-content:flex-start; margin:0 6px 6px 16px; flex-wrap:wrap; }
  .lr-card .lr-pill{ font-size:11px; }
  .lr-card .lr-price{ font-size:13px; padding:4px 8px 4px 5px; flex-wrap:wrap; row-gap:2px; }
  .lr-card .lr-price small{ font-size:10px; }
  .lr-card__actions{ align-self:end; padding:0 8px 8px 16px; }
  .lr-card .lr-mini{ min-height:30px; font-size:12px; }
  .lr-card .lr-mini .lr-mini__label{ display:none; }
  .lr-rule{ justify-items:start; }
  .lr-rule__line{ text-align:left; }
  .lr-collection{ margin-top:14px; padding:8px 14px; gap:10px; font-size:13px; }
  .lr-free{ font-size:14px; }
  .lr-preview .lr-sheet__panel{ border-radius:26px; }
  .lr-info h2{ font-size:34px; }
  .lr-tagline{ font-size:16px; margin:10px 0 12px; }
  .lr-pricebox__main{ font-size:24px; }
  .lr-anim{ width:86px; font-size:13px; }
  .lr-stage__hint{ bottom:90px; }
  .lr-stage.is-3d .lr-stage__hint{ bottom:72px; }
  .lr-dots{ margin-top:0; }
  .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 a{ width:44px; height:44px; }
  .lr-mbar__pill{ padding:0 16px; font-size:16px; }
}

/* ---- footer ---- */
.lr-foot{ padding:10px 16px 26px; text-align:center; font:500 13px Inter,system-ui,sans-serif; color:#fff; text-shadow:0 1px 3px rgba(20,20,80,.5); }
.lr-foot nav{ display:flex; justify-content:center; flex-wrap:wrap; gap:8px; }
.lr-foot a{ color:#fff; text-decoration:none; }
.lr-foot a:hover{ text-decoration:underline; }
.lr-foot p{ margin:8px 0 0; opacity:.9; }

@media (prefers-reduced-motion:reduce){
  .lr-card, .lr-tab{ transition:none; }
}
