/* 幻镜片场 · market 页面专属样式 */

.market-page { padding-top: 44px; }
.hz-search {
  margin-top: 46px;
  width: 757px;
  max-width: 100%;
  height: 60px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 0 8px 0 26px;
  border-radius: 30px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.1);
}
.hz-search__scope { flex: none; font-size: 14px; font-weight: 500; color: #e8e9eb; }
.hz-search__sep { flex: none; width: 1px; height: 22px; margin: 0 18px; background: rgba(255,255,255,.16); }
.hz-search__icon { flex: none; color: #8b909a; }
.hz-search__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  margin-left: 10px;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--c-text);
  font-size: 13.5px;
  font-family: inherit;
}
.hz-search__input::placeholder { color: #62666e; }
.hz-search__btn {
  flex: none;
  height: 44px;
  padding: 0 24px;
  border-radius: 22px;
  background: #fff;
  color: #17181a;
  font-size: 13.5px;
  font-weight: 600;
  transition: transform .15s, opacity .15s;
}
.hz-search__btn:hover { transform: translateY(-1px); opacity: .93; }
@media (max-width: 720px) {
  .hz-search { height: 52px; }
}
.market-page { padding: 16px 16px 60px; }
.mk-search { margin: 0; width: 100%; height: 54px; padding: 0 5px 0 40px; border-radius: 27px; background: #1c1c1c; }
.mk-search .hz-search__btn { height: 38px; padding: 0 25px; border-radius: 19px; font-size: 13px; }
.mk-rows { margin-top: 17px; }
.mk-panel {
  margin-top: 0;
  padding: 23px 24px 0;
  border-radius: 12px;
  background: #121214;
  border: 1px solid #232325;
}
.mk-row { display: flex; margin-bottom: 16px; }
.mk-label { flex: none; width: 114px; padding-top: 5px; font-size: 14px; font-weight: 500; color: #e8e9eb; white-space: nowrap; }
.mk-label i { font-style: normal; font-weight: 400; font-size: 10px; color: #6b6f76; margin-left: 2px; }
.mk-opts { display: flex; flex-wrap: wrap; gap: 8px 18px; align-content: flex-start; }
.mk-more { display: none; }
.mk-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin: 24px 0 0;
  padding: 12px 16px 13px;
  color: #9aa0a8;
  font-size: 13px;
  transition: color .15s;
}
.mk-toggle::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; background: #232325; }
.mk-toggle:hover { color: #fff; }
.mk-toggle svg { transition: transform .2s; }
.mk-sort {
  margin-top: 14px;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-radius: 12px;
  background: #121214;
  border: 1px solid #232325;
}
.mk-sort__label { display: flex; align-items: center; gap: 7px; margin-right: 21px; font-size: 13px; font-weight: 500; color: #cfd1d4; }
.mk-sort__label svg { color: #9aa0a8; }
.mk-sort__count { margin-left: auto; font-size: 12.5px; color: #9aa0a8; }
.mk-sort__count b { font-weight: 400; color: #e8e9eb; }
.mk-free-chip {
  margin-left: 14px;
  display: inline-flex; align-items: center;
  padding: 5px 14px; border-radius: 14px;
  color: #7ee2a8; border-color: rgba(62, 192, 106, .4);
  background: rgba(62, 192, 106, .08);
}
.mk-free-chip[hidden] { display: none !important; }
.mk-free-chip:hover { color: #a5f0c4; border-color: rgba(62, 192, 106, .65); }
.mk-free-chip__num {
  margin-left: 7px; padding: 1px 7px; border-radius: 999px;
  font-size: 11px; line-height: 15px; font-weight: 400;
  background: rgba(62, 192, 106, .18); color: #7ee2a8;
}
.mk-free-chip__num[hidden] { display: none !important; }
.mk-free-tip {
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 19px;
  color: #b9e7c9;
  background: rgba(62, 192, 106, .07);
  border: 1px solid rgba(62, 192, 106, .2);
}
.mk-free-tip[hidden] { display: none !important; }
.mk-free-tip b { color: #7ee2a8; font-weight: 600; }
.mk-card__freeprice { font-style: normal; color: #7ee2a8; }
.mk-range {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  height: 48px;
  border-radius: 12px;
  background: #121214;
  border: 1px solid #232325;
}
.mk-range[hidden] { display: none !important; }
.mk-range__label { font-size: 13px; font-weight: 500; color: #cfd1d4; margin-right: 4px; }
.mk-range__ipt {
  width: 108px; height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #2c2c2f;
  background: #0e0e10;
  color: #e8e9eb;
  font-size: 12.5px;
  outline: none;
}
.mk-range__ipt:focus { border-color: #5594df; }
.mk-range__sep { color: #6b6f76; font-size: 12.5px; }
.mk-range__btn {
  height: 30px; padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #2f7ff0;
  color: #fff;
  font-size: 12.5px;
  cursor: pointer;
}
.mk-range__btn:hover { background: #3b89f5; }
.mk-range__btn--ghost { background: transparent; border-color: #2c2c2f; color: #b9bec6; }
.mk-range__btn--ghost:hover { border-color: #3a3a3e; color: #e8e9eb; }
.mk-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px 12px;
}
.mk-card {
  position: relative;
  display: block;
  aspect-ratio: 224 / 310;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(180deg, #e9ebef 0%, #e4e6ea 52%, #5a5c5f 74%, #222325 92%);
}
.mk-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-card__ph {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  text-align: center; font-size: 26px; color: #a9adb4; letter-spacing: 8px; text-indent: 8px;
}
.mk-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  padding: 3px 10px; border-radius: 999px;
  background: linear-gradient(90deg, #3ec06a, #2f7ff0);
  color: #fff; font-size: 11px; line-height: 14px; white-space: nowrap;
}
.mk-card__info { position: absolute; left: 16px; right: 12px; bottom: 11px; }
.mk-card__row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mk-card__row b { font-size: 14px; font-weight: 600; color: #fff; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-card__row i {
  flex: none; font-style: normal; font-size: 11px; color: #fff; line-height: 1;
  background: rgba(15, 16, 18, .55); border-radius: 9px; padding: 4px 10px;
}
.mk-card__meta { display: block; margin-top: 8px; font-size: 12px; color: #a6abb2; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-card__foot { display: flex; align-items: center; margin-top: 10px; }
.mk-card__price { font-size: 15px; font-weight: 700; color: #fff; line-height: 1; }
.mk-card__price i { font-style: normal; font-size: 12px; font-weight: 400; color: #a6abb2; margin-left: 3px; }
.mk-card__acts { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.mk-card__acts button { display: inline-flex; padding: 0; background: none; border: 0; color: #b6bac0; cursor: pointer; transition: color .15s, transform .15s; }
.mk-card__acts button:hover { color: #fff; transform: translateY(-1px); }
.mk-card__acts svg { width: 18px; height: 18px; }
.mk-empty { padding: 90px 0; text-align: center; color: #6b6f76; font-size: 13px; }
.mk-pager {
  margin-top: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.mk-pg {
  min-width: 36px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  background: #1f1f21;
  border: 0;
  color: #cfd1d4;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: color .15s, background .15s;
}
.mk-pg:disabled { opacity: .35; cursor: default; }
.mk-pg__dots { color: #6b6f76; padding: 0 2px; }
.mk-pg__jump { display: flex; align-items: center; gap: 7px; margin-left: 12px; color: #9aa0a8; font-size: 12.5px; }
.mk-pg__jump input {
  width: 42px; height: 34px; text-align: center;
  background: #1c1c1c; border: 1px solid rgba(255,255,255,.14); border-radius: 8px;
  color: var(--c-text); font-size: 13px; outline: none; font-family: inherit;
}
.mk-pg__jump input:focus { border-color: #3a3e46; }
@media (max-width: 1100px) {
  .mk-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .market-page { padding: 20px 14px 40px; }
  .mk-panel { padding: 16px 16px 0; }
  .mk-row { flex-direction: column; gap: 8px; }
  .mk-label { width: auto; }
  .mk-sort { height: auto; flex-wrap: wrap; padding: 10px 14px; gap: 8px; }
  .mk-grid { grid-template-columns: repeat(2, 1fr); }
}
.ns-search .hz-search__btn { height: 46px; padding: 0 21px; border-radius: 23px; }