.ioyClkDlO{letter-spacing:0px !important;}
.table-responsive{overflow:auto !important;}
.mr-6px{margin-right:6px;}
.mt-1px{margin-top:1px;}
.relative{position:relative;}
.page-body.is-locked {
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 80px);
}
.page-body.is-locked > *:not(.site-locked) {
  display: none !important;
}
.site-locked {
  position: relative;
  inset: auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(100dvh - 80px);
  padding: 32px 16px;
  background: rgba(246, 247, 251, 0.94);
  pointer-events: auto;
}
.site-locked--sheet {
  position: relative;
  inset: auto;
  min-height: 240px;
  padding: 24px 12px;
  background: transparent;
  backdrop-filter: none;
}
.site-locked__card {
  width: 100%;
  max-width: 420px;
  text-align: center;
  padding: 28px 24px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(28, 36, 48, 0.12);
}
.site-locked__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(232, 148, 10, 0.12);
  color: #c47d00;
  font-size: 18px;
}
.site-locked__title {
  margin: 0 0 8px;
  color: #1c2430;
  font-size: 20px;
  font-weight: 700;
}
.site-locked__text {
  margin: 0 0 18px;
  color: #5c6778;
  font-size: 14px;
  line-height: 1.45;
}
.font-w-600{font-weight:600!important;}
.results-info-text{color:#000!important;}
.dark-only .results-info-text{color:#fff!important;}

@media screen and (max-width:400px){
  .mobile-hidden{display:none;}
  .mr-6px{margin-right:0;}
}

/* Closed left sidebar: theme width is 360px but close offset is 330px, so a strip stays on screen. */
.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper.close_icon,
.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper.close_icon:hover {
  margin-left: 0 !important;
  -webkit-transform: translateX(-100%) !important;
  transform: translateX(-100%) !important;
  box-shadow: none !important;
}
html[dir="rtl"] .page-wrapper.compact-wrapper .page-body-wrapper .sidebar-wrapper.close_icon,
html[dir="rtl"] .page-wrapper.compact-wrapper .page-body-wrapper .sidebar-wrapper.close_icon:hover {
  margin-left: unset !important;
  margin-right: 0 !important;
  -webkit-transform: translateX(100%) !important;
  transform: translateX(100%) !important;
  box-shadow: none !important;
}

/* Header: one chip style, orange accent, no purple wash. */
.page-wrapper .page-header {
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
  box-shadow: none;
}
body.dark-only .page-wrapper .page-header {
  border-bottom-color: #1c1e26;
}

.page-title .breadcrumb {
  --bs-breadcrumb-divider-color: #6d7585;
  --bs-breadcrumb-item-active-color: #6d7585;
  color: #6d7585 !important;
}
.page-title .breadcrumb li,
.page-title .breadcrumb .breadcrumb-item,
.page-title .breadcrumb .breadcrumb-item.active {
  color: #6d7585 !important;
}
.page-title .breadcrumb .breadcrumb-item + .breadcrumb-item::before,
.page-title .breadcrumb .breadcrumb-item + .breadcrumb-item:before {
  color: #9aa1ad !important;
}
.page-title .breadcrumb .breadcrumb-item a,
.page-title .breadcrumb .breadcrumb-item a svg {
  color: #6d7585 !important;
  stroke: currentColor;
}
.page-title .breadcrumb .breadcrumb-item a {
  background-color: #f0f2f5;
}
body.dark-only .page-title .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.45);
  --bs-breadcrumb-item-active-color: rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.48) !important;
}
body.dark-only .page-title .breadcrumb li,
body.dark-only .page-title .breadcrumb .breadcrumb-item,
body.dark-only .page-title .breadcrumb .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.48) !important;
}
body.dark-only .page-title .breadcrumb .breadcrumb-item + .breadcrumb-item::before,
body.dark-only .page-title .breadcrumb .breadcrumb-item + .breadcrumb-item:before {
  color: rgba(255, 255, 255, 0.32) !important;
}
body.dark-only .page-title .breadcrumb .breadcrumb-item a,
body.dark-only .page-title .breadcrumb .breadcrumb-item a svg {
  color: rgba(255, 255, 255, 0.48) !important;
  stroke: currentColor;
}
body.dark-only .page-title .breadcrumb .breadcrumb-item a {
  background-color: #262932;
}

.page-header .header-wrapper {
  flex-wrap: nowrap;
}
.page-header .left-side-header {
  display: flex !important;
  align-items: center;
  min-width: 0;
}
.page-header .header-actions {
  gap: 8px;
  flex-wrap: nowrap;
}

.page-header .add-funds {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(28, 36, 48, 0.1);
  border-radius: 10px;
  background: #f7f8fa;
  color: #2a3140;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.page-header .add-funds:hover,
.page-header .add-funds:focus {
  background: #fff6e8;
  border-color: rgba(224, 138, 0, 0.45);
  color: #9a5b00;
  opacity: 1;
  text-decoration: none;
}
.page-header .funds-icon,
.page-header .add-funds svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex: none;
}

.page-header .nav-menus > li:has(.add-funds),
.page-header .nav-menus > li:has(.balance-badge) {
  display: flex;
  align-items: center;
}

.page-header .balance-badge {
  display: inline-flex;
  align-items: center;
  height: 36px;
  margin: 0 !important;
  padding: 0 12px !important;
  position: static !important;
  right: auto !important;
  top: auto !important;
  border: 1px solid rgba(224, 138, 0, 0.35);
  border-radius: 10px;
  background: #fff4e0;
  color: #8a5200;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

body.dark-only .page-header .add-funds {
  background: #1d1e26;
  border-color: #3a4154;
  color: rgba(255, 255, 255, 0.88);
}
body.dark-only .page-header .add-funds:hover,
body.dark-only .page-header .add-funds:focus {
  background: rgba(255, 165, 0, 0.12);
  border-color: rgba(255, 165, 0, 0.4);
  color: #ffb84d;
}
body.dark-only .page-header .balance-badge {
  background: rgba(255, 165, 0, 0.14);
  border-color: rgba(255, 165, 0, 0.32);
  color: #ffc56a;
}

@media (max-width: 1399.98px) {
  .page-header .header-actions .add-funds span {
    display: none;
  }
  .page-header .header-actions .add-funds {
    width: 36px;
    justify-content: center;
    padding: 0;
    gap: 0;
  }
}

@media (max-width: 991.98px) {
  .page-header .add-funds span {
    display: none !important;
  }
  .page-header .add-funds {
    width: 36px;
    justify-content: center;
    padding: 0;
    gap: 0;
  }
  .page-wrapper .page-header .header-wrapper {
    padding-left: 10px !important;
    padding-right: 8px !important;
  }
  .page-wrapper .page-header .header-wrapper .nav-right > ul > li {
    padding: 4px 4px !important;
    margin-right: 0 !important;
  }
}

@media screen and (max-width: 700px) {
  .page-header .balance-badge {
    font-size: 12px !important;
    padding: 0 8px !important;
  }
  .page-header .left-side-header {
    margin-left: 4px !important;
  }
  .page-header .header-actions {
    gap: 4px;
  }
  .page-header .nav-right {
    width: auto !important;
    max-width: none;
    flex: 0 0 auto;
  }
  .page-header .add-funds,
  .page-header .balance-badge {
    height: 32px;
  }
  .page-header .add-funds {
    width: 32px;
  }
}
@media screen and (max-width: 600px) {
  .page-header .add-funds {
    height: 32px;
    padding: 0;
    font-size: 12px;
    gap: 0;
  }
  .page-header .funds-icon,
  .page-header .add-funds svg {
    width: 15px;
    height: 15px;
  }
}

/* Home: news + uploads fill the space under the header. */
@media (min-width: 1200px) {
  .page-body:has(.home-dash) {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 72px);
    min-height: 0;
    overflow: hidden;
  }
  .page-body:has(.home-dash) > .container-fluid:first-child {
    flex: 0 0 auto;
  }
  .home-dash {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-bottom: 0;
    padding-bottom: 16px;
  }
  .home-stage {
    flex: 1 1 auto;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
  }
  .home-panel {
    height: auto;
    max-height: 100%;
    min-height: 0;
  }
}

.home-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(224, 138, 0, 0.28);
  border-radius: 14px;
  background: #fff8eb;
  color: #6b4a12;
}
.home-banner__icon {
  font-size: 22px;
  line-height: 1;
  flex: none;
}
.home-banner__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
}
.home-banner .btn {
  flex: none;
  margin-left: auto;
}
body.dark-only .home-banner {
  background: rgba(255, 165, 0, 0.1);
  border-color: rgba(255, 165, 0, 0.28);
  color: #f3d7a4;
}

.home-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.59fr);
  gap: 16px;
  align-items: stretch;
}

.home-panel {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid rgba(28, 36, 48, 0.08) !important;
  border-radius: 16px;
  background: #fff;
  letter-spacing: 0;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.home-panel.card:hover {
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.home-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
  background: transparent;
}
.home-panel__head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #1c2430;
}
.home-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 124, 135, 0.45) transparent;
}
.home-scroll::-webkit-scrollbar {
  width: 8px;
}
.home-scroll::-webkit-scrollbar-thumb {
  background: rgba(120, 124, 135, 0.35);
  border-radius: 999px;
}

.home-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-empty {
  margin: 28px 8px;
  color: #6d7585;
  font-size: 13px;
  text-align: center;
}

.news-item,
.upload-item {
  padding: 14px 14px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f6f7f9;
}
.news-item__body {
  color: #1c2430;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.news-item__body > :first-child { margin-top: 0; }
.news-item__body > :last-child { margin-bottom: 0; }
.news-item__body img,
.news-item__body video,
.news-item__body iframe,
.news-item__body table {
  max-width: 100%;
}
.news-item__time,
.upload-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #7a8290;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.news-item__time i,
.upload-time i {
  font-size: 12px;
  color: #c47d00;
}

.upload-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.upload-count {
  flex: none;
  margin-top: 1px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff1dc;
  color: #9a5b00;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.upload-check {
  flex: none;
  margin-top: 1px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e7f6ee;
  color: #1f8a4c;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}
.upload-name {
  min-width: 0;
  color: #1c2430;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.upload-name:hover {
  color: #9a5b00;
  text-decoration: none;
}
.upload-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  min-width: 0;
  color: #6d7585;
  font-size: 12px;
}
.upload-seller {
  min-width: 0;
  overflow: hidden;
  color: #9a5b00;
  font-weight: 600;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-seller:hover {
  color: #7a4800;
  text-decoration: none;
}
.upload-rating {
  color: #6d7585;
  font-weight: 500;
}
.upload-remove {
  flex: none;
  color: #c24141;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.upload-remove:hover {
  color: #9f2c2c;
  text-decoration: none;
}
.upload-meta .upload-time {
  margin-top: 0;
  margin-left: auto;
}

.upload-item:hover {
  background: #fff;
  border-color: rgba(224, 138, 0, 0.28);
}

body.dark-only .home-panel {
  background: #262932 !important;
  border-color: #323846 !important;
  box-shadow: none !important;
}
body.dark-only .home-panel.card:hover {
  box-shadow: none !important;
}
body.dark-only .home-panel__head {
  border-bottom-color: #323846;
}
body.dark-only .home-panel__head h2,
body.dark-only .news-item__body,
body.dark-only .upload-name {
  color: rgba(255, 255, 255, 0.9);
}
body.dark-only .news-item,
body.dark-only .upload-item {
  background: #1d1e26;
  border-color: transparent;
}
body.dark-only .upload-item:hover {
  background: #22242e;
  border-color: rgba(255, 165, 0, 0.32);
}
body.dark-only .upload-count {
  background: rgba(255, 165, 0, 0.14);
  color: #ffc56a;
}
body.dark-only .upload-check {
  background: rgba(31, 138, 76, 0.22);
  color: #8ee0b0;
}
body.dark-only .upload-name:hover,
body.dark-only .upload-seller,
body.dark-only .news-item__time i,
body.dark-only .upload-time i {
  color: #ffc56a;
}
body.dark-only .upload-seller:hover {
  color: #ffe0a8;
}
body.dark-only .news-item__time,
body.dark-only .upload-time,
body.dark-only .upload-rating,
body.dark-only .home-empty {
  color: rgba(255, 255, 255, 0.5);
}

.home-panel--mix .home-scroll {
  padding: 12px;
}
.mix-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-content: start;
}
.mix-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px 14px 12px;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 14px;
  background: #fbfcfe;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.mix-card:hover {
  background: #fff;
  border-color: rgba(224, 138, 0, 0.34);
  box-shadow: 0 8px 22px rgba(28, 36, 48, 0.06);
}
.mix-card__hit {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
}
.mix-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  pointer-events: none;
}
.mix-card__body a,
.mix-card__body button,
.mix-card__body .seller-verified {
  pointer-events: auto;
}
.mix-card__kill {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(194, 65, 65, 0.1);
  color: #c24141;
  cursor: pointer;
}
.mix-card__kill:hover {
  background: #c24141;
  color: #fff;
}
.mix-card__top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding-right: 22px;
}
.mix-card__title {
  margin: 0;
  color: #1c2430;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mix-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.mix-pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.mix-pill--add {
  background: #fff1dc;
  color: #9a5b00;
}
.mix-pill--ok {
  background: #e7f6ee;
  color: #1f8a4c;
}
.mix-pill--ref {
  background: #e8f1ff;
  color: #2b6bcf;
}
.mix-pill--valid {
  background: #eef6e7;
  color: #3d7a24;
}
.mix-card__seller {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}
.mix-card__seller-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #9a5b00;
  font-size: 12.5px;
  font-weight: 650;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mix-card__seller-link i {
  font-size: 11px;
  opacity: .7;
}
.mix-card__seller-link:hover {
  color: #7a4800;
  text-decoration: none;
}
.mix-card__seller .cat-stars {
  margin-left: 0;
}
.mix-card__time {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8a929f;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.mix-card__time i {
  color: #c47d00;
  font-size: 11px;
}
.mix-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: #5c6472;
  font-size: 12px;
}
.mix-stat b {
  color: #1c2430;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mix-stat--price b {
  color: #8a5200;
}
.mix-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.mix-chip {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 6px;
  background: rgba(28, 36, 48, 0.05);
  color: #4c5563;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.mix-card__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-height: 52px;
  overflow: hidden;
}
.mix-card__flags.is-named {
  max-height: none;
  gap: 6px;
}
.mix-card__flags.is-named .mix-flag {
  height: 18px;
}
.mix-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 20px;
  height: 14px;
  overflow: hidden;
  border-radius: 2px;
}
.mix-flag .flag-icon {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.12);
  background-size: cover;
  line-height: 14px;
}
.mix-flag .flag-icon:before {
  display: none;
}
.mix-flag em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5c6472;
}
.mix-flag--more {
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(28, 36, 48, 0.06);
  color: #5c6472;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
}
.mix-bar {
  margin-top: 2px;
}
.mix-bar__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
  color: #8a929f;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.mix-bar__track {
  height: 5px;
  border-radius: 999px;
  background: rgba(28, 36, 48, 0.08);
  overflow: hidden;
}
.mix-bar__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f0b14a, #c47d00);
}

