.dt-sell {
  --premium-blue: #2280ff;
  --premium-sky: #21a2f3;
  --premium-green: #00bb16;
  --premium-red: #ff2626;
  --premium-text: #2e2e2e;
  --premium-border: #ebebeb;
  padding-bottom: 70px;
  background: #fff;
}

.dt-list-top {
  width: 100%;
  padding: 28px 0 34px;
  background: #f1f3ff;
}

.dt-sell-search {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 30px;
}

.dt-sell-search .el-input {
  flex: 1;
}

.dt-sell-search .el-input-group {
  height: 66px;
  overflow: hidden;
  border: 2px solid var(--premium-blue);
  border-radius: 14px;
  background: #fff;
}

.dt-sell-search .el-input__inner {
  height: 62px;
  border: 0;
  padding-left: 28px;
  color: #333;
  font-size: 20px;
  font-weight: 700;
}

.dt-sell-search .el-input-group__append {
  width: 190px;
  border: 0;
  background: var(--premium-blue);
}

.dt-sell-search .el-input-group__append button {
  width: 190px;
  height: 64px;
  border: 0;
  background: var(--premium-blue);
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

.dt-sell-register.el-button {
  width: 194px;
  height: 64px;
  border: 2px solid #79a9ef;
  border-radius: 14px;
  background: #c9defb;
  color: #1f79e8;
  font-size: 19px;
  font-weight: 800;
}

.premium_game_info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  margin-bottom: 25px;
}

.game_title_box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.game_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.game_icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.game_name {
  margin: 0;
  color: var(--premium-text);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0;
}

.game_name .server_name {
  margin-left: 10px;
  color: #666;
  font-size: 18px;
  font-weight: 400;
}

.trade_type_toggle {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 40px;
  padding: 4px;
  border-radius: 25px;
  background: #fff;
}

.trade_type_toggle button {
  min-width: 86px;
  height: 32px;
  padding: 0 20px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--premium-text);
  font-size: 16px;
  font-weight: 700;
  transition: all .2s;
}

.trade_type_toggle button.active {
  background: var(--premium-sky);
  color: #fff;
}

.dt-sell.is-buy .trade_type_toggle button.active {
  background: var(--premium-green);
}

.premium_filter_box {
  padding: 30px;
  border: 1px solid #dfe3eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.category_tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.category_tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 52px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #fff;
  color: #2e2e2e;
  font-size: 16px;
  font-weight: 600;
}

.category_tabs button.active {
  border-color: var(--premium-sky);
  background: var(--premium-sky);
  color: #fff;
}

.server_tags_section {
  margin-top: 2px;
}

.server_tags_section--sub {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #f0f2f5;
}

.server_tags_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.server_tags_title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--premium-text);
  font-size: 15px;
  font-weight: 600;
}

.server_tags_title_dot {
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff8c42;
}

.server_tags_toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #2e2e2e;
  font-size: 14px;
  font-weight: 500;
}

.server_tags_chevron {
  transition: transform .2s;
}

.server_tags_section.is-expanded .server_tags_chevron {
  transform: rotate(180deg);
}

.server_tags_scroll {
  max-height: 43px;
  overflow: hidden;
  transition: max-height .25s ease;
}

.server_tags_section.is-expanded .server_tags_scroll {
  max-height: 132px;
}

.server_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 11px;
  padding: 0 0 12px;
}

.server_tags button {
  min-width: 60px;
  height: 35px;
  padding: 0 14px;
  border: 1px solid var(--premium-border);
  border-radius: 8px;
  background: #fff;
  color: #666;
  font-size: 14px;
}

.server_tags button.active {
  border-color: var(--premium-blue);
  color: var(--premium-blue);
  font-weight: 700;
}

.filter_expand_body {
  display: none;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}

.filter_expand_body.show {
  display: flex;
}

.filter_row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter_row .row_label_btn,
.filter_row .row_choices button {
  height: 35px;
  padding: 0 20px;
  border-radius: 7px;
  background: #fff;
  font-size: 14px;
}

.filter_row .row_label_btn {
  min-width: 120px;
  border: 1px solid var(--premium-blue);
  color: var(--premium-blue);
  font-weight: 600;
}

.filter_row .row_choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.filter_row .row_choices button {
  border: 1px solid var(--premium-border);
  color: #444;
}

.filter_row .row_label_btn.active,
.filter_row .row_choices button.active {
  border-color: var(--premium-blue);
  color: var(--premium-blue);
  font-weight: 700;
}

.filter_footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  margin-top: 11px;
}

