/* Modular SVG Cat Portrait Styles (v0.5) — transparent, checker-free, zero external assets */

.cat-portrait-svg {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
  user-select: none;
  overflow: visible;
  vertical-align: middle;
}

.cat-portrait-svg.is-interactive {
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.16s ease;
}

.cat-portrait-svg.is-interactive:active {
  transform: scale(0.95);
}

.cat-portrait-svg.size-xs {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.cat-portrait-svg.size-sm {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.cat-portrait-svg.size-md {
  width: 88px;
  height: 88px;
  border-radius: 18px;
}

.cat-portrait-svg.size-lg {
  width: 120px;
  height: 120px;
  border-radius: 22px;
}

.cat-portrait-svg-host {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cat-portrait-svg-host svg.cat-svg-art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: transparent;
}

.cat-portrait-svg.is-shiny {
  border-color: #D97706;
  box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.22);
}

.cat-portrait-svg.rarity-border-rare {
  border-color: rgba(37, 99, 235, 0.42);
}

.cat-portrait-svg.rarity-border-epic {
  border-color: rgba(124, 58, 237, 0.42);
}

.cat-portrait-svg.rarity-border-legendary {
  border-color: rgba(217, 119, 6, 0.52);
}

.cat-portrait-svg.rarity-border-mythical {
  border-color: rgba(219, 39, 119, 0.52);
}

.cat-portrait-svg-stage {
  position: absolute;
  right: -4px;
  bottom: -4px;
  padding: 1px 5px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  line-height: 1.2;
}
