/* 车友商城独立站（/mall/）：设计稿来源 plan/shop/mall-standalone-design.html
   令牌：近黑 #14161A / 白底 #FDFDFE / 青绿 #0E9F8F；按钮全圆角，卡片 12，图片与输入框 10。
   深色模式与 prefers-reduced-motion 已包含；生产态补充见文件末尾。 */
/* ============ 设计令牌 ============ */
:root{
  --bg:#F5F6F7;
  --surface:#FDFDFE;
  --surface-2:#F1F2F4;
  --ink:#14161A;
  --ink-2:#3A3F47;
  --muted:#6B7280;
  --line:#E5E7EB;
  --line-strong:#D3D7DD;
  --accent:#0E9F8F;
  --accent-soft:#E6F6F3;
  --accent-ink:#0A7A6E;
  --danger:#C2413B;
  --danger-soft:#FBEDEC;
  --radius-card:12px;
  --radius-img:10px;
  --radius-input:10px;
  --radius-btn:999px;
  --max:1240px;
  --topbar-h:64px;
  --tint-sand:#ECE7DE;
  --tint-mist:#E5EAEE;
  --tint-sage:#E5EDE5;
  --tint-clay:#EFE6E3;
  --tint-peri:#E7E9F2;
  --tint-bone:#F0ECE3;
  --shadow:0 1px 2px rgba(20,22,26,.04);
}
html[data-theme="dark"]{
  --bg:#0E1013;
  --surface:#16191D;
  --surface-2:#1D2126;
  --ink:#F2F3F5;
  --ink-2:#C9CED6;
  --muted:#98A1AC;
  --line:#262B31;
  --line-strong:#363C44;
  --accent:#2DD4BF;
  --accent-soft:#10302C;
  --accent-ink:#7DE8DC;
  --danger:#F08A84;
  --danger-soft:#2A1B1A;
  --tint-sand:#2A2620;
  --tint-mist:#20262B;
  --tint-sage:#202A22;
  --tint-clay:#2A2320;
  --tint-peri:#232633;
  --tint-bone:#2A2721;
  --shadow:0 1px 2px rgba(0,0,0,.28);
}
/* ============ 基础 ============ */
*{box-sizing:border-box}
html{color-scheme:light dark}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:"PingFang SC","HarmonyOS Sans SC","Noto Sans SC","Microsoft YaHei",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased;
}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0;padding:0}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
h1,h2,h3,p{margin:0}
[hidden]{display:none !important}
.ic{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
::selection{background:var(--accent-soft);color:var(--ink)}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

/* ============ 顶栏 ============ */
.topbar{position:sticky;top:0;z-index:50;background:var(--surface);border-bottom:1px solid var(--line)}
.topbar-in{max-width:var(--max);margin:0 auto;height:var(--topbar-h);padding:0 24px;
  display:flex;align-items:center;gap:22px}
.brand{display:flex;align-items:center;gap:10px;flex:none}
.brand-mark{width:32px;height:32px;border-radius:9px;background:var(--ink);color:var(--surface);
  display:grid;place-items:center}
.brand-mark .ic{width:18px;height:18px}
.brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand-text b{font-size:17px;font-weight:700;letter-spacing:-.01em}
.brand-text small{font-size:9px;font-weight:600;letter-spacing:.16em;color:var(--muted)}
.search{flex:1;max-width:520px;height:40px;display:flex;align-items:center;gap:9px;
  padding:0 14px;border:1px solid transparent;border-radius:var(--radius-btn);
  background:var(--surface-2);transition:border-color .18s ease,background .18s ease}
.search:focus-within{border-color:var(--ink);background:var(--surface)}
.search .ic{width:17px;height:17px;color:var(--muted)}
.search input{flex:1;min-width:0;border:0;background:none;outline:none;font-size:13.5px}
.search input::placeholder{color:var(--muted)}
.search-clear{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:var(--muted)}
.search-clear .ic{width:13px;height:13px}
.top-actions{display:flex;align-items:center;gap:14px;margin-left:auto}
.link{font-size:13px;color:var(--muted);padding:6px 2px;transition:color .18s ease}
.link:hover,.link.active{color:var(--ink)}
.icon-btn{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;
  color:var(--ink-2);transition:background .18s ease}
.icon-btn:hover{background:var(--surface-2)}
.icon-btn .ic{width:18px;height:18px}
.avatar-btn{display:grid;place-items:center}
.avatar{width:20px;height:20px;border-radius:50%;display:inline-grid;place-items:center;
  font-size:10px;font-weight:700;background:var(--tint-sand);color:var(--ink);flex:none}
.avatar-lg{width:34px;height:34px;font-size:13px;background:var(--ink);color:var(--surface)}

/* ============ 按钮 ============ */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-height:42px;padding:0 20px;border-radius:var(--radius-btn);
  font-size:13.5px;font-weight:600;white-space:nowrap;
  transition:transform .16s ease,background .18s ease,border-color .18s ease,color .18s ease}
