/* 商城基础样式：主题变量、导航、目录、订单、客服和响应式布局。后加载的 catalog.css 与 product-page.css 细化当前页面，保持 CSS 加载顺序。 */
/* 大众服务站：中文交易商城 */
/* 全站字体、颜色和主题变量。改品牌色优先改 --accent；保留现有变量兼容旧页面组件。 */
:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
    "PingFang SC", sans-serif;
  color: #30343b;
  background: #f5f6f8;
  font-synthesis: none;
  --paper: #fff;
  --white: #fff;
  --ink: #30343b;
  --muted: #65717e;
  --line: #e5e8ed;
  --accent: #ff7a00;
  --green: #ff7a00;
  --green-light: #fff2e7;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 156px;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
button,
a,
summary,
input,
select,
textarea {
  outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
}
svg {
  width: 21px;
  height: 21px;
  display: block;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
img {
  display: block;
  max-width: 100%;
}
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 110;
  transform: translateY(-160%);
  padding: 9px 15px;
  background: var(--accent);
  color: #fff;
}
.skip-link:focus {
  transform: translateY(0);
}
.topbar {
  background: #fafafa;
  border-bottom: 1px solid #eee;
  color: #727b87;
  font-size: 12px;
}
.topbar-inner {
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.topbar-inner > div {
  display: flex;
  align-items: center;
  gap: 23px;
}
.topbar button {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  color: #66717f;
}
.topbar button:first-child {
  color: #d66c13;
}
/* 页头品牌、搜索和订单/购物清单按钮；桌面与移动导航共用这些基础规则。 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #e0e4ea;
}
.header-inner {
  height: 94px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 43px;
  height: 43px;
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 600;
}
.brand strong {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: 1px;
  line-height: 1.35;
}
.brand small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #747d88;
  margin-top: 5px;
}
.header-search {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 650px;
  height: 42px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  padding-left: 12px;
  overflow: hidden;
}
.header-search > [data-icon] {
  color: #838c98;
}
.header-search svg {
  width: 18px;
  height: 18px;
}
.header-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: none;
  padding: 8px 10px;
  font-size: 14px;
  outline: none;
}
input::placeholder,
textarea::placeholder {
  color: #89919d;
}
.header-search button {
  height: 100%;
  padding: 0 27px;
  background: var(--accent);
  color: #fff;
  border: 0;
  letter-spacing: 1px;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
}
.order-button {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  padding: 4px;
  font-size: 13px;
  color: #586572;
  white-space: nowrap;
}
.order-button svg {
  width: 19px;
  height: 19px;
}
.cart-button {
  position: relative;
  width: 34px;
  height: 34px;
  border: 0;
  background: none;
  padding: 6px;
  color: #586572;
}
.cart-count {
  position: absolute;
  top: -3px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  line-height: 14px;
  padding: 0 3px;
}
.icon-button {
  width: 33px;
  height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  padding: 6px;
}
.icon-button:hover {
  background: #f0f3f7;
}
.icon-button.danger:hover {
  background: #fff0e8;
  color: #b65020;
}
.mobile-menu-toggle {
  display: none;
}
/* 主导航栏与移动菜单；显示/收起由 app.js 的 toggleMobileMenu 控制。 */
.navigation-border {
  background: var(--accent);
}
.desktop-nav {
  display: flex;
  align-items: stretch;
  height: 43px;
  color: #fff;
}
.desktop-nav > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  white-space: nowrap;
}
.desktop-nav > [data-footer-category="all"] {
  width: 217px;
}
.desktop-nav .active {
  background: #ef6c00;
  font-weight: 600;
}
.desktop-nav > a:hover {
  background: #ef6c00;
  color: #fff;
}
.nav-support {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}
.nav-support svg {
  width: 17px;
  height: 17px;
}
.mobile-nav {
  padding: 10px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a {
  display: block;
  padding: 9px 0;
}
/* 商城标题、面包屑、结算说明和购买提示区。 */
.page-intro {
  padding: 18px 0 20px;
}
.breadcrumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #758090;
}
.breadcrumbs span:last-child {
  color: #566271;
}
.intro-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.intro-line h1 {
  font-size: 25px;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}
