.popup {
  width: 100%;
  height: 100%;
  background: rgba(7, 5, 13, 0.82);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: none;
  color: #ffffff;
  backdrop-filter: blur(8px);
}
.popup__heading {
  font-family: var(--MSIBodyFont);
  font-size: clamp(18px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  background: #9a77df;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: sticky;
  padding: 14px 44px 14px 16px;
  top: 0;
  color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  z-index: 2;
}
@media (min-width: 996px) {
  .popup__heading {
    padding: 16px 48px 16px 24px;
  }
}
.popup__area {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, rgba(154, 119, 223, 0.22) 0%, #18122a 45%, #120e1f 100%);
  border: 1px solid rgba(154, 119, 223, 0.4);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(154, 119, 223, 0.2);
  width: 94%;
  max-width: 1280px;
  height: auto;
  max-height: 92vh;
  overflow-x: hidden;
  overflow-y: auto;
}
@media (min-width: 996px) {
  .popup__area {
    width: 90%;
    max-height: 90vh;
  }
}
.popup__area::-webkit-scrollbar {
  width: 6px;
  background-color: rgba(0, 0, 0, 0.06);
}
.popup__area::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 3px;
}
.popup__area::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.04);
}
.popup__content {
  text-align: left;
  font-family: var(--MSIBodyFont);
  font-size: clamp(13px, 3.2vw, 16px);
  line-height: 1.6;
  color: #ffffff;
  padding: 14px 14px 20px;
}
@media (min-width: 996px) {
  .popup__content {
    padding: 30px 50px 40px;
  }
}
.popup__table-wrap {
  overflow-x: visible;
  margin: 0;
}
.popup__table {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  border-collapse: collapse;
}
.popup__table thead {
  display: none;
}
.popup__table tbody {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}
@media (min-width: 576px) {
  .popup__table tbody {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (min-width: 996px) {
  .popup__table tbody {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
.popup__table tr {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  border: 1px solid rgba(154, 119, 223, 0.4);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(154, 119, 223, 0.12);
  box-sizing: border-box;
}
.popup__table th,
.popup__table td {
  border: none;
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
  box-sizing: border-box;
}
.popup__table th {
  background: #9a77df;
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}
.popup__table td {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid rgba(154, 119, 223, 0.4);
}
.popup__table td::before {
  content: attr(data-label);
  flex: 1 1 auto;
  max-width: 55%;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
}
.popup__table td:last-child {
  border-bottom: none;
}
.popup__table-img {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 16px 12px 12px;
  background: transparent;
}
.popup__table-img::before {
  display: none;
}
.popup__table-img img {
  display: block;
  width: 96px;
  height: 96px;
  max-width: none;
  margin: 0;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
@media (min-width: 996px) {
  .popup__table-img img {
    width: 110px;
    height: 110px;
  }
}
.popup__table-name {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}
@media (min-width: 996px) {
  .popup__table-name {
    font-size: 14px;
  }
}
.popup__table-center {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}

.popup .popup-close,
.popup .popup__close {
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  display: block;
  position: absolute;
  top: 50%;
  right: 16px;
  margin: 0;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: center center;
  transition: transform 0.3s ease, opacity 0.2s ease;
  border-radius: 100%;
  background: transparent;
  border: solid 2px #ffffff;
}
.popup .popup-close::after, .popup .popup-close::before,
.popup .popup__close::after,
.popup .popup__close::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 2px;
  width: 10px;
  margin: 0;
  border-radius: 30px;
  background: #ffffff;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center center;
}
.popup .popup-close::after,
.popup .popup__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
@media (min-width: 996px) {
  .popup .popup-close,
  .popup .popup__close {
    width: 36px;
    height: 36px;
    right: 24px;
  }
  .popup .popup-close::after, .popup .popup-close::before,
  .popup .popup__close::after,
  .popup .popup__close::before {
    height: 2px;
    width: 20px;
  }
}
.popup .popup-close:hover,
.popup .popup__close:hover {
  transform: translateY(-50%) rotate(180deg);
  background: transparent;
  text-decoration: none;
  border-color: #ffffff;
  opacity: 0.75;
}
.popup .popup-close:hover::after, .popup .popup-close:hover::before,
.popup .popup__close:hover::after,
.popup .popup__close:hover::before {
  background: #ffffff;
}

.popup__content a {
  color: #a98aeb;
  text-decoration: underline;
  word-break: break-word;
}
.popup__content a:hover {
  color: #ffffff;
}
.popup__content .popRedeem {
  text-align: center;
}
.popup__content .popRedeem__item {
  position: relative;
  margin: 24px 0;
  font-size: clamp(15px, 1.6vw, 18px);
}
.popup__content .popRedeem__item h4 {
  margin: 0 0 8px;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.45;
  color: #ffffff;
}
.popup__content .popRedeem__item p {
  margin: 6px 0;
  font-size: 0.9em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}
.popup__content .popRedeem__item span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 15px;
  border: 1px solid rgba(154, 119, 223, 0.7);
  color: #ffffff;
  font-weight: 700;
  border-radius: 20px;
  background: rgba(154, 119, 223, 0.12);
}
.popup__content .popRedeem .text__note {
  margin-top: 20px;
  font-size: 0.75em;
  line-height: 1.5;
  text-align: left;
  color: rgba(255, 255, 255, 0.55);
}
.popup__content .popTC {
  position: relative;
}
.popup__content .popTC p {
  margin: 0 0 12px;
  line-height: 1.55;
  color: #ffffff;
}
.popup__content .popTC__subtitle {
  margin: 28px 0 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  text-align: left;
  color: #a98aeb;
}
@media (min-width: 996px) {
  .popup__content .popTC__subtitle {
    margin-top: 36px;
  }
}
.popup__content .popTC__line {
  width: 100%;
  height: 1px;
  margin: 6px auto 16px;
  background: rgba(154, 119, 223, 0.4);
}
.popup__content .popTC__divider {
  width: 100%;
  height: 1px;
  margin: 36px 0 28px;
  border: 0;
  background: rgba(154, 119, 223, 0.7);
}
.popup__content .popTC ul,
.popup__content .popTC ol {
  margin: 8px 0 12px 1.2em;
  padding-left: 1.2em;
}
.popup__content .popTC ul li,
.popup__content .popTC ol li {
  display: list-item;
  margin: 8px 0;
  line-height: 1.55;
}
.popup__content .popTC ul.lower-roman {
  list-style: lower-roman;
}
.popup__content .popTC ul.lower-roman li {
  list-style: lower-roman;
}
.popup__content .popTC ul.discStyle {
  list-style: disc;
}
.popup__content .popTC ul.discStyle li {
  list-style: disc;
}
.popup__content .popTC ol.lower-alpha,
.popup__content .popTC ul .lower-alpha {
  list-style: lower-alpha;
}
.popup__content .popTC ol.lower-alpha li,
.popup__content .popTC ul .lower-alpha li {
  list-style: lower-alpha;
}
.popup__content .popTC ol {
  list-style: decimal;
}
.popup__content .popTC ol li {
  list-style: decimal;
}
