/* «Окрас питомца» (0.47, club-coats.js): the shop's card — the kinds, one's pet on a stage, the swatches — and the
   coat's word on the profile's pet line. The pets themselves are drawn by pets/pet-engine.js (club-pets.css places
   them); only boxes of its own here. */
.coat-kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.coat-kind { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; }
.coat-kind:hover { background: var(--line); }
.coat-kind.on { border-color: var(--accent); background: rgba(229, 160, 13, 0.14); }
.coat-kind:focus-visible, .coat-sw:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.coat-mine { position: absolute; right: 4px; bottom: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); } /* one's own pet's kind */
.coat-stage { display: flex; align-items: flex-end; gap: 14px; margin-top: 10px; padding: 12px 14px 10px; border: 1px solid var(--line); border-radius: 12px; background: radial-gradient(120% 90% at 30% 100%, rgba(229, 160, 13, 0.1), transparent 70%); }
.coat-pv { display: flex; flex: none; align-items: flex-end; justify-content: center; width: 124px; height: 118px; padding-top: 8px; }
.coat-pv > .cpet { width: 108px; height: 108px; }
.coat-cap { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-bottom: 10px; }
.coat-cap b { color: var(--muted); font-size: 12px; font-weight: 600; }
.coat-cap span { font-size: 17px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.coat-sws { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 6px; margin-top: 10px; } /* the original and every coat in one row */
.coat-sw { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; min-height: 76px; padding: 8px 3px 6px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.coat-sw:hover:not(:disabled) { background: var(--line); }
.coat-sw.on { border-color: var(--accent); background: rgba(229, 160, 13, 0.12); }
.coat-sw:disabled { cursor: default; opacity: 0.7; }
/* a fur sample: the coat's main colour, its markings' colour in a patch, the eyes' colour in a dot */
.coat-dot { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 70% 74%, var(--c2, #888) 0 37%, transparent 38%), var(--c1, #aaa); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.28), 0 1px 2px rgba(0, 0, 0, 0.3); }
.coat-dot::after { content: ''; position: absolute; left: 22%; top: 24%; width: 24%; height: 24%; border-radius: 50%; background: var(--c3, #555); box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.35); }
.coat-sw.on .coat-dot { box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.28), 0 0 0 2px var(--accent); }
.coat-nm { max-width: 100%; font-size: 12px; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
.coat-st { min-height: 13px; color: var(--muted); font-size: 11px; line-height: 1.15; }
.coat-sw.own .coat-st { color: var(--accent); }
.coat-left { margin-top: 8px; color: var(--muted); font-size: 12px; }
.coat-hint { margin-top: 10px; }
.coat-item .club-buy { margin-top: 10px; }
.coat-ppl { color: var(--muted); }
@media (max-width: 760px) {
  .coat-stage { padding: 10px 10px 8px; gap: 10px; }
  .coat-pv { width: 104px; height: 100px; }
  .coat-pv > .cpet { width: 92px; height: 92px; }
  .coat-kind { height: 44px; }
}
