/* «Живые питомцы» 0.68 (n139b): the profile's «Питомец» card and the pet walking over the card (club-pet-profile.js). */
.cpet-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .03); }
.cpp-port { position: relative; flex: none; width: 64px; height: 64px; }
.cpp-port > .cpet { width: 64px; height: 64px; }
.cpet-card .cpet-ppl { margin: 0; flex-wrap: wrap; font-size: 14px; color: var(--text); }
.cpp-soul { display: flex; flex-direction: column; gap: 8px; }
.cpp-soul:empty { display: none; }
.cpp-mood { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 14px; }
.cpp-mood-e { font-size: 18px; line-height: 1; }
.cpp-mood-why { flex-basis: 100%; font-size: 12.5px; color: var(--muted); }
.cpp-bars { display: grid; gap: 5px; }
.cpp-bar { display: grid; grid-template-columns: 112px 1fr 26px; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.cpp-bar-v { height: 7px; border-radius: 999px; background: var(--line); overflow: hidden; }
.cpp-bar-v > i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.cpp-bar-n { text-align: right; font-variant-numeric: tabular-nums; }
.cpp-traits { display: flex; flex-wrap: wrap; gap: 6px; }
.cpp-trait { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; }
.cpp-quirk { font-size: 12.5px; color: var(--muted); }
.cpp-rels-t { margin-top: 2px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.cpp-rels { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.cpp-rel { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.cpp-rel-art { display: inline-flex; flex: none; width: 24px; height: 24px; align-items: center; justify-content: center; color: var(--muted); }
.cpp-rel-art > .cpet { width: 24px; height: 24px; }
/* the walker: laid over the card's box in .profile-pop; only the pet itself takes a tap */
.cpp-walk { position: absolute; z-index: 1; overflow: hidden; border-radius: 18px; pointer-events: none; }
.cpp-walk-c { position: absolute; inset: 0; width: 100%; height: 100%; }
.cpp-hit { position: absolute; left: 0; top: 0; padding: 0; border: 0; background: transparent; pointer-events: auto; cursor: pointer; border-radius: 40%; }
.cpp-hit:focus-visible { outline: 2px solid var(--accent); }
.cpp-hit.cpp-hit-off { pointer-events: none; }
/* n139f's dream cloud over the sleeping walker (api.dream) */
.cpp-dream { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 46px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: -14px 16px 0 -11px rgba(255, 255, 255, .92), -22px 26px 0 -15px rgba(255, 255, 255, .92); pointer-events: none; }
.cpp-dream[hidden] { display: none; }
.cpp-dream-e { font-size: 20px; line-height: 1; }
.cpp-dream-i { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; }
.cpp-dream > .cpet { width: 30px; height: 30px; }
@media (max-width: 560px) {
  .cpp-bar { grid-template-columns: 96px 1fr 24px; }
  .cpp-port, .cpp-port > .cpet { width: 52px; height: 52px; }
}


/* Clear, free care suggestions (the pet's card in club-pet-popup.js). */
.cpp-suggest { min-height:44px; border:0; border-radius:10px; background:var(--accent); color:var(--accent-text, #111); font:inherit; padding:8px 12px; cursor:pointer; }
.cpp-suggest:disabled { opacity:.5; }
.cpp-needs { display:flex; flex-wrap:wrap; gap:8px; align-items:center; font-size:14px; padding:8px 0; }
.cpp-needs small { color:var(--muted); }

/* 0.73.2 n148 (RED «оставь лишь краткую о питомцах, по клику открывай профиль питомца»): the profile's «Питомцы» strip —
   one chip per pet (still art, name, level, mood; the one out walking first). A tap opens the pet's card. */
.cpet-card.cpet-strip { gap: 6px; padding: 10px 12px; }
.cpet-strip > .cps-h { margin: 0; }
.cps-row { display: flex; flex-wrap: wrap; gap: 6px; }
.cps-chip { display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 100%; min-height: 44px; padding: 3px 12px 3px 5px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .03); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.cps-chip:hover { background: rgba(255, 255, 255, .07); }
.cps-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cps-chip.on { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.cps-art { flex: none; display: inline-flex; width: 32px; height: 32px; }
.cps-art > .cpet { width: 32px; height: 32px; }
.cps-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.cps-n { overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.cps-m { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.cps-lv:empty, .cps-e:empty { display: none; }
.cps-e { font-size: 13px; line-height: 1; }
.cps-walk { padding: 0 6px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); font-size: 10.5px; font-weight: 600; line-height: 16px; }
