.container {
  cursor: var(--custom-cursor, pointer);

  position: relative;

  display: flex;
  flex-basis: 0;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  justify-content: center;

  min-width: 0;
  margin-inline: 0.125rem;
  padding: 0.625rem;
  padding-top: 0;
  border-radius: 0.625rem;

  background-color: var(--color-background-secondary);

  &::before {
    pointer-events: none;
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 0.625rem;

    opacity: 0;
    background-color: var(--color-hover-overlay);

    transition: opacity 0.15s;
  }

  :global(html.theme-dark) & {
    background-color: rgb(33, 33, 33);
  }

  &:hover::before {
    opacity: 1;
  }

  &.noClickable {
    cursor: default;

    &:hover::before {
      opacity: 0;
    }
  }
}

.starGift {
  overflow: visible;
  flex-basis: auto;
  padding: 0.875rem;
  padding-bottom: 0.625rem;
}

.monthsDescription {
  margin-top: 0.25rem;
  font-weight: var(--font-weight-medium);
}

.description {
  overflow: hidden;

  max-width: 100%;

  font-size: 0.875rem;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buy {
  margin-top: 0.625rem;
  font-size: 0.75rem !important;
  font-weight: var(--font-weight-semibold) !important;
  line-height: 1;
}

.transferBadge {
  font-size: 0.8125rem;
}

.star {
  font-size: inherit;
}

.auction,
.premiumRequired {
  outline: 0.125rem solid #D18D21 !important;
  outline-offset: -0.125rem;

  &:focus-visible {
    outline: 0.125rem solid #D18D21 !important;
    outline-offset: -0.125rem;
  }
}

.amount {
  margin-top: 0.0625rem; // It just refuses to be centered
}

.starsPriceBlock {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-stars);
}

.radialPattern {
  position: absolute;
  inset: 0;
}

.stickerWrapper {
  position: relative;
}

.lockIcon {
  position: absolute;
  top: 0.375rem;
  left: 0.375rem;

  font-size: 1.375rem;
  color: var(--color-text-secondary);

  opacity: 0.5;
}
