html,
body {
  min-height: 100%;
  margin: 0;
  background-color: #f7f7f7;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

button,
input,
select {
  font: inherit;
  outline: none;
}

button {
  border: 0;
  background: none;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.left {
  float: left;
}

.right {
  float: right;
}

.none {
  display: none !important;
}

.hidden {
  overflow: hidden;
}

.center {
  text-align: center;
}

.grey {
  color: #666;
}

.ell {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.no-cursor {
  caret-color: transparent;
}

.bbk-input {
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 0 5px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  overflow: hidden;
  background-color: #1e9fff;
}

.mobile-title {
  height: 5px;
  color: #fff;
  font-weight: 600;
  line-height: 30px;
  text-align: center;
}

.search-box {
  width: 98%;
  height: 35px;
  margin: 0 auto 5px;
  overflow: hidden;
  border-radius: 5px;
  background-color: #fff;
}

.search-box i {
  display: inline-block;
  margin-left: 5px;
}

.search-input-box {
  width: 85%;
  height: 35px;
}

.search-box input {
  width: calc(100% - 52px);
  height: 35px;
  padding-left: 5px;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 14px;
}

.search-input-close-icon {
  float: right;
  color: #999;
  line-height: 35px;
}

.search-btn {
  width: 15%;
  height: 35px;
  color: #fff;
  background-color: #1e9fff;
  line-height: 35px;
  text-align: center;
  font-size: 14px;
}

.search-param-box {
  position: fixed;
  top: 45px;
  z-index: 22;
  display: block;
  left: 0;
  width: 100%;
  height: auto;
  max-height: 56vh;
  max-height: min(56dvh, 420px);
  padding: 8px 6px 12px;
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: #f9f9f9;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translateY(-14px);
  transform-origin: top center;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.18s ease;
  will-change: transform, opacity;
  -webkit-overflow-scrolling: touch;
}

.search-param-box[hidden] {
  display: none;
}

.search-param-box.is-open {
  opacity: 1;
  transform: translateY(0);
}

.search-param-box.is-closing {
  opacity: 0;
  transform: translateY(-12px);
}

.search-param-box input {
  height: 25px;
}

.param-item-box {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.param-title {
  margin: 10px auto 5px;
  font-weight: 600;
}

.param-content {
  overflow: hidden;
}

.param-price-box {
  margin-top: 5px;
}

.param-price-input-box {
  float: left;
  margin-top: 5px;
  margin-right: 10px;
  overflow: hidden;
}

.param-price-input-box input {
  width: 60px;
  height: 25px;
  text-align: center;
}

.param-date-input-box {
  overflow: hidden;
  margin-top: 5px;
}

.param-date {
  width: 128px;
  height: 26px;
  text-align: center;
}

.param-wide-input {
  width: min(280px, 88vw);
  height: 27px;
}

.param-range-line {
  margin-top: 5px;
}

.param-range-preset {
  clear: both;
  overflow: hidden;
  padding-top: 6px;
}

.acbtn-box {
  float: left;
  min-width: 34px;
  height: 25px;
  margin: 0 6px 6px 0;
  padding: 0 8px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  line-height: 25px;
  text-align: center;
  cursor: pointer;
}

.acbtn-choosed,
.acbtn-box.active {
  color: #fff;
  border-color: #1e9fff;
  background: #1e9fff;
}

.param-btn-box {
  width: 86%;
  margin: 10px auto;
}

.param-small-btn {
  margin-right: 5px;
  padding: 5px 10px;
  border-radius: 5px;
  color: #fff;
  background-color: #1e9fff;
}

.search-btn-2,
.reset-param-btn {
  border: 1px solid #ddd;
  color: #222;
  background-color: #fff;
}

.blank-10 {
  height: 10px;
}

.items-box {
  margin-top: 45px;
  padding-bottom: 120px;
}

#page-neck-box {
  height: 35px;
  padding-top: 5px;
  overflow: hidden;
}

.neck-btn {
  margin-right: 5px;
  padding: 3px 8px;
  border: 1px solid #e1e1e1;
  border-radius: 20px;
  background: #fff;
  font-size: 14px;
  line-height: 20px;
}

.hide-price-btn {
  padding: 3px 8px;
}

.op0015 {
  min-width: 38px;
  color: rgba(0, 0, 0, 0.08);
  text-align: center;
}

.pc-link {
  display: block;
}

.items-box .fa-check-circle {
  color: #666;
}

.item-list-wrap {
  min-height: 200px;
}

.res-tip-box {
  width: 100%;
  height: 120px;
  color: #666;
  line-height: 120px;
  text-align: center;
}

.item-box {
  position: relative;
  float: left;
  width: 32%;
  margin-top: 5px;
  margin-left: 1%;
  padding-bottom: 5px;
  border-radius: 5px;
  background-color: #fff;
}

.item-box.is-selected {
  background-color: #fff;
  box-shadow: none;
}

.item-box .choose-btn {
  position: absolute;
  top: 1px;
  right: 1px;
  z-index: 1;
  display: inline-block;
  border: 5px solid #fff;
  border-radius: 100%;
  font-size: 18px;
}

.item-box.is-selected .choose-btn {
  color: #077e09;
}

.choose-btn-all {
  border: none;
  border-radius: 100%;
}

.img-box {
  position: relative;
  display: flex;
  width: 74%;
  aspect-ratio: 1 / 1;
  margin: 6px auto 0;
  align-items: center;
  justify-content: center;
}

.item-box img {
  display: block;
  width: 96%;
  height: 96%;
  margin: 0;
  object-fit: contain;
}

[data-open-detail] {
  cursor: pointer;
}

.item-info {
  height: 40px;
}

.item-name {
  font-size: 14px;
  line-height: 20px;
}

.item-lei-price {
  margin: 5px 0;
  color: orange;
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
}

body.mobile-price-hidden .item-lei-price {
  visibility: hidden;
}

body.mobile-choose-hidden .item-box .choose-btn {
  display: none;
}

.leg-box {
  height: 28px;
  margin-top: 5px;
  overflow: hidden;
}

#laypage-box {
  width: 98%;
  margin-left: 1%;
  clear: both;
}

.mobile-page-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin: 8px 0;
  font-size: 14px;
}

.mobile-page-row button,
.mobile-page-row select,
.mobile-page-row input {
  min-height: 30px;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  background: #fff;
  color: #222;
}

.mobile-page-row button {
  padding: 0 12px;
}

.mobile-page-row button:disabled {
  color: #aaa;
}

.mobile-page-row select {
  padding: 0 8px;
}

.mobile-page-row input {
  width: 52px;
  padding: 0 6px;
  text-align: center;
}

.cache-box {
  height: 30px;
  color: #555;
  overflow: hidden;
}

.cache-btn {
  cursor: pointer;
  color: #555;
  line-height: 24px;
  text-align: left;
}

.bbk-shade {
  position: fixed;
  top: 45px;
  z-index: 21;
  width: 100%;
  height: calc(100vh - 45px);
  height: calc(100dvh - 45px);
  background-color: #999;
  opacity: 0.5;
}

.blank-height-100 {
  height: 100px;
}

.mobile-nav-box {
  position: fixed;
  bottom: 0;
  z-index: 10;
  width: 100%;
  height: 60px;
  border-top: 1px solid #ddd;
  background-color: #f1f1f1;
  opacity: 0.95;
}

.mobile-nav-item {
  width: 20%;
  height: 50px;
  margin-top: 5px;
  border-radius: 5px;
  color: #222;
  line-height: 20px;
  text-align: center;
}

.mobile-nav-item i {
  display: block;
  height: 20px;
  font-size: 16px;
  line-height: 20px;
}

.mobile-nav-item div {
  font-size: 14px;
  line-height: 20px;
}

.mobile-nav-choosed,
.mobile-nav-item.active {
  color: #1e9fff;
}

.mobile-selected-bar {
  position: fixed;
  right: 10.5%;
  bottom: 10px;
  left: 10.5%;
  z-index: 20;
  min-height: 113px;
  border: 1px solid #d1d1d1;
  border-radius: 2px;
  color: rgba(0, 0, 0, 0.85);
  background: #fff;
  box-shadow: #ddd 2px 2px 2px 0;
  font-size: 14px;
}

.mobile-selected-bar[hidden],
.mobile-toast[hidden] {
  display: none;
}

.mobile-selected-title {
  position: relative;
  height: 30px;
  padding-left: 5px;
  background: #f9f9f9;
  line-height: 30px;
}

.mobile-selected-num {
  color: #00f;
  font-size: 18px;
}

.mobile-selected-content {
  min-height: 80px;
  padding: 20px 10px;
}

.mobile-selected-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  margin: 0 0 10px 10px;
  padding: 0 10px;
  border: 1px solid #1e9fff;
  border-radius: 2px;
  color: #fff;
  background: #1e9fff;
  font-size: 12px;
  line-height: 30px;
  cursor: pointer;
  vertical-align: middle;
}

