.element-coupon {
  display: flex;
  flex-direction: column;
  width: 1920px;
  align-items: flex-start;
  position: relative;
  background-color: #141518;
}

.element-coupon .topbar {
  display: flex;
  height: 65px;
  align-items: center;
  justify-content: space-between;
  padding: 0px 24px;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #272a31;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: #1e2939;
}

.element-coupon .frame {
  display: inline-flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.element-coupon .logo {
  display: flex;
  width: 232px;
  align-items: center;
  gap: 76px;
  position: relative;
}

.element-coupon .kakaotalk {
  position: relative;
  width: 154px;
  height: 26px;
  aspect-ratio: 5.92;
  object-fit: cover;
}

.element-coupon .alarm {
  display: flex;
  max-width: 500px;
  width: 300px;
  height: 40px;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  position: relative;
  background-color: #303338;
  border-radius: 10px;
}

.element-coupon .vector {
  position: relative;
  width: 15px;
  height: 15px;
  aspect-ratio: 1;
}

.element-coupon .text-wrapper {
  position: relative;
  display: -webkit-box;
  align-items: center;
  flex: 1;
  margin-top: -1.5px;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.element-coupon .btn {
  display: inline-flex;
  height: 36px;
  align-items: center;
  gap: 12px;
  position: relative;
  flex: 0 0 auto;
}

.element-coupon .div {
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative;
  flex: 0 0 auto;
  margin-top: -2px;
  margin-bottom: -2px;
}

.element-coupon .div-2 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  flex: 0 0 auto;
}

.element-coupon .ico-profile {
  position: relative;
  width: 20px;
  height: 20px;
  aspect-ratio: 1;
}

.element-coupon .text-wrapper-2 {
  display: flex;
  width: fit-content;
  margin-top: -1px;
  font-size: 16px;
  letter-spacing: -0.08px;
  line-height: 23.2px;
  white-space: nowrap;
  position: relative;
  align-items: center;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #ffffff;
}

.element-coupon .level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  position: relative;
  flex: 0 0 auto;
  background-color: var(--purple);
  border-radius: 4px;
  overflow: hidden;
}

.element-coupon .frame-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 auto;
}

.element-coupon .text-wrapper-3 {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
}

.element-coupon .text-wrapper-4 {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  color: #eeff00;
  white-space: nowrap;
}

.element-coupon .button-loout {
  position: relative;
  width: 82px;
  height: 36px;
  background-color: #303338;
  border-radius: 10px;
}

.element-coupon .text-wrapper-5 {
  position: absolute;
  top: 8px;
  left: 15px;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #d1d5dc;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0;
  line-height: 20px;
  white-space: nowrap;
}

.element-coupon .frame-3 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-coupon .sidebar {
  display: flex;
  flex-direction: column;
  width: 256px;
  align-items: flex-start;
  padding: 10px 0px;
  position: relative;
  align-self: stretch;
  background-color: #212328;
  border-right-width: 1px;
  border-right-style: solid;
  border-color: #1e2939;
}