.btn:active{transform:translateY(1px)}
.btn .ic{width:16px;height:16px}
.btn-primary{background:var(--ink);color:var(--surface)}
.btn-primary:hover{background:var(--ink-2)}
.btn-outline{border:1px solid var(--line-strong);color:var(--ink);background:transparent}
.btn-outline:hover{border-color:var(--ink)}
.btn-sm{min-height:34px;padding:0 14px;font-size:12.5px}
.btn-ghost{color:var(--muted);padding:0 8px;min-height:32px}
.btn-ghost:hover{color:var(--ink)}
.btn:disabled{opacity:.55;cursor:default;transform:none}

/* ============ 筛选条 ============ */
.subbar{position:sticky;top:var(--topbar-h);z-index:40;background:var(--surface);
  border-bottom:1px solid var(--line)}
.subbar-in{max-width:var(--max);margin:0 auto;padding:0 24px;min-height:54px;
  display:flex;align-items:center;gap:18px}
.cats{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none}
.cats::-webkit-scrollbar{display:none}
.cat{position:relative;height:54px;padding:0 12px;font-size:13.5px;color:var(--muted);
  white-space:nowrap;transition:color .18s ease}
.cat:hover{color:var(--ink)}
.cat[aria-selected="true"]{color:var(--ink);font-weight:600}
.cat[aria-selected="true"]::after{content:"";position:absolute;left:12px;right:12px;bottom:0;
  height:2px;border-radius:2px;background:var(--ink)}
.brands{display:flex;gap:8px;margin-left:auto}
.chip{min-height:30px;padding:0 12px;border:1px solid var(--line);border-radius:var(--radius-btn);
  font-size:12.5px;color:var(--muted);white-space:nowrap;transition:all .18s ease}
.chip:hover{border-color:var(--line-strong);color:var(--ink)}
.chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--surface)}
.sort{display:flex;align-items:center;gap:7px;font-size:12.5px;color:var(--muted);flex:none}
.sort select{border:0;background:none;outline:none;font-size:12.5px;color:var(--ink);cursor:pointer}

/* ============ 页面容器 ============ */
.page{max-width:var(--max);margin:0 auto;padding:26px 24px 56px}
.list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}
.list-title{font-size:20px;font-weight:700;letter-spacing:-.01em}
.list-count{margin-top:4px;font-size:12.5px;color:var(--muted)}

/* ============ 商品网格 ============ */
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.card{background:var(--surface);border:1px solid transparent;border-radius:var(--radius-card);
  overflow:hidden;cursor:pointer;transition:transform .18s ease,border-color .18s ease;
  box-shadow:var(--shadow)}
