  /* ---------- gems and the Shop (gems-shop.md): the lobby's gem pill (in the hub's logo row since lobby-hub.md), the Shop page in the lobby pages' look ----------
     Chips are what you play with, gems are what you buy things with: the pill shows the balance and opens the Shop; loaded after account.css,
     so the Shop's cards wear the Items tab's .icard look with the Shop's own price pill on top. */
  .gem { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -.15em; }
  /* the lobby's gem pill: on the right of the hub's logo row (#hubGems; it was under the profile chip), 36 px tall, the dark green with the ink border and drop, the number in Lilita, a small green + */
  .gempill { position: relative; z-index: 2; /* (over the logo's first line, whose box reaches up under the head and took the tap) */ display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 6px 0 10px; background: #0B3D22; border: 3px solid var(--ink2); border-radius: 999px; box-shadow: 0 4px 0 var(--ink2); color: #fff; font: 18px/1 var(--lilita); font-weight: 400; transition: transform 80ms, box-shadow 80ms; }
  .gempill .gem { width: 20px; height: 20px; } .gempill .gn { white-space: nowrap; }
  .gempill .plus { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #7ED957; border: 2px solid var(--ink2); color: var(--ink2); font: 15px/1 var(--lilita); }
  .gempill:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink2); } .gempill:hover:not(:disabled) { filter: none; }
  .gempill:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
  /* the pill on the Shop's head (a plain span: it is the page's balance, not a button) */
  .gempill.head { margin-left: auto; flex: 0 0 auto; } .gempill.head:empty { display: none; }
  /* My account → Profile: the Gems row under Balance, with its Shop link */
  .pbal.pgems b { display: inline-flex; align-items: center; gap: 6px; color: #A6F0F7; } .pbal.pgems .gem { width: 22px; height: 22px; } .pbal.pgems .abtn { margin-left: auto; }
  .pbal.pgems { justify-content: flex-start; }
  /* the Shop pane (the hub's, on the lobby's green; it was a page with its own gradient) */
  #shopPage .ptitle { transform: rotate(-3deg); flex: 0 0 auto; }
  .sbody { padding-top: 10px; }
  .sbody .anote { font: 800 15px/1.3 var(--nunito); color: #D6F2E0; text-shadow: 0 1px 0 rgba(0,0,0,.35); display: block; margin-top: 14px; } .sbody .anote b { color: #fff; }
  /* (the pill sits in the hub's logo row since lobby-hub.md, hub.css; the home's height steps it needed under the chip are gone with it) */
  /* the shelves: the Items tab's two-across .icard look (account.css) as buttons, with the price pill (cyan, the ink border, Lilita 16 ink) on the foot */
  .sbody .ahd { margin-top: 18px; } .sbody .ahd:first-child { margin-top: 6px; }
  .sbody .igrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
  .icard.shopcard { width: 100%; font: inherit; color: inherit; cursor: pointer; transition: none; padding-top: 18px; }
  .icard.shopcard:hover:not(:disabled) { filter: none; } .icard.shopcard:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink2); }
  .icard.shopcard .art { height: 64px; } .icard.shopcard .art .emo { font-size: 44px; }
  .icard.shopcard b { font: 19px/1.15 var(--lilita); font-weight: 400; }
  .icard.shopcard small.d { font: 800 13px/1.3 var(--nunito); color: #D6F2E0; }
  .icard.shopcard .inuse { color: #FFD23F; } .icard.shopcard .inuse.dim { color: #D6F2E0; }
  .icard.shopcard.owned { border-color: #FFD23F; }
  .pricepill { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; margin-top: auto; padding: 0 12px 0 8px; background: #35D0E0; color: var(--ink2); border: 2px solid var(--ink2); border-radius: 999px; font: 16px/1 var(--lilita); font-weight: 400; white-space: nowrap; }
  .pricepill .gem { width: 20px; height: 20px; }
  /* the confirm sheet (the sheets' look): the cream card with the art, the name and the kind, then the line, and Buy (green) · Back */
  .shopsheet .tscard.shopc { display: flex; align-items: center; gap: 14px; }
  .shopsheet .shopc .art { flex: 0 0 72px; width: 72px; height: 72px; display: grid; place-items: center; font-size: 44px; line-height: 1; } .shopsheet .shopc .art .diepv { width: 60px; height: 60px; padding: 8px; border-radius: 18%; } .shopsheet .shopc .art .feltpv { width: 64px; height: 48px; } .shopsheet .shopc .art .ttl { font-size: 18px; white-space: normal; } .shopsheet .shopc .art .emj { font-size: 20px; letter-spacing: 1px; }
  .shopsheet .shopc .t { flex: 1; min-width: 0; } .shopsheet .shopc .t b { display: block; font: 22px/1.1 var(--lilita); font-weight: 400; } .shopsheet .shopc .t small { display: block; margin-top: 4px; font: 800 14px/1.35 var(--nunito); color: #5f5648; }
  .shopsheet .shopc .pv { flex: 0 0 auto; }
  .shopsheet .tsnote { margin-top: 14px; font-size: 16px; }
  .tbtn.gold { background: #FFD23F; color: var(--ink2); }
