.result-giveaway {
  margin: 20px 0 0;
  overflow: hidden;
  border-radius: 16px;
  background: #24142b;
  color: #fff3eb;
  isolation: isolate;
}

.giveaway-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(168px, 22%);
  grid-template-areas: "copy actions art";
  align-items: center;
  min-height: 134px;
}

.giveaway-copy {
  grid-area: copy;
  z-index: 1;
  padding: 18px 16px 18px 24px;
}

.giveaway-promo h2 {
  margin: 0;
  color: #ffdb80;
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
}

.giveaway-copy p {
  margin: 6px 0 0;
  color: #f4d9e6;
  font-size: 14px;
  line-height: 1.35;
  text-wrap: balance;
}

.giveaway-actions {
  grid-area: actions;
  z-index: 1;
}

.giveaway-art {
  grid-area: art;
  align-self: stretch;
  position: relative;
  background: #41223e;
}

.giveaway-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 46%;
}

.giveaway-art::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  background: linear-gradient(90deg, #24142b, transparent);
  content: '';
  pointer-events: none;
}

.result-giveaway .giveaway-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 17px;
  border: 0;
  border-radius: 9px;
  background: #ffd875;
  color: #2a1625;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  cursor: pointer;
}

.result-giveaway .giveaway-button:hover {
  background: #ffe7a5;
}

.result-giveaway .giveaway-button:focus-visible {
  outline: 2px solid #fff3eb;
  outline-offset: 4px;
}

.result-giveaway .giveaway-button:disabled {
  opacity: .75;
  cursor: wait;
}

.giveaway-button svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.giveaway-joined {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(92px, 28%, 218px);
  grid-template-areas: "copy art";
  align-items: center;
  min-height: 112px;
}

.giveaway-joined h2 {
  margin: 0;
  color: #ffdb80;
  font-size: clamp(20px, 3vw, 27px);
  line-height: 1.14;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.giveaway-joined h2:focus {
  outline: none;
}

@media (max-width: 760px) {
  .giveaway-promo {
    grid-template-columns: minmax(0, 1fr) clamp(90px, 32%, 160px);
    grid-template-areas:
      "copy art"
      "actions actions";
  }

  .giveaway-copy {
    padding: 15px 6px 11px 14px;
  }

  .giveaway-joined .giveaway-copy {
    padding-bottom: 15px;
  }

  .giveaway-joined .giveaway-copy p {
    text-wrap: pretty;
  }

  .giveaway-promo .giveaway-art::after {
    inset: 0;
    width: auto;
    background:
      linear-gradient(0deg, #24142b, transparent 28%),
      linear-gradient(90deg, #24142b, transparent 30%);
  }

  .giveaway-actions {
    padding: 0 14px 13px;
  }

  .result-giveaway .giveaway-button {
    width: 100%;
    padding-inline: 10px;
    font-size: 13px;
  }
}

.giveaway-error { margin: 6px 0 0; color: #ffbfb9; font-size: 13px; }