.card:hover{transform:translateY(-2px);border-color:var(--line-strong)}
.card-media{aspect-ratio:1/1;background:var(--surface-2);overflow:hidden}
.ph{width:100%;height:100%;display:grid;place-items:center;color:var(--ink)}
.ph .ic{width:46px;height:46px;stroke-width:1.1;opacity:.16}
.tint-sand{background-color:var(--tint-sand)}
.tint-mist{background-color:var(--tint-mist)}
.tint-sage{background-color:var(--tint-sage)}
.tint-clay{background-color:var(--tint-clay)}
.tint-peri{background-color:var(--tint-peri)}
.tint-bone{background-color:var(--tint-bone)}
.card-body{padding:12px 13px 13px}
.card-title{font-size:14px;font-weight:500;line-height:1.5;min-height:42px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-price{display:flex;align-items:baseline;gap:7px;margin-top:7px}
.card-price b{font-size:19px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.card-price s{font-size:12px;color:var(--muted)}
.card-meta{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:5px;font-size:12px;color:var(--muted)}
.card-seller{display:flex;align-items:center;gap:6px;margin-top:10px;padding-top:10px;
  border-top:1px solid var(--line);font-size:12px;color:var(--muted);min-width:0}
.card-seller .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.verified{display:inline-flex;align-items:center;gap:3px;color:var(--accent-ink);
  font-size:11.5px;font-weight:600;flex:none}
.verified .ic{width:13px;height:13px}

/* ============ 空态 / 骨架 / 提示 ============ */
.empty{grid-column:1/-1;padding:72px 0;text-align:center;color:var(--muted)}
.empty .ic{width:44px;height:44px;opacity:.35;margin-bottom:12px}
.empty b{display:block;color:var(--ink);font-size:15px;font-weight:600;margin-bottom:4px}
.empty p{font-size:12.5px}
.empty .btn{margin-top:16px}
.sk{border-radius:var(--radius-card);overflow:hidden;background:var(--surface);box-shadow:var(--shadow)}
.sk-media{aspect-ratio:1/1;background:linear-gradient(90deg,var(--surface-2) 25%,var(--line) 37%,var(--surface-2) 63%);
  background-size:400% 100%;animation:shimmer 1.3s ease infinite}
.sk-body{padding:13px}
.sk-line{height:12px;border-radius:6px;background:var(--surface-2);margin-bottom:8px}
.sk-line.short{width:45%}
.sk-line.price{height:18px;width:30%;margin-top:12px}
@keyframes shimmer{0%{background-position:100% 0}100%{background-position:0 0}}

/* ============ 详情 ============ */
.detail{max-width:1140px;margin:0 auto;padding:22px 24px 64px}
.crumbs{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted);margin-bottom:18px}
.crumbs a:hover{color:var(--ink)}
.crumbs .ic{width:13px;height:13px}
.detail-grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:44px}
.gallery-main{aspect-ratio:1/1;border-radius:16px;overflow:hidden;background:var(--surface-2)}
.gallery-main .ph .ic{width:88px;height:88px;stroke-width:.9}
.gallery-note{margin-top:10px;font-size:11.5px;color:var(--muted)}
.thumbs{display:flex;gap:10px;margin-top:12px}
.thumb{width:72px;height:72px;border-radius:10px;overflow:hidden;border:2px solid transparent;
  background:var(--surface-2);cursor:pointer;padding:0;transition:border-color .16s ease}
.thumb[aria-current="true"]{border-color:var(--ink)}
.thumb .ph .ic{width:26px;height:26px}
.tag{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:6px;
  background:var(--surface-2);color:var(--ink-2);font-size:11.5px;font-weight:500}
.detail-title{font-size:26px;line-height:1.36;font-weight:600;letter-spacing:-.01em;margin:10px 0 14px}
.detail-price{display:flex;align-items:baseline;gap:10px}
.detail-price b{font-size:36px;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.detail-price s{font-size:14px;color:var(--muted)}
.spec{display:grid;gap:11px;padding:18px 0;margin-top:18px;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.spec-row{display:flex;align-items:baseline;justify-content:space-between;gap:20px;font-size:13px}
.spec-row dt{color:var(--muted)}
.spec-row dd{margin:0;color:var(--ink);text-align:right}
.seller-card{display:flex;align-items:center;gap:12px;padding:14px;margin:18px 0;
  border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface)}
.seller-card .avatar{width:42px;height:42px;font-size:16px}
.seller-main{flex:1;min-width:0}
.seller-main b{font-size:14px;font-weight:600}
.seller-main p{margin-top:2px;font-size:12px;color:var(--muted)}
.seller-link{font-size:12.5px;color:var(--accent-ink);font-weight:600;flex:none}
.cta{display:flex;gap:12px;margin-top:18px}
.cta .btn{flex:1;min-height:48px;font-size:14.5px}
.notice{margin-top:16px;padding:12px 14px;border-radius:10px;background:var(--surface-2);
  color:var(--muted);font-size:12px;line-height:1.7}
.desc{max-width:780px;margin-top:44px}
.desc h2{font-size:16px;font-weight:600;margin-bottom:12px}
.desc p{font-size:14px;line-height:1.85;color:var(--ink-2);margin-bottom:10px}
.desc-foot{display:flex;align-items:center;gap:16px;margin-top:22px;font-size:12.5px;color:var(--muted)}
.desc-foot button{color:var(--muted);display:inline-flex;align-items:center;gap:5px}
.desc-foot button:hover{color:var(--ink)}
.desc-foot .ic{width:14px;height:14px}

/* ============ 我的商城 ============ */
.mine-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-bottom:18px;overflow-x:auto}
.tab{position:relative;height:46px;font-size:13.5px;color:var(--muted);white-space:nowrap}
.tab[aria-selected="true"]{color:var(--ink);font-weight:600}
.tab[aria-selected="true"]::after{content:"";position:absolute;left:0;right:0;bottom:0;
  height:2px;border-radius:2px;background:var(--ink)}
.tab span{margin-left:5px;font-size:11.5px;color:var(--muted);font-weight:400}
.rows{display:grid;gap:10px}
.row{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:14px;align-items:center;
  padding:12px;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface)}
.row-thumb{width:92px;height:92px;border-radius:10px;overflow:hidden;background:var(--surface-2)}
.row-thumb .ph .ic{width:30px;height:30px}
.row-main{min-width:0}
.row-title{font-size:14px;font-weight:500;line-height:1.45;
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.row-price{margin-top:4px;font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}
.row-meta{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:4px;font-size:12px;color:var(--muted)}
.status{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;
  font-size:11.5px;font-weight:500}
.status.on_sale{background:var(--accent-soft);color:var(--accent-ink)}
.status.pending{background:var(--surface-2);color:var(--ink-2)}
.status.off_sale{background:var(--surface-2);color:var(--muted)}
.status.sold_out{background:var(--surface-2);color:var(--muted)}
.row-reason{margin-top:5px;font-size:12px;color:var(--danger)}
.row-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.row-actions .btn{min-height:30px;padding:0 11px;font-size:12px}

/* ============ 发布 ============ */
.publish-head{margin-bottom:22px}
.publish{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:40px;align-items:start}
.form-section{padding:24px 0;border-bottom:1px solid var(--line)}
.form-section:first-child{padding-top:0}
.form-section:last-of-type{border-bottom:0}
.section-title{font-size:15px;font-weight:600;margin-bottom:16px}
.field{display:grid;gap:7px;margin-bottom:16px}
.field:last-child{margin-bottom:0}
.field label{font-size:13px;font-weight:500}
.field label em{font-style:normal;color:var(--danger);margin-left:3px}
.input,.select,.textarea{width:100%;min-height:44px;padding:10px 13px;
  border:1px solid var(--line);border-radius:var(--radius-input);background:var(--surface);
  color:var(--ink);font-size:13.5px;outline:none;transition:border-color .18s ease,box-shadow .18s ease}
.input::placeholder,.textarea::placeholder{color:var(--muted)}
.input:focus,.select:focus,.textarea:focus{border-color:var(--ink);box-shadow:0 0 0 3px rgba(20,22,26,.08)}
html[data-theme="dark"] .input:focus,html[data-theme="dark"] .select:focus,
html[data-theme="dark"] .textarea:focus{box-shadow:0 0 0 3px rgba(242,243,245,.12)}
.textarea{min-height:128px;resize:vertical;line-height:1.7}
.select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),
  linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-position:calc(100% - 18px) 19px,calc(100% - 13px) 19px;
  background-size:5px 5px;background-repeat:no-repeat;padding-right:34px}
.row-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.help{font-size:11.5px;color:var(--muted)}
.error{font-size:11.5px;color:var(--danger)}
.uploader{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:2px}
.upload{position:relative;aspect-ratio:1/1;border:1px dashed var(--line-strong);border-radius:10px;
  display:grid;place-items:center;gap:4px;color:var(--muted);font-size:11.5px;text-align:center;
  background:var(--surface);cursor:pointer;overflow:hidden}