.intro-line p {
  font-size: 13px;
  color: #697584;
  margin: 6px 0 0;
}
.payment-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 17px;
  background: #fff;
  border: 1px solid #dee4eb;
  border-radius: 4px;
}
.usdt-mark {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #279e7b;
  color: #fff;
  font:
    bold 19px Arial,
    sans-serif;
}
.payment-chip strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.payment-chip small {
  display: block;
  font-size: 11px;
  color: #687586;
}
.notice-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fffaf0;
  border: 1px solid #efdfc4;
  border-radius: 4px;
  color: #8b6635;
  font-size: 12px;
}
.notice-bar svg {
  width: 16px;
  height: 16px;
}
.notice-bar button {
  margin-left: auto;
  border: 0;
  background: none;
  padding: 0;
  color: #a65c1a;
  font-size: 12px;
  white-space: nowrap;
}
/* 商家服务承诺条：各项信息按并列网格排列。 */
.service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  padding: 14px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.service-strip > * {
  padding: 0 20px;
  border-right: 1px solid #edf0f3;
}
.service-strip > *:last-child {
  border-right: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.trust-item > [data-icon],
.trust-item > svg {
  color: #dc7821;
}
.trust-item svg {
  width: 25px;
  height: 25px;
}
.trust-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}
.trust-item p,
.trust-item small,
.trust-item > div > span {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  color: #6b7684;
  margin: 2px 0 0;
}
/* 商城主体布局：分类说明侧栏与商品目录并排，窄屏改为单列。 */
.marketplace-layout {
  display: grid;
  grid-template-columns: 217px minmax(0, 1fr);
  gap: 21px;
  padding-top: 21px;
  padding-bottom: 34px;
  align-items: start;
}
.market-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px;
}
.sidebar-panel h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 15px;
  font-size: 14px;
  font-weight: 600;
}
.sidebar-panel h2 svg {
  width: 17px;
  height: 17px;
  color: #e4771c;
}
.category-panel {
  padding: 18px 0 10px;
}
.category-panel h2 {
  padding: 0 18px;
}
.side-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 18px;
  background: none;
  border: 0;
  font-size: 13px;
  color: #526171;
}
.side-filter > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-filter > span:last-child {
  font-size: 11px;
  color: #7c8796;
}
.side-filter svg {
  width: 16px;
  height: 16px;
}
.side-filter.active {
  padding-left: 15px;
  background: #fff4e8;
  border-left: 3px solid var(--accent);
  color: #cf650e;
}
.side-filter.active > span:last-child {
  color: #a86225;
}
.side-filter:hover {
  background: #fff8f0;
}
.sidebar-guide {
  display: flex;
  gap: 9px;
  margin: 16px 0;
}
.sidebar-guide > [data-icon] {
  align-self: flex-start;
  margin-top: 3px;
  color: #77889a;
}
.sidebar-guide svg {
  width: 17px;
  height: 17px;
}
.sidebar-guide strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.sidebar-guide p {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.8;
  color: #657487;
}
.sidebar-link {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  color: #536c88;
}
.sidebar-link:hover {
  color: var(--accent);
}
.sidebar-panel > .sidebar-link {
  width: 100%;
  text-align: left;
  border-top: 1px solid #edf0f3;
  padding-top: 12px;
  margin-top: 6px;
}
.settlement-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.settlement-title strong {
  font-size: 13px;
  font-weight: 600;
}
.settlement-title .usdt-mark {
  width: 23px;
  height: 23px;
  font-size: 17px;
}
.settlement-panel p {
  margin: 14px 0 7px;
  font-size: 13px;
  color: #586777;
}
.wallet-status,
.merchant-info .status {
  display: inline-block;
  margin-bottom: 5px;
  padding: 3px 7px;
  background: #f1f4f7;
  color: #637181;
  border-radius: 3px;
  font-size: 11px;
}
.merchant-panel dl,
.merchant-info dl {
  margin: 0;
}
.merchant-panel dl > div,
.merchant-info dl > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
  font-size: 12px;
}
.merchant-panel dt,
.merchant-info dt {
  color: #687585;
  flex-shrink: 0;
}
.merchant-panel dd,
.merchant-info dd {
  margin: 0;
  color: #404d5d;
  text-align: right;
  overflow-wrap: anywhere;
}
.merchant-info {
  font-size: 12px;
  color: #536171;
}
.merchant-info p {
  margin: 7px 0;
}
.merchant-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  background: #fff6e9;
  color: #99622b;
  font-size: 11px;
  border-radius: 3px;
}
.sidebar-service {
  font-size: 12px;
  color: #536171;
}
.sidebar-service p {
  margin: 7px 0;
}
.service-hours {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #586879;
  font-size: 12px;
  line-height: 1.8;
}
.service-hours svg {
  width: 16px;
  height: 16px;
  color: #db7d29;
}
/* 共享按钮组件：primary 为主操作，outline 为辅助操作；禁用规则见 live.css。 */
.sidebar-service .button {
  width: 100%;
  padding: 7px 10px;
  margin-top: 12px;
  min-height: 36px;
  font-size: 12px;
}
/* 目录筛选、排序与搜索；活动状态与 JS 的 category/searchQuery 对应。 */
.catalog-section {
  min-width: 0;
}
.catalog-tabs {
  display: flex;
  gap: 32px;
  min-height: 53px;
  padding: 0 21px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.filter {
  position: relative;
  padding: 16px 0;
  border: 0;
  background: none;
  color: #626f80;
  white-space: nowrap;
}
.filter span {
  font-size: 11px;
  color: #758191;
  margin-left: 4px;
}
.filter.active {
  color: #d86910;
  font-weight: 600;
}
.filter.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
}
.filter:hover {
  color: var(--accent);
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 21px 0 13px;
}
.catalog-toolbar > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}
.catalog-toolbar h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.catalog-toolbar h2 svg {
  width: 17px;
  height: 17px;
  color: #de7b25;
}
.result-count {
  font-size: 12px;
  color: #687689;
}
.catalog-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}
.sort-label {
  font-size: 12px;
  color: #697889;
}
.sort-control {
  position: relative;
  display: flex;
  align-items: center;
}
.sort-control select {
  appearance: none;
  max-width: 155px;
  padding: 6px 30px 6px 9px;
  border: 1px solid #dce3eb;
  border-radius: 3px;
  background: #fff;
  color: #536478;
  font-size: 12px;
  cursor: pointer;
}
.sort-control > [data-icon] {
  position: absolute;
  right: 8px;
  pointer-events: none;
}
.sort-control svg {
  width: 12px;
  height: 12px;
}
.search-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.search-panel label {
  font-size: 12px;
  color: #5e7087;
  white-space: nowrap;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.search-input-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 13px;
  outline: none;
}
.search-input-wrap svg {
  width: 16px;
  height: 16px;
  color: #6a7c92;
}
.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 19px;
  background: #eef1f5;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  color: #5e6e82;
  font-size: 12px;
}
.list-heading > span:last-child {
  margin-right: 25px;
}
/* 商品卡片布局及图片、描述、价格、详情入口。数量/价格均由接口提供，CSS 只负责展示。 */
.product-grid {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 4px 4px;
}
.product-card {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px 19px;
  border-bottom: 1px solid #e9edf2;
  transition: background 0.15s;
}
.product-card:last-child {
  border-bottom: 0;
}
.product-card:hover {
  background: #fdfdfd;
}
.product-visual {
  width: 104px;
  height: 104px;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  border: 1px solid #e2e8df;
  border-radius: 5px;
  background: #f2f7ef;
  color: #608e58;
}
.product-visual.qq {
  background: #eff5fb;
  border-color: #dfe7f2;
  color: #567ba7;
}
.product-visual.appeal {
  background: #fff6eb;
  border-color: #eee1d1;
  color: #a37742;
}
.product-visual > img {
  width: 104px;
  height: 104px;
  object-fit: cover;
}
.product-visual > svg {
  width: 35px;
  height: 35px;
  margin-bottom: 15px;
}
.platform-label {
  position: absolute;
  bottom: 6px;
  left: 8px;
  right: 8px;
  padding: 2px 3px;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(216, 223, 228, 0.7);
  border-radius: 3px;
  color: #48586b;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
}
.product-main {
  min-width: 0;
  flex: 1;
}
.product-title {
  margin: 0 0 7px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}
.product-title-button {
  font: inherit;
  line-height: inherit;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}
.product-title-button:hover {
  color: var(--accent);
}
.product-description {
  margin: 0 0 9px;
  color: #5d6d80;
  font-size: 13px;
  line-height: 1.7;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product-tags span {
  padding: 2px 6px;
  border: 1px solid #e1e7ee;
  border-radius: 2px;
  background: #f7f9fc;
  color: #5b7089;
  font-size: 11px;
}
.product-tags span:first-child {
  background: #f5f8ef;
  border-color: #e4ead9;
  color: #63754c;
}
.product-meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 10px;
  color: #65778d;
  font-size: 11px;
}
.product-meta-line > span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-meta-line svg {
  width: 13px;
  height: 13px;
}
.product-purchase {
  width: 144px;
  flex-shrink: 0;
  text-align: right;
}
.price-label {
  margin-bottom: 3px;
  color: #68788c;
  font-size: 11px;
}
.product-price {
  font-size: 26px;
  color: #e8700a;
  font-weight: 600;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.product-price small {
  margin-left: 4px;
  color: #627389;
  font-size: 11px;
  font-weight: 500;
}
.price-period {
  display: block;
  margin-top: 4px;
  color: #64788f;
  font-size: 11px;
  font-weight: 400;
}
.view-product {
  min-width: 109px;
  margin-top: 10px;
  padding: 7px 14px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
}
.view-product:hover {
  background: #ef6c00;
  border-color: #ef6c00;
}
.catalog-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0 21px;
  color: #68798e;
  font-size: 11px;
}
.catalog-footer > span:first-child {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.catalog-footer svg {
  width: 14px;
  height: 14px;
  margin-top: 2px;
}
.catalog-footer > span:last-child {
  white-space: nowrap;
}
.empty-results {
  padding: 50px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
}
.empty-results > [data-icon] svg {
  width: 34px;
  height: 34px;
  color: #8a9db5;
}
.empty-results h3 {
  font-size: 18px;
  font-weight: 500;
}
.empty-results p {
  font-size: 14px;
  color: #61758d;
}
.compact-guide,
/* 首页购买步骤与常见问题。details/summary 使用浏览器原生展开行为。 */
.faq-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 21px;
  margin-bottom: 19px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.section-title h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.section-title h2 svg {
  width: 18px;
  height: 18px;
  color: #dc7a25;
}
.section-title > span,
.section-title button {
  font-size: 12px;
  color: #657991;
}
.section-title button {
  border: 0;
  background: none;
  padding: 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 23px;
}
.steps article {
  position: relative;
  padding-left: 33px;
}
.step-number {
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f4f7fb;
  color: #637b99;
  font-size: 12px;
}
.steps h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.steps p {
  margin: 6px 0 0;
  color: #60748e;
  font-size: 11px;
  line-height: 1.8;
}
.faq-list {
  margin-top: 15px;
}
.faq-list details {
  border-top: 1px solid #e9eef4;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  padding: 15px 0;
  font-size: 14px;
  color: #4d617b;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary svg {
  width: 14px;
  height: 14px;
  color: #7287a4;
  transition: transform 0.2s;
}
.faq-list details[open] summary svg {
  transform: rotate(45deg);
}
.faq-list p {
  margin: 0 20px 17px 0;
  color: #5e728b;
  font-size: 13px;
  line-height: 1.9;
}
/* 页脚商家信息、说明入口和公开客服时间。 */
.site-footer {
  padding-top: 31px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 35px;
  padding-bottom: 29px;
}
.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
  font-size: 20px;
  border-radius: 4px;
}
.footer-brand .brand strong {
  font-size: 18px;
}
.footer-brand p {
  margin: 13px 0 0;
  color: #65768d;
  font-size: 12px;
}
.footer-brand .footer-disclaimer {
  margin-top: 7px;
  color: #718096;
  font-size: 11px;
}
.footer-column h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
}
.footer-column a,
.footer-column button {
  display: block;
  margin: 9px 0;
  padding: 0;
  border: 0;
  background: none;
  color: #64768f;
  font-size: 12px;
}
.footer-column button:hover {
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #e9eef4;
  padding: 17px 0;
  color: #6b7c95;
  font-size: 11px;
}
.footer-payment {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-payment .usdt-mark {
  width: 17px;
  height: 17px;
  font-size: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
}
.button.primary {
  background: var(--accent);
  color: #fff;
}
.button.primary:hover {
  background: #ed7000;
  color: #fff;
}
.button.outline {
  background: #fff;
  border-color: #d8e1ed;
  color: #536b88;
}
.button.outline:hover {
  background: #f4f7fb;
}
.full-button {
  width: 100%;
  margin-top: 15px;
}
/* 原生付款浮层及遮罩；普通订单与客服页使用独立 content-page。 */
dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  overflow: auto;
  border: 1px solid #dce2e9;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 75px #14243235;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #1c283b80;
}
.dialog-shell {
  position: relative;
  padding: 28px;
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #f2f4f7;
}
.dialog-shell h2 {
  margin: 4px 32px 12px 0;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.45;
}
.dialog-shell h2 [data-icon] {
  vertical-align: -2px;
  margin-right: 6px;
  color: #d7731d;
}
.dialog-shell h2 svg {
  width: 22px;
  height: 22px;
}
.dialog-shell p {
  font-size: 14px;
  color: #5e6d80;
}
.dialog-shell h3 {
  font-size: 16px;
  font-weight: 600;
}
.dialog-kicker {
  margin-bottom: 8px;
  font-size: 12px;
  color: #9b5e2c;
}
.detail-subtitle {
  margin: 0 0 20px;
  line-height: 1.8;
}
.detail-visual {
  width: 100%;
  height: 140px;
  margin: 16px 0 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f5f7fa;
}
.detail-visual .app-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  color: #768eab;
}
.detail-visual svg {
  width: 35px;
  height: 35px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 23px;
  align-items: start;
  margin: 18px 0 22px;
}
.detail-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 1px solid #e1e5eb;
  border-radius: 5px;
  background: #f6f8fb;
}
.detail-layout .detail-visual {
  width: 200px;
  height: 200px;
  margin: 0;
}
.detail-summary {
  min-width: 0;
}
.detail-summary h3 {
  margin: 0 0 8px;
}
.detail-summary p {
  margin: 6px 0 10px;
}
.detail-summary .product-price {
  margin-top: 12px;
}
.detail-summary .spec-grid {
  margin-top: 12px;
}
.detail-summary .spec-item {
  padding: 9px 10px;
  font-size: 12px;
}
/* 商品详情章节定位按钮与文字说明，data-detail-section 与章节 id 对应。 */
.detail-tabs {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
  padding: 0 14px;
}
.detail-tabs a,
.detail-tabs button {
  flex-shrink: 0;
  padding: 11px 0;
  font-size: 13px;
  color: #53677f;
  border: 0;
  background: none;
}
.detail-tabs a:hover,
.detail-tabs button:hover {
  color: #d76f16;
}
.detail-section {
  padding-top: 19px;
  margin-top: 7px;
  scroll-margin-top: 18px;
  border-top: 1px solid #edf0f4;
}
.detail-section:first-of-type {
  border-top: 0;
}
.detail-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 11px;
  font-size: 15px;
  font-weight: 600;
}
.detail-heading svg {
  width: 18px;
  height: 18px;
  color: #d97a29;
}
.detail-list,
.readiness-list {
  margin: 10px 0 16px;
  padding-left: 20px;
  color: #53677f;
  font-size: 13px;
  line-height: 1.9;
}
.detail-list li,
.readiness-list li {
  margin: 5px 0;
}
.detail-section p {
  margin: 8px 0;
  line-height: 1.85;
}
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 4px;
}
.spec-item {
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: #44546a;
  font-size: 13px;
}
.spec-item span {
  display: block;
  margin-bottom: 3px;
  color: #6b7a8e;
  font-size: 11px;
}
.demo-notice,
.chat-system-note {
  margin-top: 18px;
  padding: 12px 14px;
  background: #f4f6f9;
  border: 1px solid #e5eaf1;
  border-radius: 4px;
  color: #5d7088;
  font-size: 12px;
  line-height: 1.85;
}
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.dialog-actions .button {
  min-height: 43px;
}
.policy-copy {
  color: #53667e;
  font-size: 14px;
  line-height: 1.9;
}
.policy-copy ul {
  padding-left: 20px;
}
.policy-copy li {
  margin: 9px 0;
}
.policy-copy p {
  line-height: 1.9;
}
.term-picker {
  display: flex;
  gap: 10px;
  margin: 14px 0;
}
.term-picker button {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #dce4ed;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
}
.term-picker button.selected {
  background: #fff5ea;
  color: #ae6124;
  border-color: #efc49c;
}
/* 购物清单条目及数量控件；输入数量限制由 JS 与 Java 后端共同校验。 */
.cart-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.cart-row .mini-emblem {
  padding: 11px;
  background: #f2f5f9;
  border-radius: 6px;
  color: #7288a7;
}
.cart-row img.mini-emblem,
.mini-emblem img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  padding: 0;
  border-radius: 4px;
}
.cart-row-info {
  min-width: 0;
  flex: 1;
}
.cart-row-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.cart-row-info small {
  color: #65798f;
  font-size: 11px;
}
.cart-row-price {
  color: #dc721c;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}
.cart-row-price small {
  color: #60748c;
  font-size: 11px;
}
.quantity-controls {
  display: flex;
  align-items: center;
  width: max-content;
  margin-top: 8px;
  border: 1px solid #dbe4ee;
  border-radius: 4px;
  font-size: 12px;
}
.quantity-controls button {
  width: 28px;
  height: 26px;
  border: 0;
  background: none;
}
.quantity-controls span {
  padding: 0 8px;
}
.cart-empty {
  padding: 35px 0;
  text-align: center;
}
.cart-empty > [data-icon] svg {
  width: 43px;
  height: 43px;
  color: #8b9cb2;
}
.cart-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  margin-top: 22px;
  font-size: 14px;
}
.cart-summary strong {
  color: #e7700c;
  font-size: 27px;
}
.cart-summary small {
  font-size: 12px;
  font-weight: 500;
}
.quantity-limit,
.cart-recommend {
  margin: 10px 0 0;
  color: #64788b;
  font-size: 12px;
}
/* 表单字段、勾选确认和输入约束提示；提交事件在 app.js/live.js 统一绑定。 */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 17px;
  color: #536983;
  font-size: 12px;
  cursor: pointer;
}
.checkbox-label input {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.form-field {
  display: block;
  margin-top: 17px;
  font-size: 13px;
  color: #445971;
}
.form-field input,
.form-field textarea,
.form-field select {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #d8e1ec;
  border-radius: 4px;
  padding: 10px 12px;
  background: #fff;
  color: #303e50;
  font-size: 14px;
}
.form-field textarea {
  resize: vertical;
  min-height: 105px;
}
.form-error {
  color: #b24d25 !important;
  font-size: 12px !important;
}
.success-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 4px auto 20px;
  border-radius: 50%;
  background: #eff6e7;
  color: #698744;
}
.success-mark svg {
  width: 31px;
  height: 31px;
}
.order-success {
  text-align: center;
}
.order-success h2 {
  margin-right: 0;
}
.order-id {
  padding: 11px 12px;
  border-radius: 4px;
  background: #f3f6fa;
  color: #526984;
  font:
    13px ui-monospace,
    "Cascadia Mono",
    monospace;
  overflow-wrap: anywhere;
  user-select: all;
}
/* 订单卡片与编号、状态、备注及查询入口。 */
.order-card {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #dfe5ed;
  border-radius: 5px;
  background: #fff;
}
.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: #5f7590;
}
.order-status {
  padding: 3px 8px;
  border-radius: 3px;
  background: #fff6e8;
  color: #966326;
  font-size: 11px;
}
.order-card h3 {
  margin: 11px 0 8px;
  font-size: 14px;
}
.order-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 13px;
}
.order-card button {
  padding: 3px 0;
  border: 0;
  background: none;
  color: #c46b26;
  font-size: 12px;
}
.order-help-record {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #e1e7ef;
  border-radius: 4px;
  background: #f6f8fb;
  color: #536b89;
  font-size: 12px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.lookup-form {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}
.lookup-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #dbe3ed;
  border-radius: 4px;
  padding: 9px 12px;
  font-size: 13px;
}
.lookup-form button {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 12px;
}
.help-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 21px;
}
.help-options button {
  padding: 16px;
  border: 1px solid #dce4ee;
  border-radius: 4px;
  background: #fff;
  text-align: left;
  font-size: 14px;
  color: #405873;
}
.help-options button:hover {
  background: #fff9f2;
  border-color: #e8c8a6;
}
.help-options span {
  display: block;
  margin-top: 5px;
  color: #657b96;
  font-size: 12px;
}
/* 收款地址、网络和金额展示；地址来源 dist/config.js 的公开配置。 */
.wallet-box {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #dce4ed;
  border-radius: 5px;
  background: #f7f9fc;
}
.wallet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.wallet-header > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wallet-header svg {
  width: 18px;
  height: 18px;
}
.network-tag {
  border-radius: 3px;
  padding: 3px 7px;
  background: #eaf4ee;
  color: #557b60;
  font-size: 11px;
}
.wallet-address {
  margin-top: 13px;
  padding: 13px;
  border: 1px solid #dce4ee;
  border-radius: 4px;
  background: #fff;
  color: #536982;
  font:
    13px ui-monospace,
    "Cascadia Mono",
    monospace;
  overflow-wrap: anywhere;
  user-select: all;
}
.wallet-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: #63778f;
  font-size: 11px;
}
.wallet-actions button {
  flex-shrink: 0;
  padding: 5px 10px;
  border: 1px solid #d6e1ee;
  border-radius: 4px;
  background: #fff;
  color: #5a718e;
  font-size: 11px;
}
.payment-amount {
  margin: 18px 0;
  color: #e77210;
  font-size: 35px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}
