.rolls-page__card_image {
  --card-frame-size: clamp(4.75rem, 7vw, 6.25rem);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--card-frame-size);
  aspect-ratio: 1 / 1;
  padding: 0.35rem;
  border: 1px solid color-mix(in srgb, var(--primary-color) 35%, transparent);
  border-radius: 0.75rem;
  background: radial-gradient(
      circle at 22% 18%,
      color-mix(in srgb, var(--secondary-color) 22%, transparent),
      transparent 50%
    ),
    color-mix(in srgb, var(--bg-color) 82%, #ffffff 18%);
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.rolls-page__card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.42rem;
  max-width: var(--card-frame-size);
}

.rolls-page__card_name {
  width: 100%;
  font-size: 0.72rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: underline;
  color: color-mix(in srgb, var(--secondary-color) 90%, white 10%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rolls-page__card_image > .card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
}

.rolls-page__card_image > .card-image--empty {
  background: repeating-linear-gradient(
    -45deg,
    color-mix(in srgb, var(--accent-color) 32%, transparent),
    color-mix(in srgb, var(--accent-color) 32%, transparent) 0.5rem,
    transparent 0.5rem,
    transparent 1rem
  );
}

.rolls-page__telegram_user {
  color: color-mix(in srgb, var(--primary-color) 90%, transparent);
  text-decoration: underline;
}