@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter.woff2") format("woff2"); }
/* 第二版界面：参考 NFT Quests 模板（深灰平面、大圆角、实色强调方块、无光晕），强调色沿用 PixelMart 橙。
   布局：顶部灰色导航条 → 个人概览条 → 内容（列表页左侧筛选栏）→ 分栏页脚。 */
:root {
  --v2-bg: #1b1b1c; --v2-bar: #262627; --v2-surface: #262627; --v2-surface-2: #2e2e30; --v2-surface-3: #3a3a3c; --v2-line: #333335;
  --v2-text: #f4f4f5; --v2-muted: #a1a1a6; --v2-dim: #6e6e73;
  --v2-accent: #ff7a1a; --v2-accent-hi: #ff9142; --v2-accent-soft: #ff7a1a24;
  --v2-green: #1fbf5b; --v2-red: #ef4444;
  --v2-r-lg: 20px; --v2-r-md: 14px; --v2-r-sm: 10px;
  --v2-font: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  /* 覆盖第一版令牌 */
  --bg: var(--v2-bg); --panel: var(--v2-surface); --line: var(--v2-line); --muted: var(--v2-muted); --orange: var(--v2-accent); --orange-2: var(--v2-accent-hi); --green: var(--v2-green); --red: var(--v2-red);
}
body { background: var(--v2-bg) !important; color: var(--v2-text); font-family: var(--v2-font); }
.muted, small { color: var(--v2-muted); }
.green { color: var(--v2-green); } .red { color: var(--v2-red); } .orange, .link { color: var(--v2-accent); }
.eyebrow { color: var(--v2-accent); }
.crumb { color: var(--v2-dim); } .crumb span { color: var(--v2-muted); }
.titlebar h1 { font-weight: 800; letter-spacing: -.3px; }

/* ---------- 顶部导航：整宽灰条 ---------- */
#app > header.desktop-header { max-width: none; height: 72px; margin: 0; background: var(--v2-bar); border-bottom: 0;
  padding-left: max(var(--gutter), calc((100% - var(--page-max)) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100% - var(--page-max)) / 2 + var(--gutter))); }