.payment-amount small {
  margin-left: 7px;
  font-size: 15px;
}
.payment-warning {
  padding: 12px 14px;
  border: 1px solid #ecd8be;
  border-radius: 4px;
  background: #fff8eb;
  color: #8d632e;
  font-size: 12px;
  line-height: 1.9;
}
/* 临时操作结果提示；内容由 showToast 更新并按计时自动隐藏。 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  z-index: 110;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border-radius: 5px;
  box-shadow: 0 8px 25px #173c3326;
  background: #404e63;
  color: #fff;
  font-size: 14px;
  text-align: center;
}
.floating-support {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid #e56d0b;
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 5px 18px #a65e1630;
  font-size: 13px;
  font-weight: 500;
}
.floating-support:hover {
  background: #ed7000;
}
.floating-support svg {
  width: 22px;
  height: 22px;
}
/* 顾客客服标题、消息气泡、历史滚动区和发送表单。 */
.support-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-right: 25px;
  margin-bottom: 17px;
}
.support-header > [data-icon],
.support-header > svg {
  color: #d9731d;
}
.support-header > [data-icon] svg,
.support-header > svg {
  width: 31px;
  height: 31px;
}
.support-header h2 {
  margin: 0 0 2px;
  font-size: 21px;
}
.support-header p {
  margin: 0;
  font-size: 12px;
}
.support-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: #687991;
  font-size: 11px;
}
.support-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ed9b34;
}
.chat-log {
  max-height: 330px;
  min-height: 170px;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid #e0e6ee;
  border-radius: 5px;
  background: #f5f7fa;
  overscroll-behavior: contain;
}
.chat-bubble {
  width: fit-content;
  max-width: 87%;
  padding: 10px 13px;
  margin: 0 0 12px;
  border: 1px solid #e0e5eb;
  border-radius: 6px;
  background: #fff;
  color: #43566f;
  font-size: 13px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.chat-bubble.user {
  margin-left: auto;
  background: #fff1e1;
  border-color: #efd6b8;
  color: #89501e;
}
.chat-bubble.assistant {
  margin-right: auto;
}
.chat-bubble p {
  margin: 0;
  font-size: inherit;
  color: inherit;
}
.chat-meta {
  margin: 5px 0 12px;
  color: #718098;
  font-size: 11px;
}
.chat-bubble .chat-meta {
  display: block;
  margin: 6px 0 0;
  font-size: 10px;
  opacity: 0.85;
}
.chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.chat-quick-actions button {
  padding: 6px 10px;
  border: 1px solid #dce3ed;
  border-radius: 4px;
  background: #fff;
  color: #576f8d;
  font-size: 12px;
}
.chat-quick-actions button:hover {
  background: #fff8f0;
  border-color: #e8c49e;
  color: #a96629;
}
.chat-form {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 15px;
}
.chat-form textarea {
  flex: 1;
  min-width: 0;
  min-height: 74px;
  max-height: 170px;
  resize: vertical;
  border: 1px solid #d7e1ed;
  border-radius: 4px;
  background: #fff;
  padding: 10px 12px;
  color: #40536d;
  font-size: 13px;
  line-height: 1.75;
}
.chat-form button {
  flex-shrink: 0;
  align-self: flex-end;
  min-height: 39px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  padding: 8px 19px;
  font-size: 13px;
}
.chat-form button:hover {
  background: #ed7000;
}
.chat-system-note {
  margin-top: 13px;
  padding: 10px 12px;
  font-size: 11px;
}

/* 第三方兑换入口：宽屏侧边，普通屏幕在内容末尾展示 */
/* 公开 USDT 平台入口卡片，宽屏侧边展示、窄屏调整位置。 */
.exchange-rail {
  position: fixed;
  top: 280px;
  width: 130px;
  z-index: 8;
}
.exchange-left {
  left: max(4px, calc((100vw - 1560px) / 2 + 4px));
}
.exchange-right {
  right: max(4px, calc((100vw - 1560px) / 2 + 4px));
}
.exchange-inline {
  display: none;
}
.exchange-poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  position: relative;
  border-radius: 5px;
  border: 1px solid #34383d;
  padding: 15px 10px 13px;
  background: #17191e;
  color: #fff;
  box-shadow: 0 3px 12px #15233e10;
}
.exchange-poster.binance {
  background: linear-gradient(155deg, #181a20 0%, #181a20 64%, #302b19 100%);
  border-color: #383629;
  color: #f6cc43;
}
.exchange-poster.okx {
  background: linear-gradient(155deg, #111 0%, #1a1d1b 70%, #1c3023 100%);
  color: #fff;
}
.exchange-tag {
  display: inline-block;
  font-size: 10px;
  color: #b4b8c0;
  line-height: 1.7;
  letter-spacing: 0.5px;
}
.exchange-brand {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 7px 0 0;
  letter-spacing: 0.5px;
}
.exchange-poster.okx .exchange-brand {
  font-size: 18px;
}
.exchange-art {
  width: 96px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 7px 0 2px;
  overflow: hidden;
}
.exchange-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.exchange-poster h3 {
  font-size: 16px;
  line-height: 1.5;
  margin: 3px 0 6px;
  font-weight: 600;
}
.exchange-poster p {
  font-size: 11px;
  line-height: 1.8;
  margin: 0 0 10px;
  color: #d6d7da;
}
.exchange-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 7px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  background: #f5c743;
  color: #282319;
}
.exchange-poster.okx .exchange-cta {
  background: #b4f0bd;
  color: #122218;
}
.exchange-cta svg {
  width: 12px;
  height: 12px;
}
.exchange-poster small {
  font-size: 9px;
  line-height: 1.8;
  color: #a8afb9;
  margin-top: 11px;
}
.exchange-poster:hover {
  color: inherit;
  filter: brightness(1.04);
}
.exchange-poster.binance:hover {
  color: #f6cc43;
}
.exchange-poster.okx:hover {
  color: #fff;
}

/* 屏幕宽度不超过 1559px 时的布局调整；媒体规则的包含关系是合法 CSS 语法。 */
@media (max-width: 1559px) {
  .exchange-rail {
    display: none;
  }
  .exchange-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 0;
    margin-bottom: 30px;
  }
  .exchange-inline .exchange-poster {
    display: grid;
    grid-template-columns: 95px 1fr 130px;
    grid-template-rows: auto auto auto;
    column-gap: 18px;
    padding: 17px 20px;
    min-height: 133px;
    text-align: left;
    align-items: center;
  }
  .exchange-inline .exchange-art {
    grid-column: 1;
    grid-row: 1/4;
    width: 90px;
    height: 90px;
    margin: 0;
  }
  .exchange-inline .exchange-tag {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }
  .exchange-inline .exchange-brand {
    grid-column: 2;
    grid-row: 2;
    font-size: 19px;
    margin: 1px 0 3px;
  }
  .exchange-inline .exchange-poster h3 {
    grid-column: 2;
    grid-row: 3;
    font-size: 14px;
    margin: 0 0 3px;
    align-self: start;
  }
  .exchange-inline .exchange-poster p {
    display: none;
  }
  .exchange-inline .exchange-cta {
    grid-column: 3;
    grid-row: 1/3;
    font-size: 12px;
    padding: 8px;
    align-self: center;
  }
  .exchange-inline .exchange-poster small {
    grid-column: 3;
    grid-row: 3;
    margin: 2px 0 0;
    font-size: 9px;
    align-self: start;
  }
}
/* 屏幕宽度不超过 1100px 时的布局调整；媒体规则的包含关系是合法 CSS 语法。 */
@media (max-width: 1100px) {
  .header-inner {
    gap: 24px;
  }
  .brand strong {
    font-size: 22px;
  }
  .header-actions {
    gap: 10px;
  }
  .desktop-nav > a {
    padding: 0 19px;
    font-size: 13px;
  }
  .marketplace-layout {
    gap: 17px;
  }
  .service-strip > * {
    padding: 0 14px;
  }
  .catalog-tabs {
    gap: 23px;
    padding: 0 16px;
  }
  .product-card {
    padding: 20px 16px;
    gap: 14px;
  }
  .product-title {
    font-size: 16px;
  }
  .product-purchase {
    width: 124px;
  }
  .product-meta-line {
    gap: 8px 10px;
  }
  .steps {
    gap: 13px;
  }
  .steps article {
    padding-left: 29px;
  }
  .exchange-inline .exchange-poster {
    grid-template-columns: 70px 1fr 106px;
    column-gap: 12px;
    padding: 14px;
  }
  .exchange-inline .exchange-art {
    width: 65px;
    height: 80px;
  }
  .exchange-inline .exchange-brand {
    font-size: 18px;
  }
}
/* 屏幕宽度不超过 850px 时的布局调整；媒体规则的包含关系是合法 CSS 语法。 */
@media (max-width: 850px) {
  .container {
    width: calc(100% - 36px);
  }
  .header-inner {
    height: 83px;
    gap: 18px;
  }
  .brand strong {
    font-size: 19px;
  }
  .brand small {
    font-size: 10px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  .order-button > span:last-child {
    display: none;
  }
  .header-actions {
    gap: 7px;
  }
  .desktop-nav > a {
    padding: 0 18px;
    font-size: 12px;
  }
  .desktop-nav > [data-footer-category="all"] {
    width: auto;
  }
  .nav-support {
    display: none;
  }
  .marketplace-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 15px;
  }
  .sidebar-panel {
    padding: 15px;
  }
  .category-panel {
    padding: 17px 0 10px;
  }
  .category-panel h2 {
    padding: 0 15px;
  }
  .side-filter {
    padding: 11px 14px;
    font-size: 12px;
  }
  .side-filter.active {
    padding-left: 11px;
  }
  .service-strip {
    grid-template-columns: 1fr 1fr;
    gap: 12px 0;
  }
  .service-strip > *:nth-child(2) {
    border-right: 0;
  }
  .catalog-tabs {
    gap: 17px;
    padding: 0 12px;
  }
  .filter {
    font-size: 12px;
  }
  .filter span {
    font-size: 10px;
  }
  .catalog-toolbar > div:first-child {
    display: block;
  }
  .result-count {
    font-size: 11px;
  }
  .sort-label {
    display: none;
  }
  .product-card {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 18px 13px;
    gap: 12px;
  }
  .product-main {
    flex-basis: calc(100% - 117px);
  }
  .product-purchase {
    margin-left: 116px;
    width: calc(100% - 116px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
  }
  .price-label {
    display: none;
  }
  .product-price {
    font-size: 23px;
  }
  .view-product {
    min-width: 96px;
    margin-top: 0;
    padding: 6px 10px;
  }
  .list-heading > span:last-child {
    margin-right: 0;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-top {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 25px;
  }
  .footer-column:last-child {
    grid-column: 2/4;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-column:last-child h3,
  .footer-column:last-child button {
    margin: 0;
  }
  .exchange-inline {
    gap: 14px;
  }
  .exchange-inline .exchange-poster {
    grid-template-columns: 55px 1fr;
    column-gap: 11px;
    padding: 14px;
    min-height: 145px;
  }
  .exchange-inline .exchange-art {
    width: 55px;
    height: 75px;
    grid-row: 1/4;
  }
  .exchange-inline .exchange-brand {
    font-size: 17px;
  }
  .exchange-inline .exchange-cta {
    grid-column: 1/3;
    grid-row: 4;
    margin-top: 10px;
  }
  .exchange-inline .exchange-poster small {
    grid-column: 1/3;
    grid-row: 5;
    margin-top: 6px;
  }
}
/* 屏幕宽度不超过 600px 时的布局调整；媒体规则的包含关系是合法 CSS 语法。 */
@media (max-width: 600px) {
  html {
    scroll-padding-top: 158px;
  }
  .container {
    width: calc(100% - 28px);
  }
  .topbar-inner {
    height: 29px;
    font-size: 10px;
  }
  .topbar button {
    font-size: 10px;
  }
  .topbar-inner > div {
    gap: 13px;
  }
  .header-inner {
    height: 106px;
    position: relative;
    align-items: flex-start;
    padding-top: 13px;
    gap: 15px;
  }
  .brand strong {
    font-size: 20px;
  }
  .brand small {
    font-size: 9px;
    margin-top: 3px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 23px;
  }
  .header-actions {
    align-self: flex-start;
    margin-top: 2px;
    gap: 6px;
  }
  .cart-button {
    width: 29px;
    height: 29px;
    padding: 4px;
  }
  .cart-button svg {
    width: 20px;
    height: 20px;
  }
  .order-button {
    padding: 4px;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    width: 28px;
    height: 29px;
  }
  .header-search {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    max-width: none;
    height: 35px;
  }
  .header-search input {
    padding: 8px;
    font-size: 12px;
  }
  .header-search button {
    padding: 0 17px;
    font-size: 12px;
  }
  .header-search svg {
    width: 15px;
    height: 15px;
  }
  .desktop-nav {
    height: 37px;
    overflow-x: auto;
    white-space: nowrap;
  }
  .desktop-nav > a {
    padding: 0 17px;
    flex-shrink: 0;
    font-size: 11px;
  }
  .page-intro {
    padding: 15px 0 17px;
  }
  .breadcrumbs {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .intro-line {
    gap: 12px;
  }
  .intro-line h1 {
    font-size: 22px;
  }
  .intro-line p {
    font-size: 12px;
    margin-top: 5px;
  }
  .payment-chip {
    display: none;
  }
  .notice-bar {
    align-items: flex-start;
    gap: 6px;
    padding: 9px 10px;
    font-size: 11px;
    line-height: 1.8;
  }
  .notice-bar svg {
    width: 14px;
    height: 14px;
    margin-top: 3px;
  }
  .notice-bar button {
    display: none;
  }
  .service-strip {
    margin-top: 12px;
    padding: 12px 0;
    gap: 12px 0;
  }
  .service-strip > * {
    padding: 0 11px;
  }
  .trust-item {
    gap: 7px;
    align-items: flex-start;
  }
  .trust-item svg {
    width: 20px;
    height: 20px;
    margin-top: 2px;
  }
  .trust-item strong {
    font-size: 12px;
  }
  .trust-item p,
  .trust-item small,
  .trust-item > div > span {
    font-size: 10px;
    line-height: 1.7;
  }
  .marketplace-layout {
    display: block;
    padding-top: 15px;
    padding-bottom: 21px;
  }
  .market-sidebar {
    display: none;
  }
  .catalog-tabs {
    justify-content: space-between;
    gap: 0;
    padding: 0 12px;
    min-height: 43px;
  }
  .filter {
    padding: 13px 0;
    font-size: 11px;
  }
  .filter span {
    margin-left: 2px;
    font-size: 9px;
  }
  .catalog-toolbar {
    margin: 16px 0 11px;
    gap: 12px;
  }
  .catalog-toolbar > div:first-child {
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .catalog-toolbar h2 {
    font-size: 13px;
  }
  .catalog-toolbar h2 svg {
    width: 15px;
    height: 15px;
  }
  .result-count {
    font-size: 10px;
  }
  .sort-control select {
    max-width: 109px;
    padding: 5px 23px 5px 8px;
    font-size: 10px;
  }
  .sort-control > [data-icon] {
    right: 6px;
  }
  .sort-control svg {
    width: 11px;
    height: 11px;
  }
  .list-heading {
    padding: 8px 12px;
    font-size: 10px;
  }
  .product-card {
    padding: 16px 12px;
    gap: 11px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .product-visual,
  .product-visual > img {
    width: 82px;
    height: 82px;
  }
  .product-visual {
    border-radius: 4px;
  }
  .product-visual > svg {
    width: 29px;
    height: 29px;
  }
  .platform-label {
    left: 5px;
    right: 5px;
    bottom: 5px;
    padding: 1px 2px;
    font-size: 9px;
  }
  .product-main {
    flex-basis: calc(100% - 94px);
  }
  .product-title {
    margin-bottom: 6px;
    font-size: 15px;
  }
  .product-description {
    margin-bottom: 8px;
    font-size: 12px;
  }
  .product-tags {
    gap: 5px;
  }
  .product-tags span {
    padding: 2px 5px;
    font-size: 10px;
  }
  .product-meta-line {
    gap: 6px 9px;
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.8;
  }
  .product-meta-line > span:last-child {
    display: none;
  }
  .product-meta-line svg {
    width: 11px;
    height: 11px;
  }
  .product-purchase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: calc(100% - 93px);
    margin-left: 93px;
    text-align: left;
  }
  .product-price {
    font-size: 23px;
    line-height: 1.3;
  }
  .product-price small {
    font-size: 10px;
  }
  .view-product {
    min-width: 87px;
    margin-top: 0;
    padding: 6px 12px;
    font-size: 11px;
  }
  .catalog-footer {
    gap: 10px;
    padding: 12px 0 17px;
    font-size: 10px;
  }
  .catalog-footer svg {
    width: 12px;
    height: 12px;
  }
  .compact-guide,
  .faq-section {
    padding: 16px;
    margin-bottom: 14px;
  }
  .section-title h2 {
    font-size: 14px;
  }
  .section-title > span,
  .section-title button {
    font-size: 10px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 19px;
    margin-top: 19px;
  }
  .steps article {
    padding-left: 29px;
  }
  .step-number {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .steps h3 {
    font-size: 12px;
  }
  .steps p {
    font-size: 11px;
  }
  .faq-list summary {
    padding: 14px 0;
    font-size: 13px;
  }
  .faq-list p {
    font-size: 12px;
  }
  .site-footer {
    padding-top: 24px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding-bottom: 23px;
  }
  .footer-brand {
    grid-column: 1/3;
  }
  .footer-brand .brand strong {
    font-size: 17px;
  }
  .footer-brand p {
    margin-top: 12px;
    font-size: 11px;
  }
  .footer-brand .footer-disclaimer {
    font-size: 10px;
  }
  .footer-column h3 {
    margin-bottom: 12px;
    font-size: 12px;
  }
  .footer-column a,
  .footer-column button {
    font-size: 12px;
  }
  .footer-column:last-child {
    grid-column: 1/3;
    gap: 16px;
  }
  .footer-column:last-child h3 {
    font-size: 12px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 15px;
    padding: 16px 0 72px;
    font-size: 10px;
  }
  .footer-bottom > span:nth-child(2) {
    width: 100%;
    order: 3;
  }
  .footer-payment {
    margin-left: auto;
    font-size: 10px;
  }
  dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 24px);
    border-radius: 6px;
  }
  .dialog-shell {
    padding: 29px 17px 22px;
  }
  .dialog-close {
    right: 9px;
    top: 9px;
  }
  .dialog-shell h2 {
    font-size: 21px;
  }
  .dialog-shell p {
    font-size: 13px;
  }
  .dialog-kicker {
    font-size: 11px;
  }
  .detail-layout {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
  }
  .detail-image,
  .detail-layout .detail-visual {
    width: 100px;
    height: 100px;
  }
  .detail-summary h3 {
    font-size: 14px;
  }
  .detail-summary p {
    font-size: 12px;
  }
  .detail-summary .product-price {
    font-size: 23px;
  }
  .detail-summary .spec-grid {
    grid-template-columns: 1fr;
  }
  .detail-tabs {
    gap: 20px;
    padding: 0 10px;
  }
  .detail-tabs a,
  .detail-tabs button {
    font-size: 12px;
  }
  .detail-section {
    padding-top: 16px;
  }
  .detail-heading {
    font-size: 14px;
  }
  .detail-list,
  .readiness-list {
    font-size: 12px;
  }
  .spec-item {
    padding: 10px;
    font-size: 12px;
  }
  .spec-item span {
    font-size: 10px;
  }
  .demo-notice,
  .payment-warning {
    padding: 11px 12px;
    font-size: 12px;
  }
  .dialog-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
  }
  .dialog-actions .button {
    width: 100%;
  }
  .cart-row {
    gap: 10px;
    flex-wrap: wrap;
  }
  .cart-row-info strong {
    font-size: 12px;
  }
  .cart-row-info small {
    font-size: 10px;
  }
  .cart-row .mini-emblem {
    padding: 8px;
  }
  .mini-emblem svg {
    width: 18px;
    height: 18px;
  }
  .cart-row img.mini-emblem,
  .mini-emblem img {
    width: 36px;
    height: 36px;
    padding: 0;
  }
  .cart-row-price {
    font-size: 14px;
  }
  .cart-row-price small {
    font-size: 9px;
  }
  .cart-row > .icon-button {
    width: 25px;
  }
  .cart-summary {
    font-size: 12px;
  }
  .cart-summary strong {
    font-size: 24px;
  }
  .checkbox-label {
    font-size: 12px;
  }
  .help-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .wallet-header {
    flex-wrap: wrap;
    font-size: 12px;
  }
  .wallet-box {
    padding: 14px;
  }
  .wallet-address {
    font-size: 11px;
  }
  .wallet-actions {
    align-items: flex-start;
    font-size: 10px;
  }
  .wallet-actions button {
    font-size: 10px;
  }
  .payment-amount {
    font-size: 31px;
  }
  .order-card-header,
  .order-card-footer {
    flex-wrap: wrap;
  }
  .lookup-form {
    gap: 7px;
  }
  .lookup-form input {
    padding: 9px;
    font-size: 11px;
  }
  .lookup-form button {
    padding: 8px 12px;
    font-size: 11px;
  }
  .button {
    font-size: 13px;
  }
  .form-field {
    font-size: 12px;
  }
  .form-field input,
  .form-field textarea,
  .form-field select {
    font-size: 13px;
  }
  .price-period {
    font-size: 11px;
  }
  .floating-support {
    right: 14px;
    bottom: 16px;
    min-height: 39px;
    padding: 8px 12px;
    gap: 6px;
    font-size: 12px;
  }
  .floating-support svg {
    width: 19px;
    height: 19px;
  }
  .toast {
    bottom: 72px;
    font-size: 12px;
    padding: 11px 15px;
  }
  .support-header {
    gap: 9px;
    margin-bottom: 14px;
  }
  .support-header h2 {
    font-size: 19px;
  }
  .support-header > [data-icon] svg,
  .support-header > svg {
    width: 27px;
    height: 27px;
  }
  .chat-log {
    padding: 12px;
    max-height: 300px;
    min-height: 150px;
  }
  .chat-bubble {
    max-width: 92%;
    padding: 9px 11px;
    font-size: 12px;
  }
  .chat-quick-actions {
    gap: 6px;
  }
  .chat-quick-actions button {
    padding: 5px 8px;
    font-size: 11px;
  }
  .chat-form {
    gap: 7px;
    margin-top: 12px;
  }
  .chat-form textarea {
    min-height: 75px;
    padding: 8px 10px;
    font-size: 12px;
  }
  .chat-form button {
    padding: 8px 12px;
    font-size: 12px;
  }
  .chat-system-note {
    font-size: 10px;
  }
  .exchange-inline {
    gap: 10px;
    margin-bottom: 23px;
  }
  .exchange-inline .exchange-poster {
    grid-template-columns: 43px minmax(0, 1fr);
    column-gap: 7px;
    padding: 11px 10px;
  }
  .exchange-inline .exchange-art {
    width: 43px;
    height: 65px;
  }
  .exchange-inline .exchange-tag {
    font-size: 9px;
  }
  .exchange-inline .exchange-brand,
  .exchange-inline .exchange-poster.okx .exchange-brand {
    font-size: 15px;
  }
  .exchange-inline .exchange-poster h3 {
    font-size: 12px;
  }
  .exchange-inline .exchange-cta {
    font-size: 11px;
    padding: 7px 5px;
  }
  .exchange-inline .exchange-poster small {
    font-size: 9px;
    line-height: 1.7;
  }
}
/* 屏幕宽度不超过 360px 时的布局调整；媒体规则的包含关系是合法 CSS 语法。 */
@media (max-width: 360px) {
  .container {
    width: calc(100% - 20px);
  }
  .brand strong {
    font-size: 18px;
  }
  .topbar-inner > div {
    gap: 8px;
  }
  .catalog-tabs {
    padding: 0 9px;
  }
  .filter {
    font-size: 10px;
  }
  .product-card {
    padding: 14px 10px;
    gap: 9px;
  }
  .product-main {
    flex-basis: calc(100% - 92px);
  }
  .product-purchase {
    width: calc(100% - 91px);
    margin-left: 91px;
    gap: 7px;
  }
  .product-title {
    font-size: 14px;
  }
  .product-price {
    font-size: 21px;
  }
  .view-product {
    min-width: 76px;
    padding: 6px 8px;
  }
  .service-strip > * {
    padding: 0 8px;
  }
  .trust-item {
    gap: 6px;
  }
  .exchange-inline .exchange-poster {
    padding: 10px 8px;
    grid-template-columns: 35px minmax(0, 1fr);
  }
  .exchange-inline .exchange-art {
    width: 35px;
    height: 62px;
  }
  .exchange-inline .exchange-brand,
  .exchange-inline .exchange-poster.okx .exchange-brand {
    font-size: 14px;
  }
}
/* 系统请求减少动画时关闭平滑滚动与过渡，提高无障碍可用性。 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.merchant-panel dd small {
  display: block;
  color: #687585;
  font-size: 11px;
}
.exchange-domain {
  display: block;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.service-hours {
  display: block;
}
.dialog-close {
  position: sticky;
  top: 12px;
  right: auto;
  float: right;
  margin: -12px -12px 0 0;
  z-index: 5;
  background: #f1f4f8;
}
