@keyframes modal-overlay-spinner {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes modal-button-spinner {
  to {
    transform: rotate(360deg);
  }
}
.page-mobile-index {
  height: fit-content;
}

.cart-content {
  overflow-x: hidden;
  padding-bottom: 60px;
}
.cart-content .hidden {
  visibility: hidden;
}
.cart-content .cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  background-color: #F5F5F5;
  padding: 0 12px;
}
.cart-content .cart-header .cart-balance {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cart-content .cart-header .cart-balance .text {
  color: #000;
  font-size: 14px;
}
.cart-content .cart-header .cart-balance .value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #000000;
  font-size: 16px;
  font-weight: 600;
}
.cart-content .cart-header .cart-balance .value .symbol {
  font-size: 12px;
}
.cart-content .cart-header .cart-recharge {
  height: 28px;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #EA8101;
  border-radius: 100px;
  color: #EA8101;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.cart-content .cart-list .cart-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px;
  padding: 12px 0;
  height: 102px;
  background-image: linear-gradient(to right, #E5E8EC 50%, transparent 50%);
  background-position: bottom;
  background-size: 4px 1px;
  background-repeat: repeat-x;
}
.cart-content .cart-list .cart-item .icon-warp {
  height: 24px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-content .cart-list .cart-item[data-select="0"] .select-icon {
  display: none;
}
.cart-content .cart-list .cart-item[data-select="1"] .not-select-icon {
  display: none;
}
.cart-content .cart-list .cart-item .game-img {
  width: 120px;
  height: 78px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.cart-content .cart-list .cart-item .game-img .header_image {
  width: 120px;
  height: 78px;
  border-radius: 8px;
}
.cart-content .cart-list .cart-item .game-img .game-versions {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 35%, rgba(0, 0, 0, 0.5) 100%);
  padding: 0 4px;
}
.cart-content .cart-list .cart-item .game-img .game-versions .versions-item {
  display: flex;
  gap: 4px;
  align-items: center;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
}
.cart-content .cart-list .cart-item .game-img .game-versions .game-version-line {
  height: 12px;
  width: 1px;
  background-color: #d9d9d9;
}
.cart-content .cart-list .cart-item .game-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  overflow: hidden;
}
.cart-content .cart-list .cart-item .game-info .game-title {
  color: #000000;
  font-size: 14px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-content .cart-list .cart-item .game-info .game-desc {
  color: #53565A;
  font-size: 12px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-content .cart-list .cart-item .game-other {
  position: relative;
  margin-top: 4px;
}
.cart-content .cart-list .cart-item .game-other .price .game-price {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 20px;
}
.cart-content .cart-list .cart-item .game-other .price .game-price .discount {
  background: #67C23A;
  padding: 0 4px;
  height: 18px;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}
.cart-content .cart-list .cart-item .game-other .price .game-price .show-price {
  display: flex;
  align-items: baseline;
  color: #ED4840;
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
}
.cart-content .cart-list .cart-item .game-other .price .game-price .show-price .symbol {
  font-size: 12px;
}
.cart-content .cart-list .cart-item .game-other .price .originalPrice {
  color: #91969C;
  font-size: 11px;
  line-height: 20px;
  text-decoration: line-through;
}
.cart-content .cart-list .cart-item .game-other .price .discount-end-date {
  color: #91969C;
  font-size: 12px;
}
.cart-content .cart-list .cart-item .delete-icon {
  color: #53565A;
  position: absolute;
  right: 4px;
  bottom: 4px;
}
.cart-content .cart-settlement {
  position: fixed;
  bottom: 48px;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #fff;
  border-top: 1px solid #F5F5F5;
  display: flex;
  align-items: center;
  padding: 0 12px;
}
.cart-content .cart-settlement .cart-settlement-left {
  flex: 1;
  display: flex;
  gap: 4px;
  flex-direction: column;
  justify-content: center;
}
.cart-content .cart-settlement .row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cart-content .cart-settlement .row .label {
  color: #000;
  font-size: 14px;
}
.cart-content .cart-settlement .row .settlement-price {
  color: #ED4840;
  font-size: 13px;
  font-weight: 600;
}
.cart-content .cart-settlement .row .settlement-price .text {
  font-size: 17px;
}
.cart-content .cart-settlement .row-desc {
  display: flex;
  align-items: center;
  color: #ED4840;
  gap: 4px;
  font-size: 12px;
  line-height: 12px;
}
.cart-content .cart-settlement .row-desc .discountAmount {
  margin-left: 4px;
}
.cart-content .cart-settlement .row-desc .line {
  height: 10px;
  width: 1px;
  background-color: #ED4840;
  margin: 0 4px;
}
.cart-content .cart-settlement .row-desc .settlement-icon {
  transform: rotate(-90deg);
}
.cart-content .cart-settlement .settlement-btn {
  width: 120px;
  height: 44px;
  border-radius: 4px;
  background-color: #EA8101;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-content .settlement-overlay {
  height: calc(100vh - 107px);
  width: 100vw;
  position: fixed;
  bottom: 107px;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 1000;
}
.cart-content .settlement-overlay .settlement-modal {
  background-color: #fff;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  overflow: hidden;
}
.cart-content .settlement-overlay .settlement-modal .settlement-modal-header {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 12px;
  padding-left: 16px;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid #F5F5F5;
}
.cart-content .settlement-overlay .settlement-modal .settlement-modal-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}
.cart-content .settlement-overlay .settlement-modal .settlement-modal-content .settlement-modal-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #000;
}
.cart-content .settlement-overlay .settlement-modal .settlement-modal-content .settlement-modal-item .settlement-modal-label {
  font-size: 14px;
}
.cart-content .settlement-overlay .settlement-modal .settlement-modal-content .settlement-modal-item .symbol {
  font-size: 12px;
}
.cart-content .settlement-overlay .settlement-modal .settlement-modal-content .settlement-modal-item .settlement-modal-value {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  display: flex;
  align-items: baseline;
  gap: 0;
}
.cart-content .settlement-overlay .settlement-modal .settlement-modal-content .settlement-modal-item .game-num {
  margin-right: 4px;
}
.cart-content .cart-no-data {
  height: calc(100vh - 199px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cart-content .cart-no-data img {
  height: 72px;
  width: 72px;
}
.cart-content .cart-no-data .text {
  width: 215px;
  text-align: center;
  color: #76787B;
  font-size: 13px;
}
.cart-content .cart-no-data .btn {
  background-color: #EA8101;
  margin-top: 8px;
  border-radius: 8px;
  height: 44px;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.delete-modal-header {
  display: flex;
  margin-top: -16px;
  width: 300px;
  margin-left: -16px;
  height: 48px;
  border-bottom: 1px solid #F5F5F5;
  justify-content: center;
  color: #000000;
  font-size: 17px;
  font-weight: 600;
  align-items: center;
}

.delete-modal-content {
  color: #53565A;
  font-size: 14px;
  text-align: center;
  margin-top: 16px;
}

.global-loading {
  cursor: not-allowed !important;
  pointer-events: none;
}
.global-loading::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 1.5px solid #FFFFFF;
  border-top-color: transparent;
  border-radius: 50%;
  animation: modal-button-spinner 0.8s linear infinite;
  box-sizing: border-box;
}