/* SIMBAY / 2026 — 修改主题变量即可调整整站颜色和字体。 */
:root {
  --ink: #111111;
  --blue: #4464e3;
  --muted: #737373;
  --line: #e5e5e5;
  --surface: #f7f7f7;
  --font: "PingFang SC", "Heiti SC", "Microsoft YaHei", "SimHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 500 14px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  border: 0;
}

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

button,
input,
select,
textarea,
a {
  outline-offset: 4px;
}

:focus-visible {
  outline: 2px solid var(--blue);
}

button:disabled {
  opacity: .5;
  cursor: wait;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
b,
strong {
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 5px;
  font-weight: 750;
  font-size: 13px;
  min-height: 40px;
}

.primary {
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
}

.primary:hover {
  background: var(--blue);
}

.secondary {
  background: #fff;
  color: #111;
  border: 1px solid #d5d5d5;
}

.secondary:hover {
  border-color: #111;
  background: #fafafa;
}

.textbtn {
  padding: 0;
  background: none;
  color: inherit;
  font-size: 12px;
  font-weight: 650;
}

.textbtn:hover {
  text-decoration: underline;
}

.muted,
.hint {
  color: var(--muted);
  font-size: 12px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #737373;
}

/* 顶部：工具栏、品牌和导航。 */
header {
  max-width: 1440px;
  margin: auto;
  padding: 0 40px;
}

.utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.utility-bar>div {
  display: flex;
  gap: 22px;
  align-items: center;
}

.utility-bar .textbtn {
  font-size: 11px;
}

.utility-region {
  color: #777;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  min-height: 83px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 13px;
  white-space: nowrap;
}

.brand b {
  font: 850 37px/1 var(--font);
  letter-spacing: -2px;
}

.brand-dot {
  color: var(--blue);
}

.brand>span {
  font-size: 14px;
  font-weight: 800;
}

nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

nav a {
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  padding: 29px 0;
  border-bottom: 2px solid transparent;
}

nav a.active {
  border-color: #111;
}

.account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.mode {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  background: #f7f7f7;
  color: #666;
  font-size: 10px;
}

.demo-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #888;
}

.mode-detail {
  margin-left: 8px;
  color: #888;
}

main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px 44px;
  min-height: 65vh;
}

/* 首页的首要操作：关键词、软件和分析种类。 */
.market-search {
  padding: 24px 0 0;
}

.search-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 16px;
}

.search-intro h1 {
  font-size: 22px;
  margin: 0;
  letter-spacing: -.6px;
}

.search-intro>span {
  font-size: 11px;
  color: #888;
}

.search {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 180px 200px 130px;
  border: 2px solid #111;
  border-radius: 6px;
  align-items: stretch;
  padding: 5px;
}

.query-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
}

.search-icon {
  font-size: 30px;
  margin: 0 12px;
  line-height: 1;
}

.search input {
  border: 0;
  width: 100%;
  padding: 12px 0;
  min-width: 0;
  font-size: 14px;
  background: #fff;
}

.search .filter-field {
  padding: 2px 14px;
  border-left: 1px solid #ddd;
  margin: 0;
}

.search .filter-field>span {
  font-size: 9px;
  color: #888;
  margin: 0;
}

.search .filter-field select {
  border: 0;
  padding: 0 20px 0 0;
  font-size: 12px;
  min-height: 25px;
  font-weight: 750;
}

.search-submit {
  border-radius: 3px;
}

.popular-searches {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  padding: 10px 0 15px;
}

.popular-searches>span {
  color: #888;
}

.popular-searches button {
  background: none;
  padding: 0;
  font-size: 11px;
  font-weight: 650;
}

.popular-searches button:hover {
  text-decoration: underline;
}

.search-help {
  margin-left: auto;
}

.category-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 32px;
}

.category-strip button {
  color: #777;
  padding: 12px 0;
  background: none;
  font-size: 12px;
  font-weight: 750;
  border-bottom: 2px solid transparent;
}

.category-strip button.active {
  color: #111;
  border-color: #111;
}

/* 编辑推荐位：短文案、小型工程示意，不使用大面积彩色横幅。 */
.editorial-strip {
  margin: 22px 0 26px;
  display: grid;
  grid-template-columns: 1.1fr .85fr .65fr;
  min-height: 170px;
  border: 1px solid var(--line);
  background: #fafafa;
  align-items: center;
  padding: 20px 28px;
  gap: 20px;
}

.editorial-strip h2 {
  font-size: 24px;
  letter-spacing: -.6px;
  margin: 8px 0;
}

.editorial-strip p {
  color: #777;
  font-size: 12px;
  margin-bottom: 10px;
}

.editorial-strip .textbtn {
  border-bottom: 1px solid #111;
  padding-bottom: 1px;
}

.editorial-diagram svg {
  width: 100%;
  height: 140px;
  display: block;
}

.editorial-meta {
  align-self: stretch;
  border-left: 1px solid #ddd;
  padding-left: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.editorial-meta b {
  font-size: 26px;
  letter-spacing: -1px;
}

.editorial-meta span {
  font-size: 12px;
  font-weight: 700;
}

.editorial-meta small {
  color: #888;
  font-size: 10px;
}

/* 筛选与模板列表 */
.market-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 30px;
}

.filter-sidebar {
  padding-right: 23px;
  border-right: 1px solid var(--line);
}

.filter-sidebar h2 {
  font-size: 14px;
  margin: 0;
}

.filter-sidebar>.row {
  margin-bottom: 20px;
}

.filter-sidebar .textbtn {
  font-size: 11px;
  color: #777;
}

.filter-field {
  margin-bottom: 18px;
  display: block;
}

.filter-field>span {
  display: block;
  font-size: 11px;
  margin-bottom: 7px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #dcdcdc;
  background: #fff;
  color: #111;
  border-radius: 4px;
  padding: 9px 10px;
}

.filter-field select,
.price-range input {
  min-height: 35px;
  font-size: 11px;
}

.price-range {
  display: flex;
  gap: 6px;
  align-items: center;
}

.price-range input {
  min-width: 0;
  padding: 6px;
}

.price-range>span {
  color: #bbb;
}

.seller-invite {
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12px;
}

.seller-invite p {
  font-size: 11px;
  color: #888;
  margin: 8px 0;
}

.results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.results-heading h2 {
  font-size: 23px;
  margin: 4px 0 0;
  letter-spacing: -.5px;
}

.results-heading h2 small {
  font-weight: 500;
  color: #888;
  font-size: 11px;
  margin-left: 12px;
}

.sort-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #888;
}

.sort-label select {
  width: auto;
  font-size: 11px;
  color: #111;
  padding: 7px 22px 7px 8px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.filter-chip {
  padding: 4px 9px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 10px;
  border-radius: 3px;
}

.filter-chip span {
  margin-left: 7px;
  color: #888;
}

#sort-note:empty {
  display: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
  margin-top: 17px;
}

.card {
  min-width: 0;
  background: #fff;
}

.card-open {
  width: 100%;
  padding: 0;
  display: block;
  background: none;
}

.model-art {
  background: #f6f6f6;
  position: relative;
  height: 160px;
  border: 1px solid #ededed;
  border-radius: 5px;
  overflow: hidden;
}

.model-art svg {
  height: 100%;
  width: 100%;
  transition: transform .2s;
}

.card-open:hover svg {
  transform: scale(1.04);
}

.art-label {
  position: absolute;
  top: 10px;
  left: 11px;
  font: 750 9px Arial, sans-serif;
  letter-spacing: .5px;
}

.model-art>small {
  position: absolute;
  right: 9px;
  bottom: 6px;
  font-size: 8px;
  color: #999;
  letter-spacing: 1px;
}

.card-inner {
  padding: 11px 1px 0;
}

.card-kicker {
  display: flex;
  justify-content: space-between;
  color: #737373;
  font-size: 10px;
}

.card h3 {
  margin: 6px 0 6px;
  font-size: 14px;
  line-height: 1.5;
}

.title-link {
  background: none;
  padding: 0;
  font-size: inherit;
  font-weight: 800;
  text-align: left;
  color: #111;
}

.title-link:hover {
  text-decoration: underline;
}

.card-description {
  font-size: 11px;
  color: #777;
  margin: 0 0 10px;
}

.seller-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px;
  font-size: 10px;
  color: #999;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.price {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  color: #111;
  letter-spacing: -.6px;
}

.compare-check {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #777;
}

.compare-check input {
  width: 12px;
  height: 12px;
  accent-color: #111;
  margin: 0;
}

mark {
  background: #ededed;
  color: inherit;
}

.delivery-strip {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 20px 0;
  color: #aaa;
  font-size: 11px;
}

.delivery-strip b {
  font-size: 11px;
  color: #777;
  margin-left: 8px;
}

.compare-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #ddd;
  box-shadow: 0 6px 30px #00000016;
  background: #fff;
  border-radius: 7px;
  padding: 12px 20px;
  display: flex;
  gap: 25px;
  align-items: center;
  z-index: 5;
  font-size: 12px;
  white-space: nowrap;
}

/* 详情、表单、订单及管理后台共用组件 */
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.page-title {
  padding: 28px 0 22px;
}

.page-title h1 {
  font-size: 27px;
  margin: 6px 0;
}

.page-title p {
  margin: 5px 0 0;
}

.workspace {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  gap: 28px;
}

.side {
  border-right: 1px solid var(--line);
  padding-right: 18px;
}

.side button {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 650;
  color: #777;
}

.side button.active {
  background: #111;
  color: #fff;
}