.upload:hover{border-color:var(--ink);color:var(--ink)}
.upload .ic{width:20px;height:20px}
.upload img{width:100%;height:100%;object-fit:cover}
.upload-rm{position:absolute;top:4px;right:4px;width:22px;height:22px;border-radius:50%;
  background:rgba(20,22,26,.62);color:#FDFDFE;display:grid;place-items:center}
.upload-rm .ic{width:12px;height:12px}
.preview{position:sticky;top:calc(var(--topbar-h) + 20px)}
.preview-label{font-size:12px;font-weight:600;color:var(--muted);margin-bottom:10px}
.preview .card{cursor:default}
.preview .card:hover{transform:none;border-color:transparent}
.preview .help{margin-top:10px;line-height:1.6}
.form-actions{display:flex;align-items:center;gap:12px;margin-top:22px}

/* ============ 页脚 / 移动端底栏 ============ */
.footer{border-top:1px solid var(--line);margin-top:20px}
.footer-in{max-width:var(--max);margin:0 auto;padding:26px 24px 40px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
  font-size:12px;color:var(--muted)}
.footer-brand{display:flex;align-items:center;gap:8px}
.footer-brand .brand-mark{width:24px;height:24px;border-radius:7px}
.footer-brand .brand-mark .ic{width:14px;height:14px}
.footer-brand b{color:var(--ink);font-weight:600}
.footer-links{display:flex;gap:18px}
.footer-links a:hover{color:var(--ink)}
.tabbar{display:none}

/* ============ 轻提示 ============ */
.toast{position:fixed;left:50%;bottom:34px;transform:translate(-50%,10px);opacity:0;
  pointer-events:none;z-index:80;max-width:min(90vw,420px);padding:11px 18px;border-radius:var(--radius-btn);
  background:var(--ink);color:var(--surface);font-size:12.5px;line-height:1.5;text-align:center;
  transition:opacity .2s ease,transform .2s ease}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* ============ 响应式 ============ */
@media (max-width:1024px){
  .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .detail-grid{gap:30px}
  .publish{grid-template-columns:minmax(0,1fr) 290px;gap:28px}
}
@media (max-width:820px){
  .topbar-in{flex-wrap:wrap;height:auto;padding:12px 16px 10px;gap:10px}
  .brand{order:1}
  .top-actions{order:2;margin-left:auto;gap:8px}
  .top-actions .link{display:none}
  .top-actions .btn span{display:none}
  .top-actions .btn{padding:0 12px}
  .search{order:3;flex-basis:100%;max-width:none;height:38px}
  .subbar{top:0;position:static}
  .subbar-in{flex-wrap:wrap;padding:0 16px;gap:8px;min-height:0;padding-bottom:10px}
  .cats{width:100%;border-bottom:1px solid var(--line)}
  .cat{height:46px;padding:0 10px}
  .cat[aria-selected="true"]::after{left:10px;right:10px}
  .brands{margin-left:0;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
  .brands::-webkit-scrollbar{display:none}
  .sort{margin-left:auto}
  .page,.detail{padding:18px 16px 40px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .card-body{padding:10px}
  .card-title{font-size:13px;min-height:39px}
  .card-price b{font-size:17px}
  .card-meta{font-size:11px;gap:3px 8px}
  .detail-grid{grid-template-columns:1fr;gap:22px}
  .detail-title{font-size:21px}
  .detail-price b{font-size:30px}
  .cta{position:fixed;left:0;right:0;bottom:calc(56px + env(safe-area-inset-bottom));z-index:55;
    margin:0;padding:10px 16px;background:var(--surface);border-top:1px solid var(--line);gap:10px}
  .cta .btn{min-height:44px}
  .detail{padding-bottom:120px}
  .desc{margin-top:30px}
  .mine-head{flex-wrap:wrap}
  .row{grid-template-columns:72px minmax(0,1fr);align-items:start}
  .row-thumb{width:72px;height:72px}
  .row-actions{grid-column:1/-1;justify-content:flex-start;padding-top:4px}
  .publish{grid-template-columns:1fr;gap:26px}
  .preview{position:static}
  .preview .card{max-width:220px}
  .row-2{grid-template-columns:1fr}
  .uploader{grid-template-columns:repeat(4,minmax(0,1fr))}
  .footer-in{padding:22px 16px 92px}
  .tabbar{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;left:0;right:0;bottom:0;
    z-index:60;background:var(--surface);border-top:1px solid var(--line);
    padding:6px 0 calc(6px + env(safe-area-inset-bottom))}
  .tabbar button{display:flex;flex-direction:column;align-items:center;gap:3px;
    font-size:10.5px;color:var(--muted);padding:4px 0}
  .tabbar button .ic{width:21px;height:21px}
  .tabbar button.active{color:var(--ink);font-weight:600}
  .toast{bottom:calc(136px + env(safe-area-inset-bottom))}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms !important;transition-duration:.001ms !important;
    scroll-behavior:auto !important}
}

/* ============ 首屏幕布与页面淡入 ============ */
.boot-veil{position:fixed;inset:0;z-index:120;display:grid;place-items:center;
  background:#14161A;color:#FDFDFE;opacity:1;transition:opacity .45s ease}
.boot-veil.is-off{opacity:0;pointer-events:none}
.boot-veil-in{display:flex;flex-direction:column;align-items:center;gap:14px;
  transform:translateY(6px);transition:transform .35s cubic-bezier(.16,1,.3,1)}
.boot-veil.is-off .boot-veil-in{transform:translateY(-4px)}
.boot-veil-mark{width:44px;height:44px;border-radius:12px;background:#FDFDFE;color:#14161A;
  display:grid;place-items:center}
.boot-veil-mark .ic{width:24px;height:24px}
.boot-veil-in b{font-size:15px;font-weight:600;letter-spacing:.02em}
.boot-veil-line{width:64px;height:2px;border-radius:2px;background:#0E9F8F;
  transform:scaleX(0);transform-origin:left;
  animation:bootLine .5s cubic-bezier(.16,1,.3,1) .05s forwards}
@keyframes bootLine{to{transform:scaleX(1)}}
body.mall-ready .topbar,body.mall-ready main,body.mall-ready .footer,body.mall-ready .tabbar{
  animation:mallEnter .45s cubic-bezier(.16,1,.3,1) both}
@keyframes mallEnter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .boot-veil,.boot-veil-in{transition:none}
  .boot-veil-line{animation:none;transform:scaleX(1)}
  body.mall-ready .topbar,body.mall-ready main,body.mall-ready .footer,
  body.mall-ready .tabbar{animation:none}
}

.top-actions{position:relative}
.card-media{position:relative}
.card-media .ph{position:absolute;inset:0}
.card-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.gallery-main{position:relative}
.gallery-main .ph{position:absolute;inset:0}
.gallery-main img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:var(--surface-2)}
.thumb{position:relative}
.thumb .ph{position:absolute;inset:0}
.thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.row-thumb{position:relative}
.row-thumb .ph{position:absolute;inset:0}
.row-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.avatar{overflow:hidden}
.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}