.expand_filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #2e2e2e;
  font-size: 14px;
  font-weight: 600;
}

.expand_filter::after {
  content: "";
  width: 10px;
  height: 6px;
  background: linear-gradient(45deg, transparent 45%, #2e2e2e 45% 55%, transparent 55%) left center / 6px 6px no-repeat,
    linear-gradient(-45deg, transparent 45%, #2e2e2e 45% 55%, transparent 55%) right center / 6px 6px no-repeat;
  transition: transform .2s;
}

.expand_filter.on::after {
  transform: rotate(180deg);
}

.reset_filter {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #666;
  font-size: 14px;
}

.reset_filter img {
  width: 16px;
  height: 16px;
}

.premium_list_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 20px;
  padding-top: 0;
}

.list_summary_count {
  color: #333;
  font-size: 17px;
  font-weight: 500;
}

.list_summary_count .count {
  color: var(--premium-red);
  font-weight: 700;
}

.list_search_bar {
  display: flex;
  align-items: center;
  width: 318px;
  min-height: 50px;
  padding: 4px 18px;
  border-radius: 25px;
  background: #f0f0f0;
}

.list_search_bar input {
  flex: 1;
  min-width: 0;
  padding: 8px;
  border: 0;
  outline: none;
  background: transparent;
  color: #333;
  font-size: 14px;
}

.list_search_bar button {
  padding: 0;
  border: 0;
  background: transparent;
}

.list_search_bar .search_icon {
  width: 18px;
  height: 18px;
  opacity: .55;
}

.premium_section_title {
  margin-bottom: 20px;
  color: #111;
  font-size: 24px;
  font-weight: 700;
}

.premium_section + .premium_section {
  margin-top: 34px;
}

.premium_item_list {
  overflow: hidden;
  border: 1px solid #c6d9ff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
}

.premium_item_row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  border-bottom: 1px solid #f2f5ff;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
}

.premium_item_row:hover {
  background: #f8fbff;
}

.premium_item_row:last-child {
  border-bottom: 0;
}

.empty_message {
  padding: 34px 20px;
  color: #888;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.item_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 42px;
}