body.dark-only .mix-card {
  background: #1d1e26;
  border-color: #323846;
  box-shadow: none;
}
body.dark-only .mix-card:hover {
  background: #22242e;
  border-color: rgba(255, 165, 0, 0.38);
  box-shadow: none;
}
body.dark-only .mix-card__title,
body.dark-only .mix-stat b {
  color: rgba(255, 255, 255, 0.9);
}
body.dark-only .mix-card__seller-link {
  color: #ffc56a;
}
body.dark-only .mix-card__seller-link:hover {
  color: #ffe0a8;
}
body.dark-only .mix-card__time,
body.dark-only .mix-bar__meta,
body.dark-only .mix-flag em,
body.dark-only .mix-stat {
  color: rgba(255, 255, 255, 0.48);
}
body.dark-only .mix-card__time i {
  color: #ffc56a;
}
body.dark-only .mix-stat--price b {
  color: #ffc56a;
}
body.dark-only .mix-pill--add {
  background: rgba(255, 165, 0, 0.14);
  color: #ffc56a;
}
body.dark-only .mix-pill--ok {
  background: rgba(31, 138, 76, 0.22);
  color: #8ee0b0;
}
body.dark-only .mix-pill--ref {
  background: rgba(43, 107, 207, 0.22);
  color: #9ec0ff;
}
body.dark-only .mix-pill--valid {
  background: rgba(61, 122, 36, 0.22);
  color: #b6e08a;
}
body.dark-only .mix-chip,
body.dark-only .mix-flag--more {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.62);
}
body.dark-only .mix-bar__track {
  background: rgba(255, 255, 255, 0.1);
}
body.dark-only .mix-bar__fill {
  background: linear-gradient(90deg, #ffc56a, #e08a00);
}
body.dark-only .mix-flag .flag-icon {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
body.dark-only .mix-card__kill {
  background: rgba(194, 65, 65, 0.18);
  color: #f08a8a;
}

@media (max-width: 1199.98px) {
  .home-stage {
    grid-template-columns: 1fr;
  }
  .home-panel {
    height: calc(100dvh - 148px);
    max-height: 760px;
    min-height: 320px;
  }
}

@media (max-width: 575.98px) {
  .home-banner {
    flex-wrap: wrap;
  }
  .home-banner .btn {
    margin-left: 0;
  }
  .home-panel {
    height: calc(100dvh - 132px);
    max-height: none;
    min-height: 280px;
    border-radius: 14px;
  }
  .home-panel__head,
  .home-scroll {
    padding-left: 12px;
    padding-right: 12px;
  }
  .upload-meta {
    flex-wrap: wrap;
  }
  .upload-meta .upload-time {
    margin-left: 0;
  }
}

/* Buttons, badges, alerts: tonal chips, not solid billboards. */
.btn {
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none !important;
  overflow: visible !important;
  z-index: auto !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:before,
.btn:after {
  display: none !important;
  content: none !important;
}
.btn-sm,
.btn-group-sm > .btn,
.btn-xs {
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0;
}
.btn-lg {
  border-radius: 12px;
}

.btn-primary {
  background-color: #fff3e0 !important;
  border-color: #efd0a0 !important;
  color: #8a5200 !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
  background-color: #ffe7c4 !important;
  border-color: #e4bc78 !important;
  color: #6e4100 !important;
}

.btn-secondary,
.btn-light {
  background-color: #f4f5f7 !important;
  border-color: #e4e7ec !important;
  color: #3a4150 !important;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.btn-light:hover,
.btn-light:focus,
.btn-light:active {
  background-color: #e8eaee !important;
  border-color: #d5dae1 !important;
  color: #1c2430 !important;
}

.btn-success {
  background-color: #f1f8e9 !important;
  border-color: #d3e6b8 !important;
  color: #3d7a12 !important;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active {
  background-color: #e5f2d4 !important;
  border-color: #bddc96 !important;
  color: #2f5f0e !important;
}

.btn-danger {
  background-color: #fdf2f2 !important;
  border-color: #f0c8c8 !important;
  color: #b42318 !important;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active {
  background-color: #fbe4e4 !important;
  border-color: #e8a8a8 !important;
  color: #911c14 !important;
}

.btn-warning {
  background-color: #fff8ee !important;
  border-color: #f0ddc0 !important;
  color: #8a5a14 !important;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active {
  background-color: #fff1dc !important;
  border-color: #e8cc9a !important;
  color: #6e4100 !important;
}

.btn-info {
  background-color: #f0f6fc !important;
  border-color: #cddcea !important;
  color: #1a5f9e !important;
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active {
  background-color: #e4eef8 !important;
  border-color: #b5cce0 !important;
  color: #144a7c !important;
}

.btn-outline-primary {
  background-color: transparent !important;
  border-color: #efd0a0 !important;
  color: #8a5200 !important;
}
.btn-outline-primary:hover,
.btn-outline-primary.active {
  background-color: #fff3e0 !important;
  color: #6e4100 !important;
}
.btn-outline-secondary {
  background-color: transparent !important;
  border-color: #d5dae1 !important;
  color: #3a4150 !important;
}
.btn-outline-secondary:hover,
.btn-outline-secondary.active {
  background-color: #f4f5f7 !important;
  color: #1c2430 !important;
}
.btn-outline-success {
  background-color: transparent !important;
  border-color: #d3e6b8 !important;
  color: #3d7a12 !important;
}
.btn-outline-success:hover,
.btn-outline-success.active {
  background-color: #f1f8e9 !important;
}
.btn-outline-danger {
  background-color: transparent !important;
  border-color: #f0c8c8 !important;
  color: #b42318 !important;
}
.btn-outline-danger:hover,
.btn-outline-danger.active {
  background-color: #fdf2f2 !important;
}
.btn-outline-warning {
  background-color: transparent !important;
  border-color: #f0ddc0 !important;
  color: #8a5a14 !important;
}
.btn-outline-warning:hover,
.btn-outline-warning.active {
  background-color: #fff8ee !important;
}
.btn-outline-info {
  background-color: transparent !important;
  border-color: #cddcea !important;
  color: #1a5f9e !important;
}
.btn-outline-info:hover,
.btn-outline-info.active {
  background-color: #f0f6fc !important;
}

.badge {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  border: 1px solid transparent;
}
.badge-success,
.badge.bg-success,
.badge-light-success {
  background-color: #f1f8e9 !important;
  border-color: #d3e6b8 !important;
  color: #3d7a12 !important;
}
.badge-primary,
.badge.bg-primary,
.badge-warning,
.badge.bg-warning,
.badge-light-primary,
.badge-light-warning {
  background-color: #fff6eb !important;
  border-color: #efd0a0 !important;
  color: #8a5200 !important;
}
.badge-danger,
.badge.bg-danger,
.badge-light-danger {
  background-color: #fdf2f2 !important;
  border-color: #f0c8c8 !important;
  color: #b42318 !important;
}
.badge-info,
.badge.bg-info,
.badge-light-info {
  background-color: #f0f6fc !important;
  border-color: #cddcea !important;
  color: #1a5f9e !important;
}
.badge-secondary,
.badge.bg-secondary,
.badge-light-secondary {
  background-color: #f4f5f7 !important;
  border-color: #e4e7ec !important;
  color: #5c6573 !important;
}

.alert {
  border-radius: 12px !important;
  border-width: 1px !important;
  box-shadow: none !important;
  color: inherit;
}
.alert p,
.alert.dark p,
.alert a,
.alert .alert-link {
  color: inherit !important;
}
.alert i {
  font-size: 20px !important;
  line-height: 1;
  opacity: 0.85;
}
.alert-primary,
.alert-primary.dark,
.alert-secondary,
.alert-secondary.dark,
.alert-warning,
.alert-warning.dark {
  background-color: #fff8ee !important;
  border-color: rgba(196, 125, 0, 0.18) !important;
  color: #6b4a12 !important;
}
.alert-success,
.alert-success.dark {
  background-color: #f3f8ee !important;
  border-color: rgba(70, 130, 30, 0.16) !important;
  color: #3d6b18 !important;
}
.alert-danger,
.alert-danger.dark {
  background-color: #fdf4f4 !important;
  border-color: rgba(180, 50, 50, 0.16) !important;
  color: #8a3030 !important;
}
.alert-info,
.alert-info.dark {
  background-color: #f3f7fb !important;
  border-color: rgba(40, 80, 130, 0.12) !important;
  color: #2c4a66 !important;
}
.alert-light,
.alert-light.dark {
  background-color: #f7f8fa !important;
  border-color: rgba(28, 36, 48, 0.08) !important;
  color: #3a4150 !important;
}

.pagination .page-link {
  height: 32px;
  min-width: 32px;
  border-radius: 8px !important;
  border-color: rgba(28, 36, 48, 0.1) !important;
  color: #3a4150 !important;
  box-shadow: none !important;
}
.pagination .page-item.active .page-link {
  background-color: #fff3e0 !important;
  border-color: #efd0a0 !important;
  color: #8a5200 !important;
}
.pagination .page-link:hover {
  background-color: #fff8ee !important;
  border-color: #efd0a0 !important;
  color: #8a5200 !important;
}

body.dark-only .btn-primary {
  background-color: rgba(255, 165, 0, 0.14) !important;
  border-color: rgba(255, 165, 0, 0.32) !important;
  color: #ffc56a !important;
}
body.dark-only .btn-primary:hover,
body.dark-only .btn-primary:focus,
body.dark-only .btn-primary:active,
body.dark-only .btn-primary.active {
  background-color: rgba(255, 165, 0, 0.22) !important;
  border-color: rgba(255, 165, 0, 0.45) !important;
  color: #ffe0a8 !important;
}
body.dark-only .btn-secondary,
body.dark-only .btn-light {
  background-color: #2c3140 !important;
  border-color: #3a4154 !important;
  color: rgba(255, 255, 255, 0.88) !important;
}
body.dark-only .btn-secondary:hover,
body.dark-only .btn-secondary:focus,
body.dark-only .btn-secondary:active,
body.dark-only .btn-secondary.active,
body.dark-only .btn-light:hover,
body.dark-only .btn-light:focus {
  background-color: #363c4d !important;
  border-color: #4a5368 !important;
  color: #fff !important;
}
body.dark-only .btn-success {
  background-color: rgba(125, 192, 6, 0.14) !important;
  border-color: rgba(125, 192, 6, 0.32) !important;
  color: #b6e36b !important;
}
body.dark-only .btn-danger {
  background-color: rgba(226, 75, 75, 0.14) !important;
  border-color: rgba(226, 75, 75, 0.32) !important;
  color: #ffb4b4 !important;
}
body.dark-only .btn-danger:hover,
body.dark-only .btn-danger:focus,
body.dark-only .btn-danger:active {
  background-color: rgba(226, 75, 75, 0.22) !important;
  color: #ffd0d0 !important;
}
body.dark-only .btn-warning {
  background-color: rgba(255, 165, 0, 0.12) !important;
  border-color: rgba(255, 165, 0, 0.28) !important;
  color: #ffc56a !important;
}
body.dark-only .btn-warning:hover,
body.dark-only .btn-warning:focus,
body.dark-only .btn-warning:active {
  background-color: rgba(255, 165, 0, 0.2) !important;
  color: #ffe0a8 !important;
}
body.dark-only .btn-info {
  background-color: rgba(29, 151, 255, 0.12) !important;
  border-color: rgba(29, 151, 255, 0.28) !important;
  color: #9dccff !important;
}
body.dark-only .badge-success,
body.dark-only .badge.bg-success,
body.dark-only .badge-light-success {
  background-color: rgba(125, 192, 6, 0.14) !important;
  border-color: rgba(125, 192, 6, 0.28) !important;
  color: #b6e36b !important;
}
body.dark-only .badge-primary,
body.dark-only .badge.bg-primary,
body.dark-only .badge-warning,
body.dark-only .badge.bg-warning,
body.dark-only .badge-light-primary,
body.dark-only .badge-light-warning {
  background-color: rgba(255, 165, 0, 0.14) !important;
  border-color: rgba(255, 165, 0, 0.28) !important;
  color: #ffc56a !important;
}
body.dark-only .badge-danger,
body.dark-only .badge.bg-danger,
body.dark-only .badge-light-danger {
  background-color: rgba(226, 75, 75, 0.14) !important;
  border-color: rgba(226, 75, 75, 0.28) !important;
  color: #ffb4b4 !important;
}
body.dark-only .badge-info,
body.dark-only .badge.bg-info,
body.dark-only .badge-light-info {
  background-color: rgba(29, 151, 255, 0.14) !important;
  border-color: rgba(29, 151, 255, 0.28) !important;
  color: #9dccff !important;
}
body.dark-only .badge-secondary,
body.dark-only .badge.bg-secondary,
body.dark-only .badge-light-secondary {
  background-color: #2c3140 !important;
  border-color: #3a4154 !important;
  color: rgba(255, 255, 255, 0.72) !important;
}
body.dark-only .alert-primary,
body.dark-only .alert-primary.dark,
body.dark-only .alert-secondary,
body.dark-only .alert-secondary.dark,
body.dark-only .alert-warning,
body.dark-only .alert-warning.dark {
  background-color: rgba(255, 165, 0, 0.1) !important;
  border-color: rgba(255, 165, 0, 0.22) !important;
  color: #f3d7a4 !important;
}
body.dark-only .alert-success,
body.dark-only .alert-success.dark {
  background-color: rgba(125, 192, 6, 0.12) !important;
  border-color: rgba(125, 192, 6, 0.24) !important;
  color: #c5e98a !important;
}
body.dark-only .alert-danger,
body.dark-only .alert-danger.dark {
  background-color: rgba(226, 75, 75, 0.12) !important;
  border-color: rgba(226, 75, 75, 0.24) !important;
  color: #ffc4c4 !important;
}
body.dark-only .alert-info,
body.dark-only .alert-info.dark {
  background-color: rgba(29, 151, 255, 0.12) !important;
  border-color: rgba(29, 151, 255, 0.22) !important;
  color: #b4d8ff !important;
}
body.dark-only .pagination .page-link {
  background: #1d1e26 !important;
  border-color: #3a4154 !important;
  color: rgba(255, 255, 255, 0.82) !important;
}
body.dark-only .pagination .page-item.active .page-link,
body.dark-only .pagination .page-link:hover {
  background: rgba(255, 165, 0, 0.16) !important;
  border-color: rgba(255, 165, 0, 0.32) !important;
  color: #ffc56a !important;
}

/* Sidebar: one stroke set, quiet hover, orange active. */
.sidebar-wrapper .logo-wrapper .side-brand {
  display: inline-flex;
  align-items: baseline;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.side-brand__a { color: #1c2430; }
.side-brand__b { color: #e8940a; }
.side-brand--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff6e8;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.logo-icon-wrapper .side-brand--icon,
.back-btn .side-brand--icon {
  margin: 0 auto;
}
body.dark-only .side-brand__a { color: rgba(255, 255, 255, 0.92); }

.sidebar-wrapper .sidebar-link .nav-ico {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 12px 0 0;
  vertical-align: -4px;
  stroke: currentColor;
  flex: none;
}

.sidebar-links > .nav-role {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(28, 36, 48, 0.08);
}
.sidebar-links > .nav-role ~ .nav-role {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
body.dark-only .sidebar-links > .nav-role {
  border-top-color: #323846;
}

.sidebar-links > .nav-home {
  margin-bottom: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(28, 36, 48, 0.08);
}
body.dark-only .sidebar-links > .nav-home {
  border-bottom-color: #323846;
}

.page-wrapper.compact-wrapper .sidebar-main .sidebar-links .sidebar-list:hover > a {
  background-color: rgba(28, 36, 48, 0.045) !important;
}
.page-wrapper.compact-wrapper .sidebar-main .sidebar-links .sidebar-link.active,
.page-wrapper.compact-wrapper .sidebar-main .sidebar-links .sidebar-list:hover > a.sidebar-link.active {
  background-color: rgba(232, 148, 10, 0.12) !important;
}
.page-wrapper.compact-wrapper .sidebar-main .sidebar-links .sidebar-link.active span,
.page-wrapper.compact-wrapper .sidebar-main .sidebar-links .sidebar-link.active .nav-ico,
.page-wrapper.compact-wrapper .sidebar-main .sidebar-links .sidebar-link.active .nav-ico * {
  color: #c47d00 !important;
  stroke: #c47d00 !important;
}
body.dark-only .page-wrapper.compact-wrapper .sidebar-main .sidebar-links .sidebar-list:hover > a {
  background-color: rgba(255, 255, 255, 0.04) !important;
}
body.dark-only .page-wrapper.compact-wrapper .sidebar-main .sidebar-links .sidebar-link.active,
body.dark-only .page-wrapper.compact-wrapper .sidebar-main .sidebar-links .sidebar-list:hover > a.sidebar-link.active {
  background-color: rgba(255, 165, 0, 0.12) !important;
}
body.dark-only .page-wrapper.compact-wrapper .sidebar-main .sidebar-links .sidebar-link.active span,
body.dark-only .page-wrapper.compact-wrapper .sidebar-main .sidebar-links .sidebar-link.active .nav-ico,
body.dark-only .page-wrapper.compact-wrapper .sidebar-main .sidebar-links .sidebar-link.active .nav-ico * {
  color: #ffc56a !important;
  stroke: #ffc56a !important;
}

.page-wrapper .sidebar-wrapper .sidebar-links .sidebar-list .badge {
  top: 50% !important;
  transform: translateY(-50%);
  padding: 0.22em 0.65em !important;
  margin: 0;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
}

/* Hide-menu control: same stroke set, no purple fill from the theme. */
.page-header .toggle-sidebar .menu-toggle-ico {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
}
.page-header .toggle-sidebar .menu-toggle-ico--closed {
  display: none;
}
.page-header.close_icon .toggle-sidebar .menu-toggle-ico--open {
  display: none;
}
.page-header.close_icon .toggle-sidebar .menu-toggle-ico--closed {
  display: block;
}
.page-header .toggle-sidebar .status_toggle path,
.page-header .toggle-sidebar .status_toggle rect,
.page-header .toggle-sidebar .status_toggle circle {
  fill: none !important;
  stroke: #5c6778 !important;
}
.page-header .toggle-sidebar:hover .status_toggle path,
.page-header .toggle-sidebar:hover .status_toggle rect,
.page-header .toggle-sidebar:hover .status_toggle circle {
  stroke: #c47d00 !important;
}
body.dark-only .page-header .toggle-sidebar .status_toggle path,
body.dark-only .page-header .toggle-sidebar .status_toggle rect,
body.dark-only .page-header .toggle-sidebar .status_toggle circle {
  stroke: rgba(255, 255, 255, 0.62) !important;
}
body.dark-only .page-header .toggle-sidebar:hover .status_toggle path,
body.dark-only .page-header .toggle-sidebar:hover .status_toggle rect,
body.dark-only .page-header .toggle-sidebar:hover .status_toggle circle {
  stroke: #ffc56a !important;
}

.sidebar-wrapper .logo-wrapper .back-btn {
  color: #5c6778;
  line-height: 0;
}
.sidebar-wrapper .logo-wrapper .back-btn .nav-ico {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
}
.sidebar-wrapper .logo-wrapper .back-btn .nav-ico,
.sidebar-wrapper .logo-wrapper .back-btn .nav-ico * {
  fill: none !important;
  stroke: #5c6778 !important;
}
.sidebar-wrapper .logo-wrapper .back-btn:hover .nav-ico,
.sidebar-wrapper .logo-wrapper .back-btn:hover .nav-ico * {
  stroke: #c47d00 !important;
}
body.dark-only .sidebar-wrapper .logo-wrapper .back-btn .nav-ico,
body.dark-only .sidebar-wrapper .logo-wrapper .back-btn .nav-ico * {
  stroke: rgba(255, 255, 255, 0.62) !important;
}
body.dark-only .sidebar-wrapper .logo-wrapper .back-btn:hover .nav-ico,
body.dark-only .sidebar-wrapper .logo-wrapper .back-btn:hover .nav-ico * {
  stroke: #ffc56a !important;
}

/* CC market: filter grid, quiet inputs, table under it. */
.market-cc {
  min-width: 0;
  max-width: 100%;
  padding-bottom: 8px;
}
.market-note {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(224, 138, 0, 0.28);
  border-radius: 14px;
  background: #fff8eb;
  color: #6b4a12;
}
.market-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}
.market-card {
  min-width: 0;
  max-width: 100%;
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid rgba(28, 36, 48, 0.08) !important;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.market-card.card:hover {
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.market-filter {
  container-type: inline-size;
  container-name: marketfilter;
  padding: 16px 16px 14px;
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
}
.market-filter__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 14px;
}
.market-filter__field {
  min-width: 0;
}
.market-cc .form-label {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7380;
  line-height: 1.2;
}
.market-field__hint {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.3;
  color: #8b93a1;
}
.market-cc .form-control {
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(28, 36, 48, 0.12) !important;
  border-radius: 10px;
  background: #fff;
  color: #1c2430;
  font-size: 13px;
  box-shadow: none;
}
.market-cc .form-control:focus {
  border-color: rgba(232, 148, 10, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(232, 148, 10, 0.16);
}
.market-cc .select2-container {
  width: 100% !important;
  max-width: 100%;
}
.market-cc .select2-container--default .select2-selection--single {
  height: 38px;
  border: 1px solid rgba(28, 36, 48, 0.12);
  border-radius: 10px;
  background: #fff;
}
.market-cc .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-left: 12px;
  padding-right: 28px;
  line-height: 36px;
  color: #1c2430;
  font-size: 13px;
}
.market-cc .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
  right: 6px;
}
.market-cc .select2-container--default.select2-container--focus .select2-selection--single,
.market-cc .select2-container--default.select2-container--open .select2-selection--single {
  border-color: rgba(232, 148, 10, 0.7);
  box-shadow: 0 0 0 3px rgba(232, 148, 10, 0.16);
}
.select2-container--default .select2-dropdown.market-select-drop {
  border: 1px solid rgba(28, 36, 48, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.12);
}
.select2-container--default .market-select-drop .select2-search--dropdown .select2-search__field {
  border: 1px solid rgba(28, 36, 48, 0.12);
  border-radius: 8px;
  height: 34px;
  padding: 0 10px;
  outline: none;
}
.select2-container--default .market-select-drop .select2-results__option--highlighted[aria-selected],
.select2-container--default .market-select-drop .select2-results__option--highlighted.select2-results__option--selectable {
  background: rgba(232, 148, 10, 0.16) !important;
  color: #1c2430 !important;
}
.market-filter__bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(28, 36, 48, 0.06);
}
.market-filter__bar .btn {
  height: 38px;
  min-width: 108px;
  padding: 0 16px;
}
.market-results__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  min-height: 42px;
  padding: 8px 16px;
}
.market-perpage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0 auto;
  color: #5c6778;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.market-perpage .select2-container {
  width: 96px !important;
}
.market-meta {
  font-size: 13px;
  color: #5c6778;
}
.market-meta b {
  color: #1c2430;
  font-weight: 700;
}
.market-meta__sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
  vertical-align: 2px;
}
.market-results {
  min-width: 0;
  max-width: 100%;
  container-type: inline-size;
  container-name: marketlist;
}
.market-cc .market-table-wrap,
.market-cc .table-responsive.market-table-wrap {
  min-width: 0;
  max-width: 100%;
  border-top: 1px solid rgba(28, 36, 48, 0.06);
  margin: 0;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable;
  max-height: calc(40px + 50 * 58px);
}
.market-cc .market-table {
  width: 100%;
  max-width: 100%;
  margin: 0;
  table-layout: auto;
  color: #1c2430;
  font-size: 13px;
}
.market-cc .market-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 40px;
  padding: 0 10px;
  background: #f6f7fb;
  color: #6b7380;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid rgba(28, 36, 48, 0.08);
  border-top: 0;
  box-sizing: border-box;
}
.market-cc .market-table td {
  height: auto;
  padding: 8px 10px;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  border-color: rgba(28, 36, 48, 0.06);
  color: #1c2430;
  box-sizing: border-box;
}
.market-cc .market-table .mc-brand,
.market-cc .market-table .mc-seller {
  width: 1%;
  white-space: nowrap;
}
.market-cc .market-table .mc-brand {
  padding-left: 10px;
  padding-right: 4px;
}
.market-cc .market-table .mc-seller {
  max-width: 200px;
}
.market-cc .market-table .mc-price,
.market-cc .market-table td.market-price {
  width: 1%;
  min-width: 4.5em;
  white-space: nowrap;
  overflow: visible;
}
.market-cc .market-table .mc-actions,
.market-cc .market-table td.market-actions {
  width: 1%;
  min-width: 88px;
  padding-right: 12px;
  white-space: nowrap;
  overflow: visible;
}
.market-cc .market-table .mc-info {
  width: 100%;
  min-width: 0;
}
.market-cc .market-table tbody tr:hover td {
  background: rgba(232, 148, 10, 0.05);
}
.market-cc .market-table img {
  display: block;
  height: 22px;
  width: auto;
}
.market-cc .market-table a {
  color: #9a5b00;
  font-weight: 600;
  text-decoration: none;
}
.market-cc .market-table a:hover {
  color: #c47d00;
}
.mc-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}
.mc-line--top {
  overflow: hidden;
}
.mc-line--bot {
  margin-top: 3px;
  color: #6b7380;
  font-size: 12px;
}
.mc-cat,
.mc-bank,
.mc-loc {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-cat {
  flex: 0 1 auto;
  max-width: 34%;
  font-weight: 700;
}
.mc-bin,
.mc-lvl,
.mc-exp {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}
.mc-bank,
.mc-loc-wrap {
  flex: 1 1 auto;
}
.mc-loc-wrap {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  gap: 6px;
}
.mc-geo {
  flex: none;
  display: inline-flex;
  width: 18px;
  height: 13px;
  overflow: hidden;
  border-radius: 2px;
}
.mc-geo .flag-icon {
  width: 18px;
  height: 13px;
  line-height: 13px;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.12);
}
.mc-geo .flag-icon:before {
  display: none;
}
body.dark-only .mc-geo .flag-icon {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.mc-extra {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-seller a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mc-seller-row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.mc-seller-row .mc-seller-link {
  min-width: 0;
  flex: 1 1 auto;
}
.mc-seller-link[data-tip] {
  cursor: pointer;
}
.seller-verified {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: #2b6bcf;
  cursor: help;
  outline: none;
  vertical-align: middle;
}
.seller-verified svg {
  display: block;
}
body.dark-only .seller-verified {
  color: #7eb0ff;
}
.mc-flags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 4px;
}
.market-ref {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: help;
  outline: none;
}
.market-ref.is-yes {
  background: rgba(31, 138, 76, 0.12);
  color: #1f8a4c;
}
.market-ref.is-no {
  background: rgba(176, 80, 24, 0.12);
  color: #b05018;
}
.market-cc .market-price {
  font-weight: 700;
  overflow: visible;
}
.market-cc .market-actions {
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  white-space: nowrap;
}
.market-cc .market-actions .btn {
  width: 32px;
  height: 32px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex: none;
}
.market-empty-row td {
  height: auto !important;
  text-align: center;
  color: #6b7380 !important;
  padding: 36px 12px !important;
  white-space: normal !important;
  overflow: visible !important;
}
@media (max-width: 1279.98px) and (min-width: 1000px) {
  .market-cc .market-table .mc-line--top {
    flex-wrap: wrap;
    row-gap: 2px;
  }
  .market-cc .market-table .mc-line--bot {
    margin-top: 2px;
    flex-wrap: wrap;
  }
  .market-cc .market-table .mc-cat-wrap {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }
  .market-cc .market-table .mc-cat-link {
    min-width: 0;
    flex: 1 1 auto;
  }
  .market-cc .market-table .mc-loc-wrap {
    flex-wrap: wrap;
  }
  .market-cc .market-table .mc-extra {
    flex: 1 1 auto;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  .market-cc .market-table .mc-seller {
    max-width: 9.5rem;
  }
}
@media (max-width: 999.98px) {
  .market-cc .market-table,
  .market-cc .market-table tbody {
    display: block;
    width: 100%;
  }
  .market-cc .market-table thead {
    display: none;
  }
  .market-cc .market-table tr.market-item {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto auto;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 4px;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(28, 36, 48, 0.06);
    box-sizing: border-box;
  }
  .market-cc .market-table tr.market-item > td {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto;
    padding: 0;
    border: 0;
    overflow: visible;
    white-space: nowrap;
    background: transparent;
  }
  .market-cc .market-table tr.market-item > td.mc-brand {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    padding-top: 2px;
    overflow: hidden;
  }
  .market-cc .market-table tr.market-item > td.mc-info {
    grid-column: 2 / span 3;
    grid-row: 1;
    white-space: normal;
    overflow: hidden;
  }
  .market-cc .market-table tr.market-item > td.mc-seller {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .market-cc .market-table tr.market-item > td.market-price {
    grid-column: 3;
    grid-row: 2;
    padding-left: 8px;
    text-align: right;
    font-size: 13px;
  }
  .market-cc .market-table tr.market-item > td.market-actions {
    grid-column: 4;
    grid-row: 2;
    display: flex;
    justify-content: flex-end;
    padding-left: 6px;
  }
  .market-cc .market-table tr.market-item .mc-line {
    overflow: hidden;
  }
  .market-cc .market-table tr.market-item .mc-line--top {
    flex-wrap: wrap;
    row-gap: 2px;
  }
  .market-cc .market-table tr.market-item .mc-line--bot {
    margin-top: 2px;
  }
  .market-cc .market-table tr.market-item .mc-cat-wrap {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }
  .market-cc .market-table tr.market-item .mc-cat-link {
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
  }
  .market-cc .market-table tr.market-item .mc-loc-wrap {
    flex-wrap: wrap;
  }
  .market-cc .market-table tr.market-item .mc-extra {
    flex: 1 1 auto;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  .market-cc .market-table tr.market-item .mc-seller a {
    flex: 1 1 auto;
    min-width: 0;
  }
  .market-cc .market-table tr.market-item .mc-flags {
    margin-top: 0;
    flex: 0 0 auto;
  }
  .market-cc .market-table tr.market-item .market-actions .btn {
    width: 30px;
    height: 30px;
  }
  .market-cc .market-table tr.market-empty-row {
    display: block;
  }
  .market-cc .market-table tbody tr:hover td {
    background: transparent;
  }
  .market-cc .market-table tr.market-item:hover {
    background: rgba(232, 148, 10, 0.05);
  }
  body.dark-only .market-cc .market-table tr.market-item {
    border-bottom-color: #323846;
  }
  body.dark-only .market-cc .market-table tbody tr:hover td {
    background: transparent;
  }
  body.dark-only .market-cc .market-table tr.market-item:hover {
    background: rgba(255, 165, 0, 0.08);
  }
}
@container marketlist (min-width: 1001px) and (max-width: 1280px) {
  .market-cc .market-table .mc-line--top {
    flex-wrap: wrap;
    row-gap: 2px;
  }
  .market-cc .market-table .mc-line--bot {
    margin-top: 2px;
    flex-wrap: wrap;
  }
  .market-cc .market-table .mc-cat-wrap {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }
  .market-cc .market-table .mc-cat-link {
    min-width: 0;
    flex: 1 1 auto;
  }
  .market-cc .market-table .mc-loc-wrap {
    flex-wrap: wrap;
  }
  .market-cc .market-table .mc-extra {
    flex: 1 1 auto;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  .market-cc .market-table .mc-seller {
    max-width: 9.5rem;
  }
}
@container marketlist (max-width: 1000px) {
  .market-cc .market-table,
  .market-cc .market-table tbody {
    display: block;
    width: 100%;
  }
  .market-cc .market-table thead {
    display: none;
  }
  .market-cc .market-table tr.market-item {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto auto;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 4px;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(28, 36, 48, 0.06);
    box-sizing: border-box;
  }
  .market-cc .market-table tr.market-item > td {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto;
    padding: 0;
    border: 0;
    overflow: visible;
    white-space: nowrap;
    background: transparent;
  }
  .market-cc .market-table tr.market-item > td.mc-brand {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    padding-top: 2px;
    overflow: hidden;
  }
  .market-cc .market-table tr.market-item > td.mc-info {
    grid-column: 2 / span 3;
    grid-row: 1;
    white-space: normal;
    overflow: hidden;
  }
  .market-cc .market-table tr.market-item > td.mc-seller {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .market-cc .market-table tr.market-item > td.market-price {
    grid-column: 3;
    grid-row: 2;
    padding-left: 8px;
    text-align: right;
    font-size: 13px;
  }
  .market-cc .market-table tr.market-item > td.market-actions {
    grid-column: 4;
    grid-row: 2;
    display: flex;
    justify-content: flex-end;
    padding-left: 6px;
  }
  .market-cc .market-table tr.market-item .mc-line {
    overflow: hidden;
  }
  .market-cc .market-table tr.market-item .mc-line--top {
    flex-wrap: wrap;
    row-gap: 2px;
  }
  .market-cc .market-table tr.market-item .mc-line--bot {
    margin-top: 2px;
  }
  .market-cc .market-table tr.market-item .mc-cat-wrap {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }
  .market-cc .market-table tr.market-item .mc-cat-link {
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
  }
  .market-cc .market-table tr.market-item .mc-loc-wrap {
    flex-wrap: wrap;
  }
  .market-cc .market-table tr.market-item .mc-extra {
    flex: 1 1 auto;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  .market-cc .market-table tr.market-item .mc-seller a {
    flex: 1 1 auto;
    min-width: 0;
  }
  .market-cc .market-table tr.market-item .mc-flags {
    margin-top: 0;
    flex: 0 0 auto;
  }
  .market-cc .market-table tr.market-item .market-actions .btn {
    width: 30px;
    height: 30px;
  }
  .market-cc .market-table tr.market-empty-row {
    display: block;
  }
  .market-cc .market-table tbody tr:hover td {
    background: transparent;
  }
  .market-cc .market-table tr.market-item:hover {
    background: rgba(232, 148, 10, 0.05);
  }
  body.dark-only .market-cc .market-table tr.market-item {
    border-bottom-color: #323846;
  }
  body.dark-only .market-cc .market-table tbody tr:hover td {
    background: transparent;
  }
  body.dark-only .market-cc .market-table tr.market-item:hover {
    background: rgba(255, 165, 0, 0.08);
  }
}
.market-results__pages {
  display: flex;
  justify-content: flex-end;
  padding: 10px 16px 14px;
}
.market-results__pages:not(:has(.page-item)) {
  display: none;
}
.market-pages .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}
.market-pages .page-item {
  margin: 0;
}
.market-pages .page-link {
  height: 32px;
  min-width: 32px;
  margin: 0 !important;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(28, 36, 48, 0.1) !important;
  border-radius: 8px !important;
  background: #fff;
  color: #2a3140 !important;
  font-size: 13px;
  line-height: 1;
  box-shadow: none;
}
.market-pages .page-item.active .page-link {
  background: #fff3e0 !important;
  border-color: #efd0a0 !important;
  color: #8a5200 !important;
}
.market-pages .page-link:hover {
  background: #fff6e8;
  border-color: rgba(224, 138, 0, 0.45) !important;
  color: #9a5b00 !important;
}

#qbModal.modal {
  z-index: 1080;
}
#qbModal .modal-dialog {
  max-width: 720px;
  margin: 1.25rem auto;
  pointer-events: auto;
}
#qbModal .modal-body {
  max-height: calc(100dvh - 160px);
  overflow-y: auto;
}
.qb-modal .modal-content {
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 16px;
  overflow: hidden;
}
.qb-modal .modal-header,
.qb-modal .modal-footer {
  border-color: rgba(28, 36, 48, 0.08);
}
.qb-modal .modal-title {
  font-size: 16px;
  font-weight: 700;
}
.qb-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}
.qb-preview__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(28, 36, 48, 0.05);
  font-size: 12px;
}
.qb-preview__row:nth-child(odd) {
  background: #f7f8fb;
}
.qb-preview__row span {
  color: #6b7380;
}
.qb-preview__row b {
  color: #1c2430;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}
.qb-preview__row.is-wide {
  grid-column: 1 / -1;
}
.qb-confirm-text {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
}
.qb-skip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: #5c6778;
  cursor: pointer;
}
.qb-skip input {
  margin: 0;
}
.qb-wait {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 80px;
  color: #6b7380;
  font-size: 14px;
}
.qb-wait .spinner-border {
  width: 18px;
  height: 18px;
  border-width: 2px;
}
.qb-result .order-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.qb-result .order-card__head {
  border-radius: 12px 12px 0 0;
}
.qb-result .order-kv {
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-top: 0;
  border-radius: 0 0 12px 12px;
}
.qb-result .order-card__actions {
  margin-top: 12px;
  justify-content: flex-start;
}
.qb-result .btn-check-clock {
  display: inline-block;
  min-width: 3.2em;
  opacity: 1;
}
.qb-status-msg {
  margin: 10px 0 0;
  font-size: 13px;
}
body.dark-only .qb-modal .modal-content {
  background: #262932;
  border-color: #323846;
  color: rgba(255, 255, 255, 0.88);
}
body.dark-only .qb-modal .modal-header,
body.dark-only .qb-modal .modal-footer {
  border-color: #323846;
}
body.dark-only .qb-preview {
  border-color: #323846;
}
body.dark-only .qb-preview__row {
  border-bottom-color: #323846;
}
body.dark-only .qb-preview__row:nth-child(odd) {
  background: #1d1e26;
}
body.dark-only .qb-preview__row span,
body.dark-only .qb-skip,
body.dark-only .qb-wait {
  color: rgba(255, 255, 255, 0.55);
}
body.dark-only .qb-preview__row b,
body.dark-only .qb-confirm-text {
  color: rgba(255, 255, 255, 0.88);
}

@container marketfilter (max-width: 1080px) {
  .market-filter__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@container marketfilter (max-width: 760px) {
  .market-filter__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .market-filter__bar .btn {
    flex: 1 1 0;
    min-width: 0;
  }
}
@container marketfilter (max-width: 420px) {
  .market-filter__grid {
    grid-template-columns: 1fr;
  }
  .market-filter__bar {
    flex-wrap: wrap;
  }
  .market-filter__bar .btn {
    flex: 1 1 140px;
  }
}

body.dark-only .market-note {
  background: rgba(255, 165, 0, 0.1);
  border-color: rgba(255, 165, 0, 0.28);
  color: #f3d7a4;
}
body.dark-only .market-card {
  background: #262932;
  border-color: #323846 !important;
}
body.dark-only .market-filter,
body.dark-only .market-filter__bar,
body.dark-only .market-table-wrap {
  border-color: #323846;
}
body.dark-only .market-cc .form-label,
body.dark-only .market-field__hint,
body.dark-only .market-meta,
body.dark-only .market-perpage {
  color: rgba(255, 255, 255, 0.55);
}
body.dark-only .market-meta b,
body.dark-only .market-cc .market-table,
body.dark-only .market-cc .market-table td {
  color: rgba(255, 255, 255, 0.88);
}
body.dark-only .market-cc .form-control,
body.dark-only .market-cc .select2-container--default .select2-selection--single {
  background: #1d1e26;
  border-color: #3a4154 !important;
  color: rgba(255, 255, 255, 0.88);
}
body.dark-only .market-cc .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: rgba(255, 255, 255, 0.88);
}
body.dark-only .market-cc .market-table thead th {
  background: #1d1e26;
  color: rgba(255, 255, 255, 0.5);
  border-bottom-color: #323846;
}
body.dark-only .market-cc .market-table td {
  border-color: #323846;
}
body.dark-only .market-cc .market-table tbody tr:hover td {
  background: rgba(255, 165, 0, 0.08);
}
body.dark-only .mc-line--bot {
  color: rgba(255, 255, 255, 0.5);
}
body.dark-only .market-ref.is-yes {
  background: rgba(63, 185, 112, 0.16);
  color: #7ee0a4;
}
body.dark-only .market-ref.is-no {
  background: rgba(232, 148, 10, 0.16);
  color: #ffc56a;
}
body.dark-only .site-locked {
  background: rgba(26, 29, 36, 0.94);
}
body.dark-only .site-locked__card {
  background: #262932;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
body.dark-only .site-locked__title {
  color: #fff;
}
body.dark-only .site-locked__text {
  color: rgba(255, 255, 255, 0.62);
}
body.dark-only .market-cc .market-table a {
  color: #ffc56a;
}
body.dark-only .select2-container--default .select2-dropdown.market-select-drop {
  background: #262932;
  border-color: #3a4154;
  color: rgba(255, 255, 255, 0.88);
}
body.dark-only .select2-container--default .market-select-drop .select2-search--dropdown .select2-search__field {
  background: #1d1e26;
  border-color: #3a4154;
  color: rgba(255, 255, 255, 0.88);
}
body.dark-only .select2-container--default .market-select-drop .select2-results__option {
  color: rgba(255, 255, 255, 0.82);
}
body.dark-only .select2-container--default .market-select-drop .select2-results__option--highlighted[aria-selected],
body.dark-only .select2-container--default .market-select-drop .select2-results__option--highlighted.select2-results__option--selectable {
  background: rgba(255, 165, 0, 0.16) !important;
  color: #ffc56a !important;
}
body.dark-only .market-pages .page-link {
  background: #1d1e26;
  border-color: #3a4154 !important;
  color: rgba(255, 255, 255, 0.82) !important;
}
body.dark-only .market-pages .page-item.active .page-link {
  background: rgba(255, 165, 0, 0.16) !important;
  border-color: rgba(255, 165, 0, 0.32) !important;
  color: #ffc56a !important;
}
body.dark-only .market-empty-row td {
  color: rgba(255, 255, 255, 0.5) !important;
}

.orders-page {
  min-width: 0;
  max-width: 100%;
  padding-bottom: 8px;
}
.orders-shell {
  overflow: hidden;
}
.orders-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
}
.orders-toolbar__meta {
  min-width: 0;
  font-size: 13px;
  color: #5c6778;
}
.orders-toolbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.orders-view-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(28, 36, 48, 0.1);
  border-radius: 10px;
  background: #f7f8fa;
}
.orders-view-btn {
  width: 34px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5c6778;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.orders-view-btn:hover {
  color: #9a5b00;
  background: rgba(232, 148, 10, 0.1);
}
.orders-view-btn.is-active {
  background: #fff;
  color: #9a5b00;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}
.orders-body.is-cards .orders-table-wrap {
  display: none;
}
.orders-body.is-table .orders-cards {
  display: none;
}
.orders-empty {
  padding: 48px 16px;
  text-align: center;
  color: #6b7380;
}
.orders-empty p {
  margin: 0;
  font-size: 14px;
}
.orders-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 14px 16px 16px;
}
.order-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.order-card.is-picked,
.orders-table tbody tr.is-picked td {
  background: rgba(232, 148, 10, 0.06);
}
.order-card.is-picked {
  border-color: rgba(232, 148, 10, 0.45);
  box-shadow: 0 0 0 3px rgba(232, 148, 10, 0.12);
}
.order-card.smlaLOJLk,
.orders-table tbody tr.smlaLOJLk td {
  background: #eef8e4;
}
.order-card__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px 10px;
  background: #f7f8fb;
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
}
.order-check-wrap {
  margin: 2px 0 0;
  cursor: pointer;
}
.order-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  background: #1c2430;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  flex: none;
  margin-top: 2px;
}
.order-brand[data-brand="visa"] { background: #1a1f71; }
.order-brand[data-brand="mastercard"] { background: #111; }
.order-brand[data-brand="amex"] { background: #2e77bc; }
.order-brand[data-brand="maestro"] { background: #6c2c91; }
.order-brand[data-brand="discover"] { background: #f76f1a; }
.order-brand[data-brand="jcb"] { background: #0e4c96; }
.order-card__pan {
  min-width: 0;
  flex: 1 1 auto;
}
.order-card__num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #1c2430;
  word-break: break-all;
  line-height: 1.3;
}
.order-card__sec {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  color: #5c6778;
  font-size: 12px;
  font-weight: 600;
}
.order-card__side {
  text-align: right;
  flex: none;
}
.order-card__price {
  font-size: 15px;
  font-weight: 700;
  color: #1c2430;
  line-height: 1.2;
}
.order-card__id {
  margin-top: 2px;
  color: #8b93a1;
  font-size: 11px;
  font-weight: 600;
}
.order-status {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #eef0f5;
  color: #5c6778;
}
.order-status.is-valid {
  background: #e7f6dc;
  color: #3d7a14;
}
.order-status.is-dead {
  background: #fde8e8;
  color: #b42318;
}
.order-status.is-wait {
  background: #fff4e0;
  color: #9a5b00;
}
.order-kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.order-kv__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 14px;
  border-bottom: 1px solid rgba(28, 36, 48, 0.05);
  font-size: 12px;
}
.order-kv__row.is-wide {
  grid-column: 1 / -1;
}
.order-kv__row span {
  color: #6b7380;
  flex: none;
}
.order-kv__row b {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
  color: #1c2430;
}
.orders-country {
  white-space: nowrap;
}
.orders-country .mc-geo {
  display: inline-flex;
  margin-right: 6px;
  vertical-align: middle;
}
.order-kv__row a {
  color: #9a5b00;
  text-decoration: none;
  font-weight: 600;
}
.order-kv__row a:hover {
  color: #c47d00;
}
.order-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(28, 36, 48, 0.06);
}
.order-card__info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #6b7380;
  font-size: 12px;
}
.order-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.order-card__actions .btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12px;
}
.btn-check-spin {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 7px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -1px;
  animation: btn-check-spin 0.65s linear infinite;
}
.btn-check-spin[hidden] {
  display: none !important;
}
.btn.is-checking {
  min-width: 9.5em;
  pointer-events: none;
  animation: btn-check-pulse 1.5s ease-in-out infinite;
}
.btn-check-clock {
  margin-left: 6px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  font-weight: 600;
  opacity: 0.78;
}
.btn.is-checking .btn-check-clock {
  display: none;
}
@keyframes btn-check-spin {
  to { transform: rotate(360deg); }
}
@keyframes btn-check-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13, 202, 240, 0.5); }
  55% { box-shadow: 0 0 0 7px rgba(13, 202, 240, 0); }
}
.orders-table-wrap {
  overflow-x: auto;
  max-width: 100%;
}
.orders-table {
  width: 100%;
  margin: 0;
  color: #1c2430;
  font-size: 13px;
}
.orders-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 40px;
  padding: 0 10px;
  background: #f6f7fb;
  color: #6b7380;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid rgba(28, 36, 48, 0.08);
}
.orders-table td {
  height: 42px;
  padding: 0 10px;
  vertical-align: middle;
  white-space: nowrap;
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
}
.orders-table tbody tr:hover td {
  background: rgba(232, 148, 10, 0.05);
}
.orders-table .orders-check {
  width: 36px;
  text-align: center;
}
.orders-table .orders-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 600;
}
.orders-table .orders-clip {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.orders-table .orders-price {
  font-weight: 700;
}
.orders-table a {
  color: #9a5b00;
  font-weight: 600;
  text-decoration: none;
}
.orders-table a:hover {
  color: #c47d00;
}
.orders-table .orders-actions .btn {
  height: 28px;
  padding: 0 8px;
  margin-right: 4px;
  border-radius: 8px;
  font-size: 11px;
}
.orders-table .order-brand.is-table {
  margin: 0;
}
.orders-table .order-status {
  margin: 0;
}

@media (max-width: 1199.98px) {
  .orders-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .orders-toolbar {
    flex-wrap: wrap;
  }
  .orders-cards,
  .order-kv {
    grid-template-columns: 1fr;
  }
  .order-card__head {
    flex-wrap: wrap;
  }
}

body.dark-only .orders-toolbar {
  border-bottom-color: #323846;
}
body.dark-only .orders-toolbar__meta,
body.dark-only .orders-empty,
body.dark-only .order-card__sec,
body.dark-only .order-card__info,
body.dark-only .order-kv__row span {
  color: rgba(255, 255, 255, 0.55);
}
body.dark-only .orders-view-toggle {
  background: #1d1e26;
  border-color: #3a4154;
}
body.dark-only .orders-view-btn {
  color: rgba(255, 255, 255, 0.6);
}
body.dark-only .orders-view-btn.is-active {
  background: #262932;
  color: #ffc56a;
}
body.dark-only .order-card,
body.dark-only .orders-table {
  background: #262932;
  color: rgba(255, 255, 255, 0.88);
  border-color: #323846;
}
body.dark-only .order-card__head {
  background: #1d1e26;
  border-bottom-color: #323846;
}
body.dark-only .order-card__num,
body.dark-only .order-card__price,
body.dark-only .order-kv__row b,
body.dark-only .orders-table td {
  color: rgba(255, 255, 255, 0.88);
}
body.dark-only .order-kv__row,
body.dark-only .order-card__foot,
body.dark-only .orders-table td {
  border-color: #323846;
}
body.dark-only .orders-table thead th {
  background: #1d1e26;
  color: rgba(255, 255, 255, 0.5);
  border-bottom-color: #323846;
}
body.dark-only .orders-table tbody tr:hover td,
body.dark-only .order-card.is-picked,
body.dark-only .orders-table tbody tr.is-picked td {
  background: rgba(255, 165, 0, 0.08);
}
body.dark-only .order-kv__row a,
body.dark-only .orders-table a {
  color: #ffc56a;
}
body.dark-only .order-card.smlaLOJLk,
body.dark-only .orders-table tbody tr.smlaLOJLk td {
  background: rgba(125, 192, 6, 0.16);
}

/* Auth: login, signup, 2FA, unlock. Quiet card on a warm wash, no purple. */
body:has(.login-card) {
  background: #f4f5f8;
}
.login-card {
  min-height: 100vh;
  height: auto;
  margin: 0;
  padding: 32px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(232, 148, 10, 0.12), transparent 62%),
    #f4f5f8 !important;
}
.login-form {
  width: 400px;
  max-width: 100%;
  margin: 0 auto;
  padding: 36px 32px 28px !important;
  background: #fff !important;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(28, 36, 48, 0.06);
}
.login-form h4 {
  margin: 0 0 6px;
  color: #1c2430;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-align: center;
  text-transform: none;
}
.login-form h6 {
  margin: 0 0 24px;
  color: #6d7585;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}
.login-form .form-group {
  margin-bottom: 14px;
}
.login-form .form-group label,
.login-form .form-label {
  display: block;
  margin-bottom: 6px;
  color: #3a4150;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.login-form .form-control {
  height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(28, 36, 48, 0.12);
  border-radius: 10px;
  background: #f7f8fa;
  color: #1c2430;
  font-size: 14px;
  box-shadow: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.login-form .form-control:hover {
  border-color: rgba(28, 36, 48, 0.2);
}
.login-form .form-control:focus {
  background: #fff;
  border-color: rgba(196, 125, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(232, 148, 10, 0.14);
  color: #1c2430;
}
.login-form .input-group-text {
  background: #f7f8fa !important;
  border: 1px solid rgba(28, 36, 48, 0.12) !important;
  color: #8a5200 !important;
  border-radius: 10px 0 0 10px;
}
.login-form .input-group .form-control {
  border-left: 0;
  border-radius: 0 10px 10px 0;
}
.login-form .btn {
  width: 100%;
  height: 44px;
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: none !important;
  letter-spacing: 0;
}
.login-form .input-group .btn {
  width: auto;
  min-width: 88px;
  flex: none;
  border-radius: 0 10px 10px 0 !important;
}
.login-form .input-group .form-control {
  border-radius: 10px 0 0 10px;
}
.login-form .input-group-text + .form-control {
  border-left: 0;
  border-radius: 0 10px 10px 0;
}
.login-form .btn-block {
  display: inline-flex;
}
.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 8px;
  margin-top: 8px;
}
.auth-actions .form-group {
  margin: 0;
}
.login-form p {
  margin: 18px 0 0;
  color: #6d7585;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}
.login-form p a {
  color: #8a5200;
  font-weight: 650;
  text-decoration: none;
}
.login-form p a:hover {
  color: #6e4100;
  text-decoration: underline;
}
.auth-note {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(196, 125, 0, 0.18);
  border-radius: 10px;
  background: #fff8ee;
  color: #6b4a12;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}
.login-form .auth-code-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.01em;
}
@media (max-width: 480px) {
  .login-form {
    padding: 28px 18px 22px !important;
    border-radius: 14px;
  }
  .auth-actions {
    grid-template-columns: 1fr;
  }
}

body.dark-only:has(.login-card) {
  background: #16171d;
}
body.dark-only .login-card {
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(255, 165, 0, 0.12), transparent 62%),
    #16171d !important;
}
body.dark-only .login-form {
  background: #262932 !important;
  border-color: #323846;
  box-shadow: none;
}
body.dark-only .login-form h4 {
  color: rgba(255, 255, 255, 0.92);
}
body.dark-only .login-form h6,
body.dark-only .login-form p {
  color: rgba(255, 255, 255, 0.55);
}
body.dark-only .login-form .form-group label,
body.dark-only .login-form .form-label {
  color: rgba(255, 255, 255, 0.72);
}
body.dark-only .login-form .form-control,
body.dark-only .login-form .input-group-text {
  background: #1d1e26 !important;
  border-color: #3a4154 !important;
  color: rgba(255, 255, 255, 0.88) !important;
}
body.dark-only .login-form .form-control:focus {
  background: #1d1e26;
  border-color: rgba(255, 165, 0, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.14);
}
body.dark-only .login-form p a {
  color: #ffc56a;
}
body.dark-only .auth-note {
  background: rgba(255, 165, 0, 0.1);
  border-color: rgba(255, 165, 0, 0.22);
  color: #f3d7a4;
}

/* Toasts. Same tonal language as buttons and alerts. */
.fui-toasts {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 12000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(360px, calc(100vw - 24px));
  pointer-events: none;
}
.fui-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 10px 12px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(28, 36, 48, 0.1);
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.fui-toast.is-in {
  opacity: 1;
  transform: none;
}
.fui-toast__ico {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
.fui-toast__ico svg {
  display: block;
  width: 18px;
  height: 18px;
}
.fui-toast__msg {
  flex: 1 1 auto;
  min-width: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.fui-toast__close {
  flex: none;
  width: 22px;
  height: 22px;
  margin: -2px -2px 0 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  opacity: 0.55;
  cursor: pointer;
}
.fui-toast__close:hover {
  opacity: 1;
  background: rgba(28, 36, 48, 0.06);
}
.fui-toast--success {
  background: #f3f8ee;
  border-color: rgba(70, 130, 30, 0.16);
  color: #3d6b18;
}
.fui-toast--error {
  background: #fdf4f4;
  border-color: rgba(180, 50, 50, 0.16);
  color: #8a3030;
}
.fui-toast--warning {
  background: #fff8ee;
  border-color: rgba(196, 125, 0, 0.18);
  color: #6b4a12;
}
.fui-toast--info {
  background: #f3f7fb;
  border-color: rgba(40, 80, 130, 0.12);
  color: #2c4a66;
}
body.dark-only .fui-toast {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
body.dark-only .fui-toast__close:hover {
  background: rgba(255, 255, 255, 0.06);
}
body.dark-only .fui-toast--success {
  background: rgba(125, 192, 6, 0.14);
  border-color: rgba(125, 192, 6, 0.26);
  color: #c5e98a;
}
body.dark-only .fui-toast--error {
  background: rgba(226, 75, 75, 0.14);
  border-color: rgba(226, 75, 75, 0.26);
  color: #ffc4c4;
}
body.dark-only .fui-toast--warning {
  background: rgba(255, 165, 0, 0.12);
  border-color: rgba(255, 165, 0, 0.24);
  color: #f3d7a4;
}
body.dark-only .fui-toast--info {
  background: rgba(29, 151, 255, 0.12);
  border-color: rgba(29, 151, 255, 0.22);
  color: #b4d8ff;
}
@media (max-width: 480px) {
  .fui-toasts {
    top: 10px;
    right: 10px;
    left: 10px;
    width: auto;
  }
}

/* Sheets: info popup, cart, quieter than Cuba modals. */
.modal-content {
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(28, 36, 48, 0.12);
}
.modal-header {
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
}
.modal-title {
  color: #1c2430;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.modal-body {
  padding: 16px 18px 18px;
}
.modal-footer {
  border-top: 1px solid rgba(28, 36, 48, 0.06);
}
.btn-close {
  box-shadow: none !important;
  opacity: 0.45;
}
.btn-close:hover {
  opacity: 0.8;
}

.cat-modal.modal-dialog-scrollable {
  height: auto;
  max-height: calc(100dvh - 24px);
  margin: 12px auto;
}
.cat-modal .modal-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 24px);
  overflow: hidden;
}
.cat-modal .modal-header,
.cat-modal .modal-footer {
  flex: 0 0 auto;
}
.cat-modal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.fui-sheet {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.fui-sheet__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}
.fui-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 0;
}
.fui-sheet__head .btn-close {
  position: static;
}
.fui-sheet__title {
  margin: 0;
  color: #1c2430;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.fui-sheet__body {
  padding: 22px 22px 24px;
  text-align: center;
}
.fui-sheet__body--cart {
  padding: 14px 18px 18px;
  text-align: left;
}
.fui-sheet__text {
  margin: 8px 0 18px;
  color: #6d7585;
  font-size: 14px;
  line-height: 1.5;
}
.fui-sheet__body .btn {
  min-width: 160px;
}

.fui-cart__empty {
  padding: 28px 8px;
  color: #6d7585;
  font-size: 13px;
  text-align: center;
}
.fui-cart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(196, 125, 0, 0.18);
  border-radius: 10px;
  background: #fff8ee;
  color: #6b4a12;
  font-size: 13px;
  font-weight: 600;
}
.fui-cart__total b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.fui-cart__list {
  max-height: 360px;
  margin: 0 0 12px;
  padding: 0;
  overflow: auto;
  list-style: none;
  scrollbar-width: thin;
}
.fui-cart__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
}
.fui-cart__item:last-child {
  border-bottom: 0;
}
.fui-cart__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-top: 2px;
  flex: none;
  border-radius: 10px;
  background: #f4f5f7;
  color: #8a5200;
  font-size: 16px;
}
.fui-cart__meta {
  flex: 1 1 auto;
  min-width: 0;
}
.fui-cart__name {
  color: #1c2430;
  font-size: 13px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fui-cart__price {
  color: #6d7585;
  font-size: 12px;
  font-weight: 600;
}
.fui-cart__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 4px 0 2px;
}
.fui-cart__fact {
  color: #3a4150;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}
.fui-cart__fact a {
  color: #8a5200;
  text-decoration: none;
}
.fui-cart__fact a:hover {
  text-decoration: underline;
}
.fui-cart__fact-k {
  margin-right: 2px;
  color: #8a94a3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fui-cart__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  flex: none;
  padding: 0;
  border: 1px solid #f0c8c8;
  border-radius: 8px;
  background: #fdf2f2;
  color: #b42318;
  cursor: pointer;
}
.fui-cart__remove:hover {
  background: #fbe4e4;
}
.fui-cart__warn {
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid rgba(180, 50, 50, 0.16);
  border-radius: 10px;
  background: #fdf4f4;
  color: #8a3030;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.fui-cart__buy {
  width: 100%;
}

body.dark-only .modal-content,
body.dark-only .fui-sheet {
  background: #262932;
  border-color: #323846;
}
body.dark-only .modal-header,
body.dark-only .modal-footer {
  border-color: #323846;
}
body.dark-only .modal-title,
body.dark-only .fui-sheet__title,
body.dark-only .fui-cart__name {
  color: rgba(255, 255, 255, 0.92);
}
body.dark-only .fui-sheet__text,
body.dark-only .fui-cart__empty,
body.dark-only .fui-cart__price {
  color: rgba(255, 255, 255, 0.55);
}
body.dark-only .fui-cart__fact {
  color: rgba(255, 255, 255, 0.78);
}
body.dark-only .fui-cart__fact-k {
  color: rgba(255, 255, 255, 0.42);
}
body.dark-only .fui-cart__fact a {
  color: #ffc56a;
}
body.dark-only .fui-cart__total {
  background: rgba(255, 165, 0, 0.1);
  border-color: rgba(255, 165, 0, 0.22);
  color: #f3d7a4;
}
body.dark-only .fui-cart__item {
  border-bottom-color: #323846;
}
body.dark-only .fui-cart__ico {
  background: #1d1e26;
  color: #ffc56a;
}
body.dark-only .fui-cart__remove {
  background: rgba(226, 75, 75, 0.14);
  border-color: rgba(226, 75, 75, 0.28);
  color: #ffb4b4;
}
body.dark-only .fui-cart__warn {
  background: rgba(226, 75, 75, 0.12);
  border-color: rgba(226, 75, 75, 0.24);
  color: #ffc4c4;
}

/* Support inbox — user + staff */
.sp-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 24px;
  letter-spacing: 0;
}
.sp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.sp-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.sp-stat:hover {
  border-color: rgba(224, 138, 0, 0.35);
  background: #fffaf3;
}
.sp-stat.is-on {
  border-color: rgba(224, 138, 0, 0.5);
  background: #fff6e8;
}
.sp-stat__n {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #1c2430;
}
.sp-stat__l {
  font-size: 12px;
  font-weight: 600;
  color: #6d7585;
}
.sp-card {
  overflow: hidden;
  border: 1px solid rgba(28, 36, 48, 0.08) !important;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.sp-card.card:hover {
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.sp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
}
.sp-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1c2430;
}
.sp-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
  background: #f7f8fa;
}
.sp-search {
  display: flex;
  flex: 1 1 240px;
  min-width: 180px;
}
.sp-search .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.sp-search .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  white-space: nowrap;
}
.sp-limit {
  width: auto;
  min-width: 88px;
}
.sp-table {
  margin: 0;
}
.sp-table thead th {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
  color: #6d7585;
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}
.sp-table tbody td {
  padding: 12px 14px;
  vertical-align: middle;
  border-color: rgba(28, 36, 48, 0.05);
  color: #2a3140;
  font-size: 13px;
}
.sp-table tbody tr:hover td {
  background: #fffaf3;
}
.sp-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.sp-title a {
  color: #1c2430;
  font-weight: 600;
  text-decoration: none;
}
.sp-title a:hover {
  color: #8a5200;
  text-decoration: none;
}
.sp-kind {
  color: #6d7585;
  font-size: 12px;
  font-weight: 500;
}
.sp-user {
  font-weight: 600;
  color: #2a3140;
}
.sp-date {
  color: #6d7585;
  font-size: 12px;
  white-space: nowrap;
}
.sp-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}
.sp-ico {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.sp-pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.sp-pill--wait {
  background: #eef6ff;
  color: #1d6aa5;
}
.sp-pill--ok {
  background: #e9f8ef;
  color: #1f8a4c;
}
.sp-pill--off {
  background: #fdecec;
  color: #c24141;
}
.sp-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px 14px;
  border-top: 1px solid rgba(28, 36, 48, 0.06);
}
.sp-foot__meta {
  color: #6d7585;
  font-size: 12px;
  font-weight: 500;
}
.sp-empty {
  margin: 0;
  padding: 40px 16px;
  color: #6d7585;
  font-size: 13px;
  text-align: center;
}
.sp-list {
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 8px;
}
.sp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f6f7f9;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.sp-item:hover {
  background: #fff;
  border-color: rgba(224, 138, 0, 0.28);
  text-decoration: none;
  color: inherit;
}
.sp-item--wait {
  background: #eef6ff;
  border-color: rgba(29, 106, 165, 0.18);
}
.sp-item--wait:hover {
  background: #e4f1ff;
  border-color: rgba(29, 106, 165, 0.35);
}
.sp-item--ok {
  background: #e9f8ef;
  border-color: rgba(31, 138, 76, 0.18);
}
.sp-item--ok:hover {
  background: #def4e8;
  border-color: rgba(31, 138, 76, 0.35);
}
.sp-item--off {
  background: #fdecec;
  border-color: rgba(194, 65, 65, 0.16);
}
.sp-item--off:hover {
  background: #fbe3e3;
  border-color: rgba(194, 65, 65, 0.32);
}
.sp-item__main {
  flex: 1 1 auto;
  min-width: 0;
}
.sp-item__title {
  color: #1c2430;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.sp-item__meta {
  margin-top: 3px;
  color: #6d7585;
  font-size: 12px;
}
.sp-item__go {
  flex: none;
  color: #8a5200;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.sp-item:hover .sp-item__go {
  color: #7a4800;
}
.sp-skel td {
  color: #6d7585;
  text-align: center;
  padding: 28px 14px;
}
@media (max-width: 900px) {
  .sp-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sp-item__go {
    display: none;
  }
}
body.dark-only .sp-stat,
body.dark-only .sp-card {
  background: #262932;
  border-color: #323846 !important;
  box-shadow: none;
}
body.dark-only .sp-stat:hover {
  background: #2a2e3a;
  border-color: rgba(255, 165, 0, 0.32);
}
body.dark-only .sp-stat.is-on {
  background: rgba(255, 165, 0, 0.12);
  border-color: rgba(255, 165, 0, 0.4);
}
body.dark-only .sp-stat__n,
body.dark-only .sp-head h2,
body.dark-only .sp-title a,
body.dark-only .sp-item__title,
body.dark-only .sp-user {
  color: rgba(255, 255, 255, 0.9);
}
body.dark-only .sp-title a:hover {
  color: #ffc56a;
}
body.dark-only .sp-stat__l,
body.dark-only .sp-kind,
body.dark-only .sp-date,
body.dark-only .sp-foot__meta,
body.dark-only .sp-empty,
body.dark-only .sp-item__meta,
body.dark-only .sp-table thead th {
  color: rgba(255, 255, 255, 0.5);
}
body.dark-only .sp-head,
body.dark-only .sp-toolbar,
body.dark-only .sp-foot {
  border-color: #323846;
}
body.dark-only .sp-toolbar {
  background: #1d1e26;
}
body.dark-only .sp-table tbody td {
  border-color: #323846;
  color: rgba(255, 255, 255, 0.82);
}
body.dark-only .sp-table tbody tr:hover td {
  background: #22242e;
}
body.dark-only .sp-item {
  background: #1d1e26;
}
body.dark-only .sp-item:hover {
  background: #22242e;
  border-color: rgba(255, 165, 0, 0.32);
}
body.dark-only .sp-item--wait {
  background: rgba(29, 151, 255, 0.12);
  border-color: rgba(29, 151, 255, 0.22);
}
body.dark-only .sp-item--wait:hover {
  background: rgba(29, 151, 255, 0.18);
  border-color: rgba(29, 151, 255, 0.35);
}
body.dark-only .sp-item--ok {
  background: rgba(31, 138, 76, 0.16);
  border-color: rgba(31, 138, 76, 0.24);
}
body.dark-only .sp-item--ok:hover {
  background: rgba(31, 138, 76, 0.22);
  border-color: rgba(31, 138, 76, 0.38);
}
body.dark-only .sp-item--off {
  background: rgba(226, 75, 75, 0.12);
  border-color: rgba(226, 75, 75, 0.22);
}
body.dark-only .sp-item--off:hover {
  background: rgba(226, 75, 75, 0.18);
  border-color: rgba(226, 75, 75, 0.35);
}
body.dark-only .sp-item__go {
  color: #ffc56a;
}
body.dark-only .sp-pill--wait {
  background: rgba(29, 151, 255, 0.14);
  color: #9fd0ff;
}
body.dark-only .sp-pill--ok {
  background: rgba(31, 138, 76, 0.22);
  color: #8ee0b0;
}
body.dark-only .sp-pill--off {
  background: rgba(226, 75, 75, 0.14);
  color: #ffb4b4;
}