/* 账号菜单 */
.account-menu{position:absolute;right:0;top:44px;z-index:70;width:224px;padding:8px;
  background:var(--surface);border:1px solid var(--line);border-radius:12px;
  box-shadow:0 12px 32px rgba(20,22,26,.12)}
html[data-theme="dark"] .account-menu{box-shadow:0 12px 32px rgba(0,0,0,.45)}
.account-head{display:flex;align-items:center;gap:10px;padding:8px 8px 10px;
  border-bottom:1px solid var(--line);margin-bottom:6px}
.account-head b{display:block;font-size:13px;font-weight:600}
.account-head small{display:block;font-size:11.5px;color:var(--muted)}
.account-item{display:flex;width:100%;align-items:center;gap:8px;padding:9px 8px;
  border-radius:8px;font-size:13px;color:var(--ink);text-align:left}
.account-item:hover{background:var(--surface-2)}
.account-danger{color:var(--danger)}

/* 举报弹层 */
.modal{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:20px;
  background:rgba(20,22,26,.48)}
html[data-theme="dark"] .modal{background:rgba(0,0,0,.62)}
.modal-card{width:min(100%,440px);padding:22px;border-radius:16px;background:var(--surface);
  border:1px solid var(--line);box-shadow:0 24px 64px rgba(20,22,26,.18)}
.modal-card h2{font-size:17px;font-weight:600;margin-bottom:6px}
.modal-sub{font-size:12.5px;color:var(--muted);margin-bottom:14px}
.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}

/* 加载更多 / 详情骨架 */
.more{display:flex;justify-content:center;padding:24px 0 8px}
.detail-loading .list-count{margin-top:12px}
.upload.is-uploading{color:var(--muted);cursor:default}
