.sst-lottery {
  border: 1px solid #d9e1df;
  border-radius: 8px;
  background: #ffffff;
  color: #17211f;
  margin: 32px 0;
  overflow: hidden;
}

.sst-lottery__intro,
.sst-lottery__machine,
.sst-lottery__terms {
  padding: 24px;
}

.sst-lottery__intro {
  background: #f4faf7;
  border-bottom: 1px solid #d9e1df;
}

.sst-lottery__eyebrow {
  color: #0f7a5f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.sst-lottery h2,
.sst-lottery h3 {
  letter-spacing: 0;
}

.sst-lottery h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.sst-lottery__facts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 0;
}

.sst-lottery__facts div {
  background: #ffffff;
  border: 1px solid #d9e1df;
  border-radius: 8px;
  padding: 12px;
}

.sst-lottery__facts dt {
  color: #52615d;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 4px;
}

.sst-lottery__facts dd {
  margin: 0;
}

.sst-lottery__machine {
  align-items: center;
  display: grid;
  gap: 18px;
  justify-items: center;
  min-height: 390px;
  position: relative;
}

.sst-lottery__machine--entry {
  min-height: 0;
}

.sst-lottery.is-entry-only .sst-lottery__wheel,
.sst-lottery.is-entry-only .sst-lottery__pointer {
  display: none;
}

.sst-lottery__wheel {
  align-items: center;
  aspect-ratio: 1;
  background: conic-gradient(#0b6b57 0 60deg, #f0b429 60deg 120deg, #f7f4ef 120deg 180deg, #c44949 180deg 240deg, #18364a 240deg 300deg, #ffffff 300deg 360deg);
  border: 8px solid #17211f;
  border-radius: 50%;
  box-sizing: border-box;
  box-shadow: 0 14px 34px rgba(23, 33, 31, 0.18);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: min(280px, 74vw);
  justify-items: center;
  overflow: hidden;
  place-items: center;
  position: relative;
  transform: rotate(0deg);
  transition: transform 3800ms cubic-bezier(.10, .72, .07, 1);
  width: min(280px, 74vw);
  will-change: transform;
}

.sst-lottery__wheel::after {
  background: #ffffff;
  border: 6px solid #17211f;
  border-radius: 50%;
  content: "";
  height: 72px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
}

.sst-lottery__wheel span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 82px;
  position: absolute;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.sst-lottery__wheel span:nth-child(1) {
  color: #17211f;
  left: 26%;
  top: 24%;
}

.sst-lottery__wheel span:nth-child(2) {
  color: #ffffff;
  left: 72%;
  top: 23%;
}

.sst-lottery__wheel span:nth-child(3) {
  color: #ffffff;
  left: 24%;
  top: 50%;
}

.sst-lottery__wheel span:nth-child(4) {
  color: #17211f;
  left: 76%;
  top: 50%;
}

.sst-lottery__wheel span:nth-child(5) {
  color: #ffffff;
  left: 31%;
  top: 77%;
}

.sst-lottery__wheel span:nth-child(6) {
  color: #17211f;
  left: 69%;
  top: 77%;
}

.sst-lottery__pointer {
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 28px solid #17211f;
  height: 0;
  margin-top: -16px;
  width: 0;
}

.sst-lottery.is-spinning .sst-lottery__wheel {
  transform: rotate(var(--sst-lottery-spin-angle, 2160deg));
}

.sst-lottery.is-win .sst-lottery__wheel,
.sst-lottery.is-fallback .sst-lottery__wheel {
  transform: rotate(var(--sst-lottery-result-angle, 2520deg));
}

.sst-lottery__status {
  max-width: 620px;
  text-align: center;
  width: 100%;
}

.sst-lottery__message {
  color: #41504c;
  margin: 0;
}

.sst-lottery__result {
  border: 1px solid #d9e1df;
  border-radius: 8px;
  padding: 18px;
}

.sst-lottery__result.is-win {
  border-color: #0f7a5f;
  background: #eef9f4;
}

.sst-lottery__result.is-fallback {
  border-color: #b98a16;
  background: #fff9e8;
}

.sst-lottery__result h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

.sst-lottery__coupon {
  align-items: center;
  background: #ffffff;
  border: 1px dashed #8b9995;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 14px;
  padding: 12px;
}

.sst-lottery__coupon span {
  color: #52615d;
  font-size: 12px;
  font-weight: 700;
}

.sst-lottery__coupon strong {
  font-size: 18px;
  overflow-wrap: anywhere;
}

.sst-lottery__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.sst-lottery__actions--stacked {
  align-items: center;
  flex-direction: column;
  width: min(100%, 640px);
}

.sst-lottery__follow-links,
.sst-lottery__account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.sst-lottery__follow-link {
  align-items: center;
  background: #ffffff;
  border: 1px solid #0f7a5f;
  border-radius: 8px;
  color: #0f7a5f;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
}

.sst-lottery__follow-link:hover,
.sst-lottery__follow-link:focus {
  background: #eef9f4;
  color: #0f7a5f;
  text-decoration: none;
}

.sst-lottery__button {
  align-items: center;
  background: #17211f;
  border: 1px solid #17211f;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  text-decoration: none;
}

.sst-lottery a.sst-lottery__button,
.sst-lottery a.sst-lottery__button:visited,
.sst-lottery button.sst-lottery__button {
  color: #ffffff;
  text-decoration: none;
}

.sst-lottery__button:hover,
.sst-lottery__button:focus {
  background: #0f7a5f;
  border-color: #0f7a5f;
  color: #ffffff;
  text-decoration: none;
}

.sst-lottery__button[disabled],
.sst-lottery__button[aria-disabled="true"] {
  background: #c6cfcc;
  border-color: #c6cfcc;
  color: #52615d;
  cursor: not-allowed;
}

.sst-lottery__button--secondary {
  background: #ffffff;
  color: #17211f;
}

.sst-lottery a.sst-lottery__button--secondary,
.sst-lottery a.sst-lottery__button--secondary:visited {
  color: #17211f;
  text-decoration: none;
}

.sst-lottery__button--secondary:hover,
.sst-lottery__button--secondary:focus {
  color: #ffffff;
}

.sst-lottery__terms {
  border-top: 1px solid #d9e1df;
}

.sst-lottery__terms h3 {
  font-size: 18px;
  margin: 0 0 12px;
}

.sst-lottery__terms ul {
  margin: 0;
  padding-left: 20px;
}

.sst-lottery__terms li + li {
  margin-top: 8px;
}

@media (max-width: 720px) {
  .sst-lottery__intro,
  .sst-lottery__machine,
  .sst-lottery__terms {
    padding: 18px;
  }

  .sst-lottery__facts,
  .sst-lottery__stats {
    grid-template-columns: 1fr;
  }

  .sst-lottery h2 {
    font-size: 24px;
  }

  .sst-lottery__coupon {
    align-items: flex-start;
    flex-direction: column;
  }
}


.sst-lottery__stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 0;
}