.sp-chat.card {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 210px);
}
.sp-chat .sp-head {
  flex: 0 0 auto;
}
.sp-chat .chat-history,
.sp-chat .chat-msg-box {
  flex: 1 1 auto;
  height: auto !important;
  min-height: 280px;
  max-height: none;
  padding: 16px 18px 18px;
  overflow: auto;
  background: #f4f5f8;
}
.sp-chat .chat-message {
  flex: 0 0 auto;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(28, 36, 48, 0.06);
  background: #fff;
}
.sp-chat .input-txt-bx {
  border-radius: 10px 0 0 10px;
}
.sp-head__text {
  min-width: 0;
}
.sp-head__text h2 {
  overflow-wrap: anywhere;
}
.sp-head__sub {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #6d7585;
  font-size: 12px;
  font-weight: 500;
}
.sp-chat #gqCFpe {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sp-chat #gqCFpe > li {
  float: none !important;
  clear: both;
  width: 100% !important;
  margin: 0;
}
.sp-msg {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.sp-msg--right {
  flex-direction: row-reverse;
}
.sp-msg__ava {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.sp-msg--user .sp-msg__ava {
  background: #e6e8ee;
  color: #3a4150;
}
.sp-msg--staff .sp-msg__ava {
  background: #fff3e0;
  color: #8a5200;
}
.sp-msg__bubble {
  max-width: min(74%, 560px);
  padding: 8px 12px 8px;
  border-radius: 14px;
}
.sp-msg--left .sp-msg__bubble {
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-bottom-left-radius: 4px;
}
.sp-msg--right .sp-msg__bubble {
  background: #fff6e8;
  border: 1px solid rgba(224, 138, 0, 0.22);
  border-bottom-right-radius: 4px;
}
.sp-msg__meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
  color: #6d7585;
  font-size: 11px;
  line-height: 1.2;
}
.sp-msg__meta b {
  color: #1c2430;
  font-size: 12px;
  font-weight: 700;
}
.sp-msg__role {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(224, 138, 0, 0.14);
  color: #8a5200;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.sp-msg__time {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.sp-msg--left .sp-msg__time {
  margin-left: 0;
}
.sp-msg__text {
  color: #1c2430;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.sp-msg__text > :first-child { margin-top: 0; }
.sp-msg__text > :last-child { margin-bottom: 0; }
.sp-msg__del {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #c24141;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.sp-msg__del:hover {
  color: #9f2c2c;
}
.sp-sys {
  display: flex;
  justify-content: center;
  padding: 4px 0;
}
.sp-sys__pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eceff4;
  color: #5b6372;
  font-size: 12px;
  font-weight: 600;
}
.sp-sys--off {
  background: #fdecec;
  color: #c24141;
}
.sp-sys--ok {
  background: #e9f8ef;
  color: #1f8a4c;
}
@media (max-width: 700px) {
  .sp-msg__bubble {
    max-width: calc(100% - 44px);
  }
  .sp-msg__ava {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}
body.dark-only .sp-chat .chat-history,
body.dark-only .sp-chat .chat-msg-box {
  background: #1d1e26;
}
body.dark-only .sp-chat .chat-message {
  background: #262932;
  border-top-color: #323846;
}
body.dark-only .sp-head__sub {
  color: rgba(255, 255, 255, 0.5);
}
body.dark-only .sp-msg--user .sp-msg__ava {
  background: #323846;
  color: rgba(255, 255, 255, 0.82);
}
body.dark-only .sp-msg--staff .sp-msg__ava {
  background: rgba(255, 165, 0, 0.16);
  color: #ffc56a;
}
body.dark-only .sp-msg--left .sp-msg__bubble {
  background: #262932;
  border-color: #3a4154;
}
body.dark-only .sp-msg--right .sp-msg__bubble {
  background: rgba(255, 165, 0, 0.12);
  border-color: rgba(255, 165, 0, 0.28);
}
body.dark-only .sp-msg__meta,
body.dark-only .sp-msg__time {
  color: rgba(255, 255, 255, 0.45);
}
body.dark-only .sp-msg__meta b,
body.dark-only .sp-msg__text {
  color: rgba(255, 255, 255, 0.9);
}
body.dark-only .sp-msg__role {
  background: rgba(255, 165, 0, 0.16);
  color: #ffc56a;
}
body.dark-only .sp-msg__del {
  color: #ffb4b4;
}
body.dark-only .sp-sys__pill {
  background: #323846;
  color: rgba(255, 255, 255, 0.6);
}
body.dark-only .sp-sys--off {
  background: rgba(226, 75, 75, 0.16);
  color: #ffb4b4;
}
body.dark-only .sp-sys--ok {
  background: rgba(31, 138, 76, 0.2);
  color: #8ee0b0;
}

/* Deposit */
.dp-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  min-width: 0;
  padding-bottom: 24px;
  letter-spacing: 0;
}
.dp-grid {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.dp-create .sp-head,
.dp-history .sp-head {
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
}
.dp-create__body {
  padding: 16px 18px 18px;
}
.dp-balance {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff6e8;
  border: 1px solid rgba(224, 138, 0, 0.22);
  color: #8a5200;
  font-size: 13px;
  font-weight: 600;
}
.dp-balance b {
  font-size: 16px;
  letter-spacing: -0.02em;
}
.dp-coins {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.dp-coin {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 12px;
  background: #f7f8fa;
  color: #2a3140;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.dp-coin strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.dp-coin span {
  color: #6d7585;
  font-size: 11px;
  font-weight: 500;
}
.dp-coin:hover,
.dp-coin.is-on {
  background: #fff6e8;
  border-color: rgba(224, 138, 0, 0.45);
  color: #8a5200;
}
.dp-coin.is-on span {
  color: #b36d00;
}
.dp-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 14px;
}
.dp-preset {
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(28, 36, 48, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #3a4150;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.dp-preset:hover,
.dp-preset.is-on {
  background: #fff6e8;
  border-color: rgba(224, 138, 0, 0.4);
  color: #8a5200;
}
.dp-hint {
  margin: 6px 0 14px;
  color: #6d7585;
  font-size: 12px;
}
.dp-history .table-responsive {
  padding: 0 6px;
}
.dp-row--wait td {
  background: #eef6ff !important;
}
.dp-row--ok td {
  background: #e9f8ef !important;
}
.dp-row--off td {
  background: #fdecec !important;
}
.dp-pay {
  width: 100%;
  max-width: 880px;
  min-width: 0;
  margin: 0 auto;
}
.dp-pay__sum {
  color: #1c2430;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.dp-qr {
  display: flex;
  justify-content: center;
  padding: 8px 0 18px;
}
.dp-qr img {
  width: 248px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  border: 1px solid rgba(28, 36, 48, 0.08);
}
.dp-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 12px;
  background: #f7f8fa;
  min-width: 0;
}
.dp-copy__lbl {
  flex: none;
  min-width: 88px;
  color: #6d7585;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.dp-copy__val {
  flex: 1 1 auto;
  min-width: 0;
  color: #1c2430;
  font-family: var(--bs-font-monospace, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.dp-copy .btn {
  flex: none;
}
.dp-warn {
  margin: 12px 0 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff6e8;
  border: 1px solid rgba(224, 138, 0, 0.22);
  color: #8a5200;
  font-size: 13px;
}
@media (max-width: 991px) {
  .dp-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .dp-pay .sp-head,
  .dp-pay .dp-create__body {
    padding-left: 14px;
    padding-right: 14px;
  }
  .dp-qr img {
    width: 200px;
    padding: 10px;
  }
  .dp-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "lbl btn"
      "val val";
    align-items: center;
    gap: 8px 10px;
    padding: 10px 12px;
  }
  .dp-copy__lbl {
    grid-area: lbl;
    min-width: 0;
  }
  .dp-copy__val {
    grid-area: val;
    font-size: 12px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-all;
    overflow-x: visible;
  }
  .dp-copy .btn {
    grid-area: btn;
  }
}
body.dark-only .dp-balance,
body.dark-only .dp-warn {
  background: rgba(255, 165, 0, 0.12);
  border-color: rgba(255, 165, 0, 0.28);
  color: #ffc56a;
}
body.dark-only .dp-coin {
  background: #1d1e26;
  border-color: #3a4154;
  color: rgba(255, 255, 255, 0.88);
}
body.dark-only .dp-coin span {
  color: rgba(255, 255, 255, 0.45);
}
body.dark-only .dp-coin:hover,
body.dark-only .dp-coin.is-on {
  background: rgba(255, 165, 0, 0.12);
  border-color: rgba(255, 165, 0, 0.4);
  color: #ffc56a;
}
body.dark-only .dp-preset {
  background: #1d1e26;
  border-color: #3a4154;
  color: rgba(255, 255, 255, 0.82);
}
body.dark-only .dp-preset:hover,
body.dark-only .dp-preset.is-on {
  background: rgba(255, 165, 0, 0.12);
  border-color: rgba(255, 165, 0, 0.4);
  color: #ffc56a;
}
body.dark-only .dp-row--wait td {
  background: rgba(29, 151, 255, 0.12) !important;
}
body.dark-only .dp-row--ok td {
  background: rgba(31, 138, 76, 0.16) !important;
}
body.dark-only .dp-row--off td {
  background: rgba(226, 75, 75, 0.12) !important;
}
body.dark-only .dp-copy {
  background: #1d1e26;
  border-color: #3a4154;
}
body.dark-only .dp-copy__val,
body.dark-only .dp-pay__sum {
  color: rgba(255, 255, 255, 0.92);
}
body.dark-only .dp-qr img {
  border-color: #3a4154;
}

/* Services modal — same tokens as home-panel / news-item. */
#servicesModal .modal-body {
  padding: 14px 16px 16px;
}
#servicesModal .modal-footer .fa {
  margin-right: 6px;
}
#domainStatus {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 140px;
  padding: 24px 12px;
  color: #6d7585;
  font-size: 13px;
  text-align: center;
}
.svc-empty p {
  margin: 0;
}
.svc-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(196, 125, 0, 0.22);
  border-top-color: #c47d00;
  border-radius: 50%;
  animation: svc-spin 0.7s linear infinite;
}
@keyframes svc-spin {
  to { transform: rotate(360deg); }
}
.svc-card {
  overflow: hidden;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.svc-card__head {
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
}
.svc-card__head h3 {
  margin: 0;
  color: #1c2430;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.svc-card__head p {
  margin: 6px 0 0;
  color: #6d7585;
  font-size: 13px;
  line-height: 1.4;
}
.svc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}
.svc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f6f7f9;
}
.svc-row--empty {
  justify-content: center;
  color: #6d7585;
  font-size: 13px;
}
.svc-row--online {
  border-left: 3px solid #7dc006;
}
.svc-row--offline {
  border-left: 3px solid #e24b4b;
}
.svc-row--unknown {
  border-left: 3px solid #c47d00;
}
.svc-row__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.svc-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff1dc;
  color: #8a5200;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.svc-link {
  overflow: hidden;
  color: #1c2430;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.svc-link:hover {
  color: #c47d00;
  text-decoration: none;
}
.svc-row__aside {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.svc-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.svc-pill--online {
  background: rgba(125, 192, 6, 0.14);
  color: #4d7a00;
}
.svc-pill--offline {
  background: rgba(226, 75, 75, 0.14);
  color: #b42318;
}
.svc-pill--unknown {
  background: rgba(224, 138, 0, 0.14);
  color: #8a5200;
}
.svc-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(28, 36, 48, 0.1);
  border-radius: 8px;
  background: #fff;
  color: #5c6778;
  cursor: pointer;
}
.svc-copy:hover {
  border-color: rgba(224, 138, 0, 0.45);
  color: #9a5b00;
}
.svc-card--admin {
  padding: 14px;
}
.svc-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 10px;
  margin-bottom: 12px;
}
.svc-field--wide {
  grid-column: 1 / -1;
}
.svc-field span {
  display: block;
  margin-bottom: 4px;
  color: #6d7585;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.svc-admin-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.svc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
}
.svc-toolbar .fa,
.svc-admin-actions .fa {
  margin-right: 6px;
}
#servicesModal .table {
  margin: 0;
}
#servicesModal .table th {
  background: transparent;
  border-bottom: 1px solid rgba(28, 36, 48, 0.08);
  color: #6d7585;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