.mobile-selected-action:first-child {
  margin-left: 0;
}

.mobile-selected-action i {
  margin-right: 4px;
  font-size: 14px;
  line-height: 1;
}

.mobile-selected-close {
  position: absolute;
  top: 5px;
  min-width: 50px;
  height: 20px;
  border: 0;
  padding: 0;
  color: #666;
  background: #f9f9f9;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.mobile-selected-close.hide {
  right: 40px;
}

.mobile-selected-close.clear {
  right: 5px;
}

.mobile-selected-close i {
  margin-left: 1px;
  font-size: 14px;
}

.mobile-back-top {
  position: fixed;
  right: 14px;
  bottom: 76px;
  z-index: 28;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(120, 120, 120, 0.28);
  border-radius: 50%;
  color: #8a8a8a;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  font-size: 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, bottom 0.18s ease;
}

.mobile-back-top[hidden] {
  display: none;
}

.mobile-back-top:active {
  color: #666;
  transform: translateY(1px);
}

body.mobile-has-selection .mobile-back-top {
  bottom: 140px;
}

.mobile-export-dialog[hidden] {
  display: none;
}

.mobile-export-mask {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.46);
}

.mobile-export-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 71;
  width: min(92vw, 380px);
  box-sizing: border-box;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  color: #222;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
}