.sst-lottery__stats div {
  background: #ffffff;
  border: 1px solid #d9e1df;
  border-radius: 8px;
  padding: 12px;
}

.sst-lottery__stats dt {
  color: #52615d;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 4px;
}

.sst-lottery__stats dd {
  font-size: 24px;
  font-weight: 900;
  margin: 0;
}

.sst-lottery__stats p {
  color: #0f7a5f;
  font-weight: 800;
  grid-column: 1 / -1;
  margin: 0;
}

.sst-lottery__entry-form {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sst-lottery__optin {
  align-items: flex-start;
  color: #41504c;
  display: flex;
  font-size: 14px;
  gap: 8px;
  line-height: 1.4;
  max-width: 520px;
  text-align: left;
}

.sst-lottery__optin input {
  margin-top: 3px;
}

.sst-lottery__ig {
  color: #41504c;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
  gap: 6px;
  max-width: 520px;
  text-align: left;
  width: 100%;
}

.sst-lottery__ig input {
  background: #fff;
  border: 1px solid #c7d0cc;
  border-radius: 8px;
  font-size: 15px;
  padding: 10px 12px;
  width: 100%;
}

.sst-lottery__ig input:focus {
  border-color: #9e2c5f;
  outline: none;
}

.sst-lottery__phone {
  color: #41504c;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
  gap: 6px;
  max-width: 520px;
  text-align: left;
  width: 100%;
}

.sst-lottery__phone input {
  background: #fff;
  border: 1px solid #c7d0cc;
  border-radius: 8px;
  font-size: 15px;
  padding: 10px 12px;
  width: 100%;
}

.sst-lottery__phone input:focus {
  border-color: #9e2c5f;
  outline: none;
}

.sst-lottery__field-note {
  color: #6b7a75;
  font-size: 12px;
  line-height: 1.5;
  margin: -4px 0 0;
  max-width: 520px;
  text-align: left;
}

.sst-lottery__result.is-lose {
  background: #f6f7f7;
  border-color: #c3cbc8;
}

.sst-lottery__stats-winners {
  color: #9e2c5f;
  font-weight: 800;
  grid-column: 1 / -1;
  margin: 0;
}