.element-coupon .container {
  gap: 24px;
  padding: 0px 16px;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.element-coupon .div-3 {
  gap: 8px;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.element-coupon .heading {
  display: flex;
  height: 16px;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.element-coupon .text-wrapper-6 {
  flex: 1;
  margin-top: -1px;
  font-weight: 600;
  color: #6a7282;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 16px;
  position: relative;
  font-family: "Inter", Helvetica;
}

.element-coupon .cash-menu {
  display: flex;
  height: 35px;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #303338;
  border-radius: 10px;
  overflow: hidden;
}

.element-coupon .frame-4 {
  display: inline-flex;
  height: 14px;
  align-items: center;
  gap: 6px;
  position: relative;
  flex: 0 0 auto;
}

.element-coupon .ico-cash {
  position: relative;
  width: 19.06px;
  height: 15px;
  margin-top: -0.5px;
  margin-bottom: -0.5px;
  aspect-ratio: 1.27;
  background-image: url(../../img/idx-em/33_Coupon_1/vector-1.svg);
  background-size: 100% 100%;
}

.element-coupon .img {
  position: absolute;
  width: 100%;
  height: 65.89%;
  top: 34.11%;
  left: 0;
}

.element-coupon .vector-2 {
  position: absolute;
  width: 41.23%;
  height: 27.25%;
  top: 72.75%;
  left: 58.77%;
}

.element-coupon .text-wrapper-7 {
  position: relative;
  display: flex;
  align-items: center;
  width: 23px;
  height: 17px;
  margin-top: -2.5px;
  margin-bottom: -0.5px;
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #d1d5dc;
  font-size: 12px;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
}

.element-coupon .ico-cashback {
  position: relative;
  width: 19px;
  height: 15px;
  margin-top: -0.5px;
  margin-bottom: -0.5px;
  aspect-ratio: 1.21;
}

.element-coupon .ico-point {
  position: relative;
  width: 12.33px;
  height: 15px;
  margin-top: -0.5px;
  margin-bottom: -0.5px;
  aspect-ratio: 0.82;
  background-image: url(../../img/idx-em/33_Coupon_1/vector-4.svg);
  background-size: 100% 100%;
}

.element-coupon .vector-3 {
  position: absolute;
  width: 66.08%;
  height: 76.84%;
  top: 23.16%;
  left: 33.92%;
}

.element-coupon .text-wrapper-8 {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -2.5px;
  margin-bottom: -0.5px;
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #d1d5dc;
  font-size: 12px;
  letter-spacing: -0.06px;
  line-height: 17.4px;
  white-space: nowrap;
}

.element-coupon .list {
  gap: 4px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.element-coupon .link-wrapper {
  height: 30px;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.element-coupon .link {
  gap: 12px;
  padding: 0px 0px 0px 8px;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 10px;
}

.element-coupon .icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.element-coupon .vector-4 {
  position: absolute;
  width: 83.33%;
  height: 41.67%;
  top: 58.33%;
  left: 16.67%;
}

.element-coupon .vector-5 {
  position: absolute;
  width: 70.83%;
  height: 91.67%;
  top: 8.33%;
  left: 29.17%;
}

.element-coupon .div-wrapper {
  position: relative;
  width: 70px;
  height: 20px;
}

.element-coupon .text-wrapper-9 {
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #d1d5dc;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 20px;
  white-space: nowrap;
}

.element-coupon .icon-2 {
  position: relative;
  width: 20px;
}

.element-coupon .sidebar-2 {
  position: relative;
  width: 42px;
  height: 20px;
}

.element-coupon .text-wrapper-10 {
  position: relative;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #d1d5dc;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 20px;
  white-space: nowrap;
}

.element-coupon .text-wrapper-11 {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.07px;
  line-height: 20.3px;
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  color: #eeff00;
  white-space: nowrap;
}

.element-coupon .calendar {
  position: relative;
  width: 20px;
  height: 18px;
  aspect-ratio: 1.09;
  background-image: url(../../img/idx-em/33_Coupon_1/union.svg);
  background-size: 100% 100%;
}

.element-coupon .sidebar-3 {
  position: relative;
  width: 93.84px;
  height: 20px;
}

.element-coupon .train-ticket {
  position: relative;
  width: 20px;
  height: 20px;
  aspect-ratio: 1;
  background-image: url(../../img/idx-em/33_Coupon_1/union-1.svg);
  background-size: 100% 100%;
}

.element-coupon .text-wrapper-12 {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  display: flex;
  align-items: center;
  text-shadow: 0px 0px 2px #ffffff80;
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: -0.07px;
  line-height: 20.3px;
  white-space: nowrap;
}

.element-coupon .vector-6 {
  position: absolute;
  width: 91.67%;
  height: 70.84%;
  top: 29.16%;
  left: 8.33%;
}

.element-coupon .vector-7 {
  position: absolute;
  width: 54.17%;
  height: 70.84%;
  top: 29.16%;
  left: 45.83%;
}

.element-coupon .vector-8 {
  position: absolute;
  width: 83.33%;
  height: 54.17%;
  top: 45.83%;
  left: 16.67%;
}

.element-coupon .vector-9 {
  position: absolute;
  width: 83.33%;
  height: 91.67%;
  top: 8.33%;
  left: 16.67%;
}

.element-coupon .vector-10 {
  position: absolute;
  width: 91.67%;
  height: 95.84%;
  top: 4.16%;
  left: 8.33%;
}

.element-coupon .vector-11 {
  position: absolute;
  width: 54.17%;
  height: 37.50%;
  top: 62.50%;
  left: 45.83%;
}

.element-coupon .sidebar-4 {
  position: relative;
  width: 56px;
  height: 20px;
}

.element-coupon .ico-notice-wrapper {
  display: flex;
  flex-direction: column;
  width: 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1px 0px;
  position: relative;
}

.element-coupon .ico-notice {
  position: relative;
  width: 18.5px;
  height: 18.5px;
  margin-top: -0.25px;
  margin-bottom: -0.25px;
  aspect-ratio: 1;
}

.element-coupon .link-wrapper-2 {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 36px;
}

.element-coupon .link-2 {
  width: 223px;
  height: 36px;
  justify-content: space-between;
  padding: 0px 8px;
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 10px;
}

.element-coupon .sidebar-5 {
  display: flex;
  width: 74px;
  height: 20px;
  align-items: center;
  gap: 12px;
  position: relative;
}

.element-coupon .trophy {
  display: flex;
  flex-direction: column;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 106px 155px;
  position: relative;
  margin-top: -2.5px;
  margin-bottom: -2.5px;
}

.element-coupon .trophy-stroke {
  position: relative;
  width: 16px;
  height: 23px;
  margin-top: -105px;
  margin-bottom: -105px;
  margin-left: -150.5px;
  margin-right: -150.5px;
  aspect-ratio: 0.7;
}

.element-coupon .text {
  position: relative;
  flex: 1;
  flex-grow: 1;
  height: 20px;
}

.element-coupon .div-4 {
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #d1d5dc;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 20px;
  white-space: nowrap;
}

.element-coupon .span {
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #d1d5dc;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 20px;
}

.element-coupon .text-wrapper-13 {
  font-size: 12px;
}

.element-coupon .vector-wrapper {
  position: relative;
  width: 16px;
  height: 16px;
}

.element-coupon .vector-12 {
  position: absolute;
  width: 66.67%;
  height: 79.16%;
  top: 20.84%;
  left: 33.33%;
}

.element-coupon .sidebar-6 {
  display: flex;
  width: 60px;
  height: 20px;
  align-items: center;
  gap: 12px;
  position: relative;
}

.element-coupon .img-2 {
  position: relative;
  width: 25px;
  height: 25px;
  margin-top: -2.5px;
  margin-bottom: -2.5px;
  aspect-ratio: 1;
}

.element-coupon .sidebar-7 {
  display: flex;
  width: 88px;
  height: 20px;
  align-items: center;
  gap: 12px;
  position: relative;
}

.element-coupon .live {
  position: relative;
  width: 25px;
  margin-top: -1.75px;
  margin-bottom: -1.75px;
  aspect-ratio: 1;
}

.element-coupon .sidebar-8 {
  display: flex;
  width: 106.92px;
  height: 20px;
  align-items: center;
  gap: 12px;
  position: relative;
}

.element-coupon .chip {
  position: relative;
  width: 25px;
  margin-top: -1.5px;
  margin-bottom: -1.5px;
}

.element-coupon .coin {
  position: relative;
  width: 25px;
  margin-top: -1.5px;
  margin-bottom: -1.5px;
  aspect-ratio: 1;
}

.element-coupon .bet {
  display: flex;
  flex-direction: column;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: -2.5px;
  margin-bottom: -2.5px;
}

.element-coupon .vector-13 {
  position: relative;
  width: 23px;
  height: 23px;
  aspect-ratio: 1;
}

.element-coupon .x {
  position: relative;
  width: 25px;
  height: 22.28px;
  margin-top: -1.14px;
  margin-bottom: -1.14px;
  aspect-ratio: 1.12;
}

.element-coupon .vector-stroke {
  position: absolute;
  width: 96.38%;
  height: 60.98%;
  top: 39.02%;
  left: 3.62%;
}

.element-coupon .vector-stroke-2 {
  position: absolute;
  width: 86.23%;
  height: 44.72%;
  top: 55.28%;
  left: 13.77%;
}

.element-coupon .vector-stroke-3 {
  position: absolute;
  width: 60.87%;
  height: 44.72%;
  top: 55.28%;
  left: 39.13%;
}

.element-coupon .vector-stroke-4 {
  position: absolute;
  width: 35.51%;
  height: 44.72%;
  top: 55.28%;
  left: 64.49%;
}

.element-coupon .vector-stroke-5 {
  position: absolute;
  width: 75.36%;
  height: 100%;
  top: 0;
  left: 24.64%;
}

.element-coupon .vector-stroke-6 {
  position: absolute;
  width: 100%;
  height: 77.24%;
  top: 22.76%;
  left: 0;
}

.element-coupon .vector-stroke-7 {
  position: absolute;
  width: 28.26%;
  height: 77.24%;
  top: 22.76%;
  left: 71.74%;
}

.element-coupon .ace-diamonds {
  position: relative;
  width: 25px;
  height: 25px;
  margin-top: -2.5px;
  margin-bottom: -2.5px;
}

.element-coupon .image {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 60px;
  object-fit: cover;
}

.element-coupon .main-content-wrapper {
  padding: 30px 0px;
  flex: 1;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.element-coupon .main-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0px 57px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-coupon .home {
  display: flex;
  flex-direction: column;
  max-width: 1550px;
  width: 1550px;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  flex: 0 0 auto;
}

.element-coupon .board-list {
  gap: 15px;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  align-items: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-coupon .board-list-2 {
  gap: 10px;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  align-items: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-coupon .board-title {
  display: flex;
  height: 40px;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #272a31;
  border-radius: 16px;
  overflow: hidden;
}

.element-coupon .train-ticket-2 {
  position: relative;
  width: 20px;
  height: 20px;
  aspect-ratio: 1;
  background-image: url(../../img/idx-em/33_Coupon_1/union-2.svg);
  background-size: 100% 100%;
}

.element-coupon .text-wrapper-14 {
  position: relative;
  display: -webkit-box;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: -0.5px;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #ffffff;
  font-size: 16px;
  text-align: center;
  letter-spacing: -0.08px;
  line-height: 19.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.element-coupon .bet-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #272a31;
  border-radius: 16px;
  overflow: hidden;
}

.element-coupon .title {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-coupon .chip-2 {
  position: relative;
  width: 16px;
  height: 16px;
  aspect-ratio: 1;
}

.element-coupon .vector-14 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.element-coupon .vector-15 {
  position: absolute;
  width: 42.19%;
  height: 54.10%;
  top: 45.90%;
  left: 57.81%;
}

.element-coupon .vector-16 {
  position: absolute;
  width: 66.99%;
  height: 69.14%;
  top: 30.86%;
  left: 33.01%;
}

.element-coupon .text-wrapper-15 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #d1d5dc;
  font-size: 14px;
  text-align: center;
  letter-spacing: -0.07px;
  line-height: 20.3px;
  white-space: nowrap;
}

.element-coupon .frame-5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-coupon .element {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #3b3f46;
  border-radius: 10px;
  overflow: hidden;
}

.element-coupon .text-2 {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  padding: 5px 8px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  width: 100%;
  min-width: 0;
}

.element-coupon .frame-6 {
  display: flex;
  flex-direction: column;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: 1px;
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 10px;
  background-color: #303338;
  border-radius: 8px;
}

.element-coupon .text-wrapper-16 {
  display: block;
  align-self: center;
  width: auto;
  max-width: 100%;
  font-size: 12px;
  text-align: center;
  letter-spacing: -0.05px;
  line-height: 14px;
  white-space: nowrap;
  overflow: visible;
  position: relative;
  font-family: "Inter", Helvetica;
  font-weight: 600;
  color: #ffffff;
}

.element-coupon .frame-7 {
  display: flex;
  flex-direction: column;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: 1px;
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 10px;
  background-color: var(--purple);
  border-radius: 8px;
}

.element-coupon .day {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  padding: 50px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: visible;
  background-image: url(../../img/idx-em/33_Coupon_1/day.svg);
  background-size: cover;
  background-position: 50% 50%;
}

.element-coupon .roulette {
  position: relative;
  width: min(689px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  flex-shrink: 0;
  overflow: visible;
}

/* 모든 레이어 = 동일한 689 정사각 좌표계 (translate 중앙정렬 금지) */
.element-coupon .roulette .idx-coupon-roulette-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  transform: none;
}

.element-coupon .roulette .idx-coupon-roulette-bg {
  z-index: 1;
  object-fit: fill;
}

.element-coupon .roulette .idx-coupon-roulette-spin {
  z-index: 2;
  overflow: visible;
  container-type: size;
  container-name: coupon-roulette-wheel;
  --rl-segment-radius: 28cqw;
}

/* margin으로 중앙 고정 → transform에는 rotate만 (translate와 분리) */
.element-coupon .roulette .idx-coupon-roulette-spin .idx-coupon-roulette-rotate {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  margin-left: -50%;
  margin-top: -50%;
  transform-origin: 50% 50%;
  will-change: transform;
  contain: layout paint;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.element-coupon .roulette .idx-coupon-roulette-spin .idx-coupon-roulette-circle {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.element-coupon .roulette .idx-coupon-roulette-segments {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.element-coupon .roulette .idx-coupon-roulette-segment {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  transform-origin: center center;
}

.element-coupon .roulette .idx-coupon-roulette-segment.is-zero {
  width: auto;
  height: 14cqw;
  max-height: 96px;
  aspect-ratio: 101 / 107;
  object-fit: contain;
}

.element-coupon .roulette .idx-coupon-roulette-segment.is-amount-thousand {
  height: 17cqw;
  max-height: 117px;
  aspect-ratio: 91 / 141;
}

.element-coupon .roulette .idx-coupon-roulette-segment.is-amount-man {
  height: 17cqw;
  max-height: 117px;
  aspect-ratio: 123 / 142;
}

.element-coupon .roulette .idx-coupon-roulette-segment[data-segment="1"] { transform: translate(-50%, -50%) rotate(22.5deg)  translateY(calc(-1 * var(--rl-segment-radius))); }
.element-coupon .roulette .idx-coupon-roulette-segment[data-segment="2"] { transform: translate(-50%, -50%) rotate(67.5deg)  translateY(calc(-1 * var(--rl-segment-radius))); }
.element-coupon .roulette .idx-coupon-roulette-segment[data-segment="3"] { transform: translate(-50%, -50%) rotate(112.5deg) translateY(calc(-1 * var(--rl-segment-radius))); }
.element-coupon .roulette .idx-coupon-roulette-segment[data-segment="4"] { transform: translate(-50%, -50%) rotate(157.5deg) translateY(calc(-1 * var(--rl-segment-radius))); }
.element-coupon .roulette .idx-coupon-roulette-segment[data-segment="5"] { transform: translate(-50%, -50%) rotate(202.5deg) translateY(calc(-1 * var(--rl-segment-radius))); }
.element-coupon .roulette .idx-coupon-roulette-segment[data-segment="6"] { transform: translate(-50%, -50%) rotate(247.5deg) translateY(calc(-1 * var(--rl-segment-radius))); }
.element-coupon .roulette .idx-coupon-roulette-segment[data-segment="7"] { transform: translate(-50%, -50%) rotate(292.5deg) translateY(calc(-1 * var(--rl-segment-radius))); }
.element-coupon .roulette .idx-coupon-roulette-segment[data-segment="8"] { transform: translate(-50%, -50%) rotate(337.5deg) translateY(calc(-1 * var(--rl-segment-radius))); }

.element-coupon .roulette .idx-coupon-roulette-point {
  inset: auto;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 20;
  width: 14.95%;
  max-width: 103px;
  height: auto;
  object-fit: contain;
}

.element-coupon .roulette .idx-coupon-roulette-start-act,
.element-coupon .roulette .idx-coupon-roulette-start-nor {
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30.9%;
  max-width: 213px;
  height: auto;
  margin-top: 0;
  z-index: 30;
  cursor: pointer;
  object-fit: contain;
}

.element-coupon .roulette .idx-coupon-roulette-start-act {
  display: none;
  pointer-events: none;
}

.element-coupon .roulette .idx-coupon-roulette-start-nor {
  display: block;
}

.element-coupon .roulette.is-spinning .idx-coupon-roulette-start-nor,
.element-coupon .roulette.is-start-active .idx-coupon-roulette-start-nor {
  display: none !important;
}

.element-coupon .roulette.is-spinning .idx-coupon-roulette-start-act,
.element-coupon .roulette.is-start-active .idx-coupon-roulette-start-act {
  display: block;
}

.element-coupon .roulette .idx-coupon-roulette-start-nor.is-disabled {
  opacity: 0.45;
  cursor: pointer;
}

.element-coupon .idx-coupon-type-btn {
  border: 0;
  cursor: pointer;
  width: 100%;
}

.element-coupon .idx-coupon-type-btn .text-wrapper-16 {
  pointer-events: none;
}

.element-coupon .idx-coupon-type-btn.is-selected {
  background-color: var(--purple);
}

.element-coupon .idx-coupon-type-btn:not(.is-selected) {
  background-color: #303338;
}

.element-coupon .idx-coupon-type-btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.element-coupon .roulette.is-spinning .idx-coupon-roulette-start-act {
  z-index: 35;
}

@media (max-width: 1280px) {
  .element-coupon .roulette {
    width: min(689px, 100%);
    aspect-ratio: 1;
    height: auto;
  }
}

@media (max-width: 768px) {
  .element-coupon .main-content-wrapper {
    padding: 10px 0;
  }

  .element-coupon .main-content {
    padding: 0 20px;
  }

  .element-coupon .text-2 {
    flex-direction: column;
    gap: 6px;
    padding: 5px 6px;
  }

  .element-coupon .idx-coupon-type-btn {
    flex: none;
    width: 100%;
  }
}

.element-coupon .main-content-wrapper,
.element-coupon .main-content,
.element-coupon .home {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.element-coupon .union {
  position: absolute;
  top: 0;
  left: 0;
  width: 689px;
  height: 689px;
}

.element-coupon .union-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 213px;
  height: 213px;
  margin-left: -106.5px;
  margin-top: -106.5px;
}

.element-coupon .union-3 {
  position: absolute;
  top: 0;
  left: 50%;
  width: 103px;
  height: 143px;
  margin-left: -51.5px;
}

.element-coupon .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 50px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #272a31;
  border-top-width: 1px;
  border-top-style: solid;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-color: #1e2939;
}

.element-coupon .text-3 {
  display: inline-flex;
  align-items: flex-end;
  position: relative;
  flex: 0 0 auto;
}

.element-coupon .text-wrapper-17 {
  position: relative;
  width: fit-content;
  margin-top: -0.67px;
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: var(--purple);
  font-size: 20px;
  letter-spacing: -0.8px;
  line-height: 20px;
  white-space: nowrap;
}

.element-coupon .text-wrapper-18 {
  width: fit-content;
  font-weight: 700;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: -0.8px;
  line-height: 16.3px;
  white-space: nowrap;
  position: relative;
  font-family: "Inter", Helvetica;
}

.element-coupon .container-2 {
  width: 794.34px;
  gap: 3px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.element-coupon .p {
  position: relative;
  align-self: stretch;
  margin-top: -1px;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #6a7282;
  font-size: 12px;
  text-align: right;
  letter-spacing: 0;
  line-height: 16px;
}

.element-coupon .TINGBET {
  position: relative;
  align-self: stretch;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: transparent;
  font-size: 12px;
  text-align: right;
  letter-spacing: 0;
  line-height: 16px;
}

.element-coupon .text-wrapper-19 {
  font-weight: 500;
  color: #f952ff;
}

.element-coupon .text-wrapper-20 {
  color: #6a7282;
}

.element-coupon .text-wrapper-21 {
  position: relative;
  align-self: stretch;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #6a7282;
  font-size: 12px;
  text-align: right;
  letter-spacing: 0;
  line-height: 16px;
}