#servicesModal .table td {
  vertical-align: middle;
  border-color: rgba(28, 36, 48, 0.06);
  font-size: 13px;
}
#servicesModal .svc-table-empty {
  color: #6d7585;
  font-size: 13px;
  text-align: center;
}
@media (max-width: 575.98px) {
  .svc-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .svc-row__aside {
    width: 100%;
    justify-content: space-between;
  }
  .svc-admin-grid {
    grid-template-columns: 1fr;
  }
  .svc-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}
body.dark-only .svc-empty {
  color: rgba(255, 255, 255, 0.5);
}
body.dark-only .svc-spinner {
  border-color: rgba(255, 165, 0, 0.22);
  border-top-color: #ffc56a;
}
body.dark-only .svc-card {
  background: #262932;
  border-color: #323846;
  box-shadow: none;
}
body.dark-only .svc-card__head {
  border-bottom-color: #323846;
}
body.dark-only .svc-card__head h3 {
  color: rgba(255, 255, 255, 0.9);
}
body.dark-only .svc-card__head p {
  color: rgba(255, 255, 255, 0.5);
}
body.dark-only .svc-row {
  background: #1d1e26;
}
body.dark-only .svc-row--online {
  border-left-color: #b6e36b;
}
body.dark-only .svc-row--offline {
  border-left-color: #ffb4b4;
}
body.dark-only .svc-row--unknown {
  border-left-color: #ffc56a;
}
body.dark-only .svc-type {
  background: rgba(255, 165, 0, 0.14);
  color: #ffc56a;
}
body.dark-only .svc-link {
  color: rgba(255, 255, 255, 0.9);
}
body.dark-only .svc-link:hover {
  color: #ffc56a;
}
body.dark-only .svc-pill--online {
  background: rgba(125, 192, 6, 0.14);
  color: #b6e36b;
}
body.dark-only .svc-pill--offline {
  background: rgba(226, 75, 75, 0.14);
  color: #ffb4b4;
}
body.dark-only .svc-pill--unknown {
  background: rgba(255, 165, 0, 0.14);
  color: #ffc56a;
}
body.dark-only .svc-copy {
  background: #1d1e26;
  border-color: #3a4154;
  color: rgba(255, 255, 255, 0.72);
}
body.dark-only .svc-copy:hover {
  border-color: rgba(255, 165, 0, 0.4);
  color: #ffc56a;
}
body.dark-only .svc-field span,
body.dark-only #servicesModal .table th,
body.dark-only #servicesModal .svc-table-empty {
  color: rgba(255, 255, 255, 0.5);
}
body.dark-only #servicesModal .table th,
body.dark-only #servicesModal .table td {
  border-color: #323846;
}

