.upgrade_page {
  padding:0 22px
}
.upgrade_tabs {
  display:flex;
  background:#121212;
  border-radius:12px;
  padding:2px;
  gap:0;
  margin-top:32px
}
.tab_btn.active {
  background:#1a1b1f
}
.tab_btn {
  flex:1 1;
  background:transparent;
  border:none;
  padding:6px 0;
  border-radius:10px;
  font-size:16px;
  line-height:24px;
  font-weight:400;
  color:#fff;
  cursor:pointer;
  transition:background .2s ease
}
.upgrade_progress_wrapper {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  height:auto;
  margin-top:24px
}
.upgrade_progress_circle {
  display:flex;
  align-items:center;
  justify-content:center;
  width:206px;
  height:206px;
  background:url(/assets/upgrade-bg-7oT-kADe.png)
}
.upgrade_progress_percent,
.upgrade_progress_count {
  position:absolute;
  top:22px;
  font-weight:500;
  font-size:16px;
  line-height:24px;
  color:#89899a
}
.upgrade_progress_percent {
  left:42px
}
.upgrade_progress_count {
  right:51px
}
.upgrade_main_btn {
  width:100%;
  border-radius:10px;
  padding:15px 12px;
  font-weight:500;
  font-size:18px;
  line-height:24px;
  background-color:#007aff;
  color:#fff;
  border:none;
  cursor:pointer;
  transition:background .3s;
  margin-top:12px
}
.upgrade_main_btn:disabled {
  opacity:.6;
  cursor:not-allowed
}
.upgrade_selected_items {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:16px;
  gap:15px
}
.upgrade_item_card {
  position:relative;
  display:flex;
  width:100%;
  max-height:200px;
  background:#0f1217;
  border-radius:12px;
  border:1px solid #2c2c35
}
.upgrade_item_card .case_item {
  width:100%;
  max-width:100%
}
.placeholder_add {
  position:relative;
  width:100%;
  height:200px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  margin:0 11px
}
.placeholder_add span {
  position:absolute;
  bottom:22px;
  font-weight:400;
  font-size:16px;
  line-height:20px
}
.upgrade_inventory_head {
  background:#0f1217;
  border:1px solid #2c2c35;
  border-radius:12px 12px 0 0;
  padding:12px 16px;
  margin-top:12px
}
.inventory_search {
  display:flex;
  align-items:center;
  background:#000000bf;
  border-radius:10px;
  padding:10px 20px;
  max-width:179px
}
.inventory_search svg {
  width:15px;
  height:15px
}
.inventory_search input {
  width:100%;
  margin-left:8px;
  background-color:transparent;
  border:none;
  outline:none;
  color:#fff;
  font-weight:400;
  font-size:15px;
  line-height:22px
}
.upgrade_inventory_grid {
  background:#0f1217;
  border:1px solid #2c2c35;
  border-top:unset;
  border-radius:0 0 12px 12px
}
.upgrade_inventory_grid .nft-list-scroll {
  max-height:70vh;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch
}
.upgrade_inventory_empty {
  padding:40px 20px;
  text-align:center;
  color:#888;
  font-size:16px
}
.upgrade_inventory_items {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  grid-gap:12px;
  gap:12px;
  padding:8px 10px
}
.upgrade_inventory_items .case_item {
  width:100%
}
.upgrade_inventory_item {
  display:flex;
  justify-content:center
}
.upgrade_inventory_item.selected {
  border:1px solid #007aff;
  border-radius:13px
}
.close_btn {
  cursor:pointer;
  position:absolute;
  top:10px;
  left:10px;
  z-index:1
}
.upgrade_pointer {
  position:absolute;
  width:0;
  height:0;
  border-left:10px solid transparent;
  border-right:10px solid transparent;
  border-bottom:18px solid #3b82f6;
  transform-origin:center center;
  transition:transform 6s cubic-bezier(.33,1,.68,1);
  pointer-events:none
}
.krystal-icon {
  position:absolute
}
.upgrade_result_text {
  font-weight:500;
  font-size:24px;
  line-height:36px;
  color:#fff
}
.upgrade_result_text.fail {
  color:#f51f32;
  text-shadow:0px 0px 20px #c1554d
}
.upgrade_result_text.success {
  color:#54df95;
  text-shadow:0px 0px 20px #31d158
}
.progress-ring {
  transform:rotate(-90deg)
}
.progress-ring__circle {
  transform:rotate(0);
  transform-origin:50% 50%;
  stroke-linecap:round
}
