/* JoJo Golden Spirit — badge / dramatic-scene catalog */

.jojo-cat {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
}

.jojo-cat__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.jojo-cat__select {
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  color: inherit;
  background: rgba(16, 14, 22, 0.9);
  font: inherit;
}

.jojo-cat__title {
  margin: 0 0 0.85rem;
  padding-bottom: 0.35rem;
  font-weight: 800;
  border-bottom: solid 4px var(--ty-accent, #7a5af8);
}

.jojo-cat__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .jojo-cat__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .jojo-cat__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.jojo-cat-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.jojo-cat-card:hover {
  border-color: rgba(122, 90, 248, 0.45);
  background: rgba(122, 90, 248, 0.08);
}

.jojo-cat-card__art {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.35);
}

.jojo-cat-card__body {
  min-width: 0;
}

.jojo-cat-card__name {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.jojo-cat-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.jojo-cat-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
}

.jojo-cat-card__text {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

.jojo-cat__empty {
  color: rgba(255, 255, 255, 0.55);
}

.jojo-cat-detail {
  display: grid;
  gap: 1.25rem;
}

.jojo-cat-detail__hero {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.25);
}

.jojo-cat-detail__art {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.35);
}

.jojo-cat-detail__section h2 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.jojo-cat-detail__lore {
  margin: 0;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

.jojo-cat-detail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.jojo-cat-detail__list li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.25);
}

.jojo-stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.jojo-stats-table th,
.jojo-stats-table td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.55rem 0.7rem;
  text-align: left;
}

.jojo-stats-table th {
  background: rgba(255, 255, 255, 0.04);
}

.jojo-skill-track {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  margin-bottom: 0.75rem;
}

.jojo-skill-track__head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.jojo-skill-track__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 2px;
}

.jojo-skill-track__row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.65rem;
  padding: 0.45rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.jojo-skill-track__cost {
  color: rgba(122, 90, 248, 0.95);
  font-weight: 700;
}
