.jin-favorite-star-3d {
  display: inline-flex;
  width: 1.875rem;
  height: 1.875rem;
  flex: 0 0 1.875rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  color: #8190aa;
  background: linear-gradient(145deg, #ffffff 8%, #edf1f7 58%, #dce3ee 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 3px rgba(71, 85, 105, 0.14),
    0 2px 3px rgba(15, 23, 42, 0.16);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.jin-favorite-star-3d svg {
  filter: drop-shadow(0 1px 0 #ffffff) drop-shadow(0 1px 1px rgba(15, 23, 42, 0.25));
}

.jin-favorite-star-3d:hover {
  border-color: #d3a72e;
  color: #a56b00;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 3px rgba(71, 85, 105, 0.12),
    0 4px 7px rgba(15, 23, 42, 0.2);
}

.jin-favorite-star-3d:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 4px rgba(71, 85, 105, 0.22),
    0 1px 1px rgba(15, 23, 42, 0.12);
}

.jin-favorite-star-3d.is-favorite {
  border-color: #ca9414;
  color: #835100;
  background: linear-gradient(145deg, #fff5ad 4%, #f5c94d 52%, #d99b12 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -2px 3px rgba(120, 72, 0, 0.28),
    0 2px 4px rgba(103, 67, 0, 0.28);
}

.jin-favorite-star-3d:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.28);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .jin-favorite-star-3d {
    transition: none;
  }
}
