/* Pets voadores (client/pets.js, docs/pets.md) */
.pets-head { margin: 0 0 4px; font-size: 13px; }
.pets .hint { margin: 0 0 10px; font-size: 12px; color: var(--ink2); }
.pet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pet-card { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 8px; border-radius: 6px; text-align: center;
  background: radial-gradient(#2a2050, #120c22 75%); box-shadow: inset 0 0 0 2px var(--line), inset 0 -3px 0 var(--rar); }
.pet-card.on { box-shadow: inset 0 0 0 2px var(--gold), inset 0 -3px 0 var(--rar); }
.pet-card.none { opacity: .6; }
.pet-art { line-height: 0; height: 84px; display: grid; place-items: center; }
.pet-art svg { image-rendering: pixelated; }
.pet-card:not(.none) .pet-art svg { animation: pet-bob 1.1s ease-in-out infinite; }
.pet-name { font-size: 13px; }
.pet-rar { font: 700 10px/1.2 var(--pixel); color: var(--rar); }
.pet-bonus { font-size: 12px; color: var(--ink); }
.pet-dup { font-size: 11px; color: var(--ink2); }
.pet-card .btn { margin-top: 4px; width: 100%; min-height: 30px; }
@keyframes pet-bob { 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .pet-card .pet-art svg { animation: none; } }
/* no cartão do piloto: pousado no canto de cima do retrato */
.portrait .por-pet { position: absolute; right: -12px; top: -14px; line-height: 0; cursor: pointer; filter: drop-shadow(0 1px 0 #0b0a14); }
.portrait .por-pet svg { image-rendering: pixelated; }
/* no perfil: em cima do capacete, no canto */
.pf-helmet { position: relative; }
.pf-pet { position: absolute; right: -10px; top: -12px; line-height: 0; }
.pf-pet svg { image-rendering: pixelated; animation: pet-bob 1.1s ease-in-out infinite; }
.pet-seal { line-height: 0; }
.pet-seal svg { image-rendering: pixelated; }
@media (max-width: 600px) { .pet-grid { grid-template-columns: repeat(2, 1fr); } .pf-pet svg { width: 40px; height: auto; } }