/* Request box */
.sp-pill--end {
  background: #fff4e0;
  color: #9a5b00;
}
a.sp-stat {
  color: inherit;
  text-decoration: none;
}
a.sp-stat:hover {
  color: inherit;
  text-decoration: none;
}
.rb-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .rb-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.rb-item {
  align-items: flex-start;
  cursor: pointer;
  flex-wrap: wrap;
}
.rb-item.is-open {
  background: #fff;
  border-color: rgba(224, 138, 0, 0.28);
}
.rb-item__row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.rb-item__body {
  display: none;
  width: 100%;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(28, 36, 48, 0.06);
}
.rb-item.is-open .rb-item__body {
  display: block;
}
.rb-item__text {
  margin: 0;
  color: #2a3140;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.rb-price {
  flex: none;
  color: #8a5200;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.rb-you {
  display: inline-flex;
  align-items: center;
  height: 20px;
  margin-left: 6px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff6e8;
  color: #9a5b00;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}
.rb-note {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(194, 65, 65, 0.16);
  border-radius: 10px;
  background: #fdecec;
  color: #8a3030;
  font-size: 13px;
  line-height: 1.45;
}
.rb-note--ok {
  border-color: rgba(31, 138, 76, 0.18);
  background: #e9f8ef;
  color: #1f6b3c;
}
.rb-note b {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.rb-extend {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.rb-extend .form-control {
  width: 110px;
}
.rb-mod {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.rb-mod .form-control {
  flex: 1 1 180px;
  min-width: 160px;
}
.rb-meta-extra {
  margin-top: 8px;
  color: #6d7585;
  font-size: 12px;
}
#createWish .fui-sheet__body {
  text-align: left;
}
#createWish .form-label {
  font-size: 12px;
  font-weight: 600;
  color: #5c6778;
}
@media (max-width: 900px) {
  .rb-price {
    display: none;
  }
}
body.dark-only .sp-pill--end {
  background: rgba(255, 165, 0, 0.14);
  color: #ffc56a;
}
body.dark-only .rb-item.is-open {
  background: #22242e;
  border-color: rgba(255, 165, 0, 0.32);
}
body.dark-only .rb-item__body {
  border-color: #323846;
}
body.dark-only .rb-item__text {
  color: rgba(255, 255, 255, 0.82);
}
body.dark-only .rb-price {
  color: #ffc56a;
}
body.dark-only .rb-you {
  background: rgba(255, 165, 0, 0.14);
  color: #ffc56a;
}
body.dark-only .rb-note {
  background: rgba(226, 75, 75, 0.12);
  border-color: rgba(226, 75, 75, 0.22);
  color: #ffb4b4;
}
body.dark-only .rb-note--ok {
  background: rgba(31, 138, 76, 0.16);
  border-color: rgba(31, 138, 76, 0.24);
  color: #8ee0b0;
}
body.dark-only .rb-meta-extra,
body.dark-only #createWish .form-label {
  color: rgba(255, 255, 255, 0.5);
}

.impersonate-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #c62828;
  color: #fff;
  box-shadow: 0 2px 10px rgba(198, 40, 40, 0.35);
}
.impersonate-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 8px 18px;
}
.impersonate-bar__copy {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.impersonate-bar__mark {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}
.impersonate-bar__text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.impersonate-bar__text b,
.impersonate-bar__text strong {
  font-weight: 800;
}
.impersonate-bar__meta {
  display: inline;
  margin-left: 6px;
  font-weight: 500;
  opacity: 0.82;
}
.impersonate-bar__form {
  margin: 0;
  flex: 0 0 auto;
}
.impersonate-bar__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.impersonate-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.impersonate-switch__track {
  position: relative;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  flex: 0 0 auto;
}
.impersonate-switch__knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s ease;
}
.impersonate-switch.is-on {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(46, 125, 50, 0.55);
}
.impersonate-switch.is-on .impersonate-switch__track {
  background: #2e7d32;
}
.impersonate-switch.is-on .impersonate-switch__knob {
  left: 14px;
}
.impersonate-bar--live {
  background: #b71c1c;
}
.impersonate-bar__btn {
  border: 0;
  background: #fff;
  color: #b71c1c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.impersonate-bar__btn:hover,
.impersonate-bar__btn:focus {
  background: #ffe8e8;
  color: #8e0000;
}
body.is-impersonating .page-wrapper .page-header {
  top: 42px;
}
@media (max-width: 767px) {
  .impersonate-bar__inner {
    padding: 8px 12px;
    flex-wrap: wrap;
  }
  .impersonate-bar__meta {
    display: none;
  }
  .impersonate-bar__text {
    font-size: 12px;
  }
  .impersonate-bar__tools {
    width: 100%;
    justify-content: flex-end;
  }
}

.au-page {
  width: 100%;
  min-width: 0;
}
.au-card {
  overflow: hidden;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 14px;
  box-shadow: none;
}
.au-toolbar {
  padding: 14px 16px 0;
}
.au-search {
  display: flex;
  gap: 8px;
  max-width: 420px;
}
.au-search .form-control {
  height: 38px;
  border-radius: 10px;
}
.au-search .btn {
  height: 38px;
  border-radius: 10px;
  padding: 0 14px;
  white-space: nowrap;
}
.au-table-wrap {
  overflow-x: auto;
}
.au-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 13px;
  color: #1c2430;
}
.au-table thead th {
  padding: 10px 12px;
  color: #8a94a8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(28, 36, 48, 0.08);
  white-space: nowrap;
  background: transparent;
}
.au-table td {
  padding: 10px 12px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
}
.au-row.is-banned td {
  background: rgba(229, 39, 39, 0.04);
}
.au-id {
  width: 56px;
  color: #8a94a8;
  font-variant-numeric: tabular-nums;
}
.au-user__name {
  font-weight: 700;
  color: #1c2430;
  line-height: 1.25;
}
.au-user__sub {
  max-width: 180px;
  margin-top: 2px;
  color: #8a94a8;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.au-bal {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.au-dates {
  color: #5c6778;
  font-size: 12px;
  line-height: 1.45;
  white-space: nowrap;
}
.au-dates span {
  display: inline-block;
  min-width: 32px;
  color: #8a94a8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.au-flags {
  white-space: nowrap;
}
.au-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  margin: 0 4px 0 0;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef0f4;
  color: #5c6778;
  font-size: 11px;
  font-weight: 700;
}
.au-badge--admin { background: #fff1d6; color: #8a5200; }
.au-badge--seller { background: #e7f7ea; color: #1f8a4c; }
.au-badge--support { background: #e8f1ff; color: #1d4ed8; }
.au-badge--user { background: #eef0f4; color: #5c6778; }
.au-badge--ban { background: #fde8e8; color: #c62828; }
.au-actions {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}
.au-actions .au-ico:first-child,
.au-ico-form:first-child .au-ico {
  margin-left: 0;
}
.au-ico-form {
  display: inline-flex;
  margin: 0;
  vertical-align: middle;
}
.au-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 4px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #f4f6f8;
  color: #5c6778;
  cursor: pointer;
  vertical-align: middle;
}
.au-ico:hover { filter: brightness(0.96); }
.au-ico--edit { background: #fff4e5; color: #8a5200; }
.au-ico--enter { background: #e8f1ff; color: #1d4ed8; }
.au-ico--link { background: #ecfdf3; color: #047857; }
.au-ico--ticket { background: #fff8e6; color: #b45309; }
.au-ico--chart { background: #e6f7f3; color: #0f766e; }
.au-ico--profile { background: #f3e8ff; color: #7c3aed; }
.au-ico--del { background: #fde8e8; color: #c62828; }
.au-rate {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.au-rate span { color: #8a94a8; font-weight: 600; }
.as-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.as-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.as-presets .btn { border-radius: 8px; }
.as-range-input {
  width: 220px;
  max-width: 100%;
  min-height: 32px;
  border-radius: 10px;
}
#asStatBody.is-loading { opacity: .55; pointer-events: none; }
.as-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.as-kpi {
  padding: 14px;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 12px;
  background: #fff;
}
.as-kpi--sales { box-shadow: inset 3px 0 0 #7DC006; }
.as-kpi--refunds { box-shadow: inset 3px 0 0 #E52727; }
.as-kpi__label {
  margin-bottom: 6px;
  color: #8a94a8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.as-kpi__value {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: #1c2430;
}
.as-kpi__sub {
  margin-top: 4px;
  color: #8a94a8;
  font-size: 12px;
}
.as-kpi__delta {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
}
.as-kpi__delta.is-up { color: #7DC006; }
.as-kpi__delta.is-down { color: #E52727; }
.as-kpi__delta.is-flat { color: #8a94a8; }
.daterangepicker { z-index: 2000 !important; }
.au-user .au-flags { margin-top: 4px; }
.au-empty {
  padding: 28px 16px !important;
  color: #8a94a8;
  text-align: center;
}
.au-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 14px;
}
.au-foot__meta {
  color: #8a94a8;
  font-size: 12px;
}
.au-pages {
  margin: 0;
}
.au-pages .page-link {
  cursor: pointer;
}

.au-dialog {
  max-width: min(760px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: 12px auto;
  height: auto !important;
}
.au-dialog.modal-dialog-scrollable {
  height: auto !important;
  max-height: calc(100dvh - 24px);
}
.au-dialog .modal-content,
.au-modal {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 24px);
  overflow: hidden;
}
.au-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
}
.au-modal__foot {
  flex: 0 0 auto;
}
.au-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 18px 18px;
}
#editUser.modal.show,
#pgMHAEIeZsu.modal.show,
#anNewsModal.modal.show,
#dNTiTwfunhzNvcPSxnOl.modal.show {
  padding: 0 !important;
}
.au-modal__kicker {
  margin-bottom: 2px;
  color: #8a94a8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.au-modal__body { padding: 8px 18px 18px; }
.au-sec + .au-sec { margin-top: 18px; }
.au-sec__h {
  margin: 0 0 10px;
  color: #8a94a8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.au-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}
.au-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.au-field--full { grid-column: 1 / -1; }
.au-field > span {
  color: #6d7585;
  font-size: 12px;
  font-weight: 600;
}
.au-field .form-control,
.au-field .form-select {
  min-height: 38px;
  border-radius: 10px;
}
.au-modal__foot {
  padding: 12px 18px 16px;
}

body.dark-only .au-card { border-color: #323846; }
body.dark-only .au-table { color: rgba(255,255,255,.88); }
body.dark-only .au-table thead th,
body.dark-only .au-table td { border-color: #323846; }
body.dark-only .au-user__name { color: rgba(255,255,255,.92); }
body.dark-only .au-user__sub,
body.dark-only .au-id,
body.dark-only .au-dates,
body.dark-only .au-foot__meta,
body.dark-only .au-modal__kicker,
body.dark-only .au-sec__h,
body.dark-only .au-field > span { color: rgba(255,255,255,.5); }
body.dark-only .au-row.is-banned td { background: rgba(229, 39, 39, 0.12); }
body.dark-only .au-badge { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
body.dark-only .au-badge--admin { background: rgba(255,165,0,.16); color: #ffc56a; }
body.dark-only .au-badge--seller { background: rgba(31,138,76,.18); color: #8ee0b0; }
body.dark-only .au-badge--support { background: rgba(29,78,216,.2); color: #9db7ff; }
body.dark-only .au-badge--ban { background: rgba(198,40,40,.22); color: #ffb4b4; }
body.dark-only .au-ico { background: #1d1e26; color: rgba(255,255,255,.7); }
body.dark-only .au-ico--edit { background: rgba(255,165,0,.16); color: #ffc56a; }
body.dark-only .au-ico--enter { background: rgba(29,78,216,.2); color: #9db7ff; }
body.dark-only .au-ico--link { background: rgba(4,120,87,.22); color: #6ee7b7; }
body.dark-only .au-ico--ticket { background: rgba(180,83,9,.22); color: #ffc56a; }
body.dark-only .au-ico--chart { background: rgba(15,118,110,.22); color: #5eead4; }
body.dark-only .au-ico--profile { background: rgba(124,58,237,.22); color: #c4b5fd; }
body.dark-only .au-ico--del { background: rgba(198,40,40,.22); color: #ffb4b4; }
body.dark-only .au-rate span { color: rgba(255,255,255,.5); }
body.dark-only .as-kpi { background: #1d1e26; border-color: #323846; }
body.dark-only .as-kpi__label,
body.dark-only .as-kpi__sub,
body.dark-only .as-kpi__delta.is-flat { color: rgba(255,255,255,.5); }
body.dark-only .as-kpi__value { color: rgba(255,255,255,.92); }

@media (max-width: 900px) {
  .au-fields { grid-template-columns: 1fr; }
  .au-table thead { display: none; }
  .au-table,
  .au-table tbody,
  .au-table tr,
  .au-table td {
    display: block;
    width: 100%;
  }
  .au-table-wrap { overflow: visible; }
  .au-table { padding: 0 12px 12px; }
  .au-table tr[hidden] { display: none !important; }
  .au-row,
  .au-table tr {
    position: relative;
    margin-bottom: 10px;
    padding: 12px 12px 12px;
    border: 1px solid rgba(28, 36, 48, 0.08);
    border-radius: 12px;
    background: #fff;
  }
  .au-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    border: 0;
  }
  .au-table td::before {
    content: attr(data-label);
    color: #8a94a8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .au-user { display: block !important; padding-right: 96px; }
  .as-row .au-user { padding-right: 148px; }
  .au-user::before { display: none; }
  .au-user__sub { max-width: 100%; }
  .au-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
    display: flex !important;
    justify-content: flex-end;
  }
  .au-actions::before { display: none; }
  .au-empty::before { display: none; }
  .au-id { font-variant-numeric: tabular-nums; }
  .au-dates { white-space: normal; }
  .au-dates div { display: block; }
  body.dark-only .au-row,
  body.dark-only .au-table tr {
    background: #1d1e26;
    border-color: #323846;
  }
}

@media (max-width: 600px) {
  .as-toolbar { flex-direction: column; align-items: stretch; }
  .as-range-input { width: 100%; }
  .as-kpis { grid-template-columns: 1fr; }
}

.an-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}
.an-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  border-radius: 10px;
  padding: 0 14px;
}
.an-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px 16px;
}
.an-item {
  padding: 14px 14px 12px;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 12px;
  background: #f6f7f9;
}
.an-item__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.an-item .au-actions {
  position: static;
  width: auto;
  display: flex;
  justify-content: flex-end;
}
.an-item .au-actions::before { display: none; }
.an-item__date {
  color: #8a94a8;
  font-size: 12px;
  font-weight: 600;
}
.an-item__body {
  min-width: 0;
}
.an-src { display: none; }
.an-dialog {
  max-width: min(860px, calc(100vw - 24px));
}
#anNewsModal .an-modal__body {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#anNewsModal .sun-editor {
  width: 100%;
  border-radius: 10px;
  overflow: visible;
}
#anNewsModal .se-toolbar {
  height: auto !important;
  overflow: visible;
}
#anNewsModal .se-btn-tray {
  white-space: normal;
}
#anNewsModal .se-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}
body.dark-only .an-item {
  background: #1d1e26;
  border-color: #323846;
}
body.dark-only .an-item__date { color: rgba(255,255,255,.5); }
body.dark-only #anNewsModal .sun-editor {
  border-color: #323846;
  background: #1d1e26;
}
body.dark-only #anNewsModal .se-toolbar {
  background: #262932;
  outline: none;
  border-color: #323846;
}
body.dark-only #anNewsModal .se-wrapper,
body.dark-only #anNewsModal .se-wrapper-inner,
body.dark-only #anNewsModal .se-wrapper .se-wrapper-wysiwyg {
  background: #1d1e26;
  color: rgba(255,255,255,.88);
}
body.dark-only #anNewsModal .se-resizing-bar {
  background: #262932;
  border-color: #323846;
}

/* Admin settings */
.as-page {
  width: 100%;
  max-width: 720px;
  padding-bottom: 24px;
  letter-spacing: 0;
}
.as-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}
.as-body {
  padding: 16px 18px 18px;
}
.as-body .au-sec + .au-sec {
  margin-top: 4px;
}
.as-hint {
  margin: -4px 0 12px;
  color: #6d7585;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}
.as-body > .au-field + .au-field {
  margin-top: 12px;
}
.as-save {
  margin-top: 6px;
}
body.dark-only .as-hint {
  color: rgba(255, 255, 255, 0.45);
}

.st-warn {
  color: #c62828 !important;
}
.st-secret {
  display: flex;
  align-items: center;
  gap: 8px;
}
.st-secret .form-control {
  flex: 1 1 auto;
  min-width: 0;
}
.st-secret .btn {
  flex: none;
  white-space: nowrap;
}
.st-2fa {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.st-2fa__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #1c2430;
}
.st-2fa__form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.st-2fa__form .form-control {
  width: 160px;
}
.st-qr {
  text-align: center;
}
.st-qr__img {
  width: 180px;
  height: 180px;
  margin: 8px auto 14px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(28, 36, 48, 0.08);
  overflow: hidden;
}
.st-qr__img img,
.st-qr__img canvas,
.st-qr__img table {
  width: 100% !important;
  height: 100% !important;
}
.st-qr img {
  width: 180px;
  height: 180px;
  margin: 8px 0 14px;
  border-radius: 14px;
  background: #fff;
}
.st-qr__manual {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 auto 16px;
  max-width: 420px;
  text-align: left;
}
.st-qr__manual > span {
  color: #6d7585;
  font-size: 12px;
  font-weight: 600;
}
.st-qr__key {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1c2430;
}
.st-qr__form {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 320px;
  margin: 0 auto;
}
.st-qr__form .form-control {
  flex: 1;
}
.rf-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sp-stat--static {
  cursor: default;
}
.sp-stat--static:hover {
  border-color: rgba(28, 36, 48, 0.08);
  background: #fff;
}
.rf-fields {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 14px;
  margin-bottom: 14px;
}
.rf-transfer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.rf-transfer .form-control {
  max-width: 160px;
}
@media (max-width: 767px) {
  .st-secret {
    flex-wrap: wrap;
  }
  .st-secret .form-control {
    flex: 1 1 100%;
  }
  .st-2fa__form {
    width: 100%;
  }
  .st-2fa__form .form-control {
    flex: 1;
    width: auto;
  }
  .rf-stats,
  .rf-fields {
    grid-template-columns: 1fr;
  }
  .rf-transfer {
    flex-wrap: wrap;
  }
  .rf-transfer .form-control {
    max-width: none;
    flex: 1 1 120px;
  }
}
body.dark-only .st-warn {
  color: #ffb4b4 !important;
}
body.dark-only .st-2fa__title,
body.dark-only .st-qr__key {
  color: rgba(255, 255, 255, 0.9);
}
body.dark-only .sp-stat--static:hover {
  background: #262932;
  border-color: #323846;
}

.lb-page {
  width: 100%;
  min-width: 0;
}
.lb-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0 16px 14px;
}
.lb-types .dp-coin {
  margin: 0;
}
.lb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid rgba(28, 36, 48, 0.06);
  border-bottom: 1px solid rgba(28, 36, 48, 0.06);
  background: #f7f8fa;
}
.lb-date-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.lb-range {
  width: 220px;
  max-width: 100%;
  height: 38px;
  border-radius: 10px;
}
.lb-q {
  flex: 1 1 220px;
  min-width: 160px;
  max-width: 360px;
  height: 38px;
  border-radius: 10px;
}
.lb-toolbar .btn {
  height: 38px;
  border-radius: 10px;
  padding: 0 14px;
  white-space: nowrap;
}
.lb-kpis {
  padding: 14px 16px 4px;
}
.lb-body.is-loading {
  opacity: 0.55;
  pointer-events: none;
}
.lb-row.is-ok td:first-child {
  box-shadow: inset 3px 0 0 #7DC006;
}
.lb-row.is-off td:first-child {
  box-shadow: inset 3px 0 0 #E52727;
}
.lb-cc__row,
.lb-addr,
.lb-mono {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}
.lb-cc__num,
.lb-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  word-break: break-all;
}
.lb-cc__meta,
.lb-cc .au-user__sub {
  margin-top: 2px;
  color: #8a94a8;
  font-size: 12px;
}
.lb-event {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.45;
}
.lb-user {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}
.lb-user:hover {
  color: #8a5200;
  text-decoration: underline;
}
.au-ico--copy {
  background: #eef0f4;
  color: #5c6778;
  width: 28px;
  height: 28px;
  margin-left: 0;
  flex: 0 0 auto;
}
.au-ico--copy.is-ok {
  background: #e7f7ea;
  color: #1f8a4c;
}
.lb-addr .lb-mono {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
  display: inline-block;
}

body.dark-only .lb-toolbar {
  background: #1d1e26;
  border-color: #323846;
}
body.dark-only .lb-cc__meta {
  color: rgba(255, 255, 255, 0.5);
}
body.dark-only .lb-user:hover {
  color: #ffc56a;
}
body.dark-only .au-ico--copy {
  background: #262932;
  color: rgba(255, 255, 255, 0.7);
}
body.dark-only .au-ico--copy.is-ok {
  background: rgba(31, 138, 76, 0.22);
  color: #8ee0b0;
}

@media (max-width: 1100px) {
  .lb-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .lb-range {
    width: 100%;
  }
  .lb-q {
    max-width: none;
  }
  .lb-addr .lb-mono {
    max-width: 160px;
  }
  .lb-row.is-ok td:first-child,
  .lb-row.is-off td:first-child {
    box-shadow: none;
  }
  .lb-row.is-ok {
    box-shadow: inset 3px 0 0 #7DC006;
  }
  .lb-row.is-off {
    box-shadow: inset 3px 0 0 #E52727;
  }
  .lb-cc,
  .lb-event,
  .lb-addr {
    display: block !important;
  }
  .lb-cc::before,
  .lb-event::before,
  .lb-addr::before {
    display: none;
  }
}
@media (max-width: 600px) {
  .lb-types {
    grid-template-columns: 1fr;
  }
  .lb-kpis.as-kpis {
    grid-template-columns: 1fr;
  }
}

/* CC category format editor */
.fmt-ed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fmt-ed__presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fmt-ed__sep-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.fmt-ed__sep-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid rgba(28, 36, 48, .14);
  border-radius: 8px;
  background: #fff;
  color: #1c2430;
  font-weight: 600;
  line-height: 1;
}
.fmt-ed__sep-btn.is-on {
  border-color: #c47d00;
  background: rgba(232, 148, 10, .12);
  color: #8a5200;
}
.fmt-ed__sep-input {
  max-width: 88px;
}
.fmt-ed__label {
  font-size: 12px;
  color: #6d7585;
  margin-bottom: 6px;
}
.fmt-ed__palette,
.fmt-ed__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 40px;
}
.fmt-ed__strip {
  padding: 8px;
  border: 1px dashed rgba(28, 36, 48, .18);
  border-radius: 10px;
  background: #f7f8fb;
}
.fmt-ed__strip.is-empty::after {
  content: '—';
  color: #9aa3b2;
}
.fmt-ed__pipe {
  color: #8a94a8;
  font-weight: 700;
  padding: 0 2px;
  user-select: none;
}
.fmt-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: #eef1f6;
  color: #1c2430;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.fmt-chip--add:hover {
  background: #e4d3b0;
  color: #8a5200;
}
.fmt-chip.is-on {
  background: rgba(232, 148, 10, .16);
  color: #8a5200;
  cursor: grab;
}
.fmt-chip.is-drag {
  opacity: .55;
}
.fmt-chip.is-req {
  box-shadow: inset 0 0 0 1px #c47d00;
}
.fmt-chip.is-skip {
  background: #eceff3;
  color: #6d7585;
  font-style: italic;
}
.fmt-chip__x {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0 0 0 2px;
  line-height: 1;
  font-size: 14px;
  cursor: pointer;
}
.fmt-ed__preview {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #6d7585;
}
.fmt-ed__preview code {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  background: #1d1e26;
  color: #ffc56a;
  font-size: 12px;
  word-break: break-all;
}
body.dark-only .fmt-ed__sep-btn {
  background: #1d1e26;
  border-color: #323846;
  color: rgba(255,255,255,.86);
}
body.dark-only .fmt-ed__strip {
  background: #1d1e26;
  border-color: #323846;
}
body.dark-only .fmt-chip {
  background: #2a2c36;
  color: rgba(255,255,255,.88);
}
body.dark-only .fmt-chip.is-on {
  background: rgba(232, 148, 10, .22);
  color: #ffc56a;
}

.cat-admin-fmt {
  max-width: 280px;
}
.cat-admin-fmt code {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}
.cat-admin-actions {
  white-space: nowrap;
}
.cat-admin-actions .btn {
  margin-right: 4px;
}

.mc-cat-wrap {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 52%;
  flex: 0 1 auto;
}
.mc-cat-wrap:hover {
  z-index: 9;
}
.mc-cat-wrap .mc-cat,
.mc-cat-link {
  max-width: none;
}
.mc-cat-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #1d97ff;
  font-weight: 700;
  font-size: inherit;
  line-height: inherit;
  text-align: left;
  overflow: visible;
  white-space: nowrap;
  cursor: pointer;
}
.mc-cat-link__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-cat-link:hover,
.mc-cat-link:focus {
  color: #0b78d4;
  text-decoration: none;
  outline: none;
}
.mc-cat-link:hover .mc-cat-link__name,
.mc-cat-link:focus .mc-cat-link__name {
  text-decoration: underline;
}
body.dark-only .mc-cat-link {
  color: #6cbcff;
}
body.dark-only .mc-cat-link:hover,
body.dark-only .mc-cat-link:focus {
  color: #9ad2ff;
}
.mc-cat-float-tip {
  position: fixed;
  z-index: 10050;
  max-width: min(320px, calc(100vw - 16px));
  padding: 8px 10px;
  border-radius: 8px;
  background: #1c2430;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  white-space: pre-wrap;
  box-shadow: 0 8px 20px rgba(15, 20, 28, 0.28);
  pointer-events: none;
}
.mc-cat-float-tip[hidden] {
  display: none;
}
body.dark-only .mc-cat-float-tip {
  background: #11141b;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}
.cat-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 11px;
  color: #6d7585;
}
.cat-stars__track {
  position: relative;
  display: inline-flex;
  gap: 1px;
  color: #d5d8de;
  line-height: 1;
  font-size: 12px;
}
.cat-stars__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  overflow: hidden;
  display: inline-flex;
  gap: 1px;
  color: #e8a20a;
  pointer-events: none;
  white-space: nowrap;
}
.cat-stars__n {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.fmt-ed__hint {
  margin-top: 6px;
  font-size: 12px;
  color: #8a94a8;
  line-height: 1.35;
}
.orders-cat-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.order-card__info .cat-vote {
  margin: 0 4px;
}
.cat-vote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 11px;
  color: #6d7585;
}
.cat-vote__btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
  height: 24px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: #eef1f6;
  color: #1c2430;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.cat-vote__btn .fa {
  font-size: 12px;
}
.cat-vote__btn.is-plus.is-on {
  background: rgba(47, 158, 68, .18);
  color: #2f9e44;
}
.cat-vote__btn.is-minus.is-on {
  background: rgba(214, 57, 57, .18);
  color: #d63939;
}
.cat-vote__pct {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 18px;
  margin-left: 2px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(138, 82, 0, 0.12);
  color: #8a5200;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: help;
  outline: none;
}
.cat-vote__pct-k {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.78;
}
.sp-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}
.sp-cat-row + .sp-cat-row {
  border-top: 1px solid rgba(0,0,0,.06);
}
.sp-cat-row__name {
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.dark-only .sp-cat-row + .sp-cat-row {
  border-top-color: rgba(255,255,255,.08);
}
body.dark-only .cat-vote__btn {
  background: #2a2c36;
  color: rgba(255,255,255,.86);
}
body.dark-only .cat-vote__btn.is-plus.is-on {
  background: rgba(47, 158, 68, .22);
  color: #51cf66;
}
body.dark-only .cat-vote__btn.is-minus.is-on {
  background: rgba(214, 57, 57, .22);
  color: #ff8787;
}
body.dark-only .cat-vote__pct {
  background: rgba(255, 197, 106, 0.16);
  color: #ffc56a;
}
