
/* Subscription card on the cabinet home screen. */
article:has(> .relative > .grid > .sda-renew-button) {
  background: radial-gradient(ellipse at 98% 0, #1d2852, transparent 58%), #121b2d;
  border-color: #293650;
}
article:has(> .relative > .grid > .sda-renew-button) > .pointer-events-none {
  display: none;
}
article > .relative > .grid:has(+ .grid > .sda-renew-button) > div {
  background: #15233f;
  border-color: #293852;
}
article > .relative > .grid:has(> .sda-renew-button) {
  padding: 8px;
  border: 1px solid #293852;
  border-radius: 20px;
  background: #111b2e;
}
article > .relative > .grid:has(> .sda-renew-button) > button {
  border-radius: 11px;
  min-width: 0;
}
article > .relative > .grid:has(> .sda-renew-button) > button:not(.sda-renew-button) {
  color: #a0e9ce;
  background: rgba(78, 212, 159, .14);
  border: 1px solid rgba(123, 230, 188, .40);
  box-shadow: none;
}
article > .relative > .grid:has(> .sda-renew-button) > button:not(.sda-renew-button):hover {
  background: rgba(78, 212, 159, .21);
}
article > .relative > .grid > .sda-renew-button {
  color: #f4f6ff;
  background: transparent;
  border: 1px solid #53617c;
  box-shadow: none;
}
article > .relative > .grid > .sda-renew-button::before,
article > .relative > .grid > .sda-renew-button::after {
  content: none;
}
article > .relative > .grid > .sda-renew-button:hover {
  background: #1b2840;
}


/* Gift confirmation on the dashboard. */
.sda-gift-activated {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.15rem;
  padding: clamp(.7rem, 2.4vw, .95rem);
  border: 1px solid #aa8550;
  border-radius: 1rem;
  background: radial-gradient(ellipse at top right, #59432c, #302a2d 62%, #242430);
  box-shadow: inset 0 1px #ffda9157, 0 0 24px #e9b65b38;
  color: #ffe0a2;
}

.sda-gift-activated-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: .55rem;
  background: #ffe0a221;
}

.sda-gift-activated-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.sda-gift-activated-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: .75rem;
}

.sda-gift-activated-copy strong {
  display: block;
  font-size: 1.06rem;
  line-height: 1.3;
  font-weight: 650;
}

.sda-gift-activated-copy p {
  margin: .25rem 0 0;
  color: #ebdfce;
  font-size: .875rem;
  line-height: 1.45;
}

.sda-gift-activated-connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  max-width: 100%;
  padding: .5rem .85rem;
  border: 1px solid #ffe2aa;
  border-radius: .68rem;
  background: #f3cb83;
  color: #332518;
  font-size: .875rem;
  font-weight: 680;
}

.sda-gift-activated-connect:hover {
  background: #ffdb9c;
}

.sda-gift-activated-connect:focus-visible {
  outline: 2px solid #ffe8bf;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .sda-gift-activated {
    animation: sda-gift-gold-arrive 1.1s ease-out both;
  }
}
@keyframes sda-gift-gold-arrive {
  0% { box-shadow: inset 0 1px #ffda9157, 0 0 10px #e9b65b22; }
  38% { box-shadow: inset 0 1px #ffda9168, 0 0 31px #e9b65b62; }
  100% { box-shadow: inset 0 1px #ffda9157, 0 0 24px #e9b65b38; }
}

@media (max-width: 440px) {
  .sda-gift-activated {
    grid-template-columns: 1.65rem minmax(0, 1fr);
    gap: .46rem;
  }
  .sda-gift-activated-icon {
    width: 1.65rem;
    height: 1.65rem;
  }
  .sda-gift-activated-icon svg {
    width: 1rem;
    height: 1rem;
  }
  .sda-gift-activated-copy {
    gap: .45rem;
  }
  .sda-gift-activated-copy strong {
    font-size: .94rem;
  }
  .sda-gift-activated-copy p {
    font-size: .81rem;
  }
  .sda-gift-activated-connect {
    font-size: .8125rem;
    padding-inline: .62rem;
  }
}

@media (max-width: 370px) {
  .sda-gift-activated {
    grid-template-columns: minmax(0, 1fr);
  }
  .sda-gift-activated-icon {
    display: none;
  }
}

@media (max-width: 370px) {
  .sda-gift-activated-copy p {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
