/* ============================================================
   燃·出品 IGNITE — 新中式文玩雅物 H5（移动端 + PC 端）
   设计系统：Obsidian Ember（炭黑底 / 火焰红橙 / 暖金 / 米白）
   ============================================================ */

:root {
  --bg: #0B0B0D;
  --bg-2: #111115;
  --surface: #15151A;
  --surface-2: #1D1D24;
  --surface-3: #26262E;
  --line: rgba(242, 179, 61, 0.16);
  --line-strong: rgba(242, 179, 61, 0.34);

  --primary: #E8471F;
  --primary-2: #FF7A2F;
  --gold: #F2B33D;
  --gold-2: #FFD98A;
  --ink: #F5F0E6;
  --ink-2: #CFC8BA;
  --muted: #8E887B;
  --ok: #5BBF8A;

  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .45);
  --glow: 0 0 0 1px rgba(242,179,61,.18), 0 10px 30px rgba(232,71,31,.18);

  --container: 1200px;
  --gutter: 16px;
  --header-h: 60px;
  --tabbar-h: 62px;
  --sticky-h: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tabbar-h) + var(--sticky-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); font-weight: 600; letter-spacing: .02em; }
p { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[hidden] { display: none !important; }

/* ---------- 通用元件 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--sm { padding: 8px 14px; font-size: 12px; }
.btn--lg { padding: 14px 28px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%); box-shadow: 0 8px 24px rgba(232, 71, 31, .35); }
.btn--primary:hover { box-shadow: 0 10px 30px rgba(232, 71, 31, .5); }
.btn--gold { color: #1a1206; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%); box-shadow: 0 8px 24px rgba(242,179,61,.3); }
.btn--ghost { color: var(--gold-2); border: 1px solid var(--line-strong); background: rgba(242, 179, 61, .05); }
.btn--ghost:hover { background: rgba(242, 179, 61, .12); }
.btn--dark { color: var(--ink); background: var(--surface-3); border: 1px solid var(--line); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.chip { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: 11px; letter-spacing: .08em; background: rgba(232, 71, 31, .16); color: #FF9A6B; border: 1px solid rgba(232,71,31,.3); white-space: nowrap; }
.chip--gold { background: rgba(242, 179, 61, .12); color: var(--gold); border-color: rgba(242,179,61,.3); }
.chip--ok { background: rgba(91,191,138,.12); color: var(--ok); border-color: rgba(91,191,138,.3); }
.chip--muted { background: var(--surface-3); color: var(--ink-2); border-color: transparent; }
.link { color: var(--gold); font-size: 13px; white-space: nowrap; }
.link:hover { color: var(--gold-2); }
.price { color: var(--gold); font-family: var(--font-serif); font-weight: 700; }
.price small { font-family: var(--font-sans); font-weight: 400; color: var(--muted); font-size: .7em; margin-left: 4px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 12px; letter-spacing: .22em; color: var(--gold); }
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px var(--primary); }
.progress { height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--gold)); transition: width .6s ease; }
.divider { height: 1px; background: var(--line); margin: 20px 0; }
.note { font-size: 12px; color: var(--muted); line-height: 1.7; }
.empty { text-align: center; color: var(--muted); padding: 44px 16px; font-size: 14px; }
.empty .btn { margin-top: 14px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 13, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 10px; height: var(--header-h); }
.back { display: grid; place-items: center; width: 36px; height: 36px; margin-left: -8px; border-radius: 50%; color: var(--ink-2); }
.back:hover { background: var(--surface-2); color: var(--gold); }
.header--sub .brand__text { display: none; }
.header__title { font-family: var(--font-serif); font-size: 17px; font-weight: 600; flex: 1; text-align: center; margin-right: 44px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header--sub .header__tools { display: none; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__logo { height: 44px; width: auto; filter: drop-shadow(0 0 10px rgba(232,71,31,.45)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-serif); font-size: 18px; font-weight: 700; letter-spacing: .06em; }
.brand__sub { font-size: 10px; letter-spacing: .2em; color: var(--gold); margin-top: 3px; }
.nav { display: none; }
.header__tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.search { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); width: 140px; transition: width .25s ease, border-color .2s; margin: 0; }
.search:focus-within { border-color: var(--line-strong); color: var(--gold); }
.search .icon { width: 16px; height: 16px; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font-size: 13px; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.icon-btn { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); }
.icon-btn:hover { background: var(--surface-2); color: var(--gold); }
.badge { position: absolute; top: 3px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.header__publish { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero__glow--a { width: 420px; height: 420px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(232,71,31,.75), transparent 65%); }
.hero__glow--b { width: 360px; height: 360px; left: -140px; bottom: -120px; background: radial-gradient(circle, rgba(242,179,61,.45), transparent 65%); }
.hero__grain { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(180deg, rgba(11,11,13,0) 60%, var(--bg) 100%); background-size: 3px 3px, 100% 100%; }
.hero__inner { position: relative; display: flex; flex-direction: column; gap: 26px; padding: 34px var(--gutter) 28px; }
.hero__title { font-size: clamp(34px, 9vw, 48px); line-height: 1.15; font-weight: 700; }
.hero__title em { font-style: normal; background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 70%, var(--gold-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__desc { color: var(--ink-2); margin: 16px 0 22px; max-width: 520px; font-size: 14px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 22px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-serif); font-size: 24px; color: var(--gold-2); line-height: 1; }
.hero__stats strong small { font-size: 12px; margin-left: 2px; color: var(--gold); }
.hero__stats span { font-size: 12px; color: var(--muted); margin-top: 6px; letter-spacing: .1em; }
.hero__visual { position: relative; }
.hero__frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #2a1912 0%, #120d0b 55%, #0B0B0D 100%); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.hero__logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; filter: drop-shadow(0 0 24px rgba(232,71,31,.45)); animation: breathe 4.5s ease-in-out infinite; z-index: 1; }
.hero__beads { position: absolute; left: -6%; right: -6%; bottom: -8%; height: 46%; opacity: .5; pointer-events: none; }
.hero__beads svg { width: 100%; height: 100%; }
@keyframes breathe { 0%,100% { filter: drop-shadow(0 0 18px rgba(232,71,31,.35)); } 50% { filter: drop-shadow(0 0 34px rgba(242,179,61,.55)); } }
.hero__tag { position: absolute; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; background: rgba(11,11,13,.8); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); font-size: 12px; z-index: 2; }
.hero__tag-label { color: var(--gold); letter-spacing: .15em; font-size: 10px; }
.hero__tag strong { font-family: var(--font-serif); font-size: 13px; }
.hero__tag .price { font-size: 16px; }
.hero__ticker { position: relative; border-top: 1px solid var(--line); overflow: hidden; background: rgba(21,21,26,.6); }
.ticker__track { display: flex; gap: 48px; width: max-content; padding: 10px 0; animation: ticker 32s linear infinite; }
.ticker__track span { font-size: 12px; letter-spacing: .2em; color: var(--muted); white-space: nowrap; }
.ticker__track span::before { content: "◆"; color: var(--primary); font-size: 8px; margin-right: 14px; vertical-align: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 页面头图（子页） ---------- */
.pagehero { position: relative; overflow: hidden; padding: 30px 0 26px; border-bottom: 1px solid var(--line); background: radial-gradient(90% 120% at 100% 0%, rgba(232,71,31,.22), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(242,179,61,.14), transparent 60%), var(--bg); }
.pagehero__title { font-size: 28px; line-height: 1.2; }
.pagehero__title em { font-style: normal; color: var(--gold); }
.pagehero__desc { color: var(--ink-2); margin-top: 10px; font-size: 14px; max-width: 620px; }
.pagehero__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- Section ---------- */
.section { padding: 34px 0 10px; }
.section--tight { padding-top: 20px; }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); padding-bottom: 30px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section__title { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.section__title .bar { width: 4px; height: 20px; border-radius: 2px; background: linear-gradient(180deg, var(--gold), var(--gold-2)); }
.section__title .bar--red { background: linear-gradient(180deg, var(--primary), var(--primary-2)); }
.section__sub { margin: 6px 0 0; color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.section__meta { color: var(--muted); font-size: 12px; letter-spacing: .15em; white-space: nowrap; }
.chip + .section__title { margin-top: 8px; }

/* ---------- 四大入口 ---------- */
.entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.entry { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 6px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; overflow: hidden; transition: transform .2s, border-color .2s; }
.entry::before { content: ""; position: absolute; inset: auto -30% -70% -30%; height: 100%; border-radius: 50%; background: radial-gradient(circle, var(--c) 0%, transparent 65%); opacity: .18; }
.entry--samples { --c: #F2B33D; } .entry--presale { --c: #FF7A2F; } .entry--auction { --c: #E8471F; } .entry--custom { --c: #FFD98A; }
.entry:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.entry__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: rgba(255,255,255,.03); border: 1px solid var(--line-strong); }
.entry strong { font-family: var(--font-serif); font-size: 14px; }
.entry small { font-size: 10px; color: var(--muted); letter-spacing: .02em; display: none; }
.consign-bar { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: var(--radius); background: linear-gradient(90deg, rgba(232,71,31,.18), rgba(242,179,61,.08)); border: 1px solid var(--line-strong); }
.consign-bar__icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(232,71,31,.4); }
.consign-bar__text { display: flex; flex-direction: column; flex: 1; }
.consign-bar__text strong { font-family: var(--font-serif); font-size: 15px; }
.consign-bar__text small { font-size: 11px; color: var(--ink-2); }
.consign-bar__arrow { color: var(--gold); font-size: 18px; }

/* ---------- 分类 ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cat { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .2s, border-color .2s, background .2s; overflow: hidden; }
.cat::after { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 90%; border-radius: 50%; background: radial-gradient(circle, var(--c, var(--primary)) 0%, transparent 65%); opacity: 0; transition: opacity .3s; }
.cat:hover, .cat.is-active { transform: translateY(-2px); border-color: var(--line-strong); background: var(--surface-2); }
.cat:hover::after, .cat.is-active::after { opacity: .22; }
.cat__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.08), rgba(0,0,0,.2)); border: 1px solid var(--line-strong); color: var(--gold); }
.cat__name { font-family: var(--font-serif); font-size: 15px; font-weight: 600; }
.cat__desc { font-size: 11px; color: var(--muted); letter-spacing: .05em; }

/* ---------- 筛选 / Tabs ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 14px; margin-bottom: 6px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; font-size: 13px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.filter.is-active { background: rgba(232,71,31,.14); border-color: rgba(232,71,31,.45); color: #FF9A6B; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 18px; }
.tab { flex: 1; padding: 9px 8px; border-radius: 9px; font-size: 13px; color: var(--muted); text-align: center; transition: all .2s; }
.tab.is-active { background: var(--surface-3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.tab b { display: inline-block; margin-left: 4px; font-size: 11px; color: var(--gold); }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.seg button { padding: 8px 18px; border-radius: 999px; font-size: 13px; color: var(--muted); }
.seg button.is-active { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }

/* ---------- 样品卡 ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.product { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.product:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--glow); }
.product__media { position: relative; aspect-ratio: 1; overflow: hidden; background: #0e0e11; }
.product__media svg { width: 100%; height: 100%; display: block; transition: transform .6s ease; }
.product:hover .product__media svg { transform: scale(1.06) rotate(-2deg); }
.product__tag { position: absolute; left: 8px; top: 8px; }
.product__fav { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(11,11,13,.65); color: var(--ink-2); border: 1px solid rgba(255,255,255,.08); z-index: 2; }
.product__fav .icon { width: 16px; height: 16px; }
.product__fav.is-on { color: var(--primary); }
.product__fav.is-on .icon { fill: var(--primary); }
.product__body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product__name { font-family: var(--font-serif); font-size: 14px; line-height: 1.45; font-weight: 600; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product__meta { font-size: 11px; color: var(--muted); }
.product__foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); }
.product__price small { color: var(--muted); font-size: 10px; margin-right: 4px; }
.product__price .price { font-size: 17px; }
.product__sold { font-size: 11px; color: var(--muted); }
.product__sold.is-hot { color: #FF9A6B; }

/* ---------- 预售卡 ---------- */
.presale { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.presale:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.presale.is-soldout { opacity: .7; }
.presale__media { position: relative; aspect-ratio: 16 / 10; }
.presale__media svg { width: 100%; height: 100%; display: block; }
.presale__tag { position: absolute; left: 10px; top: 10px; }
.presale__cd { position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column; align-items: flex-end; padding: 6px 10px; border-radius: 8px; background: rgba(11,11,13,.8); border: 1px solid var(--line-strong); }
.presale__cd i { font-style: normal; font-size: 10px; color: var(--muted); letter-spacing: .1em; }
.presale__cd b { font-family: var(--font-serif); font-size: 15px; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.presale__cd b.is-urgent, .auction__cd b.is-urgent { color: #FF7A2F; }
.presale__body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.presale__name { font-size: 15px; line-height: 1.45; }
.presale__price { display: flex; align-items: baseline; gap: 10px; }
.presale__price .price { font-size: 20px; }
.presale__price small { font-size: 12px; color: var(--muted); }
.presale__meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.presale__btn { align-self: flex-start; }
.presale--compact { flex: 0 0 78%; max-width: 340px; scroll-snap-align: start; }

/* ---------- 拍卖卡 ---------- */
.auction { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.auction:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.auction.is-ended { opacity: .72; }
.auction__media { position: relative; aspect-ratio: 16 / 10; }
.auction__media svg { width: 100%; height: 100%; display: block; }
.auction__src { position: absolute; left: 10px; top: 10px; }
.auction__cd { position: absolute; right: 10px; top: 10px; display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(232,71,31,.9); color: #fff; font-size: 12px; }
.auction__cd .icon { width: 14px; height: 14px; }
.auction__cd b { font-variant-numeric: tabular-nums; font-weight: 600; }
.auction__cd.is-ended { background: var(--surface-3); color: var(--muted); }
.auction__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.auction__name { font-size: 15px; line-height: 1.45; }
.auction__row { display: flex; align-items: baseline; justify-content: space-between; }
.auction__label { font-size: 12px; color: var(--muted); }
.auction__price { font-size: 22px; }
.auction__meta { display: flex; gap: 12px; font-size: 11px; color: var(--muted); }
.auction__btn { align-self: flex-start; }
.auction--compact { flex: 0 0 78%; max-width: 340px; scroll-snap-align: start; }

/* ---------- 横向滚动 ---------- */
.scroller { display: flex; gap: 14px; overflow-x: auto; padding: 4px var(--gutter) 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }

/* ---------- 匠人 ---------- */
.artisan { flex: 0 0 82%; max-width: 360px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.artisan:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.artisan__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.artisan__media svg { width: 100%; height: 100%; display: block; }
.artisan__media .chip { position: absolute; left: 12px; bottom: 12px; }
.artisan__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.artisan__name { font-size: 17px; }
.artisan__quote { margin: 0; padding-left: 12px; border-left: 2px solid var(--primary); font-family: var(--font-serif); font-style: italic; color: var(--gold-2); font-size: 14px; }
.artisan__desc { margin: 0; color: var(--ink-2); font-size: 13px; }

/* ---------- 文章 ---------- */
.articles { display: flex; flex-direction: column; gap: 12px; }
.article { display: grid; grid-template-columns: 1fr 96px; gap: 14px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.article:hover { border-color: var(--line-strong); background: var(--surface-2); }
.article__title { font-size: 15px; margin-top: 8px; line-height: 1.45; }
.article__meta { margin: 8px 0 0; color: var(--muted); font-size: 11px; display: flex; gap: 10px; }
.article__media { width: 96px; height: 76px; border-radius: 10px; overflow: hidden; }
.article__media svg { width: 100%; height: 100%; display: block; }

/* ---------- 定制案例 ---------- */
.cases { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ccase { display: grid; grid-template-columns: 120px 1fr; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.ccase__media svg { width: 100%; height: 100%; display: block; }
.ccase__body { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.ccase__title { font-size: 15px; }
.ccase__meta { font-size: 11px; color: var(--gold); }
.ccase__desc { font-size: 12px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ccase__foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 8px; font-size: 11px; color: var(--muted); }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 10px; counter-reset: s; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-serif); font-weight: 700; color: var(--gold-2); background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.08), rgba(0,0,0,.25)); border: 1px solid var(--line-strong); }
.step h3 { font-size: 15px; }
.step p { font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.flow { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.flow__item { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-2); text-align: center; flex: 1; }
.flow__item i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; background: var(--surface-3); border: 1px solid var(--line-strong); color: var(--gold); }
.flow__item.is-on i { background: var(--primary); color: #fff; border-color: transparent; }
.flow__arrow { color: var(--muted); font-size: 12px; }

/* ---------- 表单 ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 13px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: baseline; }
.field__label b { color: var(--primary-2); font-weight: 400; margin-left: 2px; }
.field__label small { color: var(--muted); font-size: 11px; }
.input, .textarea, .select { width: 100%; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); outline: 0; transition: border-color .2s; -webkit-appearance: none; appearance: none; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--line-strong); }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.textarea { min-height: 96px; resize: vertical; }
.select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.input-group { display: flex; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.input-group .input { border: 0; background: none; flex: 1; }
.input-group span { padding: 0 14px; color: var(--muted); font-size: 13px; border-left: 1px solid var(--line); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); transition: all .2s; }
.choice input:checked + span { background: rgba(232,71,31,.16); border-color: rgba(232,71,31,.5); color: #FF9A6B; }
.range { width: 100%; accent-color: var(--primary); }
.range-out { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.range-out b { color: var(--gold); font-family: var(--font-serif); font-size: 16px; }
.upload { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.upload__cell { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px dashed var(--line-strong); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 11px; text-align: center; padding: 6px; }
.upload__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.upload__cell input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload__cell .icon { color: var(--gold); }
.upload__cell .del { position: absolute; right: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; font-size: 14px; line-height: 1; z-index: 2; }
.upload__hint { font-size: 11px; color: var(--muted); margin-top: 8px; }
.agree { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--muted); }
.agree input { margin-top: 3px; accent-color: var(--primary); }
.agree a { color: var(--gold); }
.card { padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card + .card { margin-top: 12px; }
.card__title { font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kv li { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 12px; color: var(--muted); }
.kv li b { display: block; color: var(--ink); font-weight: 500; margin-top: 2px; font-size: 13px; }
.rows li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.rows li:last-child { border-bottom: 0; }
.rows li span:first-child { color: var(--muted); }

/* ---------- 详情页 ---------- */
.detail__media { position: relative; aspect-ratio: 1; background: #0e0e11; }
.detail__media svg { width: 100%; height: 100%; display: block; }
.detail__dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.detail__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); }
.detail__dots i.is-on { background: var(--gold); width: 18px; border-radius: 3px; }
.detail__badge { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.detail__counter { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.6); font-size: 11px; color: var(--ink-2); }
.detail__body { padding: 18px var(--gutter) 0; display: flex; flex-direction: column; gap: 14px; }
.detail__title { font-size: 20px; line-height: 1.4; }
.detail__pricebar { display: flex; align-items: flex-end; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(232,71,31,.18), rgba(242,179,61,.06)); border: 1px solid var(--line-strong); }
.detail__pricebar .price { font-size: 28px; line-height: 1; }
.detail__pricebar small { color: var(--muted); font-size: 12px; }
.detail__pricebar .right { margin-left: auto; text-align: right; font-size: 12px; color: var(--ink-2); }
.detail__pricebar .right b { display: block; color: var(--gold-2); font-family: var(--font-serif); font-size: 16px; }
.detail__desc { color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.assure { display: flex; gap: 10px; flex-wrap: wrap; }
.assure span { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--ink-2); }
.assure span::before { content: "✓"; color: var(--ok); font-weight: 700; }
.sticky-bar { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 55; display: flex; align-items: center; gap: 10px; padding: 10px var(--gutter); background: rgba(13,13,16,.95); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
body.has-sticky { --sticky-h: 66px; }
body.no-tabbar .sticky-bar { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
body.no-tabbar .tabbar { display: none; }
body.no-tabbar { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }
.sticky-bar__act { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 50px; font-size: 10px; color: var(--ink-2); }
.sticky-bar__act .icon { width: 20px; height: 20px; }
.sticky-bar__act.is-on { color: var(--primary); }
.sticky-bar__act.is-on .icon { fill: var(--primary); }
.sticky-bar .btn { flex: 1; }
.sticky-bar__price { display: flex; flex-direction: column; margin-right: auto; }
.sticky-bar__price small { font-size: 10px; color: var(--muted); }
.sticky-bar__price .price { font-size: 20px; line-height: 1.1; }

/* 倒计时方块 */
.cd { display: inline-flex; align-items: baseline; gap: 3px; font-variant-numeric: tabular-nums; }
.cd b { display: inline-grid; place-items: center; min-width: 30px; padding: 3px 5px; border-radius: 6px; background: var(--surface-3); color: var(--gold-2); font-family: var(--font-serif); font-size: 16px; border: 1px solid var(--line-strong); }
.cd i { font-style: normal; font-size: 11px; color: var(--muted); margin: 0 3px 0 1px; }
.cd.is-urgent b { color: #FF7A2F; border-color: rgba(232,71,31,.5); }
.cd__done { color: var(--muted); }
.cd--big b { min-width: 44px; font-size: 24px; padding: 6px 8px; }

/* 出价记录 */
.bids li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.bids li:last-child { border-bottom: 0; }
.bids .avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--gold); font-size: 12px; border: 1px solid var(--line); }
.bids .who { display: flex; flex-direction: column; }
.bids .who small { color: var(--muted); font-size: 11px; }
.bids .amt { font-family: var(--font-serif); color: var(--gold); font-weight: 700; }
.bids li.is-lead .amt { color: #FF7A2F; }
.bids li.is-lead .avatar { border-color: var(--primary); }
.bid-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bid-steps button { padding: 12px 6px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bid-steps button small { font-size: 10px; color: var(--muted); }
.bid-steps button b { font-family: var(--font-serif); color: var(--gold); font-size: 15px; }
.bid-steps button.is-active { border-color: rgba(232,71,31,.5); background: rgba(232,71,31,.14); }

/* ---------- 我的 ---------- */
.profile { position: relative; overflow: hidden; padding: 24px 0 20px; background: radial-gradient(90% 120% at 100% 0%, rgba(232,71,31,.25), transparent 60%), var(--bg); border-bottom: 1px solid var(--line); }
.profile__inner { display: flex; align-items: center; gap: 14px; }
.avatar-lg { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #3a2418, #120d0b); border: 2px solid var(--gold); font-family: var(--font-serif); font-size: 24px; color: var(--gold-2); }
.profile__name { font-family: var(--font-serif); font-size: 20px; }
.profile__meta { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.profile__edit { margin-left: auto; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.stat { padding: 12px 6px; border-radius: 12px; background: rgba(21,21,26,.8); border: 1px solid var(--line); text-align: center; }
.stat b { display: block; font-family: var(--font-serif); font-size: 20px; color: var(--gold-2); line-height: 1.1; }
.stat span { font-size: 11px; color: var(--muted); }
.wallet { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(242,179,61,.16), rgba(232,71,31,.08)); border: 1px solid var(--line-strong); }
.wallet__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: #1a1206; }
.wallet__text { flex: 1; }
.wallet__text small { font-size: 11px; color: var(--muted); display: block; }
.wallet__text b { font-family: var(--font-serif); font-size: 20px; color: var(--gold-2); }
.menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.menu__item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 12px; font-size: 12px; color: var(--ink-2); position: relative; }
.menu__item:hover { background: var(--surface-2); }
.menu__item .icon { color: var(--gold); width: 24px; height: 24px; }
.menu__item .badge { position: absolute; top: 6px; right: 14px; }
.list-item { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.list-item + .list-item { margin-top: 10px; }
.list-item__media { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; }
.list-item__media svg { width: 100%; height: 100%; display: block; }
.list-item__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.list-item__title { font-family: var(--font-serif); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-item__meta { font-size: 11px; color: var(--muted); }
.list-item__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.settings a { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.settings a:last-child { border-bottom: 0; }
.settings a .icon { color: var(--gold); width: 20px; height: 20px; }
.settings a span { flex: 1; }
.settings a i { font-style: normal; color: var(--muted); font-size: 12px; }

/* ---------- 文章详情 ---------- */
.prose { color: var(--ink-2); font-size: 15px; line-height: 1.9; }
.prose p { margin: 0 0 1.2em; text-indent: 2em; }
.prose h3 { color: var(--ink); font-size: 18px; margin: 1.6em 0 .8em; }
.prose blockquote { margin: 1.4em 0; padding: 14px 18px; border-left: 3px solid var(--primary); background: var(--surface); border-radius: 0 12px 12px 0; font-family: var(--font-serif); color: var(--gold-2); }

/* ---------- 品牌语 ---------- */
.motto { text-align: center; padding: 30px 0 46px; }
.motto__line { width: 40px; height: 1px; margin: 0 auto 20px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.motto__text { margin: 0; font-family: var(--font-serif); font-size: 18px; color: var(--ink); letter-spacing: .1em; }
.motto__sub { margin: 10px 0 0; font-size: 11px; color: var(--muted); letter-spacing: .3em; }

/* ---------- Footer ---------- */
.footer { display: none; border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer__logo { width: 150px; margin-bottom: 16px; filter: drop-shadow(0 0 14px rgba(232,71,31,.35)); }
.footer__brand p { color: var(--ink-2); font-size: 13px; max-width: 380px; }
.footer__col h4 { font-size: 15px; color: var(--gold); margin-bottom: 14px; }
.footer__col a { display: block; color: var(--ink-2); font-size: 13px; padding: 5px 0; }
.footer__col a:hover { color: var(--gold-2); }
.qr { width: 110px; height: 110px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px dashed var(--line-strong); color: var(--muted); font-size: 12px; }
.footer__qr p { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* ---------- Tabbar ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(13,13,16,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.tabbar__item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 11px; }
.tabbar__item .icon { width: 22px; height: 22px; }
.tabbar__item.is-active { color: var(--primary-2); }
.tabbar__item.is-active .icon { filter: drop-shadow(0 0 8px rgba(232,71,31,.6)); }

/* ---------- Toast / ToTop / Fab ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--sticky-h) + 24px); z-index: 120; transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 999px; background: rgba(21,21,26,.96); border: 1px solid var(--line-strong); color: var(--ink); font-size: 13px; opacity: 0; pointer-events: none; transition: all .3s; white-space: nowrap; max-width: 90vw; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.totop { position: fixed; right: 14px; bottom: calc(var(--tabbar-h) + var(--sticky-h) + 18px); z-index: 55; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--gold); opacity: 0; pointer-events: none; transition: opacity .3s; }
.totop.is-show { opacity: 1; pointer-events: auto; }
.fab { position: fixed; right: 14px; bottom: calc(var(--tabbar-h) + 70px); z-index: 56; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 10px 30px rgba(232,71,31,.45); font-weight: 600; font-size: 14px; }
.fab .icon { width: 18px; height: 18px; }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 弹层 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-end; justify-content: center; }
.modal.is-open { display: flex; }
.modal__mask { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.modal__panel { position: relative; width: 100%; max-height: 90vh; overflow: auto; background: var(--surface); border-radius: 22px 22px 0 0; border-top: 1px solid var(--line-strong); padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom)); animation: up .3s cubic-bezier(.2,.8,.2,1); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.modal__title { font-size: 18px; margin-bottom: 14px; }
.modal__close { position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-3); font-size: 20px; line-height: 1; }
.success { text-align: center; padding: 20px 0 8px; }
.success__icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(91,191,138,.15); color: var(--ok); font-size: 30px; border: 1px solid rgba(91,191,138,.4); }
.success h3 { font-size: 20px; }
.success p { color: var(--ink-2); font-size: 13px; margin-top: 8px; }
.success .btn { margin-top: 18px; }

/* ============================================================
   平板 ≥ 768px
   ============================================================ */
@media (min-width: 768px) {
  :root { --gutter: 28px; }
  .entry small { display: block; }
  .cats { grid-template-columns: repeat(6, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cases { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .step { grid-template-columns: 1fr; }
  .articles { display: grid; grid-template-columns: repeat(3, 1fr); }
  .article { grid-template-columns: 1fr; }
  .article__media { width: 100%; height: 150px; order: -1; }
  .hero__inner { padding-top: 48px; padding-bottom: 40px; }
  .pagehero__title { font-size: 34px; }
  .upload { grid-template-columns: repeat(5, 1fr); }
  .list-item { grid-template-columns: 96px 1fr; }
  .list-item__media { width: 96px; height: 96px; }
}

/* ============================================================
   PC ≥ 1024px
   ============================================================ */
@media (min-width: 1024px) {
  :root { --header-h: 74px; --gutter: 32px; }
  body { padding-bottom: 0 !important; }
  .tabbar { display: none; }
  .footer { display: block; }
  .header__publish { display: inline-flex; margin-left: 6px; }
  .header--sub .brand__text { display: flex; }
  .header--sub .header__title { display: none; }
  .header--sub .header__tools { display: flex; }
  .back { display: none; }
  .toast { bottom: 40px; }
  .totop { bottom: 32px; right: 32px; }
  .fab { bottom: 40px; right: 40px; }

  .header__inner { gap: 36px; }
  .brand__logo { height: 54px; }
  .brand__name { font-size: 21px; }
  .nav { display: flex; align-items: center; gap: 2px; }
  .nav__link { position: relative; padding: 8px 13px; font-size: 14px; color: var(--ink-2); border-radius: 8px; transition: color .2s; white-space: nowrap; }
  .nav__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--gold)); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
  .nav__link:hover, .nav__link.is-active { color: var(--ink); }
  .nav__link.is-active::after { transform: scaleX(1); }
  .search { width: 210px; }
  .search:focus-within { width: 280px; }

  .hero__inner { flex-direction: row; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 72px; min-height: 560px; }
  .hero__copy { flex: 1 1 52%; }
  .hero__visual { flex: 1 1 48%; }
  .hero__title { font-size: clamp(48px, 4.6vw, 64px); }
  .hero__desc { font-size: 15px; margin: 22px 0 30px; }
  .hero__frame { aspect-ratio: 5 / 4; }
  .hero__tag { right: 20px; bottom: 20px; padding: 14px 18px; }
  .hero__glow--a { width: 620px; height: 620px; right: -60px; top: -200px; }

  .pagehero { padding: 56px 0 44px; }
  .pagehero__title { font-size: 42px; }
  .pagehero__desc { font-size: 16px; }

  .section { padding: 64px 0 24px; }
  .section--tight { padding-top: 40px; }
  .section--alt { padding-bottom: 48px; }
  .section__title { font-size: 28px; }
  .section__head { margin-bottom: 28px; }
  .entries { gap: 20px; }
  .entry { display: grid; grid-template-columns: 54px 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 2px; align-items: center; text-align: left; padding: 22px 24px; }
  .entry__icon { width: 54px; height: 54px; grid-row: 1 / span 2; }
  .entry strong { font-size: 18px; align-self: end; }
  .entry small { font-size: 12px; align-self: start; }
  .consign-bar { margin-top: 20px; padding: 18px 24px; }
  .consign-bar__text strong { font-size: 17px; }
  .cat { padding: 24px 10px 20px; gap: 10px; }
  .cat__icon { width: 54px; height: 54px; }
  .cat__name { font-size: 16px; }

  .grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .product__name { font-size: 15px; }
  .product__body { padding: 14px 16px 16px; }

  .scroller { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; overflow: visible; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
  .scroller--3 { grid-template-columns: repeat(3, 1fr); }
  .scroller > :nth-child(n+4) { display: none; }
  .presale--compact, .auction--compact, .artisan { flex: none; max-width: none; }
  .artisan__body { padding: 20px; }
  .cases { grid-template-columns: repeat(4, 1fr); }
  .ccase { grid-template-columns: 1fr; }
  .ccase__media { aspect-ratio: 4 / 3; }
  .ccase__body { padding: 16px; }
  .articles { gap: 20px; }
  .article { padding: 18px; }
  .article__media { height: 170px; }
  .article__title { font-size: 16px; }
  .motto { padding: 50px 0 80px; }
  .motto__text { font-size: 24px; }

  /* 列表页布局 */
  .layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
  .layout__side { position: sticky; top: calc(var(--header-h) + 24px); }
  .sidenav a { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 10px; color: var(--ink-2); font-size: 14px; }
  .sidenav a.is-active { background: var(--surface-2); color: var(--ink); box-shadow: inset 2px 0 0 var(--primary); }
  .sidenav a small { color: var(--muted); font-size: 11px; }
  .layout__side .filters { flex-direction: column; gap: 6px; overflow: visible; padding: 0; }
  .layout__side .filter { padding: 11px 14px; border-radius: 10px; font-size: 14px; }
  .layout__side .filter.is-active { box-shadow: inset 2px 0 0 var(--primary); }
  .form-layout__aside .cases { grid-template-columns: 1fr; gap: 12px; }
  .form-layout__aside .ccase { grid-template-columns: 110px 1fr; }
  .form-layout__aside .ccase__media { aspect-ratio: auto; }
  .form-layout__aside .ccase__body { padding: 12px 14px; }
  .list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .list-grid--3 { grid-template-columns: repeat(3, 1fr); }

  /* 详情页 PC 两栏 */
  .detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; padding-top: 40px; }
  .detail__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 24px); }
  .detail__body { padding: 0; }
  .detail__title { font-size: 30px; }
  .sticky-bar { position: static; background: none; border: 0; padding: 0; backdrop-filter: none; margin-top: 8px; }
  body.has-sticky, body.no-tabbar { --sticky-h: 0px; }
  .sticky-bar .btn { flex: 1; padding: 14px 24px; font-size: 15px; }
  .sticky-bar__act { width: 60px; }

  /* 表单页 */
  .form-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
  .form-layout__aside { position: sticky; top: calc(var(--header-h) + 24px); }
  .input-row { grid-template-columns: 1fr 1fr 1fr; }
  .upload { grid-template-columns: repeat(6, 1fr); }
  .steps { gap: 16px; }
  .step { padding: 20px; }

  /* 我的 */
  .mine-layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; padding-top: 32px; }
  .mine-layout__side { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
  .profile { background: none; border: 0; padding: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .menu { grid-template-columns: repeat(4, 1fr); }

  .modal { align-items: center; }
  .modal__panel { width: 520px; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); padding: 28px; }
  .prose { font-size: 16px; }
}

@media (min-width: 1440px) { .hero__title { font-size: 68px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* 真实图片（接口返回 images 时替代 SVG 示意图） */
img.art { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   Auth: login / account / header user (appended)
   ============================================================ */
.header__user { display: flex; align-items: center; gap: 6px; }
.header__login { display: none; }
.avatar-img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; border: 1px solid var(--line-strong); background: var(--surface-3); }
.avatar-img--text { font-family: var(--font-serif); font-size: 14px; color: var(--gold-2); }
.header__avatar { width: 38px; height: 38px; }
.auth-wrap { min-height: calc(100vh - var(--header-h) - var(--tabbar-h)); display: flex; align-items: flex-start; justify-content: center; padding: 22px var(--gutter) 40px; }
.auth-card { width: 100%; max-width: 440px; padding: 24px 20px 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.auth-card__head { text-align: center; margin-bottom: 18px; }
.auth-card__head img { height: 56px; filter: drop-shadow(0 0 12px rgba(232,71,31,.45)); }
.auth-card__head h1 { font-size: 22px; margin-top: 10px; }
.auth-card__head p { color: var(--muted); font-size: 13px; margin-top: 6px; }
.auth-card .tabs { margin-bottom: 16px; }
.auth-pane[hidden] { display: none; }
.sso { display: grid; gap: 10px; }
.sso__btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 46px; border-radius: 12px; font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); transition: transform .15s, filter .15s; }
.sso__btn:active { transform: scale(.985); }
.sso__btn .icon { width: 20px; height: 20px; }
.sso__btn small { font-weight: 400; color: var(--muted); font-size: 11px; }
.sso__btn--wechat { background: #07C160; border-color: #07C160; color: #fff; }
.sso__btn--telegram { background: #2AABEE; border-color: #2AABEE; color: #fff; }
.sso__btn--google { background: #fff; border-color: #fff; color: #1f1f1f; }
.sso__btn--wechat small, .sso__btn--telegram small { color: rgba(255,255,255,.8); }
.sso__btn--google small { color: #666; }
.sso__btn[disabled] { opacity: .45; filter: grayscale(.6); }
.divider-text { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 18px 0 14px; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.code-row { display: flex; gap: 8px; }
.code-row .input { flex: 1; }
.code-row .btn { white-space: nowrap; min-width: 108px; }
.auth-foot { margin-top: 14px; text-align: center; font-size: 12px; color: var(--muted); }
.auth-foot a { color: var(--gold); }
.auth-notice { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: rgba(242,179,61,.08); border: 1px dashed var(--line-strong); font-size: 12px; color: var(--ink-2); }
.tg-widget { display: flex; justify-content: center; min-height: 40px; }
.tg-widget:empty { display: none; }
.bind-list { display: grid; gap: 10px; }
.bind-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.bind-item__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.bind-item__icon .icon { width: 20px; height: 20px; }
.bind-item__icon--wechat { background: #07C160; } .bind-item__icon--telegram { background: #2AABEE; } .bind-item__icon--google { background: #fff; color: #333; } .bind-item__icon--phone { background: var(--primary); } .bind-item__icon--email { background: #5B9CF6; } .bind-item__icon--password { background: var(--surface-3); color: var(--gold); }
.bind-item__body { flex: 1; min-width: 0; }
.bind-item__body b { display: block; font-size: 14px; }
.bind-item__body small { color: var(--muted); font-size: 12px; display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile__avatar { position: relative; cursor: pointer; }
.profile__avatar .avatar-img { width: 64px; height: 64px; font-size: 24px; border: 2px solid var(--gold); }
.profile__avatar input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.profile__avatar i { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; display: grid; place-items: center; font-style: normal; border: 2px solid var(--bg); }
.in-telegram .footer, .in-telegram .header__publish { display: none !important; }
@media (min-width: 1024px) {
  .header__login { display: inline-flex; margin-left: 4px; }
  .header__login-icon { display: none; }
  .auth-wrap { align-items: center; padding: 48px var(--gutter) 80px; min-height: calc(100vh - var(--header-h)); }
  .auth-card { padding: 34px 36px 36px; max-width: 460px; }
}