.mobile-export-title {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
}

.mobile-export-line {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.mobile-export-label {
  color: #666;
}

.mobile-export-count {
  color: #1e9fff;
  font-weight: 700;
}

.mobile-export-price {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.mobile-export-price input {
  width: 72px;
  height: 32px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
}

.mobile-export-or {
  color: #999;
}

.mobile-export-options {
  display: flex;
  gap: 8px;
  margin: 4px 0 16px 82px;
}

.mobile-export-option {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  background: #fff;
  color: #333;
}

.mobile-export-option.active {
  border-color: #1e9fff;
  color: #fff;
  background: #1e9fff;
}

.mobile-export-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.mobile-export-actions button {
  min-width: 76px;
  height: 36px;
  border-radius: 4px;
}

.mobile-export-cancel {
  border: 1px solid #ddd;
  color: #333;
  background: #fff;
}

.mobile-export-submit {
  color: #fff;
  background: #1e9fff;
}

.mobile-export-submit:disabled {
  opacity: 0.65;
}

.mobile-detail-layer[hidden] {
  display: none;
}

.mobile-detail-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.mobile-detail-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
}

.mobile-detail-panel {
  position: absolute;
  left: 1%;
  top: 9%;
  width: 98%;
  height: 80%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.mobile-detail-title {
  height: 42px;
  padding: 0 10px;
  border-bottom: 1px solid #eee;
  color: #222;
  font-size: 16px;
  font-weight: 600;
  line-height: 42px;
}

.mobile-detail-title span {
  display: block;
  max-width: calc(100% - 38px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-detail-title button {
  position: absolute;
  right: 8px;
  top: 3px;
  width: 34px;
  height: 34px;
  color: #777;
  font-size: 24px;
}

.mobile-detail-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px 14px;
  font-size: 14px;
  -webkit-overflow-scrolling: touch;
}

.mobile-detail-logo {
  width: 70%;
  max-width: 250px;
  margin: 5px auto 12px;
  text-align: center;
}

.mobile-detail-logo img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.mobile-detail-price {
  margin-bottom: 10px;
  color: orange;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.mobile-detail-actions {
  margin: 0 auto 12px;
  text-align: center;
}

.mobile-detail-transfer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 18px;
  border-radius: 4px;
  background: #077e09;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.mobile-detail-transfer-link:active {
  background: #056407;
  color: #fff;
}

.mobile-detail-line {
  display: grid;
  grid-template-columns: 82px 1fr;
  min-height: 28px;
  border-bottom: 1px solid #f0f0f0;
  line-height: 28px;
}

.mobile-detail-line .label {
  color: #888;
  text-align: right;
  padding-right: 8px;
}

.mobile-detail-line .value {
  color: #222;
  word-break: break-all;
}

.mobile-more-sellers {
  margin-top: 12px;
  padding: 10px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
}

.mobile-more-sellers-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: #222;
  font-size: 15px;
  font-weight: 700;
}

.mobile-more-sellers-title span {
  color: #999;
  font-size: 12px;
  font-weight: 400;
}

.mobile-more-seller,
.mobile-more-seller-empty {
  padding: 8px 0;
  border-top: 1px solid #eee;
}

.mobile-more-seller-main,
.mobile-more-seller-meta {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}

.mobile-more-seller-main strong {
  color: #222;
  font-weight: 600;
}

.mobile-more-seller-main span {
  color: #ff7800;
  font-weight: 700;
}

.mobile-more-seller-meta {
  margin-top: 4px;
  color: #777;
  font-size: 12px;
}

.mobile-more-seller-meta span {
  min-width: 0;
}

.mobile-more-seller-meta span:nth-child(2) {
  flex: 1;
  text-align: center;
}

.mobile-more-seller-meta a {
  color: #1e63ff;
}

.mobile-more-seller-empty {
  color: #999;
  text-align: center;
}

.mobile-detail-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 44px;
  border-top: 1px solid #eee;
}

.mobile-detail-foot button {
  border-right: 1px solid #eee;
  background: #fff;
  color: #333;
  font-size: 15px;
}

.mobile-detail-foot button:last-child {
  border-right: 0;
}

.mobile-detail-foot .save {
  color: #333;
}

.mobile-detail-foot .save.active {
  color: #ff5500;
}

.mobile-toast {
  position: fixed;
  bottom: 140px;
  left: 50%;
  z-index: 60;
  max-width: 82vw;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
  transform: translateX(-50%);
}

@media (max-width: 420px) {
  .search-box input {
    font-size: 14px;
  }

  .neck-btn {
    margin-right: 4px;
    padding: 3px 5px;
    font-size: 14px;
  }

  .item-name {
    font-size: 14px;
  }

  .mobile-nav-item div {
    font-size: 14px;
  }
}

@media (max-height: 640px) {
  .search-param-box {
    max-height: 50vh;
    max-height: min(50dvh, 360px);
  }
}
