.rolls-page__tabs {
  display: inline-flex;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.rolls-page__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.62rem;
  border: 1px solid color-mix(in srgb, var(--primary-color) 35%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--secondary-color) 88%, #ffffff 12%);
  background: color-mix(in srgb, var(--bg-color) 85%, #ffffff 15%);
  text-decoration: none;
}

.rolls-page__tab--active {
  border-color: color-mix(in srgb, var(--primary-color) 62%, transparent);
  background: color-mix(in srgb, var(--primary-color) 20%, var(--bg-color) 80%);
  color: var(--primary-color);
}

.rolls-page__user-filters .filters__field {
  flex: 1 1 24rem;
  min-width: 16rem;
  max-width: 34rem;
}

.rolls-page__user-filters .ts-wrapper {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

.rolls-page__user-filters .ts-wrapper.filters__input {
  padding: 0;
}

.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;
}