/* «Наряд питомца» 0.47 (club-outfit.js): the shop's card — one's own pet trying every outfit on, the fitting room, the
   hall's chip — and the profile's line. The outfits themselves are drawn on the pets' canvases by the engine
   (club-outfit-art.js); the pets' boxes and sizes are club-pets.css's (.cpet, .cpet-shop, .cpet-big, .cpet-tile). This
   file only lays out its own boxes. */
.outfit-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; margin-top: 10px; }
.outfit-opt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; min-height: 92px; padding: 10px 3px 7px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); font: inherit; font-size: 12px; cursor: pointer; }
.outfit-opt:hover:not(:disabled) { background: var(--line); }
.outfit-opt.on { border-color: var(--accent); background: rgba(229, 160, 13, .12); }
.outfit-opt:focus-visible, .outfit-mv:focus-visible, .outfit-go:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.outfit-opt:disabled { cursor: default; }
.outfit-stage { display: flex; align-items: flex-end; justify-content: center; width: 60px; height: 58px; padding-top: 6px; }
.outfit-stage > .cpet { width: 52px; height: 52px; } /* a little bigger than the «Питомец» card's: what it wears must show */
.outfit-on { max-width: 100%; line-height: 1.2; text-align: center; hyphens: auto; overflow-wrap: break-word; } /* «Новогодний колпак» may take two lines */
.outfit-opt.own:not(.now) { border-color: rgba(62, 207, 122, .45); } /* 0.67: one's own */
.outfit-opt.now { border-color: #3ecf7a; }
.outfit-opts > .shop-wd-off { min-width: 0; min-height: 92px; }

/* The fitting room: the chosen one on a bigger stage, three moves to see it move, one's chip as the hall sees it. */
.outfit-fit { display: flex; gap: 12px; align-items: flex-start; margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.outfit-fstage { display: flex; flex: none; align-items: flex-end; justify-content: center; width: 112px; height: 108px; padding-top: 6px; }
.outfit-flist { flex: 1; min-width: 0; }
.outfit-ft { font-size: 12.5px; font-weight: 600; }
.outfit-fk { margin: 8px 0 4px; color: var(--muted); font-size: 12px; }
.outfit-frow { display: flex; flex-wrap: wrap; gap: 6px; }
.outfit-mv { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: 12px; cursor: pointer; }
.outfit-mv:hover { background: var(--line); }
.outfit-pv { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; }
.outfit-pv-k { color: var(--muted); font-size: 12px; }

/* No pet yet: a hint and a way to «Питомец». */
.outfit-nopet { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 10px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: 13px; }
.outfit-nopet-art { font-size: 20px; line-height: 1; }
.outfit-go { min-height: 34px; margin-left: auto; padding: 0 14px; border: 1px solid var(--accent); border-radius: 999px; background: transparent; color: var(--accent); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.outfit-go:hover { background: rgba(229, 160, 13, .12); }

/* The profile: a line under the pet's. */
.outfit-ppl { display: flex; align-items: center; gap: 6px; margin: -6px 0 10px; font-size: 13px; color: var(--muted); }
.outfit-ppl-ico { font-size: 16px; line-height: 1; }

@media (max-width: 760px) {
  .outfit-opt { min-height: 96px; }
  .outfit-mv, .outfit-go { min-height: 44px; padding: 0 12px; }
  .outfit-fit { flex-direction: column; align-items: stretch; } .outfit-fstage { align-self: center; }
}
@media (max-width: 380px) { .outfit-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
