/* «Вещи для питомца» (0.50, club-petstuff.js): the shop's card — one's pet on its bed with its toy on a stage of its own
   (a canvas the pets' engine draws, as the hall's world), the rows of beds and toys — the tile's and the profile's
   pictures around the live pet, the things' word on the profile's pet line. The hall's world draws the things on its own
   canvas (club-pet-world.js); only boxes of its own here. */
.pstuff-stage { position: relative; height: 150px; margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; background: radial-gradient(120% 90% at 40% 100%, rgba(229, 160, 13, 0.1), transparent 70%); overflow: hidden; }
.pstuff-stage-c { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.pstuff-nap, .pstuff-playb { position: absolute; top: 8px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(14, 17, 23, 0.62); color: var(--text); font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.pstuff-nap { right: 8px; }
.pstuff-playb { right: 58px; }
.pstuff-nap[aria-pressed="true"] { border-color: var(--accent); }
.pstuff-nap:hover, .pstuff-playb:hover { background: var(--line); }
.pstuff-row-h { margin-top: 12px; color: var(--muted); font-size: 12px; font-weight: 700; }
.pstuff-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; margin-top: 6px; }
.pstuff-chip { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; min-height: 84px; padding: 6px 3px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.pstuff-chip:hover:not(:disabled) { background: var(--line); }
.pstuff-chip.on { border-color: var(--accent); background: rgba(229, 160, 13, 0.12); }
.pstuff-chip:disabled { cursor: default; opacity: 0.7; }
.pstuff-chip:focus-visible, .pstuff-nap:focus-visible, .pstuff-playb:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.pstuff-ic { display: flex; align-items: flex-end; justify-content: center; width: 56px; height: 34px; }
.pstuff-ic img { display: block; width: auto; height: auto; max-width: 56px; max-height: 34px; }
.pstuff-ic.toy img { max-height: 30px; }
.pstuff-none { display: block; width: 22px; height: 22px; margin-bottom: 5px; border: 2px dashed var(--muted); border-radius: 50%; opacity: 0.6; }
.pstuff-nm { max-width: 100%; font-size: 12px; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
.pstuff-st { min-height: 13px; color: var(--muted); font-size: 11px; line-height: 1.15; }
.pstuff-chip.own .pstuff-st { color: var(--accent); }
.pstuff-left { margin-top: 8px; color: var(--muted); font-size: 12px; }
.pstuff-hint { margin-top: 10px; }
.pstuff-item .club-buy { margin-top: 8px; }
/* pictures around a live pet (club-petstuff.js around()): the origin is the floor under the pet's middle */
.pstuff-tile { position: relative; display: block; width: 116px; height: 70px; }
.pstuff-floor { position: absolute; left: 50px; top: 64px; width: 0; height: 0; }
.pstuff-floor > img { position: absolute; display: block; max-width: none; pointer-events: none; }
.pstuff-pet { position: absolute; left: -23px; top: calc(-44.2px - var(--lift, 0px)); width: 46px; height: 46px; } /* its feet (0.96 of its box) on the bed */
.pstuff-pet > .cpet { width: 46px; height: 46px; }
.pstuff-floor > .pstuff-pf { z-index: 1; }
.pstuff-floor > .pstuff-pt { z-index: 2; }
.pstuff-pp { position: absolute; display: block; max-width: none; pointer-events: none; }
.pstuff-ppf { z-index: 1; }
.pstuff-ppl { color: var(--muted); }
@media (max-width: 760px) {
  .pstuff-stage { height: 136px; }
  .pstuff-chips { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
}