.side small {
  display: block;
  color: #aaa;
  font-size: 9px;
  padding: 20px 10px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.stat small {
  font-size: 11px;
  color: #777;
}

.stat strong {
  display: block;
  font-size: 27px;
  margin: 8px 0;
}

.stat em {
  font-style: normal;
  font-size: 10px;
  color: #999;
}

.panel {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.panel h2 {
  font-size: 17px;
  margin: 0 0 15px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}

td,
th {
  padding: 12px 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

th {
  font-size: 10px;
  color: #777;
  background: #fafafa;
  white-space: nowrap;
}

td small {
  display: block;
  color: #888;
  font-size: 10px;
  margin-top: 4px;
}

td .secondary {
  font-size: 10px;
  min-height: 28px;
  padding: 4px 8px;
  margin: 3px;
}

.comparison {
  min-width: 600px;
  table-layout: fixed;
}

.comparison td {
  overflow-wrap: anywhere;
}

.status,
.tag {
  display: inline-block;
  font-size: 10px;
  padding: 3px 7px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  color: #666;
}

.status.paid,
.status.approved {
  color: #111;
  border-color: #999;
}

.status.pending,
.status.refund_pending {
  border-style: dashed;
}

.alert {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-left: 3px solid #111;
  border-radius: 3px;
  font-size: 12px;
  color: #666;
  margin: 16px 0;
  background: #fafafa;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.check-item {
  padding: 14px;
  border: 1px solid var(--line);
  font-size: 13px;
}

.check-item p {
  font-size: 12px;
  color: #888;
  margin: 8px 0 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-size: 12px;
}

label>span {
  display: block;
  margin-bottom: 6px;
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.wide {
  grid-column: 1 / -1;
}

.form-foot {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.payment-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.wechat-pay-qr {
  display: flex;
  justify-content: center;
  margin: 18px auto;
}
.wechat-pay-qr img {
  width: min(260px, 72vw);
  height: auto;
  image-rendering: pixelated;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

dialog {
  border: 1px solid #ddd;
  border-radius: 8px;
  width: min(900px, 94vw);
  max-height: 90vh;
  padding: 30px;
  color: #111;
  box-shadow: 0 25px 100px #00000025;
}

dialog::backdrop {
  background: #00000050;
}

.close {
  position: absolute;
  right: 12px;
  top: 10px;
  background: #f4f4f4;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 21px;
  color: #555;
}

dialog h2 {
  font-size: 24px;
  margin: 10px 25px 20px 0;
  line-height: 1.4;
}

dialog h3 {
  font-size: 14px;
}

.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 18px 0;
}

.detail .model-art {
  height: 230px;
}

dl {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 10px;
  font-size: 12px;
  margin: 0;
}

dt {
  color: #888;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.detail-section {
  border-top: 1px solid #eee;
  padding-top: 17px;
  margin-top: 20px;
}

.detail-section p {
  white-space: pre-wrap;
  font-size: 12px;
  color: #777;
}

.login-demo {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.receipt {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 20px;
}

.receipt .row {
  margin: 8px 0;
}

.receipt small {
  color: #777;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  max-width: 960px;
  margin-inline: auto;
}

.article-card {
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 32px);
  border-radius: 8px;
  min-width: 0;
  background: #fff;
}

.article-card h2 {
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.5;
  margin: 12px 0 16px;
}

.article-card p {
  white-space: pre-wrap;
  font-size: 15px;
  line-height: 1.9;
  color: #536174;
}

.article-card .eyebrow {
  font-size: 12px;
  letter-spacing: .06em;
  color: #778397;
}

.article-card .detail-section {
  margin-top: 22px;
  padding-top: 18px;
  padding-bottom: 0;
}

.article-card .detail-section p { margin: 8px 0 12px; }
.notes-page-heading { max-width: 960px; margin-inline: auto; }

.empty,
.loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 65px 20px;
  color: #777;
  font-size: 13px;
}

.empty h3 {
  color: #111;
}

.empty .secondary {
  margin: 5px;
}

.empty-symbol {
  font-size: 35px;
  display: block;
  color: #aaa;
}

footer {
  border-top: 1px solid var(--line);
  max-width: 1440px;
  margin: auto;
  padding: 26px 40px 35px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  font: 800 23px Arial, sans-serif;
  letter-spacing: -1px;
}

footer p {
  color: #999;
  font-size: 10px;
  margin: 7px 0 0;
}

footer>div:last-child {
  text-align: right;
}

#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  padding: 12px 20px;
  background: #111;
  color: #fff;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  font-size: 12px;
  transition: opacity .2s;
}

#toast.show {
  opacity: 1;
}

.steps {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.steps span {
  flex: 1;
  border-top: 3px solid #ddd;
  padding-top: 6px;
  font-size: 11px;
  color: #999;
}

.steps span.active {
  border-color: var(--blue);
  color: #111;
}

.form-step {
  min-width: 0;
}

/* 中小屏幕 */
@media (min-width: 1200px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {

  header,
  main {
    padding-left: 24px;
    padding-right: 24px;
  }

  .main-nav {
    gap: 25px;
    flex-wrap: wrap;
    padding: 15px 0 0;
  }

  nav {
    order: 3;
    width: 100%;
    gap: 28px;
  }

  nav a {
    padding: 10px 0;
  }

  .search {
    grid-template-columns: minmax(150px, 1fr) 140px 160px 100px;
  }

  .search-intro>span {
    display: none;
  }

  .market-layout {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 20px;
  }

  .filter-sidebar {
    padding-right: 15px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-strip {
    grid-template-columns: 1.25fr 1fr;
  }

  .editorial-meta {
    display: none;
  }

  footer {
    margin: 0 24px;
  }
}

@media (max-width: 700px) {

  header,
  main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .utility-bar {
    font-size: 9px;
  }

  .utility-region {
    display: none;
  }

  .utility-bar>div {
    gap: 14px;
  }

  .main-nav {
    gap: 12px;
  }

  .brand b {
    font-size: 30px;
  }

  .brand>span {
    font-size: 12px;
  }

  .brand {
    gap: 8px;
  }

  .account {
    gap: 10px;
  }

  .account .primary {
    padding: 7px 10px;
    font-size: 11px;
    min-height: 34px;
  }

  .account .textbtn {
    font-size: 10px;
  }

  nav {
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
  }

  nav a {
    font-size: 11px;
  }

  .mode {
    justify-content: flex-start;
    padding-left: 16px;
    font-size: 9px;
  }

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

  .market-search {
    padding-top: 20px;
  }

  .search-intro h1 {
    font-size: 20px;
  }

  .search {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 6px;
  }

  .query-wrap {
    grid-column: 1 / -1;
    border-bottom: 1px solid #ddd;
  }

  .search .filter-field {
    border: 0;
    padding: 6px;
  }

  .search .filter-field+.filter-field {
    border-left: 1px solid #ddd;
  }

  .search-submit {
    grid-column: 1 / -1;
    min-height: 39px;
  }

  .popular-searches {
    gap: 15px;
    font-size: 10px;
  }

  .search-help {
    display: none;
  }

  .category-strip {
    gap: 23px;
    overflow: auto;
    white-space: nowrap;
  }

  .category-strip button {
    font-size: 11px;
  }

  .editorial-strip {
    margin: 15px 0 22px;
    padding: 16px;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .editorial-strip h2 {
    font-size: 19px;
  }

  .editorial-strip p {
    font-size: 11px;
  }

  .editorial-diagram {
    display: none;
  }

  .market-layout {
    display: block;
  }

  .filter-sidebar {
    border: 1px solid #eee;
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }

  .filter-sidebar>.row {
    grid-column: 1 / -1;
    margin: 0;
  }

  .filter-sidebar .filter-field {
    margin-bottom: 0;
  }

  .seller-invite {
    display: none;
  }

  .results-heading h2 {
    font-size: 20px;
  }

  .results-heading h2 small {
    margin-left: 5px;
    font-size: 10px;
  }

  .sort-label {
    font-size: 0;
  }

  .sort-label select {
    max-width: 130px;
  }

  .grid {
    gap: 22px 12px;
  }

  .model-art {
    height: 125px;
  }

  .card h3 {
    font-size: 12px;
  }

  .card-description {
    font-size: 10px;
  }

  .price {
    font-size: 19px;
  }

  .seller-line {
    font-size: 9px;
  }

  .delivery-strip {
    flex-direction: column;
    gap: 8px;
    margin-top: 22px;
  }

  .compare-bar {
    width: calc(100% - 24px);
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
  }

  .workspace {
    display: block;
  }

  .side {
    display: flex;
    gap: 5px;
    border: 0;
    padding: 0;
    overflow-x: auto;
    margin-bottom: 15px;
  }

  .side button {
    width: auto;
    white-space: nowrap;
  }

  .side small {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat {
    padding: 13px;
  }

  .stat strong {
    font-size: 23px;
  }

  .panel {
    padding: 14px;
  }

  .form-grid,
  .detail,
  .checklist,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .wide {
    grid-column: auto;
  }

  dialog {
    padding: 22px 18px;
  }

  dialog h2 {
    font-size: 21px;
  }

  .form-foot,
  .row {
    flex-wrap: wrap;
  }

  footer {
    margin: 0 16px;
    padding: 22px 0 30px;
  }

  .page-title h1 {
    font-size: 23px;
  }
}

@media (max-width: 360px) {
  .brand>span {
    display: none;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

/* 高级筛选在手机折叠，主搜索中的软件和分析筛选始终可见。 */
.filter-panel summary {
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
}

.filter-panel summary::-webkit-details-marker {
  display: none;
}

.filter-panel[open] summary span {
  transform: rotate(45deg);
}

.results-heading h2 small {
  white-space: nowrap;
  display: inline-block;
}

@media (max-width: 700px) {
  .filter-sidebar {
    display: block;
  }

  .filter-panel summary {
    margin-bottom: 0;
  }

  .filter-panel[open] summary {
    margin-bottom: 14px;
  }

  .filter-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .filter-fields>.textbtn {
    grid-column: 1 / -1;
    text-align: left;
  }

  .results-heading h2 {
    font-size: 18px;
  }

  footer {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Five-star ratings on product cards and review panels. */
.rating-stars {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.card-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
  font-size: 12px;
  color: #555;
}

.card-rating b {
  color: #111;
}

.star-picker {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 16px;
  margin: 16px 0;
}

.star-picker legend {
  font-weight: 700;
  padding: 0 6px;
}

.star-options {
  display: flex;
  gap: 8px;
}

.star-option {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
}

.star-option input {
  position: absolute;
  opacity: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  cursor: pointer;
}

.star-option span {
  display: block;
  font-size: 38px;
  line-height: 44px;
  width: 44px;
  text-align: center;
  color: #bbb;
  border-radius: 4px;
}

.star-option.selected span {
  color: var(--blue);
}

.star-option input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.star-picker p {
  margin: 8px 0 0;
}

.purchase-review {
  margin-bottom: 10px;
}

.purchase-review p {
  max-width: 320px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.card-rating .rating-empty {
  color: #767676;
  font-weight: 400;
}

.purchase-rating-panel {
  margin: 20px 0;
  padding: 20px;
  background: #f7f9fc;
  border: 1px solid #dce3ef;
  border-radius: 8px;
}

.rating-purchase-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #dce3ef;
}

.rating-purchase-row .primary {
  flex-shrink: 0;
}

@media (max-width: 540px) {
  .rating-purchase-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

.star-picker {
  min-inline-size: 0;
}

@media (max-width: 420px) {
  .star-picker {
    padding: 12px;
  }
  .star-options {
    gap: 3px;
  }
  .star-option input, .star-option span {
    width: 36px;
    height: 44px;
  }
  .star-option span {
    font-size: 32px;
  }
}

.shop-link {
  display: block;
  margin: 10px 0 6px;
  color: #222;
  font-size: 12px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.shop-link span {
  color: #767676;
  margin-right: 4px;
}

.shop-link:hover {
  color: var(--blue);
  text-decoration: underline;
}

.shop-page {
  max-width: 1000px;
  margin: auto;
  padding-bottom: 32px;
}

.shop-page h1 {
  overflow-wrap: anywhere;
}

.shop-page .detail-section p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.product-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 0 48px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 26px;
  color: #777;
  margin-bottom: 24px;
}

.breadcrumbs a {
  font-size: inherit;
  line-height: inherit;
  color: var(--blue);
  text-decoration: none;
}

.product-heading {
  padding: 0;
  display: block;
  border: 0;
  position: static;
}

.account-center-page .page-title h1:not(.workspace-welcome-title) { font-size:23px; }

.account-center-page .page-title h1:not(.workspace-welcome-title),
.product-page .product-heading h1,
.market-page .results-heading h2 {
  font-family: var(--font);
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0;
}

.product-heading h1 {
  margin: 8px 0 20px;
  font-size: 23px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.product-page .detail-section p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.product-page .detail {
  margin-top: 24px;
}

.card a.card-open {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card a.title-link {
  text-decoration: none;
  color: inherit;
}

.card a.title-link:hover {
  color: var(--blue);
}

@media (max-width: 600px) {
  .product-page {
    padding-top: 18px;
  }
  .product-page .row {
    flex-wrap: wrap;
  }
}

.commission-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));
  gap:16px
}

.commission-card {
  border:1px solid #e5e7eb;
  border-radius:8px;
  padding:16px;
  min-width:0;
  overflow-wrap:anywhere
}

.commission-card h3 {
  margin-top:0
}

.commission-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px
}

.commission-actions button {
  white-space:nowrap
}

/* 用户头像与互动评论 */
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: none;
  vertical-align: middle;
}

.avatar-large {
  width: 60px;
  height: 60px;
}

.avatar-button {
  padding: 0;
  border-radius: 50%;
  background: transparent;
}

.avatar-picker {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.avatar-picker label {
  cursor: pointer;
}

.avatar-picker input {
  position: absolute;
  opacity: 0;
  width: 1px;
}

.avatar-picker label > span {
  display: flex;
  justify-content: center;
  padding: 8px;
  border: 2px solid transparent;
  border-radius: 12px;
}

.avatar-picker input:checked + span {
  border-color: var(--blue);
  background: #f5f8ff;
}

.avatar-picker input:focus-visible + span {
  outline: 2px solid var(--blue);
}

.software-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.art-label {
  background: #fff;
  padding: 4px;
  border-radius: 6px;
}

.product-highlights {
  font-size: 12px;
  line-height: 1.6;
  margin: 6px 0;
  color: #333;
  white-space: pre-line;
}

.sales-count {
  margin: 8px 0;
  color: #777;
  font-size: 10px;
}

.comment-thread {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.comment-head {
  display: flex;
  gap: 9px;
  align-items: center;
}

.comment-head small {
  display: block;
  font-size: 10px;
  color: #888;
}

.comment-body {
  color: #222 !important;
  font-size: 13px !important;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 12px 0;
}

.comment-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.like-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  background: none;
  color: #777;
  border-radius: 4px;
  font-size: 12px;
}

.like-button.liked {
  color: var(--blue);
  background: #f3f7ff;
}

.comment-replies {
  margin: 16px 0 0 43px;
  border-left: 2px solid #eee;
  padding-left: 16px;
}

.comment-replies:empty {
  display: none;
}

.comment-replies .comment-item {
  margin: 15px 0;
}

.reply-target {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 8px;
}

.optional-fields {
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 5px;
}

.optional-fields summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.optional-fields[open] summary {
  margin-bottom: 16px;
}

@media (max-width: 700px) {
  .avatar-picker {
    grid-template-columns: repeat(3, 1fr);
  }
  .comment-replies {
    margin-left: 14px;
    padding-left: 12px;
  }
  .account .avatar {
    width: 28px;
    height: 28px;
  }
}


/* Replies retain their actual parent/child structure, with collapsible branches. */
.comment-tree,
.comment-children {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-tree {
  overflow-x: auto;
}

.comment-tree > .comment-node {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.comment-node {
  position: relative;
  min-width: 220px;
}

.comment-node > .comment-item {
  padding: 12px;
  border: 1px solid #e8ebf0;
  border-radius: 8px;
  background: #fff;
}

.reply-branch {
  margin: 8px 0 0 17px;
}

.reply-branch > summary {
  cursor: pointer;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 0;
}

.comment-children {
  margin-top: 4px;
  padding-left: 24px;
}

.comment-children > .comment-node {
  padding: 0 0 12px;
}

.comment-children > .comment-node::before {
  content: '';
  position: absolute;
  left: -24px;
  top: -4px;
  bottom: 0;
  border-left: 2px solid #d7e2f5;
}

.comment-children > .comment-node:last-child::before {
  bottom: auto;
  height: 33px;
}

.comment-children > .comment-node::after {
  content: '';
  position: absolute;
  top: 28px;
  left: -24px;
  width: 24px;
  border-top: 2px solid #d7e2f5;
}

.comment-head > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .reply-branch {
    margin-left: 6px;
  }
  .comment-node > .comment-item {
    padding: 10px;
  }
  .comment-head {
    flex-wrap: wrap;
  }
}

/* Brand masthead and bilingual navigation. */
.utility-bar {
  min-height: 94px;
  gap: 24px;
}

.platform-identity {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-decoration: none;
  color: #111;
  padding: 18px 0;
}

.platform-identity strong {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
}

.platform-identity strong span {
  color: var(--blue);
}

.platform-tagline {
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 1px;
}

.main-nav nav a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  text-transform: uppercase;
}

.main-nav nav a small {
  font-size: 9px;
  letter-spacing: .8px;
  font-weight: 700;
  color: #777;
}

.main-nav nav a.active small {
  color: var(--blue);
}

header button,
#app button,
footer button {
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .utility-bar {
    align-items: flex-start;
    gap: 12px;
  }
  .utility-bar > div {
    gap: 12px;
    padding-top: 22px;
    flex-shrink: 0;
  }
  .platform-tagline {
    font-size: 11px;
    letter-spacing: 0;
  }
  .main-nav nav a small {
    font-size: 8px;
    letter-spacing: .3px;
  }
}

/* Homepage refinement: compact hierarchy and a quiet engineering-grid motif. */
.main-nav > .brand {
  display: none;
}

.main-nav {
  min-height: 68px;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.main-nav nav a {
  padding: 17px 0;
}

.main-nav nav a.active {
  border-color: var(--blue);
}

.platform-identity {
  flex-direction: row;
  align-items: center;
  gap: 22px;
}

.platform-tagline {
  border-left: 1px solid #dce1ea;
  padding-left: 22px;
  max-width: 380px;
}

.market-search {
  position: relative;
  margin-top: 24px;
  padding: 28px 26px 8px;
  border: 1px solid #e3e9f3;
  border-radius: 12px;
  background-color: #fafcff;
  background-image: linear-gradient(90deg, #fafcff 32%, transparent),
    linear-gradient(#1c58e308 1px, transparent 1px),
    linear-gradient(90deg, #1c58e308 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
}

.hero-kicker {
  display: block;
  color: var(--blue);
  font: 700 10px/1.5 monospace;
  letter-spacing: 2px;
  margin-bottom: 9px;
}

.search-intro {
  align-items: flex-end;
  margin-bottom: 22px;
  gap: 20px;
}

.search-intro h1 {
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -.6px;
  line-height: 1.3;
  margin: 0;
}

.search {
  background: #fff;
  border: 1px solid #ced8ec;
  border-radius: 8px;
  box-shadow: 0 4px 16px #15387706;
  grid-template-columns: minmax(160px, 1fr) 170px 180px 160px;
}

.search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #165dff0d;
}

.search-submit {
  border-radius: 5px;
}

.category-strip {
  margin-top: 18px;
}

.delivery-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0 22px;
  font-size: 11px;
  color: #647084;
}

.delivery-bar > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.delivery-bar i {
  font: normal 11px monospace;
  color: var(--blue);
}

.delivery-bar > button {
  margin-left: auto;
  color: #111;
}

.market-layout {
  gap: 26px;
}

.model-art {
  background: linear-gradient(145deg, #fafbfe, #f0f4fa);
  border-color: #e7ecf4;
  border-radius: 8px;
}

.card {
  min-width: 0;
}

@media (max-width: 1050px) {
  .search {
    grid-template-columns: minmax(120px, 1fr) 145px 150px 145px;
  }
  .search-intro > span {
    display: none;
  }
  .platform-identity {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .platform-tagline {
    border: 0;
    padding: 0;
  }
}

@media (max-width: 700px) {
  .main-nav {
    gap: 10px;
  }
  .main-nav nav a {
    padding: 12px 0;
  }
  .market-search {
    padding: 20px 14px 4px;
    margin-top: 16px;
  }
  .search {
    grid-template-columns: 1fr 1fr;
  }
  .search .query-wrap,
  .search-submit {
    grid-column: 1 / -1;
  }
  .search .filter-field {
    padding: 9px;
  }
  .delivery-bar {
    gap: 12px;
    flex-wrap: wrap;
    font-size: 10px;
  }
  .delivery-bar > span:nth-child(3) {
    display: none;
  }
  .popular-searches {
    gap: 12px;
    flex-wrap: wrap;
  }
}

/* October 2026 refinement: engineering editorial, shared marketplace controls. */
:root { --ink:#17212e; --blue:#4464e3; --muted:#697586; --line:#e3e8ef; --surface:#f5f7fa; }
body { color:var(--ink); font-weight:400; }
header,main { max-width:1440px; padding-left:48px; padding-right:48px; }
.utility-bar { min-height:88px; }
.platform-identity strong { font-size:29px; letter-spacing:-1.2px; }
.platform-tagline { font-size:12px; font-weight:500; color:var(--muted); letter-spacing:.5px; }
.main-nav { min-height:68px; }
.main-nav nav a { font-weight:650; }
.main-nav nav a small { font-size:8px; letter-spacing:1px; }
.primary,.secondary { border-radius:7px; min-height:42px; }
.mode { color:#667386; background:#f7f9fc; }
.market-search { margin-top:28px; padding:34px 32px 16px; border-radius:16px; border-color:#e0e7f2; background-color:#f6f9fe; background-image:linear-gradient(90deg,#f6f9fe 38%,transparent),linear-gradient(#4464e309 1px,transparent 1px),linear-gradient(90deg,#4464e309 1px,transparent 1px); background-size:auto,24px 24px,24px 24px; }
.search-intro { align-items:center; gap:32px; margin-bottom:28px; }
.hero-copy { flex:1; min-width:0; }
.hero-kicker { font-size:10px; letter-spacing:2px; margin-bottom:16px; }
.search-intro h1 { font-size:clamp(30px,3.5vw,48px); letter-spacing:-1.7px; line-height:1.22; font-weight:750; }
.search-intro h1 em { font-style:normal; color:var(--blue); }
.hero-description { margin:17px 0 0; color:#667386; font-size:13px; line-height:1.9; }
.hero-blueprint { width:34%; max-width:370px; color:#426ca8; padding:12px 16px; border:1px solid #d6e1f1; border-radius:10px; background:#ffffff75; transform:rotate(-3deg); }
.hero-blueprint svg { display:block; width:100%; height:auto; padding:14px 0; }
.blueprint-label { display:flex; justify-content:space-between; gap:10px; font:9px/1.5 monospace; letter-spacing:1px; }
.search { grid-template-columns:minmax(160px,1fr) 160px 170px 156px; padding:7px; border-radius:10px; border-color:#d7e0ed; box-shadow:0 6px 20px #17386807; }
.search-submit { min-height:52px; border-radius:7px; }
.popular-searches { margin-top:14px; margin-bottom:0; gap:14px; min-height:30px; }
.popular-searches button { border:1px solid #dce4ef; background:#fff; border-radius:5px; padding:3px 10px; font-size:10px; color:#53647b; }
.popular-searches button:hover { color:var(--blue); border-color:var(--blue); }
.category-strip { gap:8px; padding:16px 0 12px; margin-top:10px; }
.category-strip button { padding:9px 18px; border-radius:7px; border:1px solid transparent; color:#657184; font-size:12px; }
.category-strip button.active { background:#17212e; color:white; border-color:#17212e; }
.delivery-bar { padding:12px 0 24px; gap:24px; border-bottom:1px solid var(--line); margin-bottom:28px; }
.market-layout { grid-template-columns:188px minmax(0,1fr); gap:28px; }
.filter-sidebar { border-right:0; padding-right:0; }
.filter-panel { border:1px solid var(--line); border-radius:10px; padding:16px; background:#fafbfd; }
.filter-panel summary { padding-bottom:14px; }
.filter-field select,.price-range input { background:#fff; border-color:#e1e6ee; border-radius:6px; min-height:38px; }
.seller-invite { background:#edf3fe; border:0; border-radius:10px; padding:18px 16px; margin-top:16px; }
.seller-invite b { font-size:13px; }
.seller-invite p { color:#64748b; line-height:1.8; }
.seller-invite .textbtn { color:var(--blue); }
.results-heading { padding:0 0 8px; }
.results-heading h2 { font-size:25px; }
.sort-label select { border-radius:6px; }
.grid { gap:20px; margin-top:16px; }
.card { display:flex; flex-direction:column; overflow:hidden; border:1px solid #e2e7ef; border-radius:12px; transition:border-color .18s,box-shadow .18s; }
.card:hover { border-color:#bccbe4; box-shadow:0 8px 24px #1934530a; }
.card .model-art { border:0; border-bottom:1px solid #edf0f5; border-radius:0; height:185px; background:linear-gradient(145deg,#f8fafd,#edf2f8); }
.card-inner { padding:16px; display:flex; flex-direction:column; flex:1; }
.card-kicker { font-size:10px; align-items:center; }
.card-kicker>span:first-child { color:#45628e; background:#f0f4fb; padding:3px 6px; border-radius:4px; }
.card h3 { font-size:15px; line-height:1.6; margin:12px 0 8px; }
.card-description,.product-highlights { font-size:11px; line-height:1.7; color:#6c7787; }
.shop-link { font-size:11px; margin:8px 0; }
.card-rating { margin-top:4px; gap:6px; flex-wrap:wrap; }
.card .rating-empty { color:#929ba8; }
.card-foot { border-top:1px solid #edf0f5; padding-top:12px; margin-top:auto; }
.card .price { font-size:22px; letter-spacing:-.7px; }
.card .sales-count { font-size:10px; margin-bottom:14px; color:#8791a0; }
.panel,.stat { border-radius:10px; border-color:var(--line); }
.side button.active { border-radius:6px; }
input,select,textarea { border-radius:6px; }
button:disabled { cursor:not-allowed; }
@media (max-width:1100px) {
  header,main { padding-left:28px; padding-right:28px; }
  .search { grid-template-columns:minmax(140px,1fr) 135px 145px 145px; }
  .market-layout { grid-template-columns:172px minmax(0,1fr); gap:20px; }
  .grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  header,main { padding-left:16px; padding-right:16px; }
  .utility-bar { min-height:80px; }
  .platform-identity strong { font-size:23px; }
  .platform-tagline { font-size:10px; }
  .market-search { padding:24px 16px 14px; margin-top:18px; border-radius:12px; }
  .search-intro { margin-bottom:22px; }
  .search-intro h1 { font-size:32px; letter-spacing:-1px; }
  .hero-description { font-size:12px; }
  .hero-blueprint { display:none; }
  .search { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:4px; }
  .search .query-wrap,.search-submit { grid-column:1/-1; }
  .search-submit { min-height:44px; }
  .popular-searches { gap:8px; }
  .category-strip { gap:6px; overflow-x:auto; }
  .category-strip button { padding:8px 12px; flex-shrink:0; }
  .delivery-bar { gap:12px; margin-bottom:18px; padding-bottom:18px; }
  .market-layout { display:block; }
  .filter-panel { padding:12px 14px; margin-bottom:22px; }
  .filter-panel summary { padding-bottom:0; }
  .filter-panel[open] summary { padding-bottom:14px; }
  .results-heading h2 { font-size:22px; }
  .grid { gap:12px; }
  .card-inner { padding:12px; }
  .card .model-art { height:145px; }
  .card h3 { font-size:13px; }
  .card .price { font-size:19px; }
}
@media (max-width:420px) {
  .grid { grid-template-columns:minmax(0,1fr); }
  .card .model-art { height:195px; }
  .card-inner { padding:16px; }
  .card h3 { font-size:15px; }
  .hero-kicker { font-size:8px; letter-spacing:1.3px; }
  .search-intro h1 { font-size:28px; }
  .results-heading { align-items:flex-start; }
  .sort-label { font-size:10px; }
  .results-heading h2 small { display:block; margin-left:0; }
}
@media (prefers-reduced-motion:reduce) { .card,.model-art svg { transition:none; } }

/* Search-first marketplace layout, adapted from the eBay reference. */
.utility-bar { min-height:66px; }
.platform-identity { padding:14px 0; }
.platform-identity strong { font-size:27px; }
.main-nav { min-height:52px; }
.main-nav nav a { padding:12px 0; }
.main-nav nav a small { display:none; }
.market-search { background:none; border:0; margin-top:20px; padding:0; border-radius:0; }
.search { border:2px solid #252525; border-radius:32px; box-shadow:none; padding:5px; grid-template-columns:minmax(150px,1fr) 155px 165px 155px; }
.search-submit { border-radius:26px; white-space:nowrap; font-size:12px; min-height:48px; }
.popular-searches { padding-left:14px; margin-top:8px; }
.popular-searches button { background:none; border:0; padding:2px 5px; }
.category-strip { margin-top:8px; padding:10px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); justify-content:center; }
.category-strip button { border-radius:0; padding:6px 20px; font-size:12px; }
.category-strip button.active { background:none; color:#151515; border-color:transparent; border-bottom:2px solid #151515; }
.market-promo { margin-top:20px; padding:28px 40px; border-radius:16px; background:#fce4d1; overflow:hidden; }
.market-promo .search-intro { margin:0; }
.market-promo .hero-kicker { color:#735440; margin-bottom:12px; }
.market-promo h1 { font-size:clamp(28px,3vw,40px); line-height:1.2; }
.market-promo h1 em { color:#17212e; }
.market-promo .hero-description { margin-top:12px; color:#725b4a; line-height:1.7; }
.market-promo .hero-blueprint { background:#fff9ef80; border-color:#d8bba3; color:#925d39; max-width:390px; width:36%; }
.browse-models { background:#17212e; border-color:#17212e; border-radius:24px; margin-top:16px; padding:9px 24px; }
.browse-models:hover { background:#35475e; }
.software-discovery { padding:28px 0 20px; }
.discovery-heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:20px; }
.discovery-heading h2 { font-size:21px; letter-spacing:-.5px; margin:0; }
.discovery-heading>span { font-size:12px; color:var(--muted); }
.software-browse { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:24px; }
.software-tile { background:transparent; display:flex; flex-direction:column; align-items:center; padding:0 8px; gap:7px; }
.software-orb { display:grid; place-content:center; position:relative; width:114px; height:114px; border-radius:50%; background:#f0f2f5; font:700 29px/1 monospace; letter-spacing:-2px; color:#343e4c; transition:transform .15s; }
.software-orb i { position:absolute; right:19px; bottom:20px; font:14px sans-serif; }
.software-tile:hover .software-orb { transform:translateY(-3px); }
.software-tile strong { font-size:13px; }
.software-tile small { font-size:10px; color:#748091; }
.software-0 .software-orb { background:#fff0bf; color:#775b0d; }
.software-1 .software-orb { background:#dfeafa; color:var(--blue); }
.software-2 .software-orb { background:#e8e0f5; color:#725299; }
.software-3 .software-orb { background:#def0e7; color:#39735a; }
.software-4 .software-orb { background:#f8dfdd; color:#9b4c46; }
.delivery-bar { margin-bottom:24px; padding-top:14px; }
.card { border:0; border-radius:10px; }
.card:hover { box-shadow:none; }
.card .model-art { border-radius:12px; }
.card-inner { padding:14px 2px 0; }
.card h3 { font-weight:650; }
.card-foot { border:0; }
#model-catalog { scroll-margin-top:20px; }
@media (max-width:1100px) {
  .search { grid-template-columns:minmax(120px,1fr) 125px 140px 140px; }
  .market-promo { padding:26px; }
}
@media (max-width:700px) {
  .platform-identity strong { font-size:23px; }
  .main-nav { min-height:unset; }
  .main-nav nav a { padding:10px 0; }
  .search { grid-template-columns:minmax(0,1fr) minmax(0,1fr); border-radius:16px; padding:6px; }
  .search-submit { border-radius:10px; min-height:42px; }
  .popular-searches { padding-left:0; }
  .category-strip { justify-content:flex-start; }
  .category-strip button { padding:7px 12px; }
  .market-promo { margin-top:16px; padding:24px; }
  .market-promo h1 { font-size:30px; }
  .market-promo .hero-description { font-size:11px; }
  .software-discovery { padding:24px 0 16px; }
  .discovery-heading h2 { font-size:18px; }
  .discovery-heading>span { display:none; }
  .software-browse { gap:14px; display:flex; overflow-x:auto; padding:3px 2px 12px; }
  .software-tile { flex:0 0 88px; padding:0; }
  .software-orb { width:82px; height:82px; font-size:23px; }
  .software-orb i { right:12px; bottom:12px; font-size:12px; }
  .software-tile strong { font-size:12px; }
}
@media (prefers-reduced-motion:reduce) { .software-orb { transition:none; } }

/* Screenshot marketplace: one navigation row, compact search and four-column catalog. */
header { max-width:1920px; padding:0 30px; border-bottom:1px solid #edf1f7; }
.market-nav { min-height:76px; display:flex; align-items:center; gap:36px; }
.market-brand { font:600 30px/1 var(--font); letter-spacing:-1.2px; color:#080b10; white-space:nowrap; }
.market-brand span { color:var(--blue); }
.market-tagline { font-size:20px; color:#111; white-space:nowrap; font-family:var(--font); }
.market-nav nav { display:flex; align-self:stretch; align-items:center; gap:38px; }
.market-nav nav a { position:relative; padding:24px 0; font-size:19px; color:#111; white-space:nowrap; }
.market-nav nav a.active:after { content:''; position:absolute; bottom:12px; left:5px; width:30px; height:2px; background:var(--blue); }
.market-account { display:flex; align-items:center; gap:20px; margin-left:auto; white-space:nowrap; }
.icon-button { background:none; color:#6683a6; padding:6px; display:grid; place-items:center; }
.icon-button svg { width:22px; height:22px; }
.account-menu { position:relative; }
.account-menu summary { display:flex; align-items:center; gap:10px; cursor:pointer; list-style:none; color:#58708e; font-weight:600; }
.account-menu summary::-webkit-details-marker { display:none; }
.account-menu .avatar { width:36px; height:36px; }
.account-dropdown { position:absolute; top:48px; right:0; width:165px; background:white; border:1px solid #e3eaf3; border-radius:7px; padding:8px; z-index:20; box-shadow:0 8px 24px #1b3b6814; }
.account-dropdown>* { display:block; text-align:left; width:100%; padding:10px; }
.language-button { font-size:14px; color:#111; }
.market-page main { max-width:1920px; padding:0 30px 40px; }
.market-page .market-search { margin:20px 0; padding:0 0 20px; border-bottom:1px solid #edf1f7; }
.market-page .search { display:grid; grid-template-columns:minmax(180px,1fr) 150px 150px 150px 90px; gap:0; padding:0; border:1px solid #dce7f5; border-radius:7px; box-shadow:0 2px 10px #2a6abe0b; background:#fff; overflow:hidden; }
.market-page .query-wrap { display:flex; align-items:center; min-width:0; padding-left:20px; }
.search-icon { display:flex; color:#6480a4; }
.search-icon svg { width:22px; height:22px; }
.market-page #query { min-height:54px; padding:12px 14px; border:0; background:transparent; font-size:13px; }
.market-page .search-choice { min-width:0; margin:0; border-left:1px solid #edf1f7; }
.market-page .search-choice select { height:54px; border:0; border-radius:0; padding:0 20px; font-size:12px; color:#34445b; background:#fff; }
.market-page .search-submit { min-height:54px; border-radius:5px; background:var(--blue); border-color:var(--blue); }
.market-page .market-layout { display:grid; grid-template-columns:225px minmax(0,1fr); gap:28px; align-items:start; }
.market-page .filter-sidebar { padding:0; border:0; }
.market-page .filter-panel { padding:18px 16px; background:#f7faff; border:1px solid #e0e9f6; border-radius:8px; }
.market-page .filter-panel summary { display:flex; justify-content:space-between; align-items:center; list-style:none; font-size:15px; font-weight:650; padding:0 0 22px; cursor:pointer; }
.filter-panel summary::-webkit-details-marker { display:none; }
.filter-toggle { color:#355981; font-size:20px; font-weight:400; }
.filter-panel:not([open]) summary { padding-bottom:0; }
.filter-group { margin-bottom:22px; }
.filter-group h3 { display:flex; align-items:center; gap:10px; font-size:13px; font-weight:600; margin:0 0 12px; }
.filter-group h3 svg { width:19px; height:19px; color:#5d7fa5; }
.currency-icon { display:inline-grid; place-items:center; width:19px; height:19px; border-radius:50%; background:#718cab; color:#fff; font-size:12px; }
.market-page .filter-field { margin:0 0 10px 28px; }
.filter-field>span:empty { display:none; }
.market-page .filter-field select { font-size:12px; min-height:36px; border:1px solid #dfe8f5; }
.market-page .price-range { display:flex; align-items:center; gap:8px; margin-left:28px; }
.market-page .price-range input { min-width:0; width:calc(50% - 10px); min-height:40px; border:1px solid #dfe8f5; font-size:12px; padding:8px; }
.coin-filter small { display:block; margin:6px 0 0 28px; font-size:10px; color:#8392a6; }
.market-page .reset-filters { margin-left:28px; color:#57739a; }
.market-page .results-heading { display:flex; justify-content:space-between; align-items:center; padding:0; min-height:66px; margin:0 0 14px; }
.market-page .eyebrow { color:#8a9cb6; font-size:10px; letter-spacing:1.4px; }
.market-page .results-heading h2 { font-size:24px; letter-spacing:0; margin:6px 0 0; font-weight:650; }
.market-page .results-heading h2 small { font-size:11px; font-weight:400; color:#8a9bb2; margin-left:16px; }
.market-page .sort-label { display:flex; align-items:center; gap:8px; color:#6b819f; font-size:12px; white-space:nowrap; }
.market-page .sort-label select { width:135px; border:1px solid #e0e9f6; min-height:36px; font-size:12px; }
.market-page .filter-chips:empty,.market-page #sort-note:empty { display:none; }
.market-page .grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin-top:0; }
.market-page .card { border:1px solid #e1eaf6; border-radius:8px; padding:5px; background:white; box-shadow:0 1px 3px #2c548006; }
.market-page .card:hover { border-color:#a9c7f3; box-shadow:0 3px 12px #2c54800b; }
.market-page .card .model-art { height:auto; aspect-ratio:1.95; border:0; border-radius:4px; background:linear-gradient(135deg,#f4f8fc,#e9f0f8); }
.market-page .card-inner { padding:10px 9px 8px; }
.market-page .card h3 { margin:0 0 8px; font-size:14px; font-weight:600; line-height:1.5; }
.market-page .title-link { font-weight:600; color:#1e2b40; }
.product-tags { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:9px; }
.product-tags span { padding:2px 7px; border-radius:4px; background:#edf5ff; color:var(--blue); font-size:10px; line-height:1.6; }
.market-page .product-highlights { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; color:#7c8a9e; font-size:12px; line-height:1.8; height:43px; margin:0 0 10px; }
.market-page .seller-line { flex-wrap:nowrap; align-items:center; gap:6px; }
.market-page .shop-link { display:flex; align-items:center; gap:6px; min-width:0; margin:0; color:#6481a6; font-size:10px; }
.market-page .shop-link span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.market-page .shop-link .avatar { width:22px; height:22px; }
.market-page .sales-count { white-space:nowrap; font-size:10px; margin:0; color:#8c9db4; }
.market-page .card-rating { display:flex; align-items:center; gap:7px; margin:8px 0 12px; font-size:10px; color:#6d87a9; flex-wrap:wrap; }
.market-page .rating-stars { width:85px; height:18px; }
.card-rating i { font-style:normal; color:#c6d1df; }
.market-page .card-foot { border:0; padding:0; margin-top:auto; gap:8px; }
.market-page .price { font-size:19px; font-weight:600; color:#17253c; letter-spacing:0; }
.market-page .price small { font-size:9px; font-weight:400; color:#6e8099; }
.save-product { display:flex; align-items:center; gap:4px; background:none; color:#7691b5; font-size:10px; padding:5px 0; white-space:nowrap; }
.save-product svg { width:17px; height:17px; }
.save-product.saved { color:var(--blue); }
.save-product.saved svg { fill:#eaf2ff; }
.market-page footer { display:none; }
@media(min-width:1600px) { .market-nav { gap:52px; } .market-tagline { font-size:23px; } .market-nav nav { gap:55px; } .market-nav nav a { font-size:23px; } .market-page .market-layout { grid-template-columns:270px minmax(0,1fr); gap:30px; } .market-page .card h3 { font-size:16px; } .market-page .card .model-art { aspect-ratio:2; } }
@media(max-width:1250px) { .market-nav { gap:22px; flex-wrap:wrap; padding:15px 0; } .market-tagline { font-size:15px; } .market-nav nav { gap:22px; } .market-nav nav a { font-size:15px; padding:12px 0; } .market-nav nav a.active:after { bottom:4px; } .market-account { gap:12px; } .market-page .grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .market-page .market-layout { grid-template-columns:190px minmax(0,1fr); gap:20px; } }
@media(max-width:950px) { .market-nav nav { order:3; width:100%; justify-content:center; } .market-page .grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .market-page .search { grid-template-columns:minmax(140px,1fr) 115px 115px 100px 70px; } .market-page .search-choice select { padding:0 8px; } }
@media(max-width:650px) { header,.market-page main { padding-left:14px; padding-right:14px; } .market-nav { gap:12px; } .market-brand { font-size:25px; } .market-tagline { display:none; } .market-nav nav { justify-content:space-between; gap:8px; } .market-nav nav a { font-size:14px; } .market-page .search { grid-template-columns:repeat(3,minmax(0,1fr)); } .market-page .query-wrap { grid-column:1/-1; padding-left:12px; } .market-page .search-choice select { width:100%; height:42px; font-size:11px; } .market-page .search-submit { grid-column:1/-1; min-height:40px; border-radius:0; } .market-page .market-layout { display:block; } .market-page .filter-panel { margin-bottom:18px; } .market-page .filter-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px; } .filter-group { margin-bottom:4px; } .market-page .filter-field,.market-page .price-range { margin-left:0; } .market-page .results-heading h2 { font-size:19px; } .market-page .results-heading h2 small { display:block; margin:3px 0 0; } .market-page .sort-label select { width:100px; } .market-page .grid { gap:10px; } .market-page .card-inner { padding:8px 4px; } .market-page .card h3 { font-size:12px; } .market-page .seller-line { flex-wrap:wrap; } .market-page .price { font-size:16px; } .market-page .card-foot { flex-wrap:wrap; } }
@media(max-width:360px) { .market-page .grid { grid-template-columns:1fr; } }
@media(min-width:1050px) and (max-width:1250px) { .market-page .grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; } }
.market-page .filter-panel summary .filter-toggle { display:inline; font-size:20px; transform:none; }
.market-page .filter-panel summary:after { content:none; }
.market-page .filter-panel[open] summary .filter-toggle { transform:none; }
.market-page .filter-panel .filter-toggle:after { content:none; }
.market-page .price-range input[type=number] { appearance:textfield; -moz-appearance:textfield; }
.market-page .price-range input::-webkit-inner-spin-button { appearance:none; margin:0; }

/* 顶部品牌、平台介绍与主导航统一字体和字号。 */
.market-nav { --nav-font-size:20px; }
.market-brand,
.market-tagline,
.market-nav nav a {
  font-family:var(--font);
  font-size:var(--nav-font-size);
  font-weight:600;
  line-height:1.5;
  letter-spacing:0;
}

.market-page .market-nav nav a,
.market-page .market-brand,
.market-page .market-tagline,
#header .market-nav nav a,
#header .market-brand,
#header .market-tagline {
  font-family: var(--font);
}
.market-nav nav a.active { border-bottom:0; }
@media(max-width:1250px) { .market-nav { --nav-font-size:16px; } }
@media(max-width:650px) { .market-nav { --nav-font-size:14px; } }

/* 首页细化：统一文字层级、控件高度和卡片基线。 */
.market-page {
  --nav-font-size:18px;
  --catalog-muted:#66758a;
  color:#202c3d;
}
.market-page header,
.market-page main { max-width:1760px; padding-left:28px; padding-right:28px; }
.market-page .market-nav {
  --nav-font-size:18px;
  gap:28px;
  min-height:72px;
  padding:0;
}
.market-page .market-nav nav { gap:28px; }
.market-page .market-nav nav a { padding:22px 0; font-size:var(--nav-font-size); font-weight:600; }
.market-page .market-brand,
.market-page .market-tagline { font-size:var(--nav-font-size); }
.market-page .market-nav nav a.active:after { bottom:10px; left:0; width:30px; height:2px; }
.market-page .market-account { gap:16px; font-size:12px; }
.market-page .market-account .textbtn { font-size:12px; }
.market-page .market-search { margin:18px 0; padding-bottom:18px; }
.market-page .search { grid-template-columns:minmax(180px,1fr) 138px 138px 144px 84px; box-shadow:0 1px 6px #254c7908; }
.market-page #query,
.market-page .search-choice select,
.market-page .search-submit { min-height:48px; height:48px; font-size:13px; }
.market-page .search-choice select { padding:0 14px; }
.market-page .query-wrap { padding-left:16px; }
.market-page .market-layout { grid-template-columns:208px minmax(0,1fr); gap:24px; }
.market-page .filter-panel { padding:16px; border-radius:7px; background:#f8fafc; }
.market-page .filter-panel summary { font-size:14px; padding-bottom:18px; }
.market-page .filter-panel:not([open]) summary { padding-bottom:0; }
.market-page .filter-group { margin-bottom:18px; }
.market-page .filter-group h3 { font-size:13px; line-height:20px; gap:8px; margin-bottom:8px; }
.market-page .filter-group h3 svg,
.market-page .currency-icon { width:17px; height:17px; flex-shrink:0; }
.market-page .filter-field { margin:0 0 8px; }
.market-page .filter-field>span { font-size:12px; color:#66758a; font-weight:400; margin:9px 0 5px; }
.market-page .filter-field select { height:36px; min-height:36px; padding:7px 10px; font-size:12px; }
.market-page .price-range { display:grid; grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr); gap:6px; margin:0; }
.market-page .price-range input { width:100%; height:36px; min-height:36px; padding:7px 8px; font-size:12px; font-variant-numeric:tabular-nums; }
.market-page .price-range>span { text-align:center; color:#8b99ac; }
.market-page .coin-filter small { margin:6px 0 0; line-height:1.5; }
.market-page .reset-filters { display:block; margin:2px 0 0; font-size:12px; }
.market-page .results-heading { min-height:58px; margin-bottom:16px; gap:16px; }
.market-page .eyebrow { font-size:10px; line-height:1.4; letter-spacing:1.3px; color:#7e8da3; }
.market-page .results-heading h2 { display:flex; align-items:baseline; gap:14px; flex-wrap:wrap; font-size:23px; line-height:1.4; margin-top:5px; }
.market-page .results-heading h2 small { font-size:12px; margin:0; color:#79879a; }
.market-page .sort-label { font-size:12px; }
.market-page .sort-label select { font-size:12px; width:132px; height:36px; }
.market-page .grid { gap:16px; align-items:stretch; }
.market-page .card { padding:5px; border-color:#e1e7ef; box-shadow:none; border-radius:7px; }
.market-page .card .model-art { aspect-ratio:1.85; }
.market-page .card-inner { padding:10px 8px 9px; gap:0; }
.market-page .card h3 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:0; height:auto; font-size:14px; line-height:21px; margin:0 0 7px; }
.market-page .product-tags { align-content:flex-start; gap:4px; min-height:0; margin:0 0 8px; }
.market-page .product-tags span { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; line-height:18px; padding:1px 6px; border-radius:3px; background:#eff5fd; color:var(--blue); }
.market-page .product-highlights { font-size:12px; line-height:20px; min-height:40px; height:40px; margin:0 0 12px; color:var(--catalog-muted); }
.market-page .seller-line { min-height:22px; gap:8px; }
.market-page .shop-link { font-size:11px; color:#627993; }
.market-page .shop-link .avatar { width:20px; height:20px; flex-shrink:0; }
.market-page .sales-count { font-size:11px; color:#7e8ca0; }
.market-page .card-rating { min-height:20px; gap:6px; margin:9px 0 13px; font-size:11px; line-height:18px; align-content:center; }
.market-page .rating-stars { width:82px; height:18px; flex-shrink:0; }
.market-page .card-foot { min-height:28px; flex-wrap:nowrap; align-items:center; gap:6px; }
.market-page .price { font-size:20px; line-height:1.3; font-variant-numeric:tabular-nums; white-space:nowrap; }
.market-page .price small { font-size:10px; color:#758399; font-weight:400; }
.market-page .save-product { font-size:11px; color:#6e839d; }
.market-page .save-product.saved { color:var(--blue); }
@media(min-width:1600px) {
  .market-page .market-nav { --nav-font-size:20px; gap:36px; }
  .market-page .market-nav nav { gap:36px; }
  .market-page .market-layout { grid-template-columns:228px minmax(0,1fr); }
  .market-page .grid { gap:20px; }
}
@media(max-width:1250px) {
  .market-page .market-nav { --nav-font-size:16px; gap:22px; flex-wrap:wrap; padding:12px 0; min-height:66px; }
  .market-page .market-nav nav { gap:22px; }
  .market-page .market-nav nav a { padding:10px 0; }
  .market-page .market-nav nav a.active:after { bottom:2px; }
  .market-page .market-layout { grid-template-columns:188px minmax(0,1fr); gap:20px; }
  .market-page .grid { gap:14px; }
  .market-page .search { grid-template-columns:minmax(160px,1fr) 120px 120px 130px 76px; }
  .market-page .card-rating { flex-wrap:wrap; min-height:36px; margin:6px 0 9px; }
  .market-page .card-foot { flex-wrap:wrap; }
}
@media(max-width:950px) {
  .product-heading h1,
  .account-center-page .page-title h1:not(.workspace-welcome-title) { font-size:21px; }
  .market-page .market-nav nav { justify-content:flex-start; }
  .market-page .search { grid-template-columns:minmax(120px,1fr) 108px 108px 120px 68px; }
  .market-page .search-choice select { padding:0 8px; font-size:12px; }
  .market-page .results-heading h2 { font-size:21px; gap:5px 10px; }
}
@media(max-width:650px) {
  .product-heading h1,
  .account-center-page .page-title h1:not(.workspace-welcome-title) { font-size:19px; }
  .market-page header,.market-page main { padding-left:14px; padding-right:14px; }
  .market-page .market-nav { --nav-font-size:14px; gap:12px; }
  .market-page .market-nav nav { justify-content:space-between; gap:8px; }
  .market-page .market-nav nav a { padding:8px 0; }
  .market-page .market-account { gap:12px; }
  .market-page .market-search { margin:14px 0; padding-bottom:14px; }
  .market-page .search { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .market-page #query { font-size:12px; }
  .market-page .search-choice select { height:40px; min-height:40px; }
  .market-page .search-submit { height:40px; min-height:40px; }
  .market-page .market-layout { display:block; }
  .market-page .filter-panel { padding:14px; }
  .market-page .filter-fields { gap:14px; }
  .market-page .filter-group { margin-bottom:0; }
  .market-page .results-heading { min-height:62px; gap:10px; margin-bottom:12px; }
  .market-page .results-heading h2 { font-size:19px; }
  .market-page .sort-label { gap:4px; }
  .market-page .sort-label select { width:100px; }
  .market-page .grid { gap:10px; }
  .market-page .card-inner { padding:9px 4px 7px; }
  .market-page .card h3 { font-size:13px; }
  .market-page .seller-line { flex-wrap:wrap; align-content:flex-start; min-height:42px; gap:3px; }
  .market-page .shop-link,.market-page .sales-count { font-size:10px; }
  .market-page .price { font-size:18px; }
  .market-page .price small { font-size:9px; }
  .market-page .card-foot { min-height:46px; align-content:flex-start; gap:4px 8px; }
}

/* 导航只保留一条与文字等宽的蓝色选中线。 */
.market-nav nav a,
.market-nav nav a.active {
  border-bottom:0;
  box-shadow:none;
  text-decoration:none;
}
.market-nav nav a.active::after,
.market-page .market-nav nav a.active::after {
  left:0;
  right:0;
  width:100%;
  height:2px;
  background:var(--blue);
}

/* 卖家发布入口与文章正文。 */
.seller-publish-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:18px; }
.article-body { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.9; }
.article-card { scroll-margin-top:24px; overflow-wrap:anywhere; }
#article-form textarea { min-height:240px; resize:vertical; }

/* 品牌上下排列，右侧导航与品牌区域居中对齐。 */
.market-identity {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  flex-shrink:0;
  text-align:center;
  padding:12px 0;
}
.market-nav,
.market-page .market-nav { align-items:center; min-height:88px; }
.market-nav nav,
.market-page .market-nav nav { align-self:center; }
.market-identity .market-brand,
.market-identity .market-tagline { line-height:1.5; }
@media(max-width:1250px) {
  .market-nav,
  .market-page .market-nav { padding:0; }
}
@media(max-width:650px) {
  .market-identity { align-items:flex-start; text-align:left; gap:2px; padding:12px 0 4px; }
  .market-identity .market-tagline { display:block; white-space:normal; font-size:12px; }
  .market-nav,
  .market-page .market-nav { gap:8px 12px; }
  .market-account { flex-wrap:wrap; }
}

/* Authentication forms keep a single reading order on every screen. */
dialog:has(#login-form), dialog:has(#reset-password-form) {
  width: min(500px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
#login-form .form-grid, #reset-password-form .form-grid { grid-template-columns: 1fr; gap: 14px; }
#login-form input, #reset-password-form input { width: 100%; min-width: 0; }
.verification-row { display: flex; gap: 12px; align-items: end; }
.verification-row label { flex: 1; min-width: 0; }
.verification-row button { min-width: 130px; height: 40px; color: var(--blue); background: #eef4ff; border: 1px solid #d5e2fa; }
.verification-row button:disabled { opacity: 1; color: #61718c; background: #f2f5fa; }
#registration-code-status, #reset-code-status { margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
#registration-code-status:empty, #reset-code-status:empty { display: none; }
#login-form .form-foot, #reset-password-form .form-foot { flex-wrap: wrap; gap: 12px; }

html { overflow-y: scroll; scroll-padding-top: 150px; }
body { overflow-x: clip; }
#header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 #e5eaf2; }
.article-card { scroll-margin-top: 150px; }
.usage-notes { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.9; }
.guide-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.guide-actions>span { overflow-wrap:anywhere; }
.product-cover img { width:100%; height:100%; object-fit:contain; background:#f6f8fc; }
.product-gallery { position:relative; min-width:0; align-self:start; background:#f6f8fc; border:1px solid #e1e7f0; border-radius:10px; overflow:hidden; }
.gallery-stage { aspect-ratio:4/3; }
.gallery-stage img { width:100%; height:100%; object-fit:contain; }
.gallery-stage img[hidden] { display:none; }
.gallery-prev,.gallery-next { position:absolute; top:45%; border:0; border-radius:50%; width:36px; height:36px; padding:0; font-size:28px; background:#ffffffdd; box-shadow:0 2px 8px #17264022; }
.gallery-prev { left:10px; }.gallery-next { right:10px; }
.gallery-dots { display:flex; justify-content:center; gap:8px; padding:10px; }
.gallery-dots button { padding:3px 9px; border-radius:12px; font-size:12px; }
.gallery-dots button[aria-pressed=true] { color:white; background:var(--blue); border-color:var(--blue); }
.upload-image-preview { display:flex; flex-wrap:wrap; gap:10px; }
.upload-image-preview img { width:100px; height:76px; object-fit:contain; border:1px solid #dce4ef; border-radius:6px; background:#f7f9fc; }

/* PPT revision: one shared header and a denser, five-column catalog. */
:root { --blue:#4464e3; }
#header { max-width:none; padding:0 28px; }
#header .market-nav { --nav-font-size:18px; max-width:1864px; margin:auto; min-height:92px; gap:42px; padding:0; flex-wrap:nowrap; align-items:center; }
#header .market-identity { gap:1px; padding:10px 0; }
#header .market-brand { font-size:32px; font-weight:750; line-height:1.25; letter-spacing:-1px; color:#080b10; font-family:var(--font); }
#header .market-brand span { color:var(--blue); }
#header .market-tagline { font-size:14px; font-weight:500; line-height:1.6; color:#000000; font-family:var(--font); }
#header .market-nav nav { display:flex; gap:32px; align-self:center; }
#header .market-nav nav a { font-size:18px; font-weight:600; padding:22px 0; line-height:1.5; white-space:nowrap; font-family:var(--font); }
#header .market-nav nav a.active::after { background:var(--blue); bottom:10px; width:100%; }
#header .market-account { font-size:13px; gap:16px; margin-left:auto; }
#header .market-account .textbtn { font-size:13px; }
.market-page main { max-width:1920px; }
.market-page .market-layout { grid-template-columns:126px minmax(0,1fr); gap:20px; }
.market-page .filter-panel { padding:14px 12px; }
.market-page .grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.market-page footer,#footer { display:flex; max-width:1864px; margin:48px auto 0; padding:26px 28px; border-top:1px solid #e5eaf2; justify-content:space-between; align-items:center; }
#footer .footer-brand { font-size:28px; font-weight:750; letter-spacing:-1px; color:#202c3c; }
.catalog-pagination { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:16px; margin:32px 0 8px; font-size:13px; color:#66758a; }
#model-catalog { scroll-margin-top:110px; }
.product-cover,.model-art { position:relative; }
.art-label { max-width:100px; overflow:hidden; }
.comment-tree { overflow:visible; }
.comment-tree>.comment-node { border-top:1px solid #edf0f4; padding:18px 0; }
.comment-node { min-width:0; }
.comment-node>.comment-item { position:relative; margin:0; padding:0 0 0 46px; border:0; border-radius:0; }
.comment-head { gap:8px; min-height:36px; }
.comment-head>.avatar { position:absolute; left:0; top:0; width:34px; height:34px; }
.comment-head b { font-size:13px; font-weight:600; }
.comment-head small { font-size:11px; color:#8b94a3; }
.comment-head .rating-stars { margin-left:8px; width:80px; }
.comment-body { margin:7px 0 8px; line-height:1.7; }
.comment-actions { justify-content:flex-start; gap:18px; margin-top:3px; }
.comment-actions .like-button { margin-left:auto; }
.comment-actions button { padding:2px 0; font-size:12px; }
.reply-target { margin-top:3px; }
.reply-branch { margin:8px 0 0 46px; }
.reply-branch>summary,.more-comments>summary { font-size:12px; font-weight:500; cursor:pointer; color:var(--blue); padding:5px 0; }
.comment-children { padding-left:0; margin-top:10px; }
.comment-children>.comment-node { padding:0 0 14px; }
.comment-children>.comment-node::before,.comment-children>.comment-node::after { display:none; }
.comment-children .reply-branch { margin-left:0; }
.comment-children .comment-children { padding-left:0; }
.notification-badge { position:absolute; top:-2px; right:-5px; min-width:16px; height:16px; padding:0 4px; background:var(--blue); color:white; border-radius:10px; font-size:10px; line-height:16px; }
.notification-badge[hidden] { display:none; }
.icon-button { position:relative; }
.notification-list { display:grid; gap:8px; max-height:60vh; overflow:auto; }
.notification-item { display:block; width:100%; text-align:left; padding:14px 16px; border:1px solid #e5eaf2; background:white; border-radius:7px; }
.notification-item.unread { background:#f4f7ff; border-left:3px solid var(--blue); }
.notification-item small { display:block; color:#8290a4; font-size:11px; margin-top:2px; }
.notification-item p { font-size:13px; margin:7px 0 0; color:#516078; white-space:pre-wrap; overflow-wrap:anywhere; }
.auth-delivery-notice { padding:10px 12px; background:#f5f7fb; border-radius:6px; color:#66758a; font-size:12px; line-height:1.6; }
.test-account-section { margin-top:24px; padding-top:18px; border-top:1px solid #e5e7eb; }
.test-account-options { display:flex; flex-wrap:wrap; gap:12px; }
.test-account-options button { flex:1 1 130px; }
.policy-consent { display:grid; gap:10px; margin:14px 0; color:var(--muted); font-size:13px; }
.policy-consent label { display:flex; align-items:flex-start; gap:9px; }
.policy-consent input[type="checkbox"] { margin-top:4px; accent-color:var(--blue); }
.policy-consent a { color:var(--blue); text-decoration:underline; text-underline-offset:2px; }
@media(max-width:1100px) {
 #header .market-nav { gap:24px; }
 #header .market-nav nav { gap:22px; }
 #header .market-nav nav a { font-size:16px; }
 #header .market-tagline { font-size:12px; }
 .market-page .market-layout { grid-template-columns:111px minmax(0,1fr); gap:14px; }
 .market-page .grid { gap:10px; }
 .market-page .price { font-size:17px; }
 .market-page .card-foot { flex-wrap:wrap; }
}
@media(max-width:900px) {
 #header .market-nav { flex-wrap:wrap; gap:0 24px; padding-bottom:8px; }
 #header .market-account { margin-left:auto; }
 #header .market-nav nav a { padding:10px 0; }
 #header .market-nav nav a.active::after { bottom:3px; }
 .market-page .grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:650px) {
 #header { padding:0 14px; }
 #header .market-nav { gap:0 12px; }
 #header .market-identity { align-items:flex-start; }
 #header .market-brand { font-size:26px; }
 #header .market-tagline { font-size:11px; }
 #header .market-nav nav { order:3; width:100%; justify-content:space-between; gap:14px; }
 #header .market-nav nav a { font-size:15px; }
 #header .market-account { gap:8px; }
 #header .market-account .textbtn { font-size:11px; }
 .market-page .market-layout { display:block; }
 .market-page .grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .market-page .filter-panel { margin-bottom:14px; }
 #footer { padding:22px 14px; margin-top:28px; gap:18px; align-items:flex-start; }
 .comment-node>.comment-item { padding-left:38px; }
 .comment-head>.avatar { width:28px; height:28px; }
 .reply-branch { margin-left:38px; }
 .verification-row { gap:8px; }
 .verification-row button { min-width:112px; font-size:12px; }
}

/* Product images use a small uppercase software name on white. */
.software-watermark { position:absolute; z-index:2; pointer-events:none; width:auto; max-width:calc(100% - 20px); height:auto; top:3px; right:3px; overflow:hidden; mix-blend-mode:normal; background:white; border-radius:3px; padding:3px 7px; line-height:1.3; box-shadow:0 1px 4px #17264012; }
.software-name { display:block; font-family:Arial,sans-serif; font-size:11px; font-weight:600; letter-spacing:.4px; line-height:1.35; color:#354052; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.art-label { background:white; padding:3px 7px; max-width:calc(100% - 20px); border-radius:3px; }
.product-gallery .software-name { font-size:12px; }
.upload-image-frame { position:relative; width:150px; height:110px; border:1px solid #dce4ef; border-radius:6px; overflow:hidden; background:#f7f9fc; }
.upload-image-frame img { width:100%; height:100%; border:0; border-radius:0; object-fit:contain; }
.upload-image-frame .software-watermark { top:6px; right:6px; padding:2px 5px; }
.upload-image-frame .software-name { font-size:10px; }

/* Shared brand artwork supplied by the owner, including its red dot. */
#header .market-brand { display:block; line-height:0; letter-spacing:normal; }
.simbay-logo { display:block; width:136px; height:auto; max-width:100%; }
#header .simbay-logo { width:95.2px; }
#footer .simbay-logo { width:70px; }
@media(max-width:650px) { #header .simbay-logo { width:79.52px; } }

/* Workspace welcome text stays at 75% of the shared navigation size. */
.page-title .workspace-welcome-title { font-size:13.5px; line-height:1.6; font-weight:600; letter-spacing:0; }
@media(max-width:1100px) { .page-title .workspace-welcome-title { font-size:12px; } }
@media(max-width:650px) { .page-title .workspace-welcome-title { font-size:11.25px; } }

.notification-detail { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.8; padding:16px 0 24px; }

/* Compact desktop filters: 25% narrower with room for price values. */
@media(min-width:651px) {
 .market-page .filter-panel { padding:14px 8px; min-width:0; }
 .market-page .filter-panel summary { font-size:13px; }
 .market-page .filter-field select { padding-left:6px; padding-right:18px; width:100%; min-width:0; }
 .market-page .price-range { grid-template-columns:minmax(0,1fr) 6px minmax(0,1fr); gap:3px; }
 .market-page .price-range input { padding:7px 2px; font-size:11px; min-width:0; }
}

/* Compact comment heading: name and timestamp share one baseline. */
.comment-head .comment-author-line { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 8px; }
.comment-author-line b { font-size:16px; font-weight:650; color:#667587; }
.comment-author-line small { display:inline; font-size:11px; font-weight:400; color:#8b94a3; }
.comment-item .comment-body { margin:10px 0 8px; font-size:15px !important; line-height:1.7; }

.upload-file-list { padding:12px 16px; background:#f6f8fc; border:1px solid #e1e6ef; border-radius:6px; min-width:0; }
.upload-file-list > p { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; margin:0 0 8px; font-size:13px; }
.upload-file-list ol { margin:0; padding-left:22px; }
.upload-file-list li { padding:5px 0; font-size:13px; }
.upload-file-list li span { overflow-wrap:anywhere; }
.upload-file-list li small { margin-left:12px; color:#738096; white-space:nowrap; }

/* Keep the rating and price spacing compact at all screen sizes. */
.market-page .card-rating { min-height:20px; margin:7px 0; }
.market-page .card-foot { margin-top:0; }

#footer .footer-company-line { white-space:nowrap; }

/* Compact refinement controls with a disclosure chevron. */
.market-page .filter-panel summary { padding-bottom:10px; }
.market-page .filter-group { margin-bottom:10px; }
.market-page .filter-group h3 { margin:0 0 5px; line-height:18px; }
.market-page .filter-field { margin-bottom:0; }
.market-page .filter-field select,.market-page .price-range input { height:32px; min-height:32px; padding-top:5px; padding-bottom:5px; }
.market-page .filter-panel summary .filter-toggle { display:inline-flex; align-items:center; font-size:16px; }
.market-page .filter-panel:not([open]) summary .filter-toggle svg { transform:rotate(-90deg); }

#footer .footer-links-line { display:flex; align-items:center; justify-content:flex-end; gap:8px; white-space:nowrap; font-size:12px; color:#999; }
.account-support { margin-top:20px; color:#738096; font-size:13px; }
@media(max-width:650px) { #footer .footer-links-line { gap:5px; font-size:10px; } }

/* Anchor the complete seller/rating/price block to the bottom of each card. */
.market-page .card-summary { margin-top:auto; display:grid; grid-template-rows:22px 34px 28px; }
.market-page .card-summary .seller-line { margin:0; min-height:0; flex-wrap:nowrap; }
.market-page .card-summary .card-rating { display:grid; grid-template-columns:82px minmax(0,1fr); margin:0; min-height:0; align-items:center; align-content:center; }
.market-page .card-summary .card-foot { margin:0; min-height:0; flex-wrap:nowrap; }
.market-page .card .price { font-size:15px; }
@media(max-width:1100px) {
  .market-page .card .price { font-size:12.75px; }
}
@media(max-width:650px) {
  .market-page .card-summary { grid-template-rows:22px 48px 46px; }
  .market-page .card-summary .card-rating { grid-template-columns:1fr; gap:2px; }
  .market-page .card-summary .card-foot { flex-wrap:wrap; align-content:center; }
}