.credit_mark_new {
  display: block;
  width: 40px;
  height: 42px;
  border-radius: 12px 12px 15px 15px;
  background: linear-gradient(160deg, #7c899c, #4f5e73);
  box-shadow: inset 0 -9px 0 rgba(0, 0, 0, .18);
}

.credit_mark_new::before {
  content: "B";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.credit_mark_new.gold {
  background: linear-gradient(160deg, #ffe28b, #d99a19);
}

.credit_mark_new.gold::before {
  content: "G";
  color: #563808;
}

.credit_mark_new.silver {
  background: linear-gradient(160deg, #dbe3ef, #8f9fb5);
}

.credit_mark_new.silver::before {
  content: "S";
  color: #37506f;
}

.credit_mark_new.vip {
  background: linear-gradient(160deg, #8d69ef, #6241d5);
}

.credit_mark_new.vip::before {
  content: "V";
  color: #fff;
}

.credit_mark_new.diamond {
  background: linear-gradient(160deg, #96dcff, #2689d4);
}

.credit_mark_new.diamond::before {
  content: "D";
  color: #fff;
}

.credit_mark_new.platinum {
  background: linear-gradient(160deg, #c9f1ff, #6b9ecf);
}

.credit_mark_new.platinum::before {
  content: "P";
  color: #214a72;
}

.credit_mark_new.green {
  background: linear-gradient(160deg, #7de66b, #13aa2a);
}

.credit_mark_new.green::before {
  content: "B";
  color: #fff;
}

.item_main_info {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.item_server {
  margin-bottom: 6px;
  color: #888;
  font-size: 13px;
}

.item_title {
  width: 60%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  color: #333;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item_title em {
  color: var(--premium-blue);
  font-style: normal;
}

.dt-sell.is-buy .premium_item_row {
  min-height: 102px;
  padding: 18px 24px;
}

.premium_item_row.is-closed {
  background: #f1f1f1;
  color: #a9adb5;
  cursor: default;
}

.premium_item_row.is-closed:hover {
  background: #f1f1f1;
}

.premium_item_row.is-closed .item_icon .credit_mark_new {
  filter: grayscale(1);
  opacity: .55;
}

.premium_item_row.is-closed .item_server,
.premium_item_row.is-closed .item_title,
.premium_item_row.is-closed .item_quantity,
.premium_item_row.is-closed .item_price,
.premium_item_row.is-closed .item_price_main,
.premium_item_row.is-closed .item_price_unit,
.premium_item_row.is-closed .item_meta_line {
  color: #a9adb5;
}

.premium_item_row.is-closed .item_title em {
  color: #a9adb5;
}

.item_quantity_col {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 120px;
  max-width: 200px;
  padding: 0 12px;
  text-align: center;
}

.item_quantity {
  color: #777;
  font-size: 14px;
  white-space: nowrap;
}

.item_price_col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: 140px;
}

.item_price {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  min-width: 140px;
  color: var(--premium-blue);
  font-size: 20px;
  font-weight: 800;
}

.item_price_main {
  color: var(--premium-blue);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.item_price_unit {
  margin-top: 4px;
  color: #9aa4b2;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.item_status_col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 96px;
}

.premium_section--regular .item_price_main {
  color: #333;
}

.dt-sell.is-buy .item_price_main,
.dt-sell.is-buy .premium_section--regular .item_price_main {
  color: var(--premium-blue);
}

.item_time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 70px;
  min-height: 28px;
  color: #999;
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

.item_time.is-open,
.item_time.is-closed {
  min-width: 86px;
  height: 31px;
  padding: 0 12px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.item_time.is-open {
  background: var(--premium-blue);
}

.item_time.is-closed {
  background: #4e5a70;
}

.premium_pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.premium_pager button {
  min-width: 32px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid #dfe4ec;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 600;
}

.premium_pager button.active {
  border-color: var(--premium-sky);
  background: var(--premium-sky);
  color: #fff;
}

.premium_pager button:disabled {
  opacity: .45;
  cursor: default;
}

/* TemJangte trade list filter alignment */
.dt-sell .dt-content {
  width: min(calc(100% - 80px), 1080px);
  max-width: 1080px;
}

.dt-list-top {
  padding: 28px 0 28px;
}

.premium_game_info {
  margin-bottom: 25px;
}

.premium_filter_box {
  padding: 30px;
  border: 1px solid var(--premium-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.category_tabs {
  gap: 12px;
  margin-bottom: 30px;
}

.category_tabs button {
  height: 52px;
  border-color: #444;
  border-radius: 6px;
  color: #444;
  font-size: 16px;
  font-weight: 600;
}

.server_tags_section {
  margin-top: 4px;
}

.server_tags_section--sub {
  margin-top: 12px;
  padding-top: 14px;
}

.server_tags_header {
  align-items: center;
  margin-bottom: 10px;
}

.server_tags_toggle {
  gap: 4px;
  height: 24px;
  padding: 0;
  color: #444;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}

.server_tags_toggle:hover {
  color: var(--premium-blue);
}

.server_tags_chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  font-size: 12px;
  line-height: 1;
}

.server_tags_scroll {
  max-height: 44px;
  transition: max-height .45s cubic-bezier(.33, 1, .32, 1);
}

.server_tags_section.is-expanded .server_tags_scroll {
  max-height: 360px;
}

.server_tags_section:not(.is-expanded) .server_tags {
  padding-bottom: 0;
}

.server_tags {
  gap: 12px 10px;
  padding: 0 0 20px;
}

.server_tags button {
  min-width: 60px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
}

.filter_expand_body {
  margin-top: 0;
  padding-top: 20px;
}

.filter_expand_body.show {
  gap: 12px;
}

.filter_row {
  gap: 10px;
}

.filter_row .row_label_btn,
.filter_row .row_choices button {
  height: 36px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 14px;
}

.filter_row .row_choices button {
  padding: 0 16px;
  border-radius: 8px;
}

.filter_footer {
  min-height: 48px;
  margin-top: 0;
}

.expand_filter {
  gap: 8px;
  color: #2e2e2e;
  font-size: 14px;
  font-weight: 600;
}

.expand_filter::after {
  width: 10px;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%232E2E2E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center / 10px 6px no-repeat;
}

.reset_filter {
  right: 0;
  min-height: 28px;
  color: #666;
  font-size: 14px;
}

.reset_filter img {
  width: 16px;
  height: 16px;
}

@media (max-width: 1079px) {
  .dt-sell-search,
  .premium_game_info,
  .premium_list_header,
  .premium_item_row {
    align-items: stretch;
    flex-direction: column;
  }

  .dt-sell-register.el-button,
  .dt-sell-search .el-input-group__append,
  .dt-sell-search .el-input-group__append button,
  .list_search_bar {
    width: 100%;
  }

  .category_tabs,
  .filter_row {
    flex-direction: column;
  }

  .item_title {
    width: 100%;
  }
}