.desktop-header .brand { font-size: 21px; padding-right: 22px; border-right: 1px solid var(--v2-surface-3); }
.desktop-header .brand svg { width: 26px; height: 30px; }
.nav { justify-content: flex-start; gap: 26px; font-size: 13.5px; font-weight: 600; color: #e7e7ea; }
.nav a:hover { color: #fff; }
.nav a.active { color: var(--v2-accent); }
.nav a:after { bottom: 20px; background: var(--v2-accent); }
.nav a.active:after { box-shadow: none; }
.header-right { gap: 14px; }
.wallet { border: 0; background: transparent; padding: 8px 4px; font-size: 13px; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.wallet { gap: 3px !important; }
.wallet .wallet-yen { color: var(--v2-accent); font-weight: 800; font-size: 16px; line-height: 1; }
/* 品牌名 PixelMart 中的 Mart 用橙色 */
.brand-mart { color: var(--v2-accent); }
.wallet:hover { background: transparent; box-shadow: none; color: var(--v2-accent-hi); }
.icon-btn:hover, .wallet:hover { box-shadow: none; }
.mavatar.avatar { width: 38px; height: 38px; border: 2px solid var(--v2-accent); box-shadow: 0 0 0 3px var(--v2-bar); }
.icon-btn .dot { background: var(--v2-accent); box-shadow: 0 0 0 2px var(--v2-bar); }
.g-search { background: var(--v2-surface-2); border: 0; border-radius: var(--v2-r-sm); }
.g-search:focus-within { background: var(--v2-surface-3); box-shadow: 0 0 0 2px var(--v2-accent); border: 0; }
.g-search kbd { border-color: #4a4a4d; }
.m-header { background: var(--v2-bar); border-bottom: 0 !important; }
.m-bottom { background: #212122f7 !important; border-top: 1px solid var(--v2-line) !important; }
.m-bottom a { color: #8e8e93 !important; } .m-bottom a.active { color: var(--v2-accent) !important; }
.page { padding-top: 28px; }

/* ---------- 个人概览条 ---------- */
.v2-userbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 4px 0 26px; margin-bottom: 26px; border-bottom: 1px solid var(--v2-line); }
.v2-user { display: flex; align-items: center; gap: 18px; min-width: 0; }
.v2-user-av { position: relative; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; }
.mavatar.v2-av { width: 68px; height: 68px; }
.v2-user-av i { position: absolute; right: -2px; bottom: -2px; min-width: 24px; height: 24px; padding: 0 6px; border: 3px solid var(--v2-bg); border-radius: 999px; background: var(--v2-accent); color: #fff; font: 700 11px/18px var(--v2-font); font-style: normal; text-align: center; }
.v2-user-info { display: grid; gap: 7px; min-width: 0; }
.v2-user-info b { font-size: 17px; }
.v2-bar { width: 200px; max-width: 100%; height: 6px; border-radius: 6px; background: var(--v2-surface-3); overflow: hidden; }
.v2-bar i { display: block; height: 100%; border-radius: 6px; background: var(--v2-accent); }
.v2-user-info small { display: flex; justify-content: space-between; gap: 14px; font-size: 11px; color: var(--v2-dim); }
.v2-chips { display: flex; gap: 12px; }
.v2-chip { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: var(--v2-r-md); background: var(--v2-surface); }
.v2-chip > div { display: grid; gap: 3px; }
.v2-chip small { font-size: 11px; color: var(--v2-muted); }
.v2-chip b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v2-chip em { font-style: normal; font-size: 11px; }
.v2-sq { display: inline-grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; padding: 0; border: 0; border-radius: var(--v2-r-sm); background: var(--v2-accent); color: #fff; transition: background .2s, transform .2s; }
.v2-sq:hover { background: var(--v2-accent-hi); transform: translateY(-1px); }
.v2-sq.muted { background: var(--v2-surface-3); color: #ddd; }
.v2-sq .icon { width: 19px; height: 19px; }
.v2-go { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: var(--v2-r-sm); background: var(--v2-green); color: #fff; font-size: 13px; font-weight: 700; }
.v2-go:hover { filter: brightness(1.08); }

/* ---------- 通用组件 ---------- */
.btn { border: 0 !important; border-radius: var(--v2-r-sm); background: var(--v2-surface-3); color: #fff; font-weight: 600; box-shadow: none !important; }
.btn:hover:not(:disabled) { background: #48484b; transform: none; }
.btn.primary { background: var(--v2-accent) !important; color: #fff; }
.btn.primary:hover:not(:disabled) { background: var(--v2-accent-hi) !important; filter: none; }
.btn.danger { background: #ef444426; color: var(--v2-red); }
.tab, button.tab { background: var(--v2-surface-2) !important; border: 0 !important; border-radius: var(--v2-r-sm); color: #cfcfd3; font-weight: 600; }
.tab.active, button.tab.active { background: var(--v2-accent) !important; color: #fff; }
.panel { background: var(--v2-surface) !important; border: 0 !important; border-radius: var(--v2-r-lg); box-shadow: none; }
.stats { background: var(--v2-surface) !important; border: 0 !important; border-radius: var(--v2-r-lg); }
.stat { border-color: var(--v2-line) !important; }
.kv-list .row { border-color: var(--v2-line) !important; }
.row .k { color: var(--v2-muted); }
.field label, .label-text { color: var(--v2-muted); }
.field input, .field select, .field textarea { background: var(--v2-surface-2) !important; border: 1px solid transparent !important; border-radius: var(--v2-r-sm) !important; color: var(--v2-text) !important; }
.field input:focus, .field textarea:focus { border-color: var(--v2-accent) !important; outline: none; }
.search, .filters .search { background: var(--v2-surface-2) !important; border: 0 !important; border-radius: var(--v2-r-sm) !important; }
.tag { background: #1fbf5b22; color: #4ade80; border-radius: 6px; }
.tag.pending { background: var(--v2-accent-soft); color: var(--v2-accent-hi); }
.tag.gray { background: var(--v2-surface-3); color: #c8c8cc; }
.table-wrap, .trade-ticker { background: var(--v2-surface) !important; border: 0 !important; border-radius: var(--v2-r-lg) !important; }
th, .tt-head { background: transparent !important; color: var(--v2-dim) !important; border-bottom: 1px solid var(--v2-line); }
td { border-color: #2f2f31 !important; }
.row-link:hover td, .tt-row:hover { background: #ffffff06 !important; }
.liquidity-banner { border: 0 !important; border-radius: var(--v2-r-lg) !important; background: linear-gradient(100deg, var(--v2-surface) 55%, #ff7a1a2e) !important; }
.detail-price, .data-box, .fee-summary-box, .info-note, .sale-timer, .purchased-art, .gift-note, .ref-price-bar { background: var(--v2-surface-2) !important; border: 0 !important; border-radius: var(--v2-r-md) !important; }
.liquidity-badge { border-color: #4a4a4d; color: #d4d4d8; border-radius: 6px; }
.chain-badges span { background: var(--v2-surface-2); border: 0; color: var(--v2-muted); }
.art-frame .big-art { border: 0 !important; box-shadow: none !important; border-radius: var(--v2-r-lg) !important; clip-path: inset(0 round var(--v2-r-lg)); }
.creator { color: var(--v2-accent); }

/* 自定义下拉 */
.pm-select-btn { background: var(--v2-surface-2) !important; border: 0 !important; border-radius: var(--v2-r-sm) !important; color: #fff; font-weight: 600; }
.pm-select-btn:hover { background: var(--v2-surface-3) !important; }
.pm-select.open .pm-select-btn, .pm-select-btn:focus-visible { box-shadow: 0 0 0 2px var(--v2-accent) !important; }
.pm-select-list { background: #29292b !important; border: 1px solid #3a3a3d !important; border-radius: var(--v2-r-md) !important; box-shadow: 0 18px 48px #000a !important; }
.pm-select-list li:hover, .pm-select-list li.hl { background: #343437; color: #fff; }
.pm-select-list li.on { color: var(--v2-accent-hi); }

/* 弹窗、抽屉、提示 */
.modal { background: var(--v2-surface) !important; border: 1px solid #343437 !important; border-radius: 22px !important; box-shadow: 0 30px 80px #000c !important; }
.drawer { background: #232324 !important; border-left: 1px solid var(--v2-line) !important; box-shadow: -30px 0 70px #0009; }
button.notice { border-color: var(--v2-line) !important; }
.badge-icon { background: var(--v2-accent) !important; border: 0 !important; color: #fff !important; border-radius: var(--v2-r-sm) !important; }
.toast { background: #2c2c2e; border-color: #3d3d40; color: #f4f4f5; border-radius: 12px; }
.sidebar a.active { background: var(--v2-accent-soft) !important; border: 0 !important; color: var(--v2-accent-hi) !important; }
.sidebar a { border-radius: var(--v2-r-sm); }
.box-icon { background: var(--v2-accent) !important; border: 0 !important; color: #fff !important; border-radius: var(--v2-r-sm) !important; }
.check { background: #1fbf5b22 !important; border: 0 !important; }
.stepper .step.done:before { background: var(--v2-accent); }
.step.done { border-color: var(--v2-accent) !important; }
.step { border-color: var(--v2-surface-3) !important; }
.quota-track { background: var(--v2-surface-3); }
.pagination button { border: 0; background: var(--v2-surface-2); border-radius: 8px; color: #cfcfd3; }
.pagination button.selected { background: var(--v2-accent); color: #fff; }
.hold-badge { border-color: #ffffff1a; }

/* ---------- 作品卡片 ---------- */
.v2-card { background: var(--v2-surface) !important; border: 0 !important; border-radius: var(--v2-r-lg) !important; overflow: hidden; }
.v2-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px #0008 !important; border: 0 !important; }
.v2-card .art-top { margin: 0; border-radius: var(--v2-r-lg) var(--v2-r-lg) 0 0 !important; }
.v2-card .heart { top: 12px; right: 12px; background: #0000004d; }
.v2-img-pill { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none; }
.v2-img-pill.dark { background: #0b0b0ce6; color: #fff; }
.v2-img-pill.warn { background: var(--v2-red); color: #fff; }
.v2-card .art-info { padding: 16px 18px 18px; }
.v2-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.v2-creator { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: var(--v2-accent-hi); font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.v2-creator .mavatar.cr-av { width: 18px; height: 18px; }
.v2-meta [data-lc] { font-weight: 700; font-size: 12px; }
.v2-card h3 { margin: 10px 0 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.v2-card h3 a:hover { color: var(--v2-accent-hi); }
.v2-no { color: var(--v2-dim); font-weight: 600; }
.v2-price { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 16px; }
.v2-price > div { display: grid; gap: 2px; }
.v2-price small { font-size: 11px; color: var(--v2-dim); }
.v2-price b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.v2-card-actions { display: flex; gap: 8px; }
.v2-pill { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: var(--v2-r-sm); background: var(--v2-surface-2); overflow: hidden; }
.v2-pill-btn { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.v2-pill-btn:hover { color: var(--v2-accent-hi); transform: none; box-shadow: none; }
.v2-pill-text { font-size: 11.5px; color: var(--v2-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-pill-btn + .v2-pill-text { padding-left: 10px; border-left: 1px solid var(--v2-surface-3); }
.art-grid { gap: 20px; }
@media (max-width: 600px) {
  .v2-card .art-info { padding: 11px 11px 12px; }
  .v2-meta { font-size: 10.5px; } .v2-meta [data-lc] { display: none; }
  .v2-card h3 { font-size: 13.5px; margin-top: 7px; }
  .v2-price { margin: 8px 0 10px; gap: 6px; } .v2-price b { font-size: 15px; }
  /* 手机上走势图缩小显示，右下角保留「24H」 */
  .v2-price .spark { width: 46px; height: 20px; } .v2-price .spark-wrap small { font-size: 8px; }
  .v2-sq { width: 34px; height: 34px; } .v2-pill { height: 34px; padding: 0 9px; } .v2-pill-text { display: none; }
  .v2-img-pill { font-size: 10px; padding: 4px 9px; bottom: 8px; }
  .art-grid { gap: 12px; }
}

/* ---------- 作品大厅：标题工具栏 + 左侧筛选栏 ---------- */
.v2-list-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 4px 0 22px; }
.v2-list-head h1 { margin: 0; font-size: 30px; font-weight: 800; }
.v2-list-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.v2-list-tools .search { display: flex; align-items: center; gap: 10px; width: 340px; max-width: 100%; height: 44px; padding: 0 14px; }
.v2-list-tools .search input { width: 100%; border: 0; background: none; color: #fff; outline: none; }
.v2-list-tools .pm-select { min-width: 190px; }
.v2-list-tools .pm-select-btn, .v2-list-tools .btn { height: 44px; }
.v2-list-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 24px; align-items: start; }
.v2-filters { display: grid; gap: 12px; position: sticky; top: 16px; }
.v2-group { border-radius: var(--v2-r-md); background: var(--v2-surface); overflow: hidden; }
.v2-group summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--v2-surface-2); font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.v2-group summary::-webkit-details-marker { display: none; }
.v2-group summary > span { flex: 1; }
.v2-group summary > .icon { color: var(--v2-muted); transition: transform .25s; }
.v2-group:not([open]) summary > .icon { transform: rotate(-90deg); }
.v2-badge { padding: 2px 9px; border: 0; border-radius: 999px; background: var(--v2-accent); color: #fff; font-size: 11px; font-weight: 700; }
.v2-opts { display: grid; gap: 2px; padding: 8px; }
.v2-opt { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: var(--v2-r-sm); font-size: 13px; color: #e4e4e7; cursor: pointer; }
.v2-opt:hover { background: #ffffff08; }
.v2-opt.on { background: var(--v2-surface-2); color: #fff; font-weight: 600; }
.v2-opt input { position: absolute; opacity: 0; pointer-events: none; }
.v2-opt span { flex: 1; min-width: 0; }
.v2-opt small { font-size: 11px; color: var(--v2-dim); font-variant-numeric: tabular-nums; }
.v2-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #56565a; flex-shrink: 0; transition: all .2s; }
.v2-opt.on .v2-radio { border: 5px solid #fff; background: var(--v2-accent); }
.v2-opt:has(input:focus-visible) { outline: 2px solid var(--v2-accent); outline-offset: -2px; }
.v2-list-main { min-width: 0; }
.v2-list-main .liquidity-banner { margin-bottom: 18px; }
@media (max-width: 900px) {
  .v2-list-layout { grid-template-columns: 1fr; }
  .v2-filters { position: static; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .v2-filters::-webkit-scrollbar { display: none; }
  .v2-group { flex: 0 0 230px; }
  .v2-list-tools { width: 100%; }
  .v2-list-tools .search { flex: 1 1 100%; width: auto; }
  .v2-list-tools .pm-select { flex: 1; min-width: 0; }
}

/* ---------- 首页 ---------- */
.v2-home .ticker { background: var(--v2-surface); border: 0; border-radius: var(--v2-r-md); margin: -10px 0 22px; }
.v2-home .ticker-item { border-color: var(--v2-line); }
.v2-featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 380px; border-radius: 24px; background: var(--v2-surface); overflow: hidden; }
.v2-feat-copy { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 44px 48px; }
.v2-chip-label { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--v2-accent-soft); color: var(--v2-accent-hi); font-size: 11.5px; font-weight: 700; letter-spacing: .8px; }
.v2-feat-copy h1 { margin: 16px 0 12px; font-size: clamp(32px, 3.6vw, 56px); line-height: 1.15; font-weight: 800; letter-spacing: -.5px; }
.v2-feat-copy h1 span { color: var(--v2-accent); }
.v2-feat-copy p { margin: 0 0 24px; color: var(--v2-muted); font-size: 15px; }
.v2-feat-copy .actions .btn { height: 46px; padding: 0 22px; font-size: 14px; }
.v2-feat-copy .app-links { margin-top: 22px; }
.v2-feat-art { position: relative; min-height: 300px; background: #241a12; }
.v2-feat-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.v2-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 34px; }
.v2-overview .v2-chip { justify-content: space-between; padding: 16px 14px 16px 18px; }
.v2-overview .v2-chip b { font-size: 22px; }
.v2-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.v2-sec-head h2 { margin: 0; font-size: 26px; font-weight: 800; }
.v2-sec-head p { margin: 5px 0 0; color: var(--v2-muted); font-size: 13px; }
.v2-sec-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.v2-show-all { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 12px 0 14px; border-radius: var(--v2-r-sm); background: var(--v2-accent); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.v2-show-all:hover { background: var(--v2-accent-hi); }
.v2-home .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.v2-home .home-section { margin: 40px 0; padding-top: 34px; border-top: 1px solid var(--v2-line); }
.v2-home .home-section:first-of-type { border-top: 0; padding-top: 0; }
.v2-hot { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.v2-hot-main { min-width: 0; }
.v2-promo { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--v2-r-lg); background: var(--v2-surface); }
.v2-promo-art { position: relative; height: 150px; border-radius: var(--v2-r-md); background: radial-gradient(circle, #ffffff26 1.4px, transparent 2.2px) 0 0 / 20px 20px, linear-gradient(135deg, #ff8a2a, #c94800); overflow: hidden; }
.v2-promo-art img { position: absolute; width: 86px; height: 86px; border-radius: 14px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 10px 22px #0006; }
.v2-promo-art img:nth-child(1) { left: 22px; top: 34px; transform: rotate(-10deg); }
.v2-promo-art img:nth-child(2) { left: 50%; top: 22px; margin-left: -43px; z-index: 1; }
.v2-promo-art img:nth-child(3) { right: 22px; top: 36px; transform: rotate(9deg); }
.v2-promo h3 { margin: 6px 4px 0; font-size: 17px; font-weight: 800; }
.v2-promo p { margin: 0 4px 4px; color: var(--v2-muted); font-size: 12.5px; line-height: 1.6; }
.v2-step { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: var(--v2-r-sm); background: var(--v2-surface-2); font-size: 12.5px; color: #e4e4e7; }
.v2-step .icon { color: var(--v2-accent); }
.v2-step:hover { background: var(--v2-surface-3); }
.v2-promo .btn.wide { margin-top: auto; height: 44px; }
.v2-home .hot-marquee .art-card { flex-basis: 270px; }
.v2-home .tt-row.fresh { background: linear-gradient(90deg, #ff7a1a24, transparent 70%); }
.v2-home .liquidity-banner { margin: 8px 0 0; }
.v2-app { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; margin: 40px 0 10px; padding: 36px 40px; border: 0; border-radius: 24px; background: radial-gradient(circle, #ffffff1f 1.4px, transparent 2.2px) 0 0 / 22px 22px, linear-gradient(120deg, #ff7a1a, #c94800); }
.v2-app h2 { margin: 0 0 8px; font-size: 28px; font-weight: 800; }
.v2-app p { margin: 0 0 22px; color: #fff3e6; }
.v2-app .btn { background: #fff !important; color: #1b1b1c !important; }
.v2-app .btn:hover { background: #ffe9d6 !important; }
.v2-app-art { display: flex; }
.v2-app-art img { width: 110px; height: 110px; margin-left: -26px; border-radius: 18px; object-fit: cover; border: 4px solid #fff; box-shadow: 0 14px 26px #0005; }
.v2-app-art img:nth-child(1) { transform: rotate(-8deg); } .v2-app-art img:nth-child(3) { transform: rotate(8deg); }
@media (max-width: 1100px) { .v2-hot { grid-template-columns: 1fr; } .v2-promo { display: none; } .v2-overview { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .v2-featured { grid-template-columns: 1fr; }
  .v2-feat-art { order: -1; min-height: 210px; }
  .v2-feat-copy { padding: 24px 20px 26px; }
  .v2-sec-head { align-items: center; } .v2-sec-head h2 { font-size: 21px; } .v2-sec-head p { display: none; }
  .v2-overview .v2-chip b { font-size: 17px; } .v2-overview .v2-sq { display: none; }
  .v2-app { grid-template-columns: 1fr; padding: 26px 22px; } .v2-app-art { display: none; }
  .v2-home .hot-marquee .art-card { flex-basis: 190px; }
}

/* ---------- 页脚 ---------- */
.v2-footer { max-width: var(--page-max); margin: 56px auto 0; padding: 0 var(--gutter); }
.page-home .v2-footer { padding: 0; }
.v2-foot-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; padding: 36px 0 28px; border-top: 1px solid var(--v2-line); }
.v2-foot-brand .brand { font-size: 20px; }
.v2-foot-brand .brand svg { width: 24px; height: 28px; }
.v2-foot-brand p { margin: 12px 0 0; max-width: 300px; color: var(--v2-muted); font-size: 13px; line-height: 1.7; }
.v2-foot-top h4 { margin: 4px 0 12px; font-size: 13px; font-weight: 700; color: #fff; }
.v2-foot-top a:not(.brand) { display: block; padding: 4px 0; color: var(--v2-muted); font-size: 13px; }
.v2-foot-top a:not(.brand):hover { color: var(--v2-accent-hi); }
.v2-foot-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0 30px; border-top: 1px solid var(--v2-line); color: var(--v2-dim); font-size: 12px; }
.v2-foot-bottom .link-btn { font-size: 12px; }
@media (max-width: 900px) {
  .v2-foot-top { grid-template-columns: 1fr 1fr; }
  .v2-foot-brand { grid-column: 1 / -1; }
  .v2-footer { margin-bottom: 90px; }
}

/* ---------- 个人概览条：窄屏 ---------- */
@media (max-width: 1100px) { .v2-userbar { flex-direction: column; align-items: stretch; } .v2-chips { overflow-x: auto; scrollbar-width: none; } .v2-chip { flex: 1 0 auto; } }
@media (max-width: 600px) {
  .v2-userbar { gap: 14px; padding-bottom: 18px; margin-bottom: 18px; }
  .mavatar.v2-av { width: 54px; height: 54px; }
  .v2-chip { padding: 8px 8px 8px 12px; gap: 8px; } .v2-chip b { font-size: 15px; } .v2-chip .v2-sq { width: 34px; height: 34px; } .v2-go { height: 34px; padding: 0 12px; }
}

/* ---------- 详情页残留的暖色块统一为灰阶 ---------- */
.quote-reference { background: var(--v2-surface-2) !important; border: 0 !important; border-radius: var(--v2-r-sm) !important; }
.quote-reference strong { color: var(--v2-accent-hi) !important; }
.quote-columns { color: var(--v2-dim) !important; }
.chart-tabs button { border: 0 !important; background: var(--v2-surface-2) !important; color: #c8c8cc !important; border-radius: 8px !important; }
.chart-tabs button.selected { background: var(--v2-accent) !important; color: #fff !important; }
.book-row { border-color: var(--v2-line) !important; }
.book-head, .book-row span:last-child { color: var(--v2-muted); }
.form-total { border-color: var(--v2-line) !important; }
.trade-switch { border: 0 !important; background: var(--v2-surface-2); border-radius: var(--v2-r-sm) !important; padding: 4px; gap: 4px; }
.trade-switch button { border-radius: 8px !important; background: transparent !important; color: #c8c8cc !important; }
.trade-switch button.selected { background: var(--v2-accent) !important; color: #fff !important; }
.duration-options span { border-color: #444447 !important; border-radius: var(--v2-r-sm) !important; color: #d4d4d8 !important; }
.duration-options input:checked + span { border-color: var(--v2-accent) !important; background: var(--v2-accent-soft) !important; color: var(--v2-accent-hi) !important; }
.form-options button { border-color: #444447 !important; border-radius: var(--v2-r-sm) !important; }
.form-options button.selected { border-color: var(--v2-accent) !important; background: var(--v2-accent-soft) !important; }
.payment-method { background: var(--v2-surface-2) !important; border-color: transparent !important; border-radius: var(--v2-r-md) !important; }
.payment-method.selected { border-color: var(--v2-accent) !important; }
.lesson, .notice, .result-art img { border-color: var(--v2-line) !important; }
.lesson { background: var(--v2-surface) !important; border: 0 !important; border-radius: var(--v2-r-md) !important; }
.upload { border-color: #4a4a4d !important; background: var(--v2-surface-2) !important; border-radius: var(--v2-r-md) !important; }
.creator-identity { background: var(--v2-surface-2) !important; border: 0 !important; border-radius: var(--v2-r-md) !important; }
.detail-market-grid .chart-wrap { margin-top: 40px; }
.address-pair small { color: var(--v2-dim); }

/* ---------- 文字与细节统一灰阶（覆盖第一版暖棕色文字） ---------- */
.list-item p, .notice p, .notice small, .hint, .lesson p, .row .k, .stat label, .money-split label, .label, .titlebar p, .series-description, .small-text, .detail-info p,
.liquidity-banner p, .liquidity-banner small, .chain-event small, .step small, .creator small, .purchased-art small, .result-art p, .result-art small, .profile-head .hint, .owned-series-inline p, .artwork-chain-address .label { color: var(--v2-muted) !important; }
.list-item, .notice, .liq-order, .sep, .tt-row, .faq, .quick-asks, .me-row { border-color: var(--v2-line) !important; }
.step { color: #8e8e93 !important; } .step.done { color: #fff !important; } .step:before { background: #4a4a4d !important; }
.bubble { background: var(--v2-surface-2) !important; color: #ececee !important; border: 0 !important; border-radius: 14px !important; }
.bubble.me { background: var(--v2-accent) !important; color: #fff !important; }
.chat-header, .chat-input { border-color: var(--v2-line) !important; }
.chat-time { color: var(--v2-dim) !important; }
.chat-input input { background: var(--v2-surface-2) !important; border: 0 !important; border-radius: var(--v2-r-sm) !important; color: #fff !important; }
.success p { color: var(--v2-muted) !important; }
.money-split b, .stat strong { color: #fff; }
.hash { color: var(--v2-accent-hi); }
.drawer .sidebar .group, .sidebar .group { color: var(--v2-dim) !important; }
.sidebar a { color: #c8c8cc !important; }
.account-layout .sidebar { border-color: var(--v2-line) !important; }
.empty-state .muted { color: var(--v2-muted); }
.address-pair { color: #e4e4e7; }
.login-notice { background: #2c2c2e !important; border-color: #3d3d40 !important; }
.notice-success { background: #1fbf5b22 !important; border: 0 !important; }
.ticker-item { color: #d4d4d8; }
.close, button.close, .notice-dismiss { color: #a1a1a6 !important; } .close:hover, button.close:hover { color: #fff !important; }

/* ───── 正式版：接入后端后新增的状态与组件 ───── */
.boot { min-height: 70vh; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; }
.boot .brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; }
.boot .brand svg { width: 34px; height: 34px; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; min-width: 0; }
.code-row .btn { white-space: nowrap; }
.pay-modal { max-width: 420px; }
.pay-amount { display: grid; justify-items: center; gap: 4px; margin: 6px 0 14px; }
.pay-amount strong { font-size: 30px; color: var(--v2-accent); }
.pay-qr { width: 220px; height: 220px; margin: 0 auto 12px; padding: 10px; background: #fff; border-radius: 14px; display: grid; place-items: center; }
.pay-qr svg { width: 100%; height: 100%; }
.hint.center { text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; }
.maintenance { max-width: 560px; margin: 10vh auto; text-align: center; display: grid; gap: 14px; justify-items: center; padding: 40px 28px; }
.book-empty { padding: 14px 4px; text-align: center; }
.chart-wrap.loading { opacity: .55; }
.bubble .chat-at { display: block; margin-top: 4px; font-size: 11px; opacity: .6; }
.bubble.local { opacity: .85; border-style: dashed; }
.tt-empty { padding: 26px 10px; text-align: center; }
.quote-level.empty b, .quote-level.empty span { color: var(--v2-dim); }
.btn.danger { background: #ef444426; color: #ff8a8a; }

/* 图片加载前的占位色：与卡片同色系的深色，避免先露出橙色或空白 */
.art-top, .cell-art img, .ticker-item img, .identity-thumbnail, .purchased-art img, .result-art img, .v2-app-art img, .v2-promo-art img, .big-art { background-color: #2a2a2c; }

.low-balance { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.buy-now-price { display: grid; gap: 6px; padding: 16px 18px; margin: 4px 0 14px; border-radius: 14px; background: var(--v2-surface-2); }
.buy-now-price strong { font-size: 28px; color: var(--v2-accent); font-variant-numeric: tabular-nums; }

/* 手机端：输入框字号不小于 16px，iOS 点输入框时不会自动放大页面 */
@media (max-width: 900px) {
  input, select, textarea, .field input, .field select, .field textarea, .searchbox input, .chat-input input { font-size: 16px !important; }
}
.addr-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; }
.addr-line .hash { word-break: break-all; }
.frozen-item { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--v2-line); }
.frozen-item:last-child { border-bottom: 0; }
.frozen-item small { display: block; margin-top: 5px; font-size: 12px; }
.frozen-amt { display: grid; justify-items: end; gap: 8px; font-weight: 600; white-space: nowrap; }

/* 顶部导航「我的」下拉 */
.nav-group { position: relative; height: 100%; display: flex; align-items: center; }
.nav-group-btn { all: unset; cursor: pointer; display: flex; align-items: center; gap: 4px; height: 100%; color: inherit; font: inherit; }
.nav-group-btn:hover, .nav-group.active .nav-group-btn { color: var(--v2-accent); }
.nav-group-btn .icon { transition: transform .2s; }
.nav-group.open .nav-group-btn .icon, .nav-group:hover .nav-group-btn .icon { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% - 14px); left: 50%; transform: translateX(-50%); min-width: 132px; padding: 6px; border-radius: 12px; background: var(--v2-surface-2); border: 1px solid var(--v2-line); box-shadow: 0 16px 40px #0008; display: none; z-index: 30; }
.nav-group:hover .nav-menu, .nav-group.open .nav-menu { display: grid; }
.nav-menu a { height: auto !important; padding: 9px 12px; border-radius: 8px; white-space: nowrap; color: var(--v2-muted); }
.nav-menu a:hover { background: var(--v2-surface-3); color: #fff; }
.nav-menu a.active { color: var(--v2-accent); }
.nav-menu a:after { display: none; }

/* 返回按钮（面包屑左侧） */
.crumb { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
/* 返回按钮：与其他按钮同样的圆角，橙色背景 */
.back-btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px 7px 10px; margin-right: 12px; border-radius: var(--v2-r-sm); background: var(--v2-accent); color: #fff; font-size: 12.5px; font-weight: 600; transition: background .15s; }
.back-btn:hover { background: var(--v2-accent-hi); }
.back-btn:focus-visible { outline: 2px solid var(--v2-accent-hi); outline-offset: 2px; }
.qr-upload { min-height: 150px; background: center / contain no-repeat var(--v2-surface-2); }
.hidden { display: none !important; }

/* 只用居中的上传图标，隐藏浏览器自带的「选择文件」 */
.icon-upload { position: relative; display: flex !important; align-items: center !important; justify-content: center !important; padding: 0 !important; gap: 0 !important; }
.icon-upload input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
.icon-upload .icon { width: 48px; height: 48px; margin: 0; transition: transform .2s ease, color .2s ease; }
.icon-upload:hover .icon { transform: scale(1.1); color: #ffb04d; }
.icon-upload:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }
.qr-upload.has-img .icon { opacity: 0; }
.qr-upload.has-img:hover .icon { opacity: .9; }

/* 导航「我的」下拉：与作品页排序下拉同一套样式 */
.nav-menu { min-width: 150px !important; padding: 6px !important; background: #29292b !important; border: 1px solid #3a3a3d !important; border-radius: var(--v2-r-md) !important; box-shadow: 0 18px 48px #000a !important; gap: 2px; }
.nav-group:hover .nav-menu, .nav-group.open .nav-menu { animation: navDropIn .22s cubic-bezier(.16, 1, .3, 1); }
@keyframes navDropIn { from { opacity: 0; transform: translateX(-50%) translateY(-6px) scale(.98); } }
.nav-menu a { display: flex !important; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px !important; border-radius: 6px !important; color: #cdbfac !important; font-size: 13px !important; font-weight: 400 !important; }
.nav-menu a:hover { background: #343437 !important; color: #fff !important; }
.nav-menu a.active { color: var(--v2-accent-hi) !important; font-weight: 600 !important; }

/* 品牌 Logo（发光立方体，透明底） */
.brand .brand-mark { display: block; flex: none; width: 32px; height: 32px; object-fit: contain; }
.m-header .brand .brand-mark { width: 30px; height: 30px; }
.v2-foot-brand .brand .brand-mark, .home-footer .brand .brand-mark { width: 30px; height: 30px; }
.boot .brand .brand-mark { width: 44px; height: 44px; }

/* 首页公告栏 */
.v2-notice { --nh: 48px; display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 8px 0 10px; margin: 0 0 16px; border-radius: var(--v2-r-md); background: var(--v2-surface-2); overflow: hidden; }
.v2-notice-tag { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 30px; padding: 0 12px; border-radius: var(--v2-r-sm); background: var(--v2-accent); color: #fff; font-size: 13px; font-weight: 700; }
.v2-notice-roll { flex: 1; min-width: 0; height: 48px; overflow: hidden; }
.v2-notice-roll ul { margin: 0; padding: 0; list-style: none; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.v2-notice-roll li { height: 48px; }
.v2-notice-roll button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; width: 100%; height: 48px; color: #fff; font-size: 14px; }
.v2-notice-roll button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-notice-roll button:hover span { color: var(--v2-accent-hi); }
.v2-notice-roll time, .notice-item time { flex: none; margin-left: auto; color: var(--v2-muted); font-size: 12px; }
.v2-notice em, .notice-item em, .notice-pin { flex: none; font-style: normal; font-size: 11px; font-weight: 700; color: var(--v2-accent-hi); background: var(--v2-accent-soft); padding: 2px 7px; border-radius: 6px; margin-right: 6px; }
.v2-notice-count { flex: none; color: var(--v2-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.v2-notice-all { all: unset; cursor: pointer; flex: none; display: inline-flex; align-items: center; gap: 2px; height: 32px; padding: 0 10px; border-radius: var(--v2-r-sm); color: var(--v2-muted); font-size: 13px; }
.v2-notice-all .icon { transform: rotate(-90deg); }
.v2-notice-all:hover { background: var(--v2-surface-3); color: #fff; }
.notice-modal { width: min(560px, calc(100vw - 32px)); }
.notice-body { max-height: 52vh; overflow-y: auto; white-space: pre-wrap; line-height: 1.8; color: #e4e4e6; font-size: 14px; padding: 4px 0 8px; }
.notice-list { display: grid; gap: 6px; max-height: 60vh; overflow-y: auto; }
.notice-item { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: var(--v2-r-sm); background: var(--v2-surface-2); color: #fff; font-size: 14px; }
.notice-item > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-item .icon { transform: rotate(-90deg); color: var(--v2-muted); }
.notice-item:hover { background: var(--v2-surface-3); }
@media (max-width: 600px) {
  .v2-notice { --nh: 44px; gap: 10px; height: 44px; margin-bottom: 12px; }
  .v2-notice-roll, .v2-notice-roll li, .v2-notice-roll button { height: 44px; }
  .v2-notice-roll button { font-size: 13px; }
  .v2-notice-roll time, .v2-notice-count { display: none; }
  .v2-notice-tag { height: 28px; padding: 0 9px; font-size: 12px; }
  .v2-notice-all { font-size: 0; padding: 0 6px; }
}

/* 弹窗超出屏幕高度时：整个弹窗层可上下滑动，关闭按钮和底部按钮都能滑到 */
.modal-backdrop { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; align-items: flex-start !important; padding: 16px; }
.modal-backdrop > .modal { margin: auto; flex-shrink: 0; max-height: none !important; }

/* 出售低价确认提醒 */
.low-price-warn { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; padding: 14px 16px; border-radius: var(--v2-r-sm); background: #ef736817; border: 1px solid #ef736866; color: #f3c9c4; animation: fadeIn .2s ease-out; }
.low-price-warn > .icon { flex: none; margin-top: 2px; color: #ef7368; }
.low-price-warn b { color: #ffd9d4; font-size: 14px; }
.low-price-warn p { margin: 4px 0 6px; font-size: 13px; line-height: 1.6; }

/* 移动端内置数字键盘（js/numpad.js） */
.numpad { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: #1c1c1e; border-top: 1px solid #ffffff14; box-shadow: 0 -12px 40px #000a;
  transform: translateY(105%); transition: transform .24s cubic-bezier(.16, 1, .3, 1); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.numpad.show { transform: none; }
.numpad-bar { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 8px; color: var(--v2-muted); font-size: 12px; }
.numpad-keys { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; grid-template-rows: repeat(4, 50px); gap: 6px; }
.numpad .nk { border: 0; border-radius: 10px; background: #2e2e30; color: #fff; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; -webkit-tap-highlight-color: transparent; display: flex; align-items: center; justify-content: center; gap: 4px; }
.numpad .nk.down { background: #48484b; transform: scale(.97); }
.numpad .nk-del, .numpad .nk-clear { font-size: 14px; color: #d6d6d8; background: #262628; }
.numpad .nk-done { grid-column: 4; grid-row: 3 / span 2; background: var(--v2-accent); font-size: 16px; }
.numpad .nk-done.down { background: var(--v2-accent-hi); }
.numpad .nk-num[data-k="00"] { grid-column: 1; grid-row: 4; }
.numpad .nk-num[data-k="0"] { grid-column: 2 / span 2; grid-row: 4; }
/* 键盘弹出时给弹窗和页面底部留出空间，输入框不会被挡住 */
.numpad-open .modal-backdrop { padding-bottom: 290px; }
.numpad-open #main { padding-bottom: 290px; }
input[data-numpad][inputmode="none"] { caret-color: var(--v2-accent); }
@media (pointer: fine) { .numpad { display: none; } }

/* 「我的」总览页 */
.my-hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.my-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--v2-r-lg); background: var(--v2-surface); cursor: pointer; transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s; outline: none; }
.my-card:hover, .my-card:focus-visible { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--v2-accent), 0 14px 32px #0008; }
.my-card-head { display: flex; align-items: center; gap: 10px; }
.my-card-head h2 { margin: 0; font-size: 17px; }
.my-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--v2-r-sm); background: var(--v2-accent-soft); color: var(--v2-accent-hi); }
.my-more { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; color: var(--v2-muted); font-size: 12.5px; }
.my-more .icon { transform: rotate(-90deg); }
.my-card:hover .my-more { color: var(--v2-accent-hi); }
.my-big { font-size: 30px; font-weight: 800; margin: 4px 0 6px; font-variant-numeric: tabular-nums; }
.my-big small { font-size: 13px; font-weight: 500; color: var(--v2-muted); }
.my-kv { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--v2-muted); padding: 6px 0; border-bottom: 1px solid #ffffff0d; }
.my-kv b { color: #fff; font-weight: 600; }
.my-thumbs { display: flex; gap: 8px; margin-top: 6px; }
.my-thumbs img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.my-thumbs span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: var(--v2-surface-2); color: var(--v2-muted); font-size: 13px; }
.my-actions { display: flex; gap: 8px; margin-top: 6px; }
.my-last { margin-top: 6px; padding: 10px 12px; border-radius: var(--v2-r-sm); background: var(--v2-surface-2); font-size: 13px; color: #d8d8da; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.my-empty { margin: 6px 0 0; font-size: 13px; }
.my-card-foot { margin-top: auto; padding-top: 6px; font-size: 13px; }
.my-modal { width: min(640px, calc(100vw - 32px)); }
.my-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.my-sum > div { padding: 14px; border-radius: var(--v2-r-sm); background: var(--v2-surface-2); }
.my-sum small { display: block; color: var(--v2-muted); font-size: 12px; margin-bottom: 6px; }
.my-sum b { font-size: 17px; }
.my-sum .link-btn { margin-left: 6px; font-size: 12px; }
.my-sub { margin: 4px 0 10px; font-size: 14px; color: var(--v2-muted); font-weight: 600; }
.my-list { display: grid; gap: 6px; max-height: 46vh; overflow-y: auto; }
.my-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, .8fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--v2-r-sm); background: var(--v2-surface-2); color: #fff; text-decoration: none; font-size: 13px; }
a.my-row:hover { background: var(--v2-surface-3); }
.my-row .cell-art img { width: 38px; height: 38px; }
.my-row-mid { color: var(--v2-muted); }
.my-row-wide { grid-column: 1 / span 2; color: #fff; }
.my-row-wide small { display: block; color: var(--v2-muted); font-size: 11.5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.my-row-num { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.my-row-end { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.my-row-end small { color: var(--v2-muted); font-size: 11px; }
@media (max-width: 900px) { .my-hub { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .my-sum { grid-template-columns: 1fr 1fr; } .my-sum > div:first-child { grid-column: 1 / -1; }
  .my-row { grid-template-columns: minmax(0, 1fr) auto; } .my-row .my-row-mid:not(.my-row-wide) { display: none; } .my-row-num { grid-column: 2; grid-row: 1; }
  .my-row-end { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
}
.my-modal .modal-actions { margin-top: 18px; }

.my-profile { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 16px 20px; border-radius: var(--v2-r-lg); background: var(--v2-surface); color: #fff; text-decoration: none; transition: background .2s; }
.my-profile:hover { background: var(--v2-surface-2); }
.my-profile .my-av { width: 48px; height: 48px; flex: none; }
.my-profile b { font-size: 16px; }
.my-profile small { display: block; margin-top: 4px; color: var(--v2-muted); font-size: 12.5px; }
.my-profile-go { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; color: var(--v2-muted); font-size: 13px; }
.my-profile-go .icon { transform: rotate(-90deg); }
.my-profile:hover .my-profile-go { color: var(--v2-accent-hi); }

/* 手机适配：横向超出屏幕的条带改成换行排列，避免内容被截掉 */
@media (max-width: 900px) {
  /* 作品页筛选：系列 / 价格范围 / 状态 改为上下排列的折叠面板，每个都完整可见 */
  .v2-filters { display: grid !important; grid-template-columns: 1fr; overflow: visible !important; padding-bottom: 0; }
  .v2-group { flex: none; }
}
@media (max-width: 1100px) {
  /* 列表页顶部的账户概览：卡片两列排列，不再横向滚出屏幕 */
  .v2-chips { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible !important; }
  .v2-chips > .v2-chip:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .v2-chip { min-width: 0; flex-wrap: wrap; }
  .v2-chip > div { min-width: 0; }
  .v2-chip b { overflow: hidden; text-overflow: ellipsis; }
}

/* 行情列表：本人持有标记 */
.own-mark { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: #2dd59c22; color: #2dd59c; font-size: 11px; font-weight: 600; vertical-align: 1px; white-space: nowrap; }

/* 首页「最新成交」实时提示：沿用 V1 的冒泡样式——平时是绿色呼吸灯 +「实时更新」，有新成交时原地展开成橙色胶囊 */
.v2-home .live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border: 1px solid #2dd59c33; border-radius: 999px; background: #2dd59c12; color: #cfe9de; font-size: 13px; white-space: nowrap;
  transition: padding .4s cubic-bezier(.16, 1, .3, 1), background .4s, border-color .4s, box-shadow .4s; }
.v2-home .live i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 #2dd59c88; animation: liveBreath 1.8s ease-in-out infinite; }
@keyframes liveBreath { 0% { box-shadow: 0 0 0 0 #2dd59c99; opacity: 1; } 70% { box-shadow: 0 0 0 7px #2dd59c00; opacity: .75; } 100% { box-shadow: 0 0 0 0 #2dd59c00; opacity: 1; } }
.v2-home .live.has-new { padding: 5px 14px 5px 11px; border-color: #ff8d2466; background: linear-gradient(110deg, #3d220a, #1d140b); box-shadow: 0 6px 22px #ff6a0026; color: #f3e6d6; }
.v2-home .live.has-new i { background: var(--orange); animation-name: liveBreathNew; }
@keyframes liveBreathNew { 0% { box-shadow: 0 0 0 0 #ff8d2499; } 70% { box-shadow: 0 0 0 7px #ff8d2400; } 100% { box-shadow: 0 0 0 0 #ff8d2400; } }
.v2-home .live .live-bubble b { color: #ffa043; margin-right: 6px; }
@media (max-width: 760px) { .v2-home .live { padding: 4px 10px 4px 9px; font-size: 12px; } .v2-home .live.has-new { padding: 4px 10px 4px 9px; } }
@media (max-width: 600px) {
  .v2-sec-head h2 { white-space: nowrap; }
  .v2-home .live .live-bubble { max-width: 9.5em; overflow: hidden; text-overflow: ellipsis; }
  .v2-home .live.has-new .live-bubble { max-width: 9.5em; }
}

/* 本人挂单中的作品详情 */
.selling-price .selling-left { margin-top: 6px; color: var(--v2-muted); font-size: 13px; }
.selling-price .selling-left .sale-clock { margin-left: 6px; font-size: 20px; }
.selling-price .hint { margin: 10px 0 0; }
.detail-market-grid.no-quotes { grid-template-columns: 1fr; }

/* 未挂售作品卡片上的「报价」按钮 */
.v2-sq.v2-offer { width: auto; padding: 0 12px; font-size: 13px; font-weight: 700; }

/* 搜索框右侧的清除按钮：橙色叉号（替换浏览器默认的蓝色） */
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; cursor: pointer;
  background: center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a1a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
/* 作品搜索历史下拉 */
.search-history { position: absolute; z-index: 70; padding: 6px; border-radius: var(--v2-r-md); background: #29292b; border: 1px solid #3a3a3d; box-shadow: 0 18px 48px #000a; animation: dropIn .2s cubic-bezier(.16, 1, .3, 1); }
.sh-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px 8px; color: var(--v2-muted); font-size: 12px; }
.sh-head .link-btn { font-size: 12px; }
.sh-item { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 6px; color: #e4e4e6; font-size: 13px; cursor: pointer; }
.sh-item:hover { background: #343437; }
.sh-item > .icon { color: var(--v2-muted); }
.sh-item span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-del { border: 0; background: none; color: var(--v2-muted); font-size: 16px; line-height: 1; padding: 0 2px; cursor: pointer; }
.sh-del:hover { color: var(--v2-accent); }

/* 内置英文键盘 */
.numpad.kb-text { padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); }
.kb-row { display: flex; gap: 5px; margin-top: 6px; padding: 0 2px; }
.kb-row .nk { flex: 1 1 0; height: 44px; min-width: 0; padding: 0; font-size: 18px; font-weight: 500; }
.kb-row .nk-shift, .kb-row .nk-del, .kb-row .nk-sym, .kb-row .nk-abc { flex: 1.5 1 0; font-size: 13px; background: #262628; color: #d6d6d8; }
.kb-row .nk-shift.on { background: #48484b; color: #fff; }
.kb-row .nk-zh { flex: 1.2 1 0; font-size: 13px; background: #262628; color: var(--v2-accent-hi); }
.kb-row .nk-space { flex: 3.6 1 0; font-size: 13px; color: #d6d6d8; }
.kb-row .nk-done { flex: 1.8 1 0; background: var(--v2-accent); font-size: 15px; font-weight: 700; }
.kb-row:nth-child(3) { padding: 0 5%; }
.numpad-keys > span { visibility: hidden; }
.numpad .nk-num[data-k="."], .numpad .nk-num[data-k="X"] { grid-column: 1; grid-row: 4; }
.v2-home .pills button.tab { font: inherit; font-size: 13px; cursor: pointer; border: 0; }

/* 收到的报价 */
.offers-panel .offer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #ffffff0d; }
.offers-panel .offer-row b { font-size: 18px; }
.offers-panel .offer-row small { display: block; margin-top: 4px; color: var(--v2-muted); }
.offer-recv { width: min(520px, calc(100vw - 32px)); }

/* 订单页：作品大图 */
.order-art-big { display: block; color: inherit; text-decoration: none; }
.order-art-big img { display: block; width: 100%; max-width: 420px; aspect-ratio: 1; object-fit: cover; border-radius: var(--v2-r-md); }
.order-art-big span { display: block; margin-top: 12px; }
.order-art-big small { display: block; margin-top: 4px; color: var(--v2-muted); }
.result-art.result-art-big { flex-direction: column; align-items: flex-start; }
.result-art.result-art-big img { width: 100%; max-width: 420px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--v2-r-md); }

/* ---------- 移动端：持有人、页脚、弹窗底部按钮 ---------- */
.holder-id { display: inline-flex; align-items: center; gap: inherit; }
@media (max-width: 600px) {
  /* 页脚：品牌居中，四栏并排，协议与版权居中 */
  .v2-foot-top { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 8px; padding: 28px 0 22px; text-align: center; }
  .v2-foot-brand { grid-column: 1 / -1; display: grid; justify-items: center; }
  .v2-foot-brand p { max-width: 280px; font-size: 12px; }
  .v2-foot-top h4 { margin: 0 0 8px; font-size: 13px; }
  .v2-foot-top a:not(.brand) { padding: 5px 0; font-size: 12px; white-space: nowrap; }
  .v2-foot-bottom { flex-direction: column-reverse; align-items: center; gap: 8px; padding: 16px 0 24px; text-align: center; }
  .v2-foot-bottom > span:first-child { max-width: 300px; line-height: 1.6; }
  .v2-foot-bottom a { color: var(--v2-muted); }

  /* 作品详情、行情弹窗：持有人头像在上、名称在下 */
  .detail-info .creator, .mk-body .creator { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mk-body .creator { align-items: center; }
  .detail-info .creator .holder-id, .mk-body .creator .holder-id { flex-direction: column; gap: 6px; font-size: 13px; }
  .detail-info .mavatar.cr-av, .mk-body .mavatar.cr-av { width: 40px; height: 40px; }

  /* 行情弹窗：大图居中；下面从上到下依次是 作品系列和编号 → 头像 → 用户名 → 持有者，全部左对齐；区块地址左对齐放在价格走势上面 */
  .mk-visual { display: grid; justify-items: center; }
  .mk-visual .art-frame { margin: 0 auto; }
  .mk-visual .chain-badges { justify-content: center; }
  .mk-addr { word-break: break-all; }
  .mk-addr-d { display: none; }
  .mk-addr-m { display: grid; justify-items: start; text-align: left; margin: 0 0 14px; }
  .mk-body { display: flex; flex-direction: column; text-align: left; }
  .mk-body .mk-title { order: -1; margin: 0 0 12px; }
  .mk-body .creator { align-items: flex-start !important; justify-content: flex-start; margin-bottom: 16px; }
  .mk-body .creator .holder-id { align-items: flex-start; }
  .mk-body .creator > .muted { order: 2; }
  .mk-actions .link { text-align: center; }

  /* 所有弹窗底部按钮居中 */
  .modal .actions:not(.login-row), .modal .notice-actions, .modal .my-actions { justify-content: center !important; }
  .modal .actions:not(.login-row) > .btn, .modal .my-actions > .btn { flex: 1 1 0; max-width: 220px; justify-content: center; }

  /* 更换头像：预览区头像在上，文字在下，按钮不再压住头像 */
  .av-preview { flex-direction: column; text-align: center; gap: 10px; padding: 18px 14px; }
  .av-preview > div { justify-items: center; }
}

/* 「本人持有」放在编号后面，不打断作品名 */
.cell-art small .own-mark { margin-left: 8px; font-size: 10px; padding: 0 5px; line-height: 16px; vertical-align: 0; }
@media (max-width: 600px) {
  /* 个人中心：头像下方单独放「更换头像」按钮，不再盖在头像上 */
  .profile-head { flex-direction: column; align-items: center; text-align: center; }
  .av-edit { display: grid; justify-items: center; gap: 10px; border-radius: 0; }
  .av-edit .av-edit-label { position: static; opacity: 1; padding: 5px 14px; border-radius: 999px; background: var(--v2-accent, #ff7a00); color: #fff; font-size: 12px; font-weight: 600; }
}
@media (max-width: 600px) {
  .profile-head > div { display: grid; justify-items: center; width: 100%; }
  .profile-head .addr-line { display: grid; justify-items: center; gap: 8px; text-align: center; }
}

/* ---------- 订单状态：倒计时在右侧，翻页数字 ---------- */
.result-success > div:not(.order-timer) { flex: 1; min-width: 0; }
.order-timer { flex-shrink: 0; display: grid; justify-items: end; gap: 8px; margin-left: auto; padding-left: 20px; text-align: right; }
.order-timer .ot-label { color: var(--v2-muted); font-size: 12px; }
.order-timer small { max-width: 240px; color: var(--v2-muted); font-size: 11px; line-height: 1.5; }
.flip-clock { display: inline-flex; align-items: center; gap: 4px; font-size: 26px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.flip-clock .fc-sep { padding: 0 1px; color: var(--v2-accent, #ff7a00); font-style: normal; animation: fcBlink 1s steps(1) infinite; }
.flip-clock .fd { position: relative; display: inline-block; width: 30px; height: 40px; border-radius: 7px; background: linear-gradient(#2f2f33 50%, #28282b 50%); box-shadow: inset 0 0 0 1px #ffffff10, 0 4px 10px #0006; perspective: 160px; overflow: hidden; }
.flip-clock .fd::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #0009; z-index: 2; }
.flip-clock .fd b { position: absolute; inset: 0; display: grid; place-items: center; color: #ffa043; backface-visibility: hidden; }
.flip-clock .fd b.out { animation: fdOut .28s ease-in forwards; transform-origin: 50% 50%; }
.flip-clock .fd b.in { animation: fdIn .28s ease-out .26s both; transform-origin: 50% 50%; }
@keyframes fdOut { to { transform: rotateX(90deg); opacity: .4; } }
@keyframes fdIn { from { transform: rotateX(-90deg); opacity: .4; } }
@keyframes fcBlink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .flip-clock .fd b.out, .flip-clock .fd b.in, .flip-clock .fc-sep { animation: none; } .flip-clock .fd b.out { display: none; } }
@media (max-width: 600px) {
  .result-success { flex-wrap: wrap; }
  .order-timer { width: 100%; grid-template-columns: 1fr auto; align-items: center; justify-items: start; padding: 14px 0 0; margin: 4px 0 0; border-top: 1px solid var(--v2-line, #ffffff14); text-align: left; }
  .order-timer .flip-clock { grid-column: 2; grid-row: 1; }
  .order-timer small { grid-column: 1 / -1; max-width: none; }
  .flip-clock { font-size: 20px; gap: 3px; }
  .flip-clock .fd { width: 23px; height: 32px; border-radius: 6px; }
}

/* 收到报价弹窗：按钮居中 */
.offer-recv .modal-actions { justify-content: center !important; }
.offer-recv .modal-actions > .btn { flex: 0 1 200px; justify-content: center; }

/* 所有弹窗底部按钮居中（电脑端也一样） */
.modal .actions:not(.login-row), .modal .my-actions { justify-content: center !important; }
.modal .actions:not(.login-row) > .btn { justify-content: center; }
@media (min-width: 601px) { .modal .actions:not(.login-row) > .btn { min-width: 120px; } }
/* 行情弹窗：按钮在右栏居中，「完整行情页」单独一行居中 */
.mk-actions .link { margin-left: 0 !important; width: 100%; text-align: center; }

/* ---------- 进度条：点在文字正上方，完成为橙色，进行中的点呼吸，进行中的那段线流动 ---------- */
.stepper { gap: 0 !important; margin: 28px 0 34px; }
.stepper .step { position: relative; flex: 1; min-width: 0; padding: 24px 4px 0 !important; border-top: 0 !important; text-align: center; }
.stepper .step::before { content: ''; position: absolute; top: 0; left: 50%; z-index: 1; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #3a3a3d !important; box-shadow: 0 0 0 4px var(--v2-surface, #232323); transition: background .3s; }
.stepper .step::after { content: ''; position: absolute; top: 6px; left: 50%; width: 100%; height: 2px; background: #3a3a3d; }
.stepper .step:last-child::after { display: none; }
.stepper .step.done::before { background: var(--v2-accent, #ff7a00) !important; }
.stepper .step.done::after { background: var(--v2-accent, #ff7a00); }
.stepper .step.current { color: #fff !important; }
.stepper .step.current::before { background: var(--v2-accent, #ff7a00) !important; animation: stepBreath 1.8s ease-in-out infinite; }
/* 已完成 → 进行中 的那段线：橙色光带往前流动 */
.stepper .step.done:has(+ .step.current)::after { background: linear-gradient(90deg, var(--v2-accent, #ff7a00) 0 30%, #ffd2a1 45%, var(--v2-accent, #ff7a00) 60% 100%); background-size: 220% 100%; animation: stepFlow 1.6s linear infinite; }
.stepper .step.current::after { background: linear-gradient(90deg, #ff7a0088, #3a3a3d 70%); }
@keyframes stepBreath { 0%, 100% { box-shadow: 0 0 0 4px var(--v2-surface, #232323), 0 0 0 4px #ff7a0055; } 50% { box-shadow: 0 0 0 4px var(--v2-surface, #232323), 0 0 0 11px #ff7a0000, 0 0 16px 4px #ff7a0066; } }
@keyframes stepFlow { from { background-position: 100% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .stepper .step.current::before, .stepper .step.done:has(+ .step.current)::after { animation: none; } }
@media (max-width: 600px) { .stepper .step { font-size: 12px; } .stepper .step small { font-size: 10px; } }
@media (max-width: 600px) {
}

/* 底部导航直达的四个页面（作品、行情、交易、我的）不显示返回和路径，电脑端也一样 */
.tab-root > .crumb, .tab-root .crumb:first-child { display: none; }

/* 协议 / 规则弹窗：叠在其他弹窗之上 */
#doc-layer .modal-backdrop, .layer-out .doc-backdrop { z-index: 40; }
.doc-modal { width: min(640px, calc(100% - 32px)); }
.doc-body { max-height: min(60vh, 560px); overflow-y: auto; padding-right: 4px; line-height: 1.8; }
.doc-body h3 { margin: 18px 0 8px; font-size: 15px; }
.doc-body p { color: var(--v2-muted); font-size: 13px; }
.doc-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.doc-steps > div { padding: 12px 14px; border-radius: 12px; background: var(--v2-surface-2); }
.doc-steps p { margin: 6px 0 0; font-size: 12px; }
@media (max-width: 600px) { .doc-steps { grid-template-columns: 1fr; } }
#login-form .choice { align-items: flex-start; }
#login-form .agree-text { line-height: 1.7; }
#login-form .agree-text .link { white-space: nowrap; }

/* 作品详情（电脑端和手机端）：编号下面，头像 → 用户名 → 「持有者」上下排列 */
.detail-info .creator { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 16px 0 18px; }
.detail-info .creator > .holder-id { order: 1; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 14px; }
.detail-info .creator > .muted:first-child { order: 2; font-size: 12px; }
.detail-info .mavatar.cr-av { width: 48px; height: 48px; }
/* 官方发售：官方 logo + 橙色「官方发售」字样，和用户头像区分开 */
.mavatar.official-av { object-fit: contain; background: #1d1d1f; padding: 2px; border: 1px solid #ff7a0055; }
.official-name { color: var(--v2-accent, #ff7a00); font-weight: 700; }
/* 切换到系统键盘：内置键盘直接隐藏，底部留白保留到系统键盘弹出，页面不跳 */
.numpad.instant { transition: none !important; }
.kb-switching .modal-backdrop, .kb-switching #main { padding-bottom: 290px; }

/* 更换头像 + 内置键盘：预览缩成一行、候选头像变小一点，输入框和候选头像都留在键盘上方 */
.numpad-open .avatar-modal { margin-top: 0; }
.numpad-open .avatar-modal .modal-head { margin-bottom: 8px; }
.numpad-open .avatar-modal .av-preview { flex-direction: row; text-align: left; gap: 12px; padding: 10px 12px; margin-bottom: 10px; }
.numpad-open .avatar-modal .av-preview > div { justify-items: start; }
.numpad-open .avatar-modal .mavatar.av-big { width: 48px; height: 48px; }
.numpad-open .avatar-modal .field { margin-bottom: 8px; }
.numpad-open .avatar-modal .av-head { margin: 0 0 6px !important; }
.numpad-open .avatar-modal .av-preview small { display: none; }
/* 键盘打开时候选头像排成一行、可左右滑动，整块都在键盘上方 */
.numpad-open .avatar-modal .av-grid { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; margin-bottom: 0; }
.numpad-open .avatar-modal .av-grid::-webkit-scrollbar { display: none; }
.numpad-open .avatar-modal .av-opt { flex: 0 0 54px; width: 54px; }
.numpad-open .avatar-modal .modal-actions { display: none; }

/* 在售作品详情：出售价 + 参考价在左，出售撮合倒计时在右 */
.detail-price.listing-price { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.listing-ref { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.listing-ref b { font-size: 16px; }
.detail-price .order-timer { padding-left: 0; }
@media (max-width: 600px) { .detail-price.listing-price .order-timer { width: 100%; } }

/* ---------- K 线 ---------- */
.chart-mode { display: inline-flex; gap: 2px; padding: 3px; margin-left: auto; margin-right: 10px; border-radius: 10px; background: var(--v2-surface-2, #2e2e30); }
.chart-mode button { padding: 5px 12px; border: 0; border-radius: 8px; background: none; color: var(--v2-muted); font-size: 12px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.chart-mode button.on { background: var(--v2-accent, #ff7a00); color: #fff; }
.kline { position: relative; cursor: crosshair; }
.kline .k-legend { position: absolute; left: 2.6%; top: 2%; display: inline-flex; align-items: center; gap: 5px; color: #ffb547; font-size: 11px; font-weight: 600; }
.kline .k-legend i { width: 14px; height: 2px; border-radius: 1px; background: #ffb547; }
.kline .k-cross { position: absolute; inset: 0; pointer-events: none; }
.kline .k-vline { position: absolute; top: 9%; bottom: 18%; width: 1px; background: #ffffff55; }
.kline .k-tip { position: absolute; top: 10%; display: grid; gap: 3px; min-width: 120px; padding: 8px 10px; border: 1px solid #ffffff1a; border-radius: 10px; background: #18181acc; backdrop-filter: blur(6px); color: #d8d8da; font-size: 11.5px; font-variant-numeric: tabular-nums; box-shadow: 0 8px 20px #0007; }
.kline .k-tip b { color: #fff; font-size: 12px; }
.kline .k-tip .green { color: #28d89b; } .kline .k-tip .red { color: #ef7565; }
@media (max-width: 600px) { .chart-mode button { padding: 4px 9px; font-size: 11px; } .chart-mode { margin-right: 6px; } }
@media (max-width: 600px) {
  /* 手机：标题一行，K线/分时与时间范围一行，时间范围可左右滑 */
  [data-chart-panel] > .panel-head { flex-wrap: wrap; row-gap: 10px; }
  [data-chart-panel] > .panel-head h2 { width: 100%; white-space: nowrap; }
  [data-chart-panel] .chart-mode { margin-left: 0; flex-shrink: 0; }
  [data-chart-panel] .chart-tabs { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
  [data-chart-panel] .chart-tabs::-webkit-scrollbar { display: none; }
}
/* 创作者发布作品：上传后的预览为正方形，整张图缩放显示完整 */
.upload-preview { width: min(280px, 100%); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; border-radius: 12px; background: var(--v2-surface-2, #2e2e30); overflow: hidden; }
.upload-preview img { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: contain; border-radius: 0 !important; }

/* 手机更换头像：候选头像排两行、可左右滑，头像按屏幕宽度自适应（约 1/5 屏宽），
   和下面的「取消 / 保存头像」按钮之间留出足够距离，选中时的光圈也不会碰到按钮 */
@media (max-width: 600px) {
  .avatar-modal .av-grid { display: grid; grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: clamp(58px, 19vw, 76px); gap: 10px 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding: 6px 4px 10px; margin: 0 -4px 6px; }
  .avatar-modal .av-grid::-webkit-scrollbar { display: none; }
  .avatar-modal .av-opt { scroll-snap-align: start; width: 100%; }
  .avatar-modal .av-opt.on { box-shadow: 0 0 10px #ff7a0055; }
  .avatar-modal .modal-actions { margin-top: 14px; padding-top: 14px; border-top: 1px solid #ffffff10; }
  .avatar-modal .av-head .label::after { content: '（可左右滑）'; color: var(--v2-dim, #6e6e73); font-size: 11px; }
}

/* ---------- 手机：顶部资产卡片、个人中心余额、交易中心标题 ---------- */
@media (max-width: 600px) {
  /* 资产卡片：左上名称和金额，右上图标，充值按钮单独一行铺满，不再挤歪 */
  .v2-userbar .v2-chip { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "info icon" "go go"; align-items: center; gap: 10px 8px; padding: 12px; flex-wrap: nowrap; }
  .v2-userbar .v2-chip > div { grid-area: info; }
  .v2-userbar .v2-chip .v2-sq { grid-area: icon; align-self: start; width: 32px; height: 32px; }
  .v2-userbar .v2-chip .v2-go { grid-area: go; width: 100%; height: 34px; justify-content: center; display: flex; align-items: center; }
  /* 个人中心余额：金额一行，充值 / 提现两个按钮等宽并排 */
  .me-balance { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 14px; }
  .me-balance .actions { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .me-balance > div:first-child { width: 100%; }
  .me-balance .actions .btn { justify-content: center; }
  /* 交易中心：标题和说明在上方靠左，作品图片挪到下方，和切换作品的下拉并排 */
  .artwork-title { display: grid !important; grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "text text" "img act"; align-items: center; gap: 14px; }
  .artwork-title .artwork-identity { display: contents; }
  .artwork-title .artwork-identity > div { grid-area: text; text-align: left; }
  .artwork-title .identity-thumbnail { grid-area: img; width: 72px; height: 72px; }
  .artwork-title > .actions { grid-area: act; justify-self: stretch; width: auto !important; min-width: 0; margin: 0 !important; display: block; }
  .artwork-title > .actions > .pm-select { width: 100%; min-width: 0; max-width: none; }
}
/* 买卖报价里的「收到的报价」 */
.quote-offers { margin-top: 14px; padding-top: 12px; border-top: 1px solid #ffffff14; }
.quote-offers .qo-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; font-weight: 700; }
.quote-offers .qo-head small { color: var(--v2-muted); font-weight: 400; font-size: 12px; }
.quote-offers .offer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #ffffff0d; transition: opacity .25s, transform .25s; }
.quote-offers .offer-row:first-of-type { border-top: 0; }
.quote-offers .offer-row b { font-size: 16px; color: #2dd59c; }
.quote-offers .offer-row small { display: block; margin-top: 3px; color: var(--v2-muted); font-size: 11.5px; }
.quote-offers .offer-row .actions { flex-shrink: 0; }
.offer-row.leaving { opacity: 0; transform: translateX(12px); pointer-events: none; }
@media (max-width: 600px) {
  /* 我的资产：充值 / 提现 / 交易记录三个按钮等宽铺满一行 */
  .balance-actions { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
  .balance-actions .btn { justify-content: center; padding-left: 8px; padding-right: 8px; }
}

/* 首页概览：数字增长时轻微发亮；最新成交冒泡 */
.v2-overview [data-count] { font-variant-numeric: tabular-nums; transition: color .3s, text-shadow .3s; }
.v2-overview [data-count].counting { color: var(--v2-accent-hi, #ffa043); text-shadow: 0 0 14px #ff7a0055; }
.v2-overview .bubble-chip { position: relative; overflow: visible; }
.v2-overview .bubble-chip.bubbling > div > b, .v2-overview .bubble-chip.bubbling > div > em { animation: bubbleUp .7s cubic-bezier(.2, 1.6, .4, 1) both; }
.v2-overview .bubble-chip.bubbling > div > em { animation-delay: .08s; }
.v2-overview .bubble-chip.bubbling .v2-sq { animation: bubbleIcon .7s ease-out; }
@keyframes bubbleUp { 0% { opacity: 0; transform: translateY(14px) scale(.6); } 60% { opacity: 1; transform: translateY(-3px) scale(1.08); } 100% { transform: none; } }
@keyframes bubbleIcon { 0% { box-shadow: 0 0 0 0 #ff7a0099; } 100% { box-shadow: 0 0 0 14px #ff7a0000; } }
.bubble-pop { position: absolute; right: 12px; top: -6px; padding: 3px 9px; border-radius: 999px; background: #2dd59c; color: #06281b; font-size: 11px; font-weight: 800; pointer-events: none; animation: popFloat 1.6s ease-out forwards; }
@keyframes popFloat { 0% { opacity: 0; transform: translateY(10px) scale(.6); } 18% { opacity: 1; transform: translateY(0) scale(1.05); } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px) scale(.95); } }
@media (prefers-reduced-motion: reduce) { .v2-overview .bubble-chip.bubbling * , .bubble-pop { animation: none !important; } }

/* 价格走势：关键点粗折线，第一次打开时从左到右画出，终点圆点和当前价随后出现 */
.chart-wrap.trend.drawing .trend-draw { clip-path: inset(0 100% 0 0); animation: trendDraw 1.5s cubic-bezier(.45, .05, .25, 1) var(--el, 0ms) forwards; }
.chart-wrap.trend.drawing .trend-now, .chart-wrap.trend.drawing .trend-dot, .chart-wrap.trend.drawing .ax-now { opacity: 0; animation: trendFade .4s ease-out calc(1.5s + var(--el, 0ms)) forwards; }
@keyframes trendDraw { to { clip-path: inset(0 0 0 0); } }
@keyframes trendFade { to { opacity: 1; } }
.chart-wrap.trend.drawing .trend-dot { animation: trendFade .4s ease-out calc(1.5s + var(--el, 0ms)) forwards, nowPulse 2s 1.9s infinite; }
@media (prefers-reduced-motion: reduce) { .chart-wrap.trend.drawing .trend-draw, .chart-wrap.trend.drawing .trend-now, .chart-wrap.trend.drawing .trend-dot, .chart-wrap.trend.drawing .ax-now { animation: none; clip-path: none; opacity: 1; } }

/* 作品交易记录：右上角实时更新呼吸灯 + 只显示最近几笔的说明 */
.trades-live { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.trades-live .live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border: 1px solid #2dd59c33; border-radius: 999px; background: #2dd59c12; color: #cfe9de; font-size: 12.5px; }
.trades-live .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green, #2dd59c); animation: liveBreath 1.8s ease-in-out infinite; }
.trades-live small { color: var(--v2-muted); font-size: 12px; }
/* 作品交易记录：固定 8 行高度，超出部分上下滚动，表头固定 */
/* 滚到表格顶部或底部后继续滑动时，页面跟着滚动（不锁住滚动链） */
[data-trades] .trade-detail-table { overflow-y: auto; overscroll-behavior-x: contain; overscroll-behavior-y: auto; scrollbar-width: thin; scrollbar-color: #ff7a1a66 transparent; }
[data-trades] .trade-detail-table thead th { position: sticky; top: 0; z-index: 1; background: var(--v2-surface, #262627); }
[data-trades] .trade-detail-table::-webkit-scrollbar { width: 6px; }
[data-trades] .trade-detail-table::-webkit-scrollbar-thumb { background: #ff7a1a66; border-radius: 3px; }

/* 悬停上浮的卡片：上浮后在原来的位置留一条看不见的「垫片」，鼠标停在边缘时不会因为卡片移开而来回抖动 */
.v2-card, .art-card, .my-card { position: relative; }
.v2-card:hover::after, .art-card:hover::after, .my-card:hover::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.av-opt { position: relative; }
.av-opt:hover::after { content: ''; position: absolute; inset: auto 0 -4px; height: 4px; }
a.lesson, button.lesson { position: relative; }
a.lesson:hover::before, button.lesson:hover::before { content: ''; position: absolute; top: 0; bottom: 0; left: -6px; width: 6px; }
/* 卡片本身不裁切（图片区自己有圆角裁切），上面的「垫片」才能接住鼠标 */
.v2-card { overflow: visible !important; }
/* 平台账户小标记 */
.pf-tag { display: inline-block; margin-left: 5px; padding: 0 5px; border: 1px solid #ffffff2e; border-radius: 4px; color: var(--v2-muted, #a1a1a6); font-size: 10px; font-style: normal; font-weight: 600; line-height: 15px; vertical-align: 1px; }
.platform-accounts ul { margin: 8px 0; padding-left: 20px; } .platform-accounts li { margin: 6px 0; line-height: 1.75; }

/* ───── 微信内打开 ───── */
.wx-tip { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; border-radius: 12px; background: rgba(40, 40, 40, .96); border: 1px solid rgba(255, 122, 26, .45); color: #f2f2f2; font-size: 13px; line-height: 1.45; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); animation: wxIn .28s ease both; }
.wx-tip span { flex: 1; }
.wx-tip button { flex: none; width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: #aaa; font-size: 18px; cursor: pointer; }
.wx-tip.out, .wx-guide.out { animation: wxOut .22s ease both; }
.wx-guide { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .78); animation: wxIn .25s ease both; }
.wx-guide .wx-arrow { position: absolute; top: 6px; right: 22px; width: 80px; height: 90px; color: #ff7a1a; }
.wx-guide .wx-card { position: absolute; top: 110px; left: 50%; transform: translateX(-50%); width: min(300px, calc(100% - 32px)); padding: 20px; border-radius: 16px; background: #262626; color: #f2f2f2; text-align: center; }
.wx-guide .wx-card b { display: block; font-size: 16px; margin-bottom: 8px; }
.wx-guide .wx-card p { margin: 0 0 16px; color: #bbb; font-size: 14px; }
.wx-guide .wx-dots { display: inline-block; padding: 0 6px; border-radius: 6px; background: #3a3a3a; color: #fff; font-weight: 700; letter-spacing: 1px; }
@keyframes wxIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes wxOut { to { opacity: 0; } }
@media (min-width: 900px) { .wx-tip { left: auto; right: 24px; bottom: 24px; max-width: 420px; } }

/* ───── 侵权投诉 ───── */
.complaint-line { margin: 4px 0 0; }
.complaint-line .link-btn { display: inline-flex; align-items: center; gap: 4px; color: var(--muted, #8a8a8a); font-size: 12px; }
.complaint-line .link-btn:hover { color: var(--orange, #ff7a1a); }
.complaint-modal { width: min(560px, calc(100vw - 32px)); }
.complaint-modal textarea { width: 100%; resize: vertical; }

/* 热门作品滚动条在 iPhone Safari 上出现大块黑色、卡片下半截不显示：
   整条滚动带有 24 张卡片、几千像素宽，又在不停移动，里面的磨砂角标（backdrop-filter）让 Safari 放弃绘制部分区域。
   处理：滚动带单独成一层并固定在 GPU 上；滚动带里的角标改成不透明底色，不用磨砂；每张卡片限制绘制范围。 */
.marquee-track { will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translate3d(0, 0, 0); }
@keyframes marqueeX { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-50% - 10px), 0, 0); } }
@media (hover: none) {   /* 只在手机、平板上：电脑上保留磨砂和悬停光晕（contain 会裁掉光晕） */
  .marquee .hold-badge { -webkit-backdrop-filter: none; backdrop-filter: none; background: #0a0a0ee6; }
  .marquee .art-card { contain: paint; }
  /* 两侧渐隐遮罩（mask-image）罩在一直移动的内容上，也是 Safari 不绘制的常见诱因：手机上去掉遮罩。
     顶部作品行情滚动条同样是「遮罩 + 一直滚动」，一起处理 */
  .marquee, .ticker { -webkit-mask-image: none; mask-image: none; }
  .ticker-track { will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
}

/* 作品详情：当前参考价与下方行情里的参考价一样用橙色 */
.detail-info .ref-val { color: #ffa043 !important; }
/* 作品详情：侵权投诉入口放在大图下面「独立编号」后面，样式同旁边的标签 */
.chain-badges .cb-complaint { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border: 0; border-radius: 999px; background: var(--v2-surface-2); color: var(--v2-muted); font-size: 11px; cursor: pointer; }
.chain-badges .cb-complaint:hover { color: var(--v2-accent-hi); }
.chain-badges .cb-complaint .icon { width: 13px; height: 13px; }

/* 行情弹窗：电脑上区块地址在左侧大图下面，手机上移到价格走势上面 */
@media (min-width: 601px) { .mk-addr-m { display: none; } }

/* 收到转赠弹窗：左图右文字，图不占满整个弹窗 */
.transfer-recv .tr-art { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.transfer-recv .tr-art img { width: 120px; height: 120px; flex: none; border-radius: var(--v2-r-md); object-fit: cover; }
.transfer-recv .tr-art h3 { margin: 0 0 6px; font-size: 18px; }
.transfer-recv .tr-art p { margin: 0 0 4px; }
.transfer-recv .tr-hint { margin: 10px 0 0; font-size: 12px; }
@media (max-width: 600px) { .transfer-recv .tr-art img { width: 96px; height: 96px; } .transfer-recv .tr-art h3 { font-size: 16px; } }

/* 屏幕特别窄时（小于 360px）走势图和价格会挤在一起，隐藏走势图 */
@media (max-width: 359px) { .v2-price .spark-wrap { display: none; } }

/* 手机上表格不再左右滑动：每条记录一张卡片，第一列（作品 / 编号）做标题，其余字段两列排布「表头在上、内容在下」，操作按钮放最下面 */
@media (max-width: 600px) {
  .table-wrap { overflow: visible !important; background: none !important; }
  .table-wrap table, .table-wrap.compact table { min-width: 0 !important; display: block; }
  .table-wrap thead { display: none; }
  .table-wrap tbody { display: grid; gap: 10px; }
  .table-wrap tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 14px; padding: 12px 14px 14px; border-radius: var(--v2-r-md); background: var(--v2-surface); }
  .table-wrap td { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 0 !important; border: 0 !important; text-align: left; font-size: 13px; min-width: 0; }
  .table-wrap td::before { content: attr(data-label); color: var(--v2-muted); font-size: 11px; }
  .table-wrap td[data-label=""]::before { display: none; }
  .table-wrap td:first-child { grid-column: 1 / -1; flex-direction: row; align-items: center; padding: 0 0 10px !important; border-bottom: 1px solid var(--v2-line) !important; font-weight: 600; }
  .table-wrap td:first-child::before { display: none; }
  .table-wrap td[data-label=""]:last-child:not(:first-child) { grid-column: 1 / -1; align-items: flex-end; }
  .table-wrap td .hash, .table-wrap td .mono { word-break: break-all; }
  .table-wrap td[colspan] { grid-column: 1 / -1; align-items: center; border: 0 !important; padding: 8px 0 !important; font-weight: 400; }
  .table-wrap tr:has(> td[colspan]) { display: block; }
  .trade-detail-table { overflow-y: auto !important; }
}

/* ---------- 官方发售中：— — 占位 ---------- */
.v2-img-pill.ok { background: var(--v2-accent); color: #fff; }
.dash-na { color: var(--v2-dim); letter-spacing: 2px; font-weight: 600; }
.spark-na { display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 36px; }
.na-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 180px; text-align: center; }
.na-box .dash-na { font-size: 30px; }
.na-box small { max-width: 300px; line-height: 1.7; }
.official-sub { display: block; font-size: 11px; margin-top: 4px; }
.official-price .label { display: flex; align-items: center; gap: 10px; }
.official-price small { display: block; line-height: 1.7; }

/* ---------- 转赠：手续费、管理转赠 ---------- */
.tr-fee { margin: 16px 0; padding: 14px 16px; border-radius: var(--v2-r-sm); background: var(--v2-surface-2); border: 1px solid var(--v2-line); }
.tr-fee.lack { border-color: var(--v2-red); }
.tr-fee-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tr-fee-row span { color: var(--v2-muted); font-size: 13px; }
.tr-fee-row em { font-style: normal; font-size: 11px; color: var(--v2-accent); background: var(--v2-accent-soft); padding: 2px 7px; border-radius: 999px; margin-left: 6px; }
.tr-fee-row b { font-size: 18px; color: var(--v2-accent-hi); }
.tr-fee small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.6; }
.tr-fee p { margin: 10px 0 0; font-size: 12px; line-height: 1.7; }
.tr-fee-ok { color: var(--v2-muted); }
.tr-fee-warn { color: var(--v2-red); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tr-notice .link { background: none; border: 0; padding: 0; margin-left: 6px; cursor: pointer; }
.mine-tabs-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 25px; }
.mine-tabs-row .tabs { margin-bottom: 0; }
.mine-tr-btn { position: relative; }
.count-dot { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--v2-accent); color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.tr-manage-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) auto auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--v2-line); }
.tr-manage-row:last-of-type { border-bottom: 0; }
.tr-manage-mid { display: flex; flex-direction: column; gap: 6px; }
.tr-manage-mid small { font-size: 12px; }
.tr-manage-clock { text-align: right; }
.tr-manage-clock small { display: block; font-size: 11px; margin-bottom: 4px; }
.tr-manage-clock b { font-variant-numeric: tabular-nums; color: var(--v2-accent-hi); }
.tr-manage-acts { display: flex; gap: 8px; }
@media (max-width: 700px) {
  .tr-manage-row { grid-template-columns: 1fr auto; }
  .tr-manage-mid { grid-column: 1 / -1; order: 3; }
  .tr-manage-acts { grid-column: 1 / -1; order: 4; justify-content: flex-end; }
}

/* ---------- 首页热门作品滚动（js/pages.js P.marquee）：每张卡片单独移动，解决 Safari 显示不全 ---------- */
.js-marquee { -webkit-mask-image: none !important; mask-image: none !important; }
.js-marquee .marquee-track { animation: none !important; transform: none !important; will-change: auto; -webkit-backface-visibility: visible; backface-visibility: visible; }
.js-marquee .mq-cell { display: flex; flex: 0 0 auto; }
.js-marquee.mq-on .marquee-track { display: block; position: relative; width: auto; }
.js-marquee.mq-on .mq-cell { position: absolute; left: 0; top: 0; will-change: transform; }
.js-marquee.mq-on .mq-cell > .art-card { flex: 1 1 auto; width: 100%; }

/* ---------- 作品详情：大图与右侧信息对称排布 ----------
   原来左栏占一半宽度，但大图最宽只有 720px、靠左放，大图和右边信息之间空出一大块。
   现在两栏等宽：大图靠右（贴近中线），信息靠左（贴近中线），中间只留固定间距，信息与大图垂直居中对齐。 */
@media (min-width: 1101px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-items: center; }
  .detail-grid > .art-frame { justify-self: end; width: 100%; max-width: 720px; }
  .detail-grid > .detail-info { justify-self: start; width: 100%; max-width: 720px; padding: 0; }
}

/* 作品网格：卡片里的内容（长名称、价格行）会把卡片撑得比格子宽，整排卡片超出右边沿、和上面的横幅对不齐。
   让卡片可以收窄到格子宽度，网格左右边沿和上面的内容对齐 */
.art-grid > * { min-width: 0; }

/* 作品详情、行情弹窗的持有者：头像、用户名、「持有者」三行按同一条中线居中（整组仍靠左），
   用户名长短不同时头像不会偏到一边 */
.detail-info .creator, .mk-body .creator { display: inline-flex; flex-direction: column; align-items: center; text-align: center; min-width: 64px; max-width: 100%; }
.detail-info .creator > .holder-id, .mk-body .creator > .holder-id { align-items: center; max-width: 100%; }
.detail-info .creator .holder-name, .mk-body .creator .holder-name { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 助记词、设备登录确认（js/pages-auth.js） ---------- */
.auth-modal { width: min(520px, calc(100vw - 32px)); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.mn-words { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mn-words li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--v2-r-sm); background: var(--v2-surface-2); border: 1px solid var(--v2-line); }
.mn-words i { font-style: normal; color: var(--v2-accent); font-size: 16px; }
.mn-words b { font: 600 17px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .5px; user-select: all; }
.mn-warn { padding: 12px 14px; border-radius: var(--v2-r-sm); background: var(--v2-accent-soft); border: 1px solid #ff7a1a55; font-size: 13px; line-height: 1.7; color: var(--v2-text); margin-bottom: 4px; }
.mn-warn b { display: block; margin-bottom: 4px; color: var(--v2-accent-hi); }
.mn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mn-cell { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; }
.mn-cell i { font-style: normal; color: var(--v2-accent); width: 18px; text-align: center; flex: none; }
.mn-cell input { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: lowercase; }
.wait-box { text-align: center; padding: 8px 0 16px; }
.wait-box p { line-height: 1.7; }
.spinner { display: inline-block; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--v2-surface-3); border-top-color: var(--v2-accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 420px) { .mn-words, .mn-grid { grid-template-columns: 1fr; } }
.wait-clock { color: var(--v2-accent-hi); font-variant-numeric: tabular-nums; }

/* ---------- 成为创作者（js/pages-creator.js） ---------- */
.cw-landing { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.cw-hero { padding: 36px; background: radial-gradient(ellipse 70% 90% at 100% 0, #ff7a1a33, transparent 70%), var(--v2-surface); }
.cw-hero h2 { font-size: 28px; margin: 14px 0 12px; }
.cw-hero p { color: var(--v2-muted); line-height: 1.8; max-width: 560px; }
.cw-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--v2-accent-hi); background: var(--v2-accent-soft); padding: 5px 10px; border-radius: 999px; }
.cw-checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.cw-checks li { display: flex; align-items: center; gap: 10px; }
.cw-checks .icon { color: var(--v2-green); }
.cw-draft-note { font-size: 12px; margin-left: 4px; }
.cw-rules h2 { margin-bottom: 14px; }
.cw-rule { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--v2-line); }
.cw-rule:first-of-type { border-top: 0; }
.cw-rule > b { color: var(--v2-accent); font-size: 15px; }
.cw-rule h3 { margin: 0 0 4px; font-size: 14px; }
.cw-rule p { margin: 0; font-size: 12.5px; color: var(--v2-muted); line-height: 1.6; }
.cw-flow { margin-top: 24px; }
.cw-flow h2 { font-size: 18px; margin: 0 0 14px; }
.cw-flow-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cw-flow-row > div { padding: 16px; border-radius: var(--v2-r-md); background: var(--v2-surface); border: 1px solid var(--v2-line); }
.cw-flow-row > div.on { border-color: var(--v2-accent); }
.cw-flow-row > div.done b { color: var(--v2-green); }
.cw-flow-row small { display: block; margin-top: 6px; }
.cw-modal { width: min(720px, calc(100vw - 32px)); }
.cw-modal .modal-head { margin-bottom: 8px; }
.cw-back { color: var(--v2-muted) !important; }
.cw-sub-t { margin: 4px 0 18px; font-size: 13px; }
.cw-steps { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.cw-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--v2-muted); }
.cw-steps li::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: var(--v2-surface-3); z-index: 0; }
.cw-steps li:first-child::before { display: none; }
.cw-steps li.done::before, .cw-steps li.on::before { background: var(--v2-accent); }
.cw-steps i { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; background: var(--v2-surface-2); border: 2px solid var(--v2-surface-3); }
.cw-steps li.on i, .cw-steps li.done i { background: var(--v2-accent); border-color: var(--v2-accent); color: #fff; }
.cw-steps li.on span { color: var(--v2-text); font-weight: 600; }
.cw-h { display: flex; align-items: center; gap: 10px; font-size: 17px; margin: 4px 0 16px; padding-top: 16px; border-top: 1px solid var(--v2-line); }
.cw-h b { color: var(--v2-accent); }
.cw-sub { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 6px; font-size: 14px; }
.cw-actions { justify-content: space-between; margin-top: 18px; }
.cw-work { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 14px; border-radius: var(--v2-r-md); background: var(--v2-surface-2); margin-bottom: 12px; }
.cw-up { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--v2-r-sm); border: 1px dashed #ff7a1a88; cursor: pointer; overflow: hidden; text-align: center; color: var(--v2-muted); font-size: 13px; }
.cw-up span { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cw-up small { font-size: 11px; }
.cw-up.has { border-style: solid; border-color: var(--v2-line); }
.cw-up img { width: 100%; height: 100%; object-fit: cover; }
.cw-up input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cw-work-f { display: flex; flex-direction: column; gap: 8px; }
.cw-work-f input, .cw-work-f textarea { width: 100%; border: 1px solid var(--v2-line); border-radius: var(--v2-r-sm); padding: 10px 12px; background: var(--v2-surface); color: var(--v2-text); }
.cw-work-f textarea { min-height: 70px; resize: vertical; }
.cw-work-f .link-btn { align-self: flex-start; color: var(--v2-red); font-size: 12px; }
.cw-src .choice { margin: 8px 0; }
.cw-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin: 12px 0; }
.cw-thumbs figure { margin: 0; }
.cw-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--v2-r-sm); }
.cw-thumbs figcaption { font-size: 11px; color: var(--v2-muted); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-status { text-align: center; padding: 36px; }
.cw-status .check { margin: 0 auto 14px; }
.cw-status h2 { margin: 0 0 8px; }
.cw-no { margin: 14px 0 20px; font-size: 13px; color: var(--v2-muted); }
.cw-no b { color: var(--v2-text); font-family: ui-monospace, Menlo, monospace; }
.cw-timeline { list-style: none; padding: 0; margin: 0 auto 20px; max-width: 320px; text-align: left; }
.cw-timeline li { position: relative; padding: 0 0 18px 28px; }
.cw-timeline li::before { content: ""; position: absolute; left: 6px; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--v2-surface-3); background: var(--v2-surface); }
.cw-timeline li::after { content: ""; position: absolute; left: 12px; top: 20px; bottom: 0; width: 2px; background: var(--v2-surface-3); }
.cw-timeline li:last-child::after { display: none; }
.cw-timeline li.done::before { background: var(--v2-green); border-color: var(--v2-green); }
.cw-timeline li.on::before { background: var(--v2-accent); border-color: var(--v2-accent); }
.cw-timeline b { display: block; font-size: 14px; }
.cw-timeline small { font-size: 12px; }
.cw-status .actions { justify-content: center; margin-top: 18px; }
@media (max-width: 900px) { .cw-landing { grid-template-columns: 1fr; } .cw-flow-row { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cw-work { grid-template-columns: 1fr; } .cw-hero { padding: 24px; } .cw-steps span { font-size: 11px; } }
.cw-src { margin-top: 18px; }
.cw-src > label:first-child { display: block; }
.cw-src .choice { display: inline-flex !important; align-items: center; gap: 8px; margin: 6px 24px 0 0 !important; width: auto !important; color: var(--v2-text); font-size: 14px; }
.cw-src .choice input { width: auto !important; margin: 0; }
[data-cw-add] { margin-bottom: 4px; }
.cw-modal .cw-actions { justify-content: space-between !important; width: 100%; }
.js-marquee .mq-cell > .art-card { min-width: 0; max-width: 100%; }

/* 作品详情：创作者卡片（头像 + 署名 + 账号） */
.creator-card { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; padding: 12px 14px; border: 1px solid var(--v2-surface-3, #2a2a2e); border-radius: 14px; background: #ffffff06; }
.creator-card .mavatar, .creator-card .mavatar svg { width: 44px; height: 44px; border-radius: 50%; display: block; }
.creator-card > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.creator-card small { font-size: 11px; color: var(--v2-muted, #8a8a90); }
.creator-card b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creator-card .muted { font-size: 12px; }

/* 创作者中心：我的系列 */
.series-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.series-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--v2-surface-3, #2a2a2e); border-radius: 12px; }
.series-item img, .series-item .img-ph { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; display: grid; place-items: center; background: #ffffff0a; }
.series-item > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.series-item b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.series-item small { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hint .link { padding: 0; border: 0; background: none; color: var(--v2-accent, #ff780c); font-size: inherit; cursor: pointer; }

/* 联系我们：联系方式列表居中、不铺满整行 */
.contact-card .kv-list { width: 100%; max-width: 460px; margin: 6px auto 4px; text-align: left; }

/* 作品卡片：图片下方的出售倒计时行（不在出售时显示状态，行高一致，所有卡片同样大小） */
.v2-card .card-clock { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 14px; border-bottom: 1px solid var(--v2-surface-3, #2a2a2e); background: #ff7a0012; font-size: 12px; color: var(--v2-muted, #8a8a90); }
.v2-card .card-clock b { color: var(--v2-accent, #ff7a00); font-variant-numeric: tabular-nums; font-family: ui-monospace, Menlo, monospace; letter-spacing: .5px; }
.v2-card .card-clock.idle { background: transparent; }
@media (max-width: 600px) { .v2-card .card-clock { height: 28px; padding: 0 10px; font-size: 10px; } }
