body { font-family: Arial, sans-serif; padding: 16px; }
button { padding: 10px 12px; margin: 6px 6px 6px 0; }
.card { border: 1px solid #ccc; padding: 10px; margin: 8px 0; border-radius: 8px; }
.row { display:flex; justify-content: space-between; gap: 12px; }
.small { color: #666; font-size: 12px; }

/* Catch modal */
.modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
}

.modalCard {
  width: min(360px, 92vw);
  background: white;
  border-radius: 14px;
  padding: 14px 14px 12px;
  border: 1px solid #ddd;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  text-align: center;
}

.modalTitle {
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 6px;
}

.modalLine {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
}

.badgeNew { background: #f2fff1; }
.badgeLegendary { background: #fff7d6; }

.legendaryGlow {
  box-shadow: 0 0 0 2px rgba(255,200,0,0.35), 0 16px 50px rgba(255,200,0,0.25);
}
