/* 夏斗市集（程式代號 shadowshop）：純 CSS，手機 375 寬為主，桌機最大寬 960 置中。一種主色（深青綠）。 */
:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --surface-2: #f3f2ee;
  --ink: #1b1c1e;
  --ink-2: #4a4b4f;
  --muted: #6b6b67; /* 在底色上 5.08:1、白卡上 5.35:1（≥4.5:1） */
  --line: #e7e5df;
  --accent: #1f6b57;
  --accent-ink: #ffffff;
  --accent-soft: #e6f1ec;
  --warn: #9a5b12;
  --warn-soft: #fbf0e1;
  --danger: #a33a2c;
  --danger-soft: #fbeae7;
  --demo: #5a45b0;
  --demo-soft: #efecfb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 22, 20, .04), 0 6px 24px rgba(20, 22, 20, .05);
  /* 卡片層次：上緣邊光＋往下 8px、模糊 14px 的柔影（不用灰框線） */
  --edge: inset 0 1px 0 rgba(255, 255, 255, .7);
  --elev: var(--edge), 0 0 0 1px rgba(20, 22, 20, .035), 0 1px 2px rgba(20, 22, 20, .05), 0 8px 14px -4px rgba(20, 22, 20, .07);
  --elev-hover: var(--edge), 0 0 0 1px rgba(20, 22, 20, .04), 0 2px 4px rgba(20, 22, 20, .05), 0 14px 26px -6px rgba(20, 22, 20, .12);
  --fallback-ink: #b9b6ad;
  --font: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Heiti TC", "Microsoft JhengHei", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121413;
    --surface: #1a1d1c;
    --surface-2: #222624;
    --ink: #ecebe7;
    --ink-2: #c4c3be;
    --muted: #8f8f89;
    --line: #2c302e;
    --accent: #6cc4a6;
    --accent-ink: #0d1f19;
    --accent-soft: #1d3029;
    --warn: #e7b26a;
    --warn-soft: #33281a;
    --danger: #f0a497;
    --danger-soft: #3a211d;
    --demo: #c2b6f7;
    --demo-soft: #2a2442;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .25);
    --edge: inset 0 1px 0 rgba(255, 255, 255, .06);
    --elev: var(--edge), 0 0 0 1px rgba(255, 255, 255, .045), 0 1px 2px rgba(0, 0, 0, .35), 0 8px 14px -4px rgba(0, 0, 0, .35);
    --elev-hover: var(--edge), 0 0 0 1px rgba(255, 255, 255, .07), 0 2px 4px rgba(0, 0, 0, .35), 0 14px 26px -6px rgba(0, 0, 0, .5);
    --fallback-ink: #4c524f;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.35; margin: 0; font-weight: 650; letter-spacing: .005em; }
.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 16px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.dot { color: var(--muted); margin: 0 .15em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ── 頁首 ── */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; font-size: 16px; }
.brand:hover { text-decoration: none; }
.brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.15; }
.brand-name { font-size: 17px; font-weight: 750; letter-spacing: .05em; }
.brand-tagline { margin-top: 3px; font-size: 11.5px; font-weight: 500; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 7px; background: var(--accent); position: relative;
}
.brand-mark::after { content: ""; position: absolute; inset: 6px 6px 6px 6px; border-radius: 50%; border: 2px solid var(--bg); }
.header-link { font-size: 14px; color: var(--ink-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.header-link:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }

main { padding-bottom: 48px; flex: 1 0 auto; }

/* ── 首頁 ── */
.hero { padding: 36px 0 28px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.hero-title { font-size: 28px; line-height: 1.3; font-weight: 700; max-width: 16em; }
.hero-sub { color: var(--ink-2); margin: 12px 0 22px; max-width: 34em; font-size: 15px; }
/* 首頁「AI 能幫你做的事」亮點清單（am-ui-aishop-rename）：四件事＋一條安心說明 */
.ai-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; max-width: 46em; }
.ai-point { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.ai-point-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.ai-point-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ai-point h2 { font-size: 15.5px; line-height: 1.35; font-weight: 650; margin: 0; }
.ai-point p { margin: 2px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.ai-safe { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; max-width: 46em; border-radius: 14px; background: var(--surface); box-shadow: var(--elev); color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.ai-safe svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ai-safe strong { color: var(--ink); font-weight: 650; }
.hero-self { margin: 14px 0 20px; color: var(--muted); font-size: 14px; }
/* 手機版（B 樣本）：亮點收成一行＋一顆可展開的鈕，搜尋框與商品留在第一屏；原生 details，不靠 JavaScript */
.ai-brief { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.ai-more { margin: 0; }
.ai-more-sum { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 6px 0 12px; padding: 0 16px 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--accent); font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.ai-more-sum::-webkit-details-marker { display: none; }
.ai-more-sum svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-more-opened, .ai-more[open] .ai-more-closed { display: none; }
.ai-more[open] .ai-more-opened { display: inline; }
.ai-more[open] .ai-more-sum svg { transform: rotate(180deg); }
.ai-more[open] .ai-more-sum { margin-bottom: 0; }
.ai-more .ai-points { margin-top: 14px; }
@media (prefers-reduced-motion: no-preference) { .ai-more-sum svg { transition: transform .18s ease; } }
.search { display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow); max-width: 560px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; padding: 8px 14px; outline: none; }
.search input::placeholder { color: var(--muted); }
.search button { border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: inherit; font-size: 15px; font-weight: 600; padding: 8px 20px; cursor: pointer; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 8px 0 14px; }
.section-head h2 { font-size: 19px; }
.count { color: var(--muted); font-size: 14px; }
.back-all { margin: 18px 0 0; font-size: 14px; }

/* 商品卡片 */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--elev); transition: transform .18s ease, box-shadow .18s ease; animation: rise .44s cubic-bezier(.2, .7, .2, 1) backwards; } /* backwards：動畫結束後不再蓋掉 :hover／:active 的 transform */
.card:hover { transform: translateY(-2px); box-shadow: var(--elev-hover); }
.card:active { transform: scale(.98); box-shadow: var(--elev); transition-duration: .12s; }
.grid > .card:nth-child(2) { animation-delay: 24ms; }
.grid > .card:nth-child(3) { animation-delay: 48ms; }
.grid > .card:nth-child(4) { animation-delay: 72ms; }
.grid > .card:nth-child(5) { animation-delay: 96ms; }
.grid > .card:nth-child(6) { animation-delay: 120ms; }
.grid > .card:nth-child(n+7) { animation-delay: 144ms; }
/* 起點不完全透明：動畫萬一沒跑（背景分頁、省電模式），內容仍看得到 */
@keyframes rise { from { opacity: .6; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.card-link { display: flex; flex-direction: column; color: inherit; height: 100%; }
.card-link:hover { text-decoration: none; }
.card-media { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--surface-2); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent; }

/* 照片載不出來時：底色＋置中的商品類別小圖示（替代文字不露在灰塊上） */
.media-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--fallback-ink); }
.media-fallback svg { width: 30%; max-width: 72px; min-width: 32px; height: auto; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.card-flag { position: absolute; left: 8px; top: 8px; background: rgba(20, 20, 20, .72); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
/* am-ui-r7：標題完整顯示，不截成「…」（owner：截斷算破版）；中文詞只在空白與標點換行 */
.card-title { font-size: 14px; line-height: 1.45; min-height: 2.9em; word-break: keep-all; overflow-wrap: anywhere; }
.card-price { display: flex; align-items: baseline; gap: 2px; margin-top: 2px; }
.card-price .price-num { font-size: 18px; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.card-price .price-unit { font-size: 12px; color: var(--ink-2); margin-right: 6px; }
.card-orig { color: var(--muted); font-size: 12px; }
.card-meta, .card-seller { font-size: 12.5px; color: var(--muted); }
.card-seller { display: flex; align-items: center; gap: 2px; padding-top: 6px; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); margin-top: 4px; }
.mini-check { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); margin-left: 4px; position: relative; flex: none; }
.mini-check::after { content: ""; position: absolute; left: 4.5px; top: 2.5px; width: 4px; height: 7px; border: solid var(--accent-ink); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }

.empty { text-align: center; padding: 40px 16px; background: var(--surface); box-shadow: var(--elev); border-radius: var(--radius); color: var(--ink-2); }

.promises { display: grid; gap: 12px; margin-top: 40px; }
.promise { background: var(--surface); box-shadow: var(--elev); border-radius: var(--radius); padding: 18px 18px 16px; }
.promise h3 { font-size: 16px; margin: 10px 0 4px; }
.promise p { margin: 0; color: var(--ink-2); font-size: 14px; }
.promise-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.promise-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.keep { display: inline-block; }

/* ── 商品頁 ── */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); padding: 14px 0 10px; }
.crumbs a { color: var(--ink-2); }
.item-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.item-layout > * { min-width: 0; }

.gallery { margin: 0 -16px; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; aspect-ratio: 4 / 3; background: var(--surface-2); scroll-margin-top: 72px; overflow: hidden; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; color: transparent; }
.slide .slide-img { left: 50%; width: auto; max-width: 100%; height: 100%; aspect-ratio: var(--ar, 3 / 4); transform: translateX(-50%); object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent); }
.slide .slide-bg { object-fit: cover; filter: blur(24px) saturate(1.1); transform: scale(1.2); opacity: .45; }
@media (prefers-color-scheme: dark) {
  /* 深色主題：模糊色帶與照片的白光壓暗，加一圈極淡的邊，不讓主圖整塊發亮 */
  .slide .slide-bg { filter: blur(24px) saturate(1.1) brightness(.6); }
  .slide .slide-img { filter: brightness(.94); }
  .slide::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); pointer-events: none; }
}
.slide-count { position: absolute; right: 12px; bottom: 12px; background: rgba(18, 18, 18, .62); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.thumbs { display: flex; gap: 8px; padding: 10px 16px 0; }
.thumb { width: 48px; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--surface-2); box-shadow: var(--elev); opacity: .88; transition: opacity .15s ease, transform .12s ease; }
.thumb:hover { opacity: 1; box-shadow: var(--elev), 0 0 0 2px var(--accent); }
.thumb:active { transform: scale(.94); }
.thumb img { width: 100%; height: 100%; object-fit: cover; color: transparent; }

.summary { display: flex; flex-direction: column; gap: 14px; }
.status-chip { align-self: flex-start; font-size: 13px; padding: 2px 10px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }
.item-title { font-size: 22px; font-weight: 680; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.price { display: inline-flex; align-items: baseline; gap: 4px; color: var(--ink); }
.price-cur { font-size: 13px; color: var(--ink-2); }
.price .price-num { font-size: 32px; font-weight: 750; letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.price .price-unit { font-size: 15px; color: var(--ink-2); }
.orig { color: var(--muted); font-size: 14px; }
.discount { font-size: 13px; font-weight: 650; color: var(--accent); background: var(--accent-soft); padding: 2px 9px; border-radius: 999px; }

.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 5.5em 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: center; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; font-size: 15px; }
.facts.compact { border-top: 0; margin-top: 6px; }
.facts.compact > div:last-child { border-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13.5px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.cond { font-weight: 600; }

.cta { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 14px; font-size: 16px; font-weight: 650; border: 1px solid transparent; transition: transform .12s ease, filter .12s ease, background-color .12s ease, border-color .12s ease; -webkit-tap-highlight-color: transparent; }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.96); filter: brightness(1.08); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--edge); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.cta-note { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--warn-soft); color: var(--warn); font-size: 14px; }

/* 賣家卡 */
.seller-card { display: flex; flex-direction: column; gap: 14px; background: var(--surface); box-shadow: var(--elev); border-radius: var(--radius); padding: 16px; color: inherit; transition: box-shadow .18s ease, transform .12s ease; }
.seller-card:hover { text-decoration: none; box-shadow: var(--elev-hover); }
.seller-card:active { transform: scale(.99); }
.seller-top { display: flex; align-items: center; gap: 12px; }
.seller-id { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.seller-name { font-weight: 650; font-size: 16px; }
.chev { color: var(--muted); font-size: 22px; line-height: 1; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.avatar-lg { width: 64px; height: 64px; font-size: 26px; }
.verified { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--accent); }
.verified.is-off { color: var(--muted); }
.check { width: 15px; height: 15px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.check::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 7.5px; border: solid var(--accent-ink); border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); }
.trust { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--surface-2); border-radius: var(--radius-sm); font-size: 14px; }
.trust-label { color: var(--muted); }
.trust-bars { display: inline-flex; gap: 4px; }
.trust-bars i { width: 18px; height: 6px; border-radius: 3px; background: var(--line); }
.trust-bars i.on { background: var(--accent); }
.trust-value { font-weight: 650; color: var(--ink); }
.seller-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; text-align: center; }
.seller-stats li { display: flex; flex-direction: column; gap: 2px; padding: 2px 4px; }
.seller-stats li + li { border-left: 1px solid var(--line); }
.seller-stats strong { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.seller-stats strong.is-yes { color: var(--accent); font-size: 16px; }
.seller-stats strong.is-no { color: var(--muted); font-size: 16px; font-weight: 600; }
.seller-stats strong.is-none { color: var(--ink-2); font-size: 15px; font-weight: 600; line-height: 1.6; }
.seller-stats span { font-size: 12px; color: var(--muted); }

.block { margin-top: 32px; }
.block > h2 { font-size: 18px; margin-bottom: 10px; }
.desc { margin: 0; white-space: pre-line; color: var(--ink-2); font-size: 15.5px; line-height: 1.85; }
.contact { background: var(--surface); box-shadow: var(--elev); border-radius: var(--radius); padding: 18px; scroll-margin-top: 72px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.contact-note { margin: 0; font-size: 13.5px; color: var(--muted); }
/* 主按鈕只有一顆：手機有底部購買列時，說明區的次要「聯絡賣家」整列收起 */
.has-buybar .contact-actions.is-btn-only, .has-buybar .contact-btn { display: none; }
.contact > p.agent-line, .agent-line { margin: 16px 0 0; font-size: 13.5px; } /* 要蓋過 .contact > p 的 margin */
.agent-line a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--ink-2) 35%, transparent); }
.agent-line a:hover { color: var(--accent); }
.contact > p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.step-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.steps strong { font-size: 15px; }
.steps p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ── 賣家頁 ── */
.profile { background: var(--surface); box-shadow: var(--elev); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.profile-head { display: flex; gap: 14px; align-items: center; }
.profile-name { font-size: 22px; }

/* ── 404 ── */
.notfound { text-align: center; padding: 72px 8px 40px; }
.nf-icon { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 28px; background: var(--surface); box-shadow: var(--elev); color: var(--accent); }
.nf-icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.notfound h1 { font-size: 22px; margin: 16px 0 6px; }
.notfound p { color: var(--ink-2); margin: 0 0 22px; }

/* ── 頁尾 ── */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; margin-top: 24px; }
.agents { background: var(--accent-soft); border-radius: var(--radius); padding: 16px 18px; scroll-margin-top: 72px; }
.agents-title { font-size: 15px; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--accent); }
.agents-icon { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--accent); position: relative; }
.agents-icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 5px; height: 2px; background: var(--accent); box-shadow: 0 4px 0 var(--accent); }
.agents p { margin: 0; font-size: 14px; color: var(--ink-2); }
.agents a { font-weight: 600; }
.fineprint { margin: 18px 0 0; color: var(--muted); font-size: 12.5px; }

/* ── 手機底部購買列（價格＋主按鈕，玻璃面） ── */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(22px); backdrop-filter: saturate(160%) blur(22px);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--line) 80%, transparent), 0 -6px 20px rgba(20, 22, 20, .06);
  padding-bottom: env(safe-area-inset-bottom);
  animation: barin .32s cubic-bezier(.2, .7, .2, 1) both;
}
.buybar-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 64px; }
.buybar-price { display: inline-flex; align-items: baseline; gap: 3px; }
.buybar-price .price-num { font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.buybar-price .price-unit { font-size: 14px; color: var(--ink-2); }
.buybar .btn { min-height: 44px; padding: 0 22px; flex: 0 0 auto; min-width: 9.5em; }
.has-buybar .site-footer { padding-bottom: calc(40px + 64px + env(safe-area-inset-bottom)); }
@keyframes barin { from { transform: translateY(100%); } to { transform: none; } }

/* ── 桌機 ── */
@media (min-width: 720px) {
  .wrap { padding: 0 24px; }
  .hero { padding: 56px 0 36px; }
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 16px; }
  .ai-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-top: 22px; }
  .ai-safe { margin-top: 20px; }
  /* 桌機照 A 版整段攤開：收合鈕與那一行摘要不出現；不認得 ::details-content 的舊瀏覽器保留收合鈕，內容仍點得開 */
  .ai-brief { display: none; }
  .ai-more .ai-points { margin-top: 22px; }
  @supports selector(::details-content) {
    .ai-more-sum { display: none; }
    .ai-more::details-content { display: block; content-visibility: visible; }
  }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .promises { grid-template-columns: repeat(3, 1fr); }
  .item-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .gallery { margin: 0; position: sticky; top: 76px; }
  .slides { border-radius: var(--radius); box-shadow: var(--elev); }
  .slide { aspect-ratio: 3 / 4; }
  .slide .slide-img { left: 0; width: 100%; transform: none; -webkit-mask-image: none; mask-image: none; }
  .cta { display: grid; grid-template-columns: minmax(0, 1fr); } /* 與賣家卡同寬、右緣對齊 */
  .has-buybar .contact-actions.is-btn-only { display: flex; }
  .has-buybar .contact-btn { display: inline-flex; }
  .buybar { display: none; }
  .has-buybar .site-footer { padding-bottom: 40px; }
  .thumbs { padding: 12px 0 0; }
  .thumb { width: 64px; }
  .item-title { font-size: 25px; }
  .block { max-width: 640px; }
  .contact { max-width: none; }
  .crumbs { padding: 20px 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card:hover, .card:active { transition: none; transform: none; animation: none; }
  .btn, .btn:active, .thumb:active, .seller-card:active { transition: none; transform: none; }
  .buybar { animation: none; }
}

/* ── 無責任平台：審核提示、聯絡賣家、檢舉、使用條款（am-policy） ── */
.review-note { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--warn-soft); color: var(--warn); font-size: 14px; line-height: 1.6; }
.review-note strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.agent-tip { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }
.agent-tip .agents-icon { flex: none; margin-top: 2px; }
.agent-tip a { font-weight: 600; }
.report-link { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.report-link a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--muted) 45%, transparent); }
.report-link a:hover { color: var(--accent); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; }
.footer-links a { color: var(--ink-2); }

.form-page { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.item-strip { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; background: var(--surface); box-shadow: var(--elev); border-radius: var(--radius); color: inherit; transition: box-shadow .18s ease, transform .12s ease; }
.item-strip:hover { text-decoration: none; box-shadow: var(--elev-hover); }
.item-strip:active { transform: scale(.99); }
.item-strip-media { position: relative; flex: none; width: 52px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.item-strip-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent; }
.item-strip-media .media-fallback svg { width: 60%; min-width: 0; }
.item-strip-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.item-strip-title { font-size: 15px; font-weight: 600; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; }
.item-strip-meta { font-size: 13px; color: var(--muted); }
.item-strip-meta strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.form-card { background: var(--surface); box-shadow: var(--elev); border-radius: var(--radius); padding: 22px 18px 20px; animation: rise .4s cubic-bezier(.2, .7, .2, 1) both; }
.form-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; text-wrap: balance; }
.form-lead { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; text-wrap: pretty; }
.merchant-plan-grid { display: grid; gap: 14px; margin-top: 14px; }
.merchant-plan { padding: 16px; border: 1px solid var(--hair); border-radius: 8px; background: var(--surface); }
.merchant-plan.is-featured { border-color: var(--accent); }
.merchant-plan h3 { margin: 0; font-size: 17px; }
.merchant-plan-price { margin: 4px 0 0; }
.merchant-plan-price strong { font-size: 23px; }
.merchant-plan-offer { margin: 6px 0 0; color: var(--accent); font-weight: 600; }
.merchant-plan ul { margin: 12px 0 0; padding-inline-start: 1.2em; color: var(--ink-2); }
.merchant-plan li + li { margin-top: 5px; }
.merchant-plan a { display: inline-block; margin-top: 12px; }
@media (min-width: 640px) {
  .merchant-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.form-note { margin: 0; color: var(--ink-2); font-size: 15px; }
.form-alert { margin: 0 0 14px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--warn-soft); color: var(--warn); font-size: 14.5px; }
.form { display: flex; flex-direction: column; gap: 8px; }
.field-label { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; }
.form textarea { width: 100%; min-height: 7.5em; resize: vertical; font: inherit; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: border-color .12s ease, box-shadow .12s ease; }
.form textarea::placeholder { color: var(--muted); }
.form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); background: var(--surface); }
.field-hint { margin: 0; font-size: 13px; color: var(--muted); text-wrap: pretty; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.form-actions .btn { flex: 1 1 10em; }
.form .form-actions { margin-top: 10px; }
button.btn { font: inherit; font-size: 16px; font-weight: 650; cursor: pointer; }
.choices { border: 0; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choices legend { margin-bottom: 8px; }
.choice { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: 15px; cursor: pointer; transition: border-color .12s ease, background-color .12s ease, transform .12s ease; }
.choice:active { transform: scale(.98); }
.choice input { appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border-radius: 50%; border: 2px solid var(--muted); background: var(--surface); transition: border-color .12s ease, border-width .12s ease; }
.choice input:checked { border: 6px solid var(--accent); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-card.is-done { text-align: center; padding: 30px 20px 22px; } /* 只給聯絡／檢舉頁「已送出」卡片；步驟條也用 is-done，不能寫成不帶前綴的 .is-done */
.form-card.is-done .form-lead { margin-bottom: 4px; }
.done-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.done-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tips { background: var(--surface); box-shadow: var(--elev); border-radius: var(--radius); padding: 16px 18px; }
.tips h2 { font-size: 15px; margin-bottom: 8px; }
.tips ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-2); font-size: 14px; }
.form-page .agent-tip, .form-page .report-link, .form-page .agent-line { margin-top: 0; }
.form-page .agent-line { padding: 0 4px; }

.prose { max-width: 680px; padding: 28px 0 8px; }
.prose-title { font-size: 26px; font-weight: 700; text-wrap: balance; }
.prose-updated { margin: 6px 0 18px; color: var(--muted); font-size: 13px; }
.prose-summary { background: var(--accent-soft); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); font-size: 15.5px; line-height: 1.75; }
.prose-summary p { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.toc a { font-size: 13.5px; color: var(--ink-2); padding: 5px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--elev); }
.toc a:hover { text-decoration: none; color: var(--accent); }
.prose section { margin-top: 28px; scroll-margin-top: 72px; }
.prose h2 { font-size: 18px; margin-bottom: 8px; }
.prose p { margin: 0 0 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.85; text-wrap: pretty; }
.prose ul, .prose ol { margin: 0 0 10px; padding-left: 1.3em; display: grid; gap: 6px; color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }
.prose li::marker { color: var(--accent); }
/* 使用條款第十一節：切結全文（保留原條文換行） */
.declaration-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(12em, 1fr)); gap: 8px 16px; margin: 4px 0 14px; padding: 12px 14px; border: 1px solid var(--hair); border-radius: var(--radius-sm, 3px); background: var(--surface-2); font-size: 13.5px; }
.declaration-meta dt { color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.declaration-meta dd { margin: 2px 0 0; color: var(--ink); overflow-wrap: anywhere; }
.declaration-meta code { font-family: ui-monospace, "SF Mono", "Menlo", "Consolas", monospace; font-size: 13px; }
.declaration-text { padding: 4px 0 0 14px; box-shadow: inset 1px 0 0 var(--hair); }
.declaration-text p { white-space: pre-line; font-size: 14.5px; }

@media (min-width: 720px) {
  .form-card { padding: 28px 28px 24px; }
  .prose { padding-top: 44px; }
  .prose-title { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .form-card { animation: none; }
  .choice, .choice:active, .item-strip:active { transition: none; transform: none; }
}


/* ── 上架頁與頁首「我要上架」（am-sell） ── */
.header-nav { display: flex; align-items: center; gap: 8px; }
.header-nav .header-link { border-radius: 14px; } /* 與 .btn 同一種圓角 */
.header-sell { display: inline-flex; align-items: center; gap: 4px; background: var(--accent); color: var(--accent-ink); border-color: transparent; font-weight: 600; transition: filter .12s ease, transform .12s ease; }
.header-sell svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.header-sell:hover { color: var(--accent-ink); border-color: transparent; filter: brightness(1.06); }
.header-sell:active { transform: scale(.96); }
@media (max-width: 419px) { .header-agents { display: none; } }
/* 在上架頁本頁：頁首入口降成「目前所在」，頁面只留底部「確認上架」一顆實心按鈕 */
.is-sell .header-sell { background: var(--accent-soft); color: var(--accent); }
.is-sell .header-sell:hover { color: var(--accent); filter: none; }


.is-sell [hidden] { display: none !important; }
.sell-head { padding: 4px 0 14px; }
.sell-title { font-size: 24px; font-weight: 700; text-wrap: balance; }
.sell-sub { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.quota { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; margin: 12px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13.5px; }
.quota strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.quota .dot { color: color-mix(in srgb, var(--accent) 60%, transparent); }
.quota.is-out { background: var(--warn-soft); color: var(--warn); }

/* 步驟條：捲動時貼在頁首下方，隨時知道做到哪一步 */
.stepper { list-style: none; margin: 0 -16px 16px; padding: 10px 16px; display: flex; justify-content: space-between; gap: 4px; position: sticky; top: 56px; z-index: 4;
  background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.stepper-item { flex: 0 1 auto; min-width: 0; }
.stepper-item a { min-width: 0; display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 4px 12px 4px 6px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 600; transition: background-color .18s ease, color .18s ease; }
.stepper-item a:hover { text-decoration: none; color: var(--ink); }
.stepper-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); box-shadow: var(--elev); color: var(--muted); font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.stepper-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stepper-item.is-current a { background: var(--surface); box-shadow: var(--elev); color: var(--ink); }
.stepper-item.is-current .stepper-n { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.stepper-item.is-done .stepper-n { background: var(--accent-soft); color: var(--accent); box-shadow: none; font-size: 0; }
.stepper-item.is-done .stepper-n::after { content: ""; width: 5px; height: 10px; margin-top: -3px; border: solid currentColor; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.stepper-item.is-done a { color: var(--ink-2); }

.sell-alert { margin: 0 0 16px; }
.sell-alert p { margin: 0; font-weight: 600; }
.sell-alert ul { margin: 6px 0 0; padding-left: 1.2em; display: grid; gap: 2px; font-size: 14px; }
.sell-alert a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sell-alert:focus { outline: none; }
.sell-note { margin: 0 0 16px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); font-size: 14.5px; }
.sell-note.is-warn { background: var(--warn-soft); color: var(--warn); }

.sell-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.sell-form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sell-step { background: var(--surface); box-shadow: var(--elev); border-radius: var(--radius); padding: 20px 16px; display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 140px; animation: rise .4s cubic-bezier(.2, .7, .2, 1) both; }
.sell-step:nth-of-type(2) { animation-delay: 40ms; }
.sell-step:nth-of-type(3) { animation-delay: 80ms; }
.step-title { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.step-badge { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

.sell-form .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.sell-form fieldset.field { min-inline-size: 0; }
.sell-form .field-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 650; }
.sell-form legend.field-label { float: left; width: 100%; margin-bottom: 6px; }
.sell-form legend.field-label + * { clear: both; }
.req, .opt { font-size: 12px; font-weight: 600; line-height: 1; padding: 4px 7px; border-radius: 999px; }
.req { background: var(--accent-soft); color: var(--accent); }
.opt { color: var(--muted); padding-left: 0; font-weight: 500; }
.review-chip { font-size: 12px; font-weight: 650; line-height: 1; padding: 4px 8px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }
.ai-chip { font-size: 12px; font-weight: 600; line-height: 1; padding: 4px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.ai-chip[hidden] { display: none; }
.counter { font-variant-numeric: tabular-nums; white-space: nowrap; }
.field-hint:has(> .counter) { display: flex; align-items: flex-start; gap: 12px; }
.field-hint > .counter { flex: none; margin-left: auto; }
/* am-ui-nohuman-polish4 G10：帶計數的說明只在標點／空白換行（「搜尋。」不會兩三字落單到下一行；每一句各佔一行） */
.field-hint:has(> .counter) > span:not(.counter) { word-break: keep-all; overflow-wrap: break-word; }

.sell-form .input { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; transition: border-color .12s ease, box-shadow .12s ease, background-color .12s ease; }
.sell-form .input::placeholder { color: var(--muted); }
.sell-form .input:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.sell-form .textarea { min-height: 7.5em; resize: vertical; line-height: 1.6; }
.sell-form .select { -webkit-appearance: none; appearance: none; padding-right: 38px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 21px) 52%, calc(100% - 16px) 52%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.sell-form .select:disabled { opacity: .5; cursor: not-allowed; }
.sell-form .money { position: relative; display: block; }
.sell-form .money .input { padding-left: 50px; font-size: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }
.sell-form .money-cur { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; pointer-events: none; }
.sell-form input[type="number"] { -moz-appearance: textfield; }

.field-error { margin: 0; color: var(--danger); font-size: 13.5px; font-weight: 600; display: flex; gap: 6px; align-items: flex-start; }
.field-error::before { content: "!"; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--danger); color: var(--surface); font-size: 11px; font-weight: 800; line-height: 16px; text-align: center; }
.has-error > .input, .has-error .select, .has-error .money .input, .has-error .tag-box { border-color: var(--danger); background: color-mix(in srgb, var(--danger-soft) 55%, var(--surface)); }
.needs-review > .input, .needs-review > .select, .cat-field.needs-review .select { border-color: color-mix(in srgb, var(--warn) 70%, var(--line)); }

.ai-row { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent-soft) 40%, var(--surface))); }
.btn-ai { align-self: flex-start; gap: 8px; min-height: 44px; background: var(--surface); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 30%, transparent); box-shadow: var(--edge), 0 1px 2px rgba(20, 22, 20, .05); }
.btn-ai:hover { border-color: var(--accent); }
.ai-icon { width: 18px; height: 18px; fill: currentColor; }
.btn-ai.is-busy .ai-icon { animation: ai-pulse 1s ease-in-out infinite; }
@keyframes ai-pulse { 50% { transform: scale(.7) rotate(45deg); opacity: .6; } }
.ai-hint { color: var(--ink-2); }
.btn.is-busy { cursor: progress; opacity: .85; }

.cat-selects { display: grid; gap: 10px; }
.cat-select { display: flex; flex-direction: column; gap: 4px; animation: rise .3s cubic-bezier(.2, .7, .2, 1) both; }
.cat-label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.cat-path { margin: 0; font-size: 13.5px; color: var(--accent); font-weight: 600; min-height: 0; }
.cat-path:empty { display: none; }

.attr-fields { display: grid; gap: 16px; }
.attr-fields.is-in > * { animation: rise .32s cubic-bezier(.2, .7, .2, 1) both; }
.attr-fields.is-in > :nth-child(2) { animation-delay: 30ms; }
.attr-fields.is-in > :nth-child(3) { animation-delay: 60ms; }
.attr-fields.is-in > :nth-child(n+4) { animation-delay: 90ms; }
.attr-empty { margin: 0; padding: 18px 16px; border-radius: 12px; background: var(--surface-2); color: var(--muted); font-size: 14px; text-align: center; }
.implied { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.implied .chip { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 600; }
.implied-note { font-size: 12.5px; color: var(--muted); }

.sell-form .choices { margin: 0; }
.cond-choice { align-items: flex-start; padding: 12px 14px; min-height: 0; }
.cond-choice input { margin-top: 3px; }
.cond-choice > span { display: flex; flex-direction: column; min-width: 0; }
.choice-name { font-weight: 600; font-size: 15px; line-height: 1.4; }
.choice-help { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.choice-check input { border-radius: 6px; }
.choice-check input:checked { border: 0; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4.5 9.2 3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

.tag-box { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 48px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); cursor: text; transition: border-color .12s ease, box-shadow .12s ease; }
.tag-box:focus-within { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.tag-list { display: contents; list-style: none; }
.tag { display: inline-flex; align-items: center; gap: 2px; padding: 2px 4px 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; animation: rise .2s ease both; }
.tag-x { width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: inherit; font: inherit; font-size: 17px; line-height: 1; cursor: pointer; }
.tag-x:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.tag-entry { flex: 1 1 8em; min-width: 6em; min-height: 32px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; outline: none; }
.tag-entry::placeholder { color: var(--muted); }

.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.photo-grid:empty { display: none; }
.photo { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--surface-2); box-shadow: var(--elev); animation: rise .28s cubic-bezier(.2, .7, .2, 1) both; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-cover { position: absolute; left: 6px; bottom: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(18, 18, 18, .66); color: #fff; font-size: 12px; font-weight: 600; }
.photo-x { position: absolute; right: 5px; top: 5px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(18, 18, 18, .6); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .12s ease, background-color .12s ease; }
.photo-x:hover { background: rgba(18, 18, 18, .8); }
.photo-x:active { transform: scale(.9); }
.photo-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.photo-drop { display: none; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border-radius: 14px; cursor: pointer; color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface)); border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, transparent); transition: background-color .15s ease, border-color .15s ease, transform .12s ease; }
.sell-js .photo-drop { display: flex; }
.photo-drop:hover, .photo-drop.is-over { background: var(--accent-soft); border-color: var(--accent); }
.photo-drop:active { transform: scale(.99); }
.photo-drop svg { flex: none; width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.photo-drop-text { display: flex; flex-direction: column; }
.photo-drop-text strong { font-size: 15.5px; }
.photo-drop-text span { font-size: 13px; color: var(--ink-2); }
.sell-js .photo-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
#photos-field:has(.photo-input:focus-visible) .photo-drop { outline: 2px solid var(--accent); outline-offset: 2px; }
.photo-input { font: inherit; font-size: 14px; color: var(--ink-2); }
#photos-field { position: relative; }

.sell-submit { position: sticky; bottom: 0; z-index: 3; margin: 0 -16px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px;
  background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(160%) blur(20px); backdrop-filter: saturate(160%) blur(20px);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--line) 80%, transparent); }
.sell-submit-note { display: none; margin: 0; font-size: 13px; color: var(--muted); }
.sell-submit-btn { width: 100%; min-height: 50px; font-size: 17px; }
.sell-submit-btn[disabled] { opacity: .5; cursor: not-allowed; }

.sell-aside { display: none; }
.preview-label { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.preview-card { animation: none; }
.preview-card:hover { transform: none; box-shadow: var(--elev); }
.preview-card .card-media { display: flex; align-items: center; justify-content: center; }
.preview-price-empty { font-size: 14px; font-weight: 500; color: var(--muted); }
.preview-ph { color: var(--muted); font-size: 13px; padding: 0 16px; text-align: center; }
.preview-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sell-tips { margin-top: 16px; }

@media (min-width: 720px) {
  .sell-title { font-size: 30px; }
  .stepper { margin: 0 0 20px; padding: 10px 0; justify-content: flex-start; gap: 10px; }
  .sell-step { padding: 24px 24px; }
  .cat-selects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cond-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ship-choices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ai-row { flex-direction: row; align-items: center; gap: 14px; }
  .ai-row .ai-hint { flex: 1; }
  .photo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sell-submit { margin: 0; padding: 14px 0; flex-direction: row-reverse; align-items: center; justify-content: space-between; border-radius: 0; }
  .sell-submit-btn { width: auto; min-width: 12em; }
  .sell-submit-note { display: block; }
}
@media (min-width: 900px) {
  .sell-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
  .sell-aside { display: block; position: sticky; top: 124px; }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .sell-step, .cat-select, .attr-fields.is-in > *, .tag, .photo { animation: none; }
  .btn-ai.is-busy .ai-icon { animation: none; }
  .photo-x:active, .photo-drop:active, .header-sell:active { transform: none; }
}

/* 商品頁：剛上架成功的提示（只有賣家本人看得到） */
.listed-banner { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--accent-soft); color: var(--ink); animation: rise .4s cubic-bezier(.2, .7, .2, 1) both; }
.listed-banner .done-icon { flex: none; width: 34px; height: 34px; margin: 0; background: var(--surface); box-shadow: var(--elev); }
.listed-banner .done-icon svg { width: 18px; height: 18px; }
.listed-banner strong { display: block; font-size: 16px; color: var(--accent); }
.listed-banner p { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
.listed-banner ul { margin: 6px 0 0; padding-left: 1.2em; font-size: 14px; color: var(--warn); }
.listed-banner a { font-weight: 600; }
.owner-line { margin: 0; font-size: 14px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .listed-banner { animation: none; } }
@media (prefers-color-scheme: dark) {
  .choice-check input:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4.5 9.2 3 3 6-6.4' fill='none' stroke='%230d1f19' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
  .field-error::before { color: #1a1d1c; }
}
@media (max-width: 359px) {
  /* 320 寬（放檔尾，要蓋過上面的步驟條規則）：步驟條收緊；還有目前步驟時，其他步只留圓圈 */
  .stepper-item a { gap: 5px; padding: 4px 8px 4px 5px; font-size: 13px; }
  .stepper:has(.is-current) .stepper-item:not(.is-current) .stepper-label { display: none; }
  .header-sell { padding-left: 10px; padding-right: 10px; }
  .header-sell svg { display: none; }
}

/* ── 商品與服務、「我還在」（am-sell-v2） ── */
/* 在架可能性：四級白話＋多久前確認；顏色只當輔助，文字本身就說得清楚 */
.fresh { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; max-width: 100%; font-size: 12.5px; font-weight: 650; line-height: 1.5; padding: 2px 9px 2px 7px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.fresh-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fresh-ago { margin-left: -4px; font-weight: 500; color: var(--muted); white-space: nowrap; }
/* 四級一眼可分（am-ui-r6）：很可能＝實心綠、可能＝灰底綠點、不太確定＝琥珀、很久沒確認＝灰點灰字外框 */
.fresh-fresh { background: var(--accent); color: var(--accent-ink); }
.fresh-fresh .fresh-ago { color: inherit; opacity: .86; }
.fresh-ok { background: var(--surface-2); color: var(--ink); }
.fresh-ok .fresh-dot { background: var(--accent); }
.fresh-warn { background: var(--warn-soft); color: var(--warn); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 28%, transparent); }
.fresh-muted, .fresh-gone { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.fresh-muted .fresh-dot, .fresh-gone .fresh-dot { background: var(--muted); }
/* 標灰（滿 30 天、買家看不到）：只給賣家本人看的實心橘標 */
.gone-badge { display: inline-flex; align-items: center; gap: 5px; align-self: center; font-size: 12.5px; font-weight: 700; line-height: 1.5; padding: 2px 10px; border-radius: 999px; background: var(--warn); color: var(--surface); white-space: nowrap; }
.gone-badge::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50%; border: 1.6px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 1.6px 5px no-repeat; }
.fresh-row .gone-badge { font-size: 13.5px; padding: 4px 11px; }
.card-fresh { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-top: 2px; min-width: 0; }
.card-fresh .fresh { white-space: nowrap; }
.card-ago { font-size: 12px; color: var(--muted); white-space: nowrap; }
/* 賣家行（am-ui-r7）：不截成「新手賣…」（owner：截斷算破版）。名字可換行，等級「新手賣家」整組不拆；
   等級換到下一行時，前面的「・」被左邊界裁掉，不會出現在行首 */
.card-seller { overflow: hidden; }
.card-seller-in { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; margin-left: -1em; }
.card-seller-in > span { position: relative; padding-left: 1em; }
.card-seller-name { min-width: 0; overflow-wrap: anywhere; }
.card-seller-tier { white-space: nowrap; }
.card-seller-tier::before { content: "・"; position: absolute; left: 0; width: 1em; text-align: center; }
.card-seller-name .mini-check { display: inline-block; vertical-align: -2px; }

.card-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; margin-top: 2px; }
.card-price-row .card-price { margin-top: 0; }
.price-quote { font-size: 17px; font-weight: 700; color: var(--ink); }
.card-price .price-quote + .price-unit { margin-left: 4px; }
.price.is-quote .price-quote { font-size: 28px; font-weight: 750; line-height: 1.15; }
.price.is-quote .price-unit { margin-left: 6px; }
.buybar-price .price-quote { font-size: 18px; }
.card-flag.is-kind { background: color-mix(in srgb, var(--accent) 86%, transparent); color: var(--accent-ink); }
.kind-tag { display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 650; line-height: 1.75; vertical-align: 3px; }
.fact-note { margin-left: 8px; font-size: 13px; color: var(--muted); }

/* 標灰：滿 30 天沒按「我還在」 */
.card.is-gone .card-media, .card.is-gone .card-title, .card.is-gone .card-price-row { filter: grayscale(1); opacity: .6; }
.item-layout.is-gone .gallery, .item-layout.is-gone .item-cover { filter: grayscale(1); opacity: .62; }
.item-layout.is-gone .price-row, .item-layout.is-gone .item-title { color: var(--ink-2); }
.gone-note { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.gone-note strong { display: block; color: var(--ink); font-size: 15px; }
.gone-note.is-own { background: var(--warn-soft); color: var(--warn); box-shadow: inset 3px 0 0 var(--warn); }
.gone-note.is-own strong { color: inherit; }

.fresh-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.fresh-row .fresh { align-self: center; font-size: 13.5px; padding: 4px 11px 4px 9px; }
.fresh-row form { margin: 0; }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 14.5px; }
.btn-still { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.btn-still:hover { background: var(--accent-soft); }
.confirm-note { margin: 4px 0 14px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); font-size: 14.5px; font-weight: 600; }
.confirm-note.is-warn { background: var(--warn-soft); color: var(--warn); }

/* 首頁：只看商品／服務、排序 */
.list-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: -4px 0 14px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); }
.seg-item { min-height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.seg-item:hover { text-decoration: none; color: var(--ink); }
.seg-item.is-on { background: var(--surface); color: var(--ink); box-shadow: var(--elev); }
.sorts { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13.5px; }
.sort-item { color: var(--muted); padding: 4px 0; }
.sort-item.is-on { color: var(--accent); font-weight: 650; }
@media (prefers-color-scheme: dark) {
  .card.is-gone .card-media, .item-layout.is-gone .gallery, .item-layout.is-gone .item-cover { opacity: .5; }
}

/* ── 上架頁：商品／服務兩條路（am-sell-v2）──
   body 的 is-kind-goods／is-kind-service／is-kind-none 由伺服器先畫、sell.js 即時切換；沒有 JS 時按「下一步」重畫。 */
.is-kind-service .goods-only { display: none !important; }
.is-sell:not(.is-kind-service) .service-only { display: none !important; }
.sell-js .is-kind-none .sell-step, .sell-js .is-kind-none .sell-submit, .sell-js .is-kind-none .stepper { display: none; }
.is-kind-service .cat-root { display: none; }
.pm-label, .pm-help { display: none; }
.pm-fixed .pm-label[data-pm="fixed"], .pm-from .pm-label[data-pm="from"], .pm-quote .pm-label[data-pm="quote"],
.pm-fixed .pm-help[data-pm="fixed"], .pm-from .pm-help[data-pm="from"], .pm-quote .pm-help[data-pm="quote"] { display: inline; }
.pm-quote .price-field { display: none; }

.kind-pick { margin: 0; padding: 18px 16px; border: 0; border-radius: var(--radius); background: var(--surface); box-shadow: var(--elev); animation: rise .4s cubic-bezier(.2, .7, .2, 1) both; min-inline-size: 0; }
.kind-legend { float: left; width: 100%; margin: 0 0 12px; padding: 0; font-size: 18px; font-weight: 650; }
.kind-legend + * { clear: both; }
.kind-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kind-option { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 128px; padding: 16px 14px 14px; border-radius: var(--radius); background: var(--surface-2); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .15s ease, background-color .15s ease, transform .12s ease, box-shadow .15s ease; }
.kind-option:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.kind-option:active { transform: scale(.98); }
.kind-option input { position: absolute; opacity: 0; pointer-events: none; }
.kind-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.kind-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.kind-icon { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--accent); box-shadow: var(--elev); }
.kind-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.kind-option:has(input:checked) .kind-icon { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.kind-option:has(input:checked)::after { content: ""; position: absolute; right: 14px; top: 16px; width: 6px; height: 11px; border: solid var(--accent); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.kind-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kind-name { font-size: 18px; font-weight: 700; line-height: 1.3; }
.kind-help { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.kind-pick.has-error .kind-option { border-color: color-mix(in srgb, var(--danger) 55%, var(--line)); }
.kind-pick .field-error { margin-top: 10px; }
.kind-pick noscript .btn { margin-top: 12px; }

.more { border-radius: 12px; background: var(--surface-2); }
.more-sum { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; font-size: 14.5px; font-weight: 650; color: var(--ink); cursor: pointer; border-radius: 12px; }
.more-sum::-webkit-details-marker { display: none; }
.more-sum::after { content: ""; margin-left: auto; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .18s ease; }
.more[open] > .more-sum::after { transform: rotate(-135deg) translate(-2px, -2px); }
.more-sum:hover { color: var(--accent); }
.more-body { display: grid; gap: 16px; padding: 4px 14px 16px; }
.more .input { background: var(--surface); }
.more[open] > .more-body { animation: rise .26s cubic-bezier(.2, .7, .2, 1) both; }
.field-pair { display: grid; gap: 16px; }
.input-short { max-width: 10em; }
.mode-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* 提供方式三格：手機寬度不夠放圓點，選中改用底色＋框線表示（跟價格方式同一種讀法） */
.mode-choices .choice { justify-content: center; padding: 0 8px; text-align: center; font-size: 15px; line-height: 1.35; }
.mode-choices .choice input { position: absolute; opacity: 0; pointer-events: none; }
.mode-choices .choice:has(input:checked) .choice-name { color: var(--accent); }
.mode-choices .choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.is-kind-service .cat-label { display: none; }
@media (min-width: 720px) { .is-kind-service .cat-selects { grid-template-columns: minmax(0, 1fr); max-width: 420px; } }

.seg-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); }
.seg-choice { position: relative; display: flex; }
.seg-choice input { position: absolute; opacity: 0; pointer-events: none; }
.seg-choice span { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 11px; font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.seg-choice input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--elev); }
.seg-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.preview-card .price-quote { font-size: 17px; }
.preview-card .fresh { margin-top: 2px; }
@media (min-width: 720px) {
  .kind-pick { padding: 22px 24px; }
  .kind-option { flex-direction: row; align-items: center; min-height: 92px; padding: 16px 18px; gap: 14px; }
  .field-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .kind-pick, .more[open] > .more-body { animation: none; }
  .kind-option:active { transform: none; }
  .more-sum::after { transition: none; }
}

/* ── 沒有照片的封面（am-ui-r6）：主色漸層＋類別圖示＋類別名稱，不畫灰框扳手 ── */
.cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px; text-align: center; color: var(--accent);
  background:
    radial-gradient(120% 75% at 0% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 62%),
    radial-gradient(90% 60% at 100% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    linear-gradient(145deg, var(--accent-soft), var(--surface) 88%); }
.cover-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--surface); box-shadow: var(--elev); }
.cover-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cover-name { max-width: 100%; font-size: 13px; font-weight: 650; letter-spacing: .04em; color: var(--accent); text-align: center; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.card-media.is-cover { background: var(--accent-soft); }
/* 商品頁沒照片：一條矮封面，內容直接接在下面（桌機改單欄，跟下方說明同寬） */
.item-cover { position: relative; height: 132px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--elev); }
.item-cover .cover { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 0 20px; text-align: left; }
.item-cover .cover-icon { width: 56px; height: 56px; }
.item-cover .cover-icon svg { width: 28px; height: 28px; }
.item-cover .cover-name { font-size: 15px; }
.item-layout.no-media { gap: 16px; }
@media (min-width: 720px) {
  .item-layout.no-media { grid-template-columns: minmax(0, 1fr); max-width: 640px; gap: 22px; }
  .item-cover { height: 168px; }
  .item-cover .cover { padding: 0 28px; }
}
/* 中文落單字：標題與說明盡量不要只剩一個字在最後一行（不支援的瀏覽器照舊換行） */
.card-title, .item-title, .kind-help, .gone-note, .mine-title { text-wrap: pretty; }

/* ── am-ui-r7 ── */
/* 桌機沒照片的刊登：整頁（封面、明細、賣家卡、說明、怎麼買／怎麼預約、其他刊登）同一欄 720 寬置中，左右緣對齊 */
@media (min-width: 720px) {
  .item-page.is-narrow { max-width: 720px; margin-inline: auto; }
  .item-page.is-narrow .item-layout.no-media { max-width: none; }
  .item-page.is-narrow .block, .item-page.is-narrow .contact { max-width: none; }
}
/* 賣家卡沒有評分：大字一條弱色短線，小字「還沒有評分」 */
.seller-stats strong.is-none { color: var(--muted); font-size: 18px; font-weight: 600; }
/* 深色分段切換：選中格要比軌道亮一階（原本選中格 surface 比軌道 surface-2 暗，看起來凹下去） */
@media (prefers-color-scheme: dark) {
  .seg, .seg-choices { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
  .seg-item.is-on, .seg-choice input:checked + span { background: #2e3331; color: var(--ink); }
}

/* 示範刊登／示範賣家：紫色外框標，跟分級（綠／灰／琥珀）與「服務」標都不同色 */
.demo-tag { display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 6px; background: var(--demo-soft); color: var(--demo); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--demo) 40%, transparent); font-size: 12px; font-weight: 700; line-height: 1.7; vertical-align: 1px; white-space: nowrap; }
.item-title .demo-tag { font-size: 13px; padding: 0 8px; vertical-align: 3px; }
.seller-name .demo-tag, .profile-name .demo-tag { margin: 0 0 0 8px; vertical-align: 2px; }
.card-title .demo-tag { font-size: 11.5px; padding: 0 6px; }
.demo-note { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--demo-soft); color: var(--demo); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--demo) 30%, transparent); font-size: 15px; font-weight: 650; text-align: center; cursor: not-allowed; }
.contact.is-demo { box-shadow: var(--elev), inset 3px 0 0 var(--demo); }
.contact.is-demo > h2 { color: var(--demo); }

/* am-agent-buy-ui：AI 擬好的詢問（/q/<短碼>）、給 AI 讀的授權頁（/a/<碼>）、商品頁「不經手款項」與賣家的付款交貨說明 */
.draft-page { margin: 40px 0 24px; }
.draft-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; align-self: flex-start; padding: 4px 12px 4px 6px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 650; }
.draft-eyebrow-icon { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); align-items: center; justify-content: center; }
.draft-eyebrow-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.draft-card .form-title { margin-bottom: 14px; }
.draft-item { display: flex; gap: 14px; align-items: flex-start; color: inherit; padding: 12px; margin: 0 -4px; border-radius: 14px; background: var(--surface-2); transition: filter .12s ease; }
.draft-item:hover { text-decoration: none; filter: brightness(.99); }
.draft-media { position: relative; flex: none; width: 96px; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--surface); display: grid; place-items: center; }
.draft-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent; }
.draft-media .media-fallback svg { width: 46%; }
.draft-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.draft-item-body .kind-tag { margin-right: 0; vertical-align: 0; }
.draft-item-title { font-size: 16.5px; font-weight: 650; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; }
.draft-item-price { font-size: 14px; color: var(--ink-2); display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.draft-item-price strong { font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.draft-price-hint { font-size: 12.5px; color: var(--muted); }
.draft-seller { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.avatar.avatar-sm { width: 26px; height: 26px; font-size: 13px; }
.draft-item-body .trust { padding: 6px 10px; font-size: 13px; gap: 8px; background: var(--surface); }
.draft-item-body .trust-bars i { width: 14px; height: 5px; }
.draft-form { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.draft-text { width: 100%; min-height: 128px; resize: vertical; font: inherit; font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--surface); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.draft-text:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.draft-text[readonly] { background: var(--surface-2); }
.draft-quote { margin-top: 18px; padding: 14px 16px; border-radius: 14px; border-left: 3px solid var(--accent); background: var(--surface-2); }
.draft-quote-label { display: block; font-size: 13px; font-weight: 650; color: var(--accent); margin-bottom: 4px; }
.draft-quote p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; color: var(--ink); }
.draft-cta { width: 100%; margin-top: 14px; min-height: 52px; font-size: 17px; }
.draft-form .draft-cta { margin-top: 8px; }
.draft-who { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 13.5px; text-wrap: pretty; }
.draft-terms p { margin: 0; color: var(--ink-2); font-size: 14.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.draft-facts { list-style: none; margin: 0; padding: 4px 6px; display: grid; gap: 10px; }
.draft-facts li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.draft-facts svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.draft-state.tone-warn .done-icon { background: var(--warn-soft); color: var(--warn); }
.draft-state.tone-muted .done-icon { background: var(--surface-2); color: var(--muted); }
.draft-state .form-actions .btn { flex: 0 1 16em; }
.draft-state .form-actions { justify-content: center; }
.no-escrow { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink-2); font-size: 14.5px; }
.deal-terms { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius-sm); border-left: 3px solid var(--accent); background: var(--accent-soft); }
.deal-terms-label { display: block; font-size: 13px; font-weight: 650; color: var(--accent); margin-bottom: 2px; }
.deal-terms p { margin: 0; color: var(--ink); font-size: 14.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.agents-more { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.agent-doc-body { display: block; }
.agent-doc { max-width: 640px; padding-top: 28px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.agent-doc-eyebrow { margin: 0; color: var(--accent); font-size: 13.5px; font-weight: 650; }
.agent-doc-title { font-size: 24px; font-weight: 700; text-wrap: balance; }
.agent-doc-lead { margin: 0; color: var(--ink-2); font-size: 15px; text-wrap: pretty; }
.agent-doc-card { display: flex; flex-direction: column; gap: 8px; }
.agent-doc-card p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.agent-doc-h2 { font-size: 15.5px; font-weight: 650; margin-top: 4px; }
.agent-doc-code { display: block; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); overflow-wrap: anywhere; user-select: all; }
.agent-doc-list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-2); font-size: 14.5px; overflow-wrap: anywhere; }
.agent-doc-small { margin: 0; color: var(--muted); font-size: 13px; }
/* 375 寬時信任等級不拆字：標籤、四格、等級同一行 */
.draft-item-body .trust { white-space: nowrap; gap: 6px; padding: 6px 9px; }
.draft-item-body .trust-bars { gap: 3px; }
.draft-item-body .trust-bars i { width: 10px; }
@media (min-width: 720px) { .draft-page { margin-inline: auto; } .draft-item-body .trust-bars i { width: 14px; } }
.textarea-short { min-height: 72px; }
.draft-block { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; text-align: center; }
.draft-block summary { cursor: pointer; color: var(--muted); list-style: none; display: inline-block; padding: 4px 8px; }
.draft-block summary::-webkit-details-marker { display: none; }
.draft-block summary:hover { color: var(--danger); }
.draft-block form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; text-align: left; }
.draft-block-reason { flex: 1 1 12em; min-width: 0; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; }
.draft-block-btn { flex: none; min-height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--danger) 35%, var(--line)); background: transparent; color: var(--danger); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; white-space: nowrap; }
.draft-block-btn:hover { background: var(--danger-soft); }

/* ── am-ui-r9：觸控目標 ≥44px（用透明範圍撐大，字級不動）＋動態回饋 ── */
.brand { min-height: 44px; }
.header-link { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
@media (max-width: 419px) { .header-agents { display: none; } } /* 上一行的 display 不能把手機隱藏蓋掉 */
.search input, .search button { min-height: 44px; }
.sorts { gap: 0; margin: -7px -6px; }
.sort-item { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; padding: 0 6px; }
/* 分段切換：外框透明當點擊範圍，選中底塊畫在框內，看起來仍是軌道裡的一顆小膠囊 */
.seg { padding: 0; }
.seg-item { min-height: 44px; padding: 0 11px; border: 3px solid transparent; }
.seg .seg-item.is-on { background-clip: padding-box; box-shadow: none; filter: drop-shadow(0 1px 2px rgba(20, 22, 20, .14)); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px -9px; padding: 0 9px; }
.report-link a, .back-all a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
.footer-links { gap: 0 18px; margin-top: -2px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.toc { gap: 4px 8px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
.agents p a, .prose p a, .prose li a { display: inline-block; padding: 12px 4px; margin: -12px -4px; }
.draft-block summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.draft-block-reason, .draft-block-btn { min-height: 44px; }
/* 照片載好才淡入；關掉 JavaScript 或要求減少動態時照片直接顯示 */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  img.fade-in { transition: opacity .2s ease; }
  img.fade-in:not(.is-in) { opacity: 0; }
}
/* 選中底塊在換頁時滑過去：首頁自己開啟跨頁轉場（home.html），其他頁不受影響；不支援的瀏覽器照常換頁 */
@media (prefers-reduced-motion: no-preference) {
  .seg-item.is-on { view-transition-name: seg-thumb; }
  ::view-transition-old(root) { display: none; }
  ::view-transition-new(root) { animation: none; }
  ::view-transition-group(seg-thumb), ::view-transition-old(seg-thumb), ::view-transition-new(seg-thumb) { animation-duration: .18s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
}

/* 轉貼（am-repost）：標示要一眼看得出不是賣家本人刊登 */
.repost-tag { display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 6px; background: var(--warn-soft); color: var(--warn); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 40%, transparent); font-size: 12px; font-weight: 700; line-height: 1.7; vertical-align: 1px; white-space: nowrap; }
.item-title .repost-tag { font-size: 13px; padding: 0 8px; vertical-align: 3px; }
.card-title .repost-tag { font-size: 11.5px; padding: 0 6px; }
.repost-note { display: grid; gap: 4px; margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--warn-soft); color: var(--warn); font-size: 14px; line-height: 1.6; }
.repost-note strong { font-size: 15px; }
.repost-note p { margin: 0; color: var(--ink-2); }
.repost-link.is-gone { color: var(--muted); text-decoration: none; font-weight: 500; cursor: default; }
.repost-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.repost-by { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--elev); color: var(--ink-2); font-size: 14px; }
.repost-claim { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding: 16px; border-radius: var(--radius); background: var(--surface-2); font-size: 14px; color: var(--ink-2); }
.repost-claim p { margin: 0; }
.sell-tabs { display: flex; gap: 8px; margin-top: 12px; }
.sell-tab { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); font-size: 14.5px; font-weight: 600; text-align: center; }
.sell-tab.is-current { background: var(--accent-soft); color: var(--accent); }
.form input.input { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; }
.form input.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); background: var(--surface); }
.form .field-label + input.input, .form .field-label + textarea { margin-bottom: 2px; }
.form .field-hint + .field-label { margin-top: 10px; }
@media (min-width: 720px) { .repost-claim { flex-direction: row; align-items: center; justify-content: space-between; } .repost-claim .btn { flex: none; } }

/* 手機遺失恢復：每一頁都看得到的紅色橫幅（am-passkey） */
.recovery-banner { display: grid; gap: 10px; margin: 12px 0 16px; padding: 14px 16px; border: 1px solid var(--danger); border-radius: var(--radius-sm); background: var(--danger-soft); color: var(--danger); font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.recovery-banner p { margin: 0; }
.recovery-banner form { margin: 0; }
.recovery-banner .btn { width: 100%; min-height: 44px; }
.recovery-banner .btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.recovery-banner .btn-danger:hover { background: var(--surface); }

/* am-ui-member-center：商品頁收藏鈕、賣家頁評價 */
.fav-form { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.fav-btn { min-height: 44px; gap: 8px; }
.fav-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.fav-btn.is-on { color: var(--danger, #a33a2c); }
.fav-btn.is-on svg { fill: currentColor; }
.fav-count { color: var(--muted); font-size: 14px; }
.share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.share-btn { gap: 8px; }
.share-status { color: var(--muted); font-size: 14px; }
.share-copy-field { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.seller-bio { margin-top: 12px; color: var(--ink-2); overflow-wrap: anywhere; }
.seller-avatar-img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.seller-reviews { list-style: none; margin: 12px 0 0; padding: 0; }
.seller-reviews li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.seller-reviews .stars { color: var(--warn, #9a5b12); letter-spacing: 2px; }

/* ════════════════════════════════════════════════════════════════════════
   方向 A｜精品感（am-ui-premium-a，2026-11-11 樣本）
   原則：大量留白、細字重、單一墨綠主色＋一個克制的黃銅點綴、幾乎不用框線與徽章、
   照片統一 4:5 裁切放在暖灰底上、價格用細體等寬數字。
   字體：標題與站名用思源宋體（Noto Serif TC，細到中等字重）營造編輯感；內文用思源黑體／系統黑體。
   放在檔尾、只覆寫既有樣式，其他頁面（上架、賣家、條款）跟著換字體與色票，不改結構。
   ════════════════════════════════════════════════════════════════════════ */
:root {
  --bg: #f7f5f0;          /* 暖白紙 */
  --surface: #fdfcf9;
  --surface-2: #efebe3;   /* 照片底、無照片封面底 */
  --ink: #1c1d1a;
  --ink-2: #45463f;
  --muted: #6a6960;       /* 底色上 5.2:1 */
  --line: #e2ddd2;
  --hair: rgba(28, 29, 26, .12);
  --accent: #1f3b33;      /* 墨綠：主按鈕、連結 */
  --accent-ink: #f7f5f0;
  --accent-soft: #e7ebe6;
  --brass: #7d6438;       /* 黃銅點綴：小標、轉貼標示；底色上 5.3:1 */
  --warn: #7d5a1c;
  --warn-soft: #f4ecdd;
  --radius: 4px;
  --radius-sm: 3px;
  --shadow: none;
  --edge: none;
  --elev: none;
  --elev-hover: none;
  --fallback-ink: #b5ae9f;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --font: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "PingFang TC", "Heiti TC", "Microsoft JhengHei", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141513; --surface: #1a1b19; --surface-2: #22231f; --ink: #ece9e1; --ink-2: #c3bfb4; --muted: #96928a;
    --line: #2f302b; --hair: rgba(236, 233, 225, .12); --accent: #b9cfc4; --accent-ink: #141513; --accent-soft: #233029;
    --brass: #cdb381; --warn: #d9b779; --warn-soft: #2c261a; --fallback-ink: #4d4b45;
  }
}
body { font-weight: 400; letter-spacing: .02em; line-height: 1.75; }
h1, h2, h3 { font-weight: 500; letter-spacing: .02em; }
a:hover { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.wrap { max-width: 1120px; }

/* 頁首：一條細線、文字站名、文字連結 */
.site-header { background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid var(--hair); }
.header-row { height: 64px; }
.brand { gap: 12px; }
.brand-mark { width: 9px; height: 9px; border-radius: 50%; background: var(--brass); }
.brand-mark::after { display: none; }
.brand-name { font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: .22em; }
.brand-tagline { font-size: 11px; font-weight: 400; letter-spacing: .12em; margin-top: 4px; }
.header-nav { display: flex; gap: 4px; align-items: center; }
.header-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 0; font-size: 14px; letter-spacing: .06em; color: var(--ink-2); background: none; }
.header-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.header-link:hover { color: var(--ink); text-decoration: underline; }
.header-sell { color: var(--ink); }

/* 首頁開場：靠左、宋體細字、大留白 */
.hero { padding: 56px 0 44px; }
.eyebrow { color: var(--brass); font-size: 12px; font-weight: 500; letter-spacing: .32em; margin-bottom: 18px; }
.hero-title { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.45; letter-spacing: .04em; max-width: none; }
.ai-brief { color: var(--ink-2); font-size: 15px; margin-top: 18px; font-weight: 300; }
.ai-more-sum { border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: none; padding: 0 2px; margin: 10px 0 18px; min-height: 44px; font-size: 14px; letter-spacing: .08em; color: var(--ink); box-shadow: none; }
.ai-more-sum svg { width: 15px; height: 15px; stroke-width: 1.4; }
.ai-points { gap: 0; margin-top: 24px; border-top: 1px solid var(--hair); }
.ai-point { grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.ai-point-icon { width: 28px; height: 28px; border-radius: 0; background: none; color: var(--brass); }
.ai-point-icon svg { width: 22px; height: 22px; stroke-width: 1.2; }
.ai-point h2 { font-family: var(--serif); font-weight: 500; font-size: 16px; letter-spacing: .06em; }
.ai-point p { font-size: 14px; color: var(--ink-2); font-weight: 300; margin-top: 4px; }
.ai-safe { background: none; box-shadow: none; border-radius: 0; padding: 18px 0 0; margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.ai-safe svg { stroke: var(--brass); stroke-width: 1.3; }
.ai-safe strong { font-weight: 500; }
.hero-self { font-size: 13.5px; margin: 14px 0 28px; }
.search { border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: none; box-shadow: none; padding: 0; gap: 0; max-width: 520px; }
.search input { padding: 10px 2px; font-weight: 300; font-size: 16px; }
.search button { border-radius: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: .16em; padding: 0 4px 0 16px; min-width: 64px; }
.search button:hover { color: var(--accent); }

/* 清單標題與篩選：文字分頁＋底線 */
.listing-section { padding-top: 8px; }
.section-head { margin: 24px 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: 21px; letter-spacing: .06em; }
.count { font-size: 12.5px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.list-tools { margin: 0 0 26px; }
.seg, .seg .seg-item.is-on { background: none !important; box-shadow: none !important; filter: none !important; }
.seg { gap: 18px; padding: 0; }
.seg-item { padding: 0 1px; border: 0; border-bottom: 1px solid transparent; border-radius: 0; font-size: 14px; font-weight: 400; letter-spacing: .1em; color: var(--muted); }
.seg-item.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.sorts { gap: 0 14px; margin: 0; font-size: 13px; letter-spacing: .06em; }
.sort-item { padding: 0 2px; }
.sort-item.is-on { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* 商品卡：無框、無陰影；照片 4:5 統一裁切放暖灰底；文字細、價格細體等寬數字 */
.grid { gap: 36px 16px; }
.card { background: none; border-radius: 0; box-shadow: none; overflow: visible; }
.card:hover, .card:active { transform: none; box-shadow: none; }
.card-media { aspect-ratio: 4 / 5; background: var(--surface-2); border-radius: var(--radius); }
.card-media img { transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .3s ease; }
.card-link:hover .card-media img { transform: scale(1.025); }
.card-flag { left: 0; top: 0; border-radius: 0 0 var(--radius) 0; background: var(--bg); color: var(--ink-2); font-size: 11.5px; letter-spacing: .14em; padding: 3px 10px; }
.card-flag.is-kind { background: var(--bg); color: var(--ink-2); }
.card-body { gap: 3px; padding: 14px 0 0; }
.card-title { font-size: 14px; font-weight: 400; line-height: 1.6; min-height: 3.2em; color: var(--ink); }
.card-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.card-price .price-num { font-size: 19px; font-weight: 300; letter-spacing: .02em; }
.card-price .price-unit { font-size: 11.5px; color: var(--muted); letter-spacing: .1em; margin-left: 2px; }
.card-orig { font-size: 12px; font-variant-numeric: tabular-nums; }
.card-meta, .card-seller, .card-ago { font-size: 12px; letter-spacing: .04em; }
.card-seller { border-top: 0; padding-top: 0; margin-top: 0; }
.card-fresh { margin-top: 2px; }
.mini-check { width: 11px; height: 11px; background: var(--muted); }
.mini-check::after { left: 3.6px; top: 1.8px; width: 3px; height: 5.5px; border-width: 0 1.3px 1.3px 0; }

/* 新鮮度：不用色塊，只留一個小圓點＋文字 */
.fresh, .fresh-fresh, .fresh-ok, .fresh-warn, .fresh-muted, .fresh-gone { background: none !important; box-shadow: none !important; padding: 0 !important; font-weight: 400; font-size: 12px; letter-spacing: .04em; gap: 7px; }
.fresh-fresh { color: var(--accent); }
.fresh-fresh .fresh-ago { color: var(--muted); opacity: 1; }
.fresh-ok { color: var(--ink-2); }
.fresh-ok .fresh-dot { background: var(--accent); }
.fresh-warn { color: var(--warn); }
.fresh-dot { width: 5px; height: 5px; }
.fresh-row .fresh { font-size: 13px; }

/* 標示：只用細線外框的小字，不用色塊 */
.repost-tag, .demo-tag, .kind-tag { background: none; box-shadow: inset 0 0 0 1px currentColor; border-radius: 2px; font-weight: 500; letter-spacing: .1em; }
.repost-tag { color: var(--brass); }
.card-title .repost-tag, .card-title .demo-tag { font-size: 10.5px; padding: 0 5px; margin-right: 7px; vertical-align: 1px; }
.kind-tag { color: var(--accent); }

/* 沒照片：暖灰紙面＋內縮細框＋宋體分類名，像選品店的商品卡 */
.cover { background: var(--surface-2); color: var(--ink-2); gap: 12px; }
.cover::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--hair); pointer-events: none; }
.cover-icon { width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; color: var(--fallback-ink); }
.cover-icon svg { width: 26px; height: 26px; stroke-width: 1.1; }
.cover-name { font-family: var(--serif); font-size: 15px; font-weight: 400; letter-spacing: .2em; color: var(--ink-2); }
.cover-note { position: relative; font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.cover-name::after { content: ""; display: block; width: 18px; height: 1px; margin: 12px auto 0; background: var(--brass); }

/* 承諾三則：細線分隔，不用卡片與圖示框 */
.promises { gap: 0; margin-top: 72px; border-top: 1px solid var(--hair); }
.promise { background: none; box-shadow: none; border-radius: 0; padding: 26px 0; border-bottom: 1px solid var(--hair); }
.promise-icon { width: auto; height: auto; background: none; border-radius: 0; color: var(--brass); }
.promise-icon svg { width: 22px; height: 22px; stroke-width: 1.2; }
.promise h3 { font-family: var(--serif); font-weight: 500; font-size: 16px; letter-spacing: .06em; margin: 12px 0 6px; }
.promise p { font-size: 13.5px; font-weight: 300; }

/* 按鈕：直角、墨綠實心或細線，字距拉開 */
.btn { border-radius: 2px; font-size: 15px; font-weight: 500; letter-spacing: .12em; box-shadow: none; }
.btn:active { transform: none; filter: none; opacity: .86; }
.btn-primary:hover { filter: none; background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.btn-ghost { background: none; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── 商品頁 ── */
.crumbs { font-size: 12px; letter-spacing: .1em; padding: 22px 0 18px; }
.crumbs a { color: var(--muted); }
.slide { aspect-ratio: 4 / 5; background: var(--surface-2); }
.slide .slide-bg { display: none; }
.slide .slide-img { left: 0; width: 100%; transform: none; object-fit: contain; -webkit-mask-image: none; mask-image: none; }
.slide-count { background: var(--bg); color: var(--ink-2); border-radius: 0; letter-spacing: .12em; font-size: 11.5px; }
.thumb { border-radius: 2px; box-shadow: none; opacity: .7; }
.thumb:hover { box-shadow: 0 0 0 1px var(--ink); opacity: 1; }
.summary { gap: 20px; }
.item-title { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.55; letter-spacing: .03em; }
.item-title .repost-tag, .item-title .kind-tag, .item-title .demo-tag { font-family: var(--font); font-size: 11.5px; padding: 1px 7px; vertical-align: 4px; margin-right: 10px; }
.price .price-cur { font-size: 11.5px; letter-spacing: .16em; color: var(--muted); margin-right: 6px; }
.price .price-num { font-size: 34px; font-weight: 200; letter-spacing: .02em; }
.price .price-unit { font-size: 13px; color: var(--muted); }
.discount { background: none; color: var(--brass); padding: 0; font-weight: 500; }
.repost-note { background: none; color: var(--ink-2); padding: 2px 0 2px 16px; border-radius: 0; box-shadow: inset 1px 0 0 var(--brass); gap: 2px; font-size: 13.5px; }
.repost-note strong { color: var(--brass); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; }
.repost-note .repost-link { color: var(--ink); font-weight: 500; text-decoration-thickness: 1px; min-height: 44px; }
.repost-link.is-gone { color: var(--muted); }
/* 上架表單：刊登者合法責任切結 */
.sell-declaration { margin-top: 18px; padding: 14px; border-radius: var(--radius-sm, 3px); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hair); }
.sell-declaration-row { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.sell-declaration-row input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.sell-declaration-text { color: var(--ink-2); font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.sell-declaration .field-hint a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
/* 官網同步商品：第三方來源標示＋平台免責聲明（低調細框、柔和底色） */
.third-party-note { display: grid; gap: 6px; margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--hair); border-radius: var(--radius-sm, 3px); background: var(--surface-2); color: var(--ink-2); font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.third-party-note p { margin: 0; }
.third-party-report { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; margin-block: -6px; color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.third-party-report:hover { color: var(--danger, var(--accent)); }
.gone-note { background: none; border-radius: 0; padding: 14px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.facts { border-top: 1px solid var(--hair); }
.facts > div { padding: 13px 0; border-bottom: 1px solid var(--hair); grid-template-columns: 6em 1fr; }
.facts dt { font-size: 12.5px; letter-spacing: .14em; }
.facts dd { font-size: 14.5px; }
.cond { font-weight: 400; }
.chip { background: none; border-color: var(--hair); border-radius: 2px; }
.seller-card, .repost-by { background: none; box-shadow: none; border-radius: 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 16px 0; }
.repost-by { font-size: 13.5px; color: var(--ink-2); letter-spacing: .04em; }
.avatar { background: var(--surface-2); color: var(--ink-2); font-family: var(--serif); font-weight: 400; }
.seller-name { font-weight: 500; }
.trust { background: none; padding: 0; }
.trust-bars i { height: 2px; border-radius: 0; }
.seller-stats strong { font-weight: 300; font-size: 20px; }
.block { margin-top: 56px; }
.block > h2, .contact h2 { font-family: var(--serif); font-weight: 400; font-size: 18px; letter-spacing: .08em; margin-bottom: 14px; }
.desc { font-size: 15px; font-weight: 300; line-height: 2; color: var(--ink-2); }
.contact { background: none; box-shadow: none; border-radius: 0; padding: 28px 0 0; border-top: 1px solid var(--hair); }
.contact > p { font-size: 14.5px; font-weight: 300; }
.contact-actions { border-top-color: var(--hair); }
.step-n { background: none; box-shadow: inset 0 0 0 1px var(--ink-2); color: var(--ink-2); font-weight: 400; font-size: 12.5px; }
.steps strong { font-weight: 500; }
.repost-claim { background: none; border-radius: 0; padding: 22px 0; margin-top: 28px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-size: 13.5px; color: var(--ink-2); }
.item-cover { height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); box-shadow: none; }
.item-cover .cover { flex-direction: column; justify-content: center; padding: 0; text-align: center; }
.item-cover .cover-icon svg { width: 30px; height: 30px; }
.item-cover .cover-name { font-size: 18px; }

/* 頁尾：給 AI 助理那段改成細框安靜區塊 */
.site-footer { border-top: 1px solid var(--hair); padding-top: 44px; margin-top: 72px; }
.agents { background: none; border-radius: 0; padding: 0 0 0 18px; box-shadow: inset 1px 0 0 var(--brass); }
.agents-title { color: var(--ink); font-family: var(--serif); font-weight: 500; font-size: 15px; letter-spacing: .08em; }
.agents-icon { display: none; }
.agents p { font-size: 13px; font-weight: 300; line-height: 1.85; }
.agents a { font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.fineprint { font-size: 12px; letter-spacing: .04em; margin-top: 28px; }
.footer-links a { color: var(--ink-2); }

/* 手機底部購買列 */
.buybar { background: color-mix(in srgb, var(--bg) 94%, transparent); box-shadow: inset 0 1px 0 var(--hair); }
.buybar-price .price-num { font-weight: 300; font-size: 21px; }
.buybar-price .price-unit { font-size: 12px; color: var(--muted); }

@media (min-width: 720px) {
  .wrap { padding: 0 40px; }
  .hero { padding: 96px 0 64px; }
  .hero-title { font-size: 46px; line-height: 1.35; }
  .ai-points { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; border-top: 0; margin-top: 48px; max-width: none; }
  .ai-point { grid-template-columns: minmax(0, 1fr); gap: 14px; border-bottom: 0; border-top: 1px solid var(--hair); padding: 22px 0 0; }
  .ai-safe { max-width: none; padding-top: 28px; }
  .hero-self { margin: 18px 0 40px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 28px; }
  .promises { grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 0; margin-top: 112px; }
  .promise { border-bottom: 0; border-top: 1px solid var(--hair); }
  .item-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; }
  .gallery { top: 88px; }
  .slides { border-radius: var(--radius); box-shadow: none; }
  .item-title { font-size: 30px; }
  .price .price-num { font-size: 42px; }
  .block { max-width: 680px; }
  .item-cover { aspect-ratio: 21 / 9; }
  .item-cover .cover-name { font-size: 22px; }
}
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .card-media img { transition: none; } .card-link:hover .card-media img { transform: none; } }
/* 方向 A 補：頁首連結不折行、手機收起「給 AI 助理」；示範標示不另用紫色；亮點四則對齊；寬照片整張放進框內 */
.header-link { white-space: nowrap; }
@media (max-width: 419px) { .brand-tagline { letter-spacing: .06em; } }
@media (max-width: 419px) { .header-agents { display: none; } }
.demo-tag { color: var(--muted); }
.ai-point { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 719px) { .ai-point { flex-direction: row; gap: 14px; } }
.card-media.is-wide img { object-fit: contain; padding: 8%; }
.contact.is-demo h2, .demo-note { color: var(--ink-2); }
.header-sell, .ai-more-sum { font-weight: 500; }
@media (max-width: 719px) {
  .hero { padding: 36px 0 20px; }
  .eyebrow { margin-bottom: 12px; }
  .hero-self { margin-bottom: 18px; }
  .section-head { margin: 14px 0 10px; padding-bottom: 10px; }
  .list-tools { margin-bottom: 18px; gap: 4px 16px; }
}

/* ════════════════════════════════════════════════════════════════════════
   方向 A 第二批（am-ui-premium-batch2，2026-11-11）
   上架、轉貼、聯絡、檢舉、條款、AI 擬好的詢問／授權頁、404 換成同一套精品語言；
   一起修美感審查對第一批的扣分：字重提半級、灰字加深（≥5.5）、紫色示範標換黃銅細線、
   標籤不擠標題、清單錯開淡入＋按下微縮；並把深色模式整套重新設計（暖炭底，不是反轉）。
   ════════════════════════════════════════════════════════════════════════ */
:root {
  --muted: #5e5d55;       /* 紙底 6.1:1、照片暖灰底 5.6:1 */
  --brass: #6e5730;       /* 紙底 6.3:1 */
  --demo: var(--ink-2);
  --demo-soft: transparent;
  --danger: #8a3a2c;      /* 紙底 7.1:1 */
  --danger-soft: #f6e9e4;
  --field: #fdfcf9;       /* 輸入框底 */
}
@media (prefers-color-scheme: dark) {
  :root {
    /* 深色：暖炭紙、米白字、鼠尾草綠主色、淡金點綴；層次靠亮度差一階，不靠陰影 */
    --bg: #131412; --surface: #1a1b18; --surface-2: #1d1e1b; --field: #191a17;
    --ink: #ece9e1; --ink-2: #c3bfb4; --muted: #a29d92;   /* 底色上 6.8:1 */
    --line: #2e2f2a; --hair: rgba(236, 233, 225, .13);
    --accent: #b9cfc4; --accent-ink: #131412; --accent-soft: #23302a;
    --brass: #cdb381; --warn: #d9b779; --warn-soft: #2a2419;
    --danger: #e8a99b; --danger-soft: #2d1f1b;
    --fallback-ink: #55534c;
  }
  .card-media.is-wide img { background: #ece9e1; }
  img { filter: brightness(.94); }
}

/* ── 審查扣分修補（全站共用） ── */
.ai-brief, .ai-point p, .promise p, .desc, .contact > p, .agents p, .search input { font-weight: 400; }
.card-title { font-family: var(--serif); font-weight: 500; text-wrap: pretty; }
.card-price .price-num, .buybar-price .price-num { font-weight: 400; }
.card-title .repost-tag, .card-title .demo-tag { display: inline; padding: 1px 5px; line-height: 1; white-space: nowrap; }
.demo-tag { background: none; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair); border-radius: 2px; }
.demo-note { background: none; color: var(--ink-2); border-radius: 0; padding: 2px 0 2px 16px; box-shadow: inset 1px 0 0 var(--brass); font-size: 13.5px; }
.contact.is-demo { box-shadow: none; }
.contact.is-demo > h2 { color: var(--ink); }
.card-media.is-wide img { object-fit: contain; padding: 0; width: 92%; height: auto; max-height: 92%; inset: 0; margin: auto; background: #fff; box-shadow: 0 0 0 1px var(--hair); }
@media (min-width: 720px) {
  .hero { padding: 56px 0 40px; }
  .ai-points { margin-top: 32px; }
  .hero-self { margin: 14px 0 28px; }
}
/* 清單錯開淡入（每格 24ms、最多 10 格、上移 12px）＋按下微縮；減少動態時全部關掉 */
@keyframes a-rise { from { opacity: .2; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .grid > .card { animation: a-rise .5s cubic-bezier(.2, .7, .2, 1) both; }
  .grid > .card:nth-child(1) { animation-delay: 0ms; } .grid > .card:nth-child(2) { animation-delay: 24ms; }
  .grid > .card:nth-child(3) { animation-delay: 48ms; } .grid > .card:nth-child(4) { animation-delay: 72ms; }
  .grid > .card:nth-child(5) { animation-delay: 96ms; } .grid > .card:nth-child(6) { animation-delay: 120ms; }
  .grid > .card:nth-child(7) { animation-delay: 144ms; } .grid > .card:nth-child(8) { animation-delay: 168ms; }
  .grid > .card:nth-child(9) { animation-delay: 192ms; } .grid > .card:nth-child(n+10) { animation-delay: 216ms; }
  .card-link:active .card-media, .btn:active, .header-link:active, .choice:active, .kind-option:active { transform: scale(.96); transition: transform .12s ease; }
}
@media (prefers-reduced-motion: reduce) { .grid > .card { animation: none; } }

/* ── 表單共用：去掉浮起卡片，改細線分段；輸入框細框直角 ── */
.form-card, .tips, .sell-step, .kind-pick { background: none; box-shadow: none; border-radius: 0; border-top: 1px solid var(--hair); padding: 26px 0 4px; }
.form-title, .sell-title, .prose-title, .agent-doc-title, .notfound h1, .kind-legend, .step-title { font-family: var(--serif); font-weight: 400; letter-spacing: .04em; }
.sell-title, .prose-title { font-size: 26px; line-height: 1.45; }
.form-title { font-size: 19px; }
.form-lead, .sell-sub, .form-note, .agent-doc-lead { font-weight: 400; color: var(--ink-2); }
.field-label, .sell-form .field-label { font-weight: 500; letter-spacing: .06em; font-size: 14px; }
.field-hint, .choice-help, .implied-note, .cat-label { color: var(--muted); }
.form textarea, .form input.input, .sell-form .input, .tag-box, .draft-text, .th-block-reason, .draft-block-reason {
  background-color: var(--field); border: 1px solid var(--line); border-radius: 2px; box-shadow: none; }
.form textarea:focus, .form input.input:focus, .sell-form .input:focus, .tag-box:focus-within, .draft-text:focus {
  background-color: var(--field); border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.sell-form .money .input { font-weight: 400; font-size: 19px; }
.form-alert, .sell-note, .sell-note.is-warn, .review-note { background: none; border-radius: 0; padding: 2px 0 2px 16px; box-shadow: inset 1px 0 0 currentColor; }
.form-alert, .sell-note.is-warn, .review-note { color: var(--warn); }
.sell-note { color: var(--accent); }
.agent-tip { background: none; border-radius: 0; padding: 2px 0 2px 16px; box-shadow: inset 1px 0 0 var(--brass); }
.agent-tip .agents-icon { display: none; }
.tips h2 { font-family: var(--serif); font-weight: 500; letter-spacing: .06em; }
.tips ul { font-weight: 400; }
.tips li::marker, .prose li::marker { color: var(--brass); }
.done-icon { background: none; box-shadow: inset 0 0 0 1px var(--accent); }
.done-icon svg { stroke-width: 1.5; }
.choice { background: var(--field); border: 1px solid var(--line); border-radius: 2px; }
.choice input { border-width: 1.5px; }
.choice input:checked { border: 5px solid var(--accent); }
.choice:has(input:checked) { border-color: var(--ink); background: var(--field); box-shadow: inset 0 0 0 1px var(--ink); }
.item-strip { background: none; box-shadow: none; border-radius: 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 12px 0; }
.item-strip-media { border-radius: 2px; aspect-ratio: 4 / 5; }
.item-strip-title { font-family: var(--serif); font-weight: 500; }
.report-link a { text-decoration-color: var(--hair); }

/* ── 上架頁 ── */
.header-nav .header-link { border-radius: 0; }
.header-sell, .header-sell:hover { background: none; color: var(--ink); filter: none; }
.is-sell .header-sell, .is-sell .header-sell:hover { background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.sell-head { padding: 22px 0 18px; }
.quota, .quota.is-out { background: none; border-radius: 0; padding: 0; color: var(--ink-2); font-size: 13px; letter-spacing: .04em; }
.quota strong { font-weight: 400; color: var(--brass); }
.quota.is-out strong { color: var(--warn); }
.sell-tabs { gap: 22px; margin-top: 18px; border-bottom: 1px solid var(--hair); }
.sell-tab { flex: 0 0 auto; border: 0; border-radius: 0; background: none; padding: 0 1px; margin-bottom: -1px; border-bottom: 1px solid transparent; color: var(--muted); font-size: 14px; letter-spacing: .08em; }
.sell-tab.is-current { background: none; color: var(--ink); border-bottom-color: var(--ink); }
.stepper { top: 64px; background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom: 1px solid var(--hair); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.stepper-item a, .stepper-item.is-current a { background: none; box-shadow: none; border-radius: 0; font-weight: 400; letter-spacing: .06em; min-height: 44px; }
.stepper-n { background: none; box-shadow: inset 0 0 0 1px var(--line); font-weight: 400; font-variant-numeric: tabular-nums; }
.stepper-item.is-current .stepper-n { background: var(--ink); color: var(--bg); }
.stepper-item.is-done .stepper-n { background: none; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.stepper-item.is-current .stepper-label { color: var(--ink); }
.sell-form { gap: 8px; }
.sell-step { gap: 22px; padding: 30px 0 22px; }
.step-title { font-size: 20px; }
.step-badge { background: none; border-radius: 0; color: var(--brass); font-family: var(--serif); font-weight: 400; font-size: 15px; width: auto; }
.req { background: none; color: var(--brass); padding: 0; font-weight: 500; letter-spacing: .1em; }
.opt { letter-spacing: .1em; font-weight: 400; }
.review-chip { background: none; padding: 0; box-shadow: none; letter-spacing: .06em; }
.ai-chip { background: none; padding: 0; color: var(--brass); letter-spacing: .06em; font-weight: 400; }
.ai-row { background: none; border-radius: 0; padding: 4px 0 4px 16px; box-shadow: inset 1px 0 0 var(--brass); }
.btn-ai { background: none; border-color: var(--ink); color: var(--ink); border-radius: 2px; }
.btn-ai:hover { border-color: var(--accent); color: var(--accent); }
.ai-icon { color: var(--brass); }
.cat-path { color: var(--brass); font-weight: 500; letter-spacing: .04em; }
.attr-empty { background: none; border-radius: 0; border: 1px dashed var(--line); }
.implied .chip, .tag { background: none; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink); font-weight: 400; }
.tag.merchant-featured-tag { display: inline-block; align-self: start; padding: 2px 7px; border-radius: 999px; color: var(--accent); font: 600 11.5px/1.4 var(--font); white-space: nowrap; }
.tag-x:hover { background: var(--surface-2); }
.kind-pick { padding-top: 28px; }
.kind-legend { font-size: 20px; }
.kind-option { background: var(--field); border: 1px solid var(--line); border-radius: 2px; box-shadow: none; }
.kind-option:has(input:checked) { border-color: var(--ink); background: var(--field); box-shadow: inset 0 0 0 1px var(--ink); }
.kind-icon { background: none; border-radius: 0; color: var(--brass); box-shadow: none; }
.kind-icon svg { stroke-width: 1.3; }
.kind-option:has(input:checked) .kind-icon { background: none; color: var(--ink); }
.kind-option:has(input:checked)::after { border-color: var(--ink); }
.kind-name { font-family: var(--serif); font-weight: 500; letter-spacing: .06em; }
.more { background: none; border-radius: 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.more-sum { padding: 0 2px; font-weight: 500; letter-spacing: .06em; }
.more-body { padding: 4px 2px 18px; }
.more .input { background-color: var(--field); }
.seg-choices { background: none; border-radius: 0; padding: 0; gap: 0; box-shadow: inset 0 0 0 1px var(--line); }
.seg-choice span { border-radius: 0; font-weight: 400; letter-spacing: .06em; color: var(--muted); min-height: 44px; }
.seg-choice input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.mode-choices .choice:has(input:checked) .choice-name { color: var(--ink); }
.photo { border-radius: 2px; box-shadow: none; aspect-ratio: 4 / 5; }
.photo-cover { border-radius: 0; background: var(--bg); color: var(--ink-2); left: 0; bottom: 0; letter-spacing: .1em; }
.photo-drop { border-radius: 2px; background: var(--field); border: 1px dashed var(--line); color: var(--ink); }
.photo-drop:hover, .photo-drop.is-over { background: var(--field); border-color: var(--ink); }
.photo-drop svg { stroke-width: 1.2; color: var(--brass); }
.photo-drop-text strong { font-weight: 500; letter-spacing: .04em; }
.sell-submit { background: color-mix(in srgb, var(--bg) 94%, transparent); box-shadow: inset 0 1px 0 var(--hair); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.preview-label { color: var(--brass); font-weight: 500; letter-spacing: .24em; font-size: 11.5px; }
.preview-card:hover { box-shadow: none; }
.listed-banner { background: none; border-radius: 0; padding: 4px 0 4px 16px; box-shadow: inset 1px 0 0 var(--accent); }
.listed-banner .done-icon { background: none; box-shadow: inset 0 0 0 1px var(--accent); }
.listed-banner strong { font-family: var(--serif); font-weight: 500; }
.field-error { font-weight: 500; }
@media (min-width: 720px) {
  .sell-title, .prose-title { font-size: 34px; }
  .stepper { padding: 10px 0; }
  .sell-step { padding: 34px 0 26px; }
  .sell-aside { top: 140px; }
}

/* ── 條款與說明頁 ── */
.prose { padding-top: 36px; }
.prose-updated { letter-spacing: .08em; }
.prose-summary { background: none; border-radius: 0; padding: 4px 0 4px 18px; box-shadow: inset 1px 0 0 var(--brass); color: var(--ink-2); }
.toc { gap: 0 20px; margin: 26px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--hair); }
.toc a { background: none; box-shadow: none; border-radius: 0; padding: 0 1px; font-size: 13.5px; letter-spacing: .04em; color: var(--ink-2); }
.toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.prose section { margin-top: 40px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: .05em; margin-bottom: 12px; }
.prose p, .prose ul, .prose ol { font-weight: 400; }

/* ── AI 擬好的詢問／給 AI 的授權頁 ── */
.draft-eyebrow { background: none; padding: 0; border-radius: 0; color: var(--brass); font-size: 12px; font-weight: 500; letter-spacing: .24em; }
.draft-eyebrow-icon { display: none; }
.draft-item { background: none; border-radius: 0; margin: 0; padding: 14px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.draft-media { border-radius: 2px; aspect-ratio: 4 / 5; }
.draft-item-title { font-family: var(--serif); font-weight: 500; }
.draft-item-price strong { font-weight: 400; }
.draft-item-body .trust { background: none; padding: 0; }
.draft-quote, .deal-terms { background: none; border-left: 0; border-radius: 0; padding: 2px 0 2px 16px; box-shadow: inset 1px 0 0 var(--brass); }
.draft-quote-label, .deal-terms-label { color: var(--brass); font-weight: 500; letter-spacing: .14em; font-size: 12px; }
.no-escrow { background: none; border-radius: 0; padding: 12px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.draft-facts svg { stroke: var(--brass); stroke-width: 1.3; }
.agent-doc-eyebrow { color: var(--brass); font-weight: 500; letter-spacing: .2em; font-size: 12px; }
.agent-doc-h2 { font-family: var(--serif); font-weight: 500; letter-spacing: .05em; }
.agent-doc-code { background: var(--surface-2); border-radius: 2px; border: 0; }
.draft-block-btn, .th-block-btn { border-radius: 2px; font-weight: 500; }

/* ── 404 ── */
.notfound { padding: 96px 8px 56px; }
.nf-icon { width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; color: var(--brass); }
.nf-icon svg { width: 36px; height: 36px; stroke-width: 1.1; }
.notfound h1 { font-size: 24px; margin: 22px 0 10px; }
.notfound h1::after { content: ""; display: block; width: 18px; height: 1px; margin: 18px auto 0; background: var(--brass); }

/* ── 手機遺失橫幅：保留警示色，形狀跟著換成細線 ── */
.recovery-banner { border-radius: 2px; background: none; border-color: var(--danger); }
/* 兩條額度（轉貼／刊登）各自一行，不黏在一起 */
.sell-head .quota { display: flex; margin-top: 10px; }
.sell-head .quota + .quota { margin-top: 2px; }

/* ════════════════════════════════════════════════════════════════════════
   方向 A 第三批（am-ui-premium-batch3，2026-11-11）
   商品頁：賣家可信度安靜地放在聯絡附近（評價則數、加入時間；轉貼也顯示轉貼代理的可信度）；
   原價與折數寫成一行「原價 X 元・約 Y 折」。
   ════════════════════════════════════════════════════════════════════════ */
.orig { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 2px; font-size: 13.5px; letter-spacing: .04em; white-space: nowrap; }
.orig s { text-decoration-thickness: 1px; }
.orig-sep { color: var(--muted); }
.orig .discount { font-size: 13.5px; }
.seller-more { margin: 0; display: flex; flex-wrap: wrap; gap: 0 4px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.seller-more .dot { color: var(--muted); }
.seller-trust { display: grid; gap: 10px; margin-top: 4px; padding: 16px 0 4px; border-top: 1px solid var(--hair); }
.seller-trust-lead { margin: 0; padding-left: 14px; box-shadow: inset 1px 0 0 var(--brass); font-size: 13.5px; color: var(--ink-2); text-wrap: pretty; }
.seller-trust .repost-by { border-top: 0; padding: 4px 0; min-height: 44px; }
.seller-trust-list { margin: 0; display: grid; }
.seller-trust-list > div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; align-items: center; min-height: 40px; border-top: 1px solid var(--hair); font-size: 14px; }
.seller-trust-list dt { color: var(--muted); font-size: 13px; letter-spacing: .06em; }
.seller-trust-list dd { margin: 0; min-width: 0; font-variant-numeric: tabular-nums; }
.seller-trust-list .trust { gap: 8px; }
.seller-trust-list .trust-label { display: none; }

/* ════════════════════════════════════════════════════════════════════════
   方向 A 第四批（am-ui-premium-batch4，2026-11-12）
   首頁分類導覽（搜尋框下一排安靜的細線入口）、聯絡我們／隱私頁、久未確認新口徑：
   滿 30 天沒確認的商品照常顯示（不再灰階），改用黃銅細框徽章＋「不一定還在」，越久越明顯。
   ════════════════════════════════════════════════════════════════════════ */
.cat-nav { margin-top: 18px; max-width: 100%; }
.cat-nav-list { list-style: none; margin: 0; padding: 0 0 2px; display: flex; gap: 0 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; border-bottom: 1px solid var(--hair); }
.cat-nav-list::-webkit-scrollbar { display: none; }
.cat-nav-list li { flex: none; scroll-snap-align: start; }
.cat-nav-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 1px; color: var(--ink-2); font-size: 14px; letter-spacing: .04em; white-space: nowrap; box-shadow: inset 0 -1px 0 transparent; transition: color .15s ease, box-shadow .15s ease; }
.cat-nav-link:hover { color: var(--ink); text-decoration: none; }
.cat-nav-link.is-on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.cat-nav-count { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .cat-nav-list { flex-wrap: wrap; overflow: visible; } }

/* 久未確認：照常顯示，不再灰階；徽章改黃銅細框，天數越久字越重 */
.card.is-gone .card-media, .card.is-gone .card-title, .card.is-gone .card-price-row { filter: none; opacity: 1; }
.item-layout.is-gone .gallery, .item-layout.is-gone .item-cover { filter: none; opacity: 1; }
.item-layout.is-gone .price-row, .item-layout.is-gone .item-title { color: inherit; }
.fresh.fresh-gone { background: var(--warn-soft); color: var(--warn); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 55%, transparent); font-weight: 500; }
.fresh.fresh-gone .fresh-dot { background: var(--warn); }
.card-ago.is-warn { color: var(--warn); }
.card-ago.is-strong { color: var(--warn); font-weight: 500; }
.fresh-note { flex-basis: 100%; margin: 2px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.fresh-note.is-warn { color: var(--warn); }
.fresh-note.is-strong { color: var(--warn); font-weight: 500; padding-left: 12px; box-shadow: inset 2px 0 0 var(--warn); }
.gone-note { background: none; border-radius: 0; padding: 4px 0 4px 14px; box-shadow: inset 2px 0 0 var(--warn); }
.gone-note strong { color: var(--warn); font-weight: 500; }

/* 聯絡我們 */
.site-contact { padding-top: 12px; }
.contact-form { display: grid; gap: 18px; }
.contact-form .field { display: grid; gap: 6px; min-width: 0; }
.field-optional { margin-left: 8px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: .08em; }
.contact-form .contact-input, .contact-form .contact-select { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 16px; color: var(--ink); background-color: var(--field, var(--surface)); border: 1px solid var(--line); border-radius: 2px; }
.contact-form .contact-select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.contact-form .contact-input:focus, .contact-form .contact-select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.contact-form .btn { min-height: 48px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-foot { margin: 0; font-size: 13.5px; color: var(--muted); }

/* 隱私頁：沿用條款頁 prose，只補小標的黃銅色 */
.privacy li strong { font-weight: 500; color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .cat-nav-link { transition: none; } .cat-nav-list { scroll-behavior: auto; } }

/* am-ui-wants：搜尋找不到時的「幫我盯著」 */
.empty-watch { margin: 6px auto 0; max-width: 32em; font-size: 15px; color: var(--ink-2); text-wrap: pretty; overflow-wrap: anywhere; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.empty-actions .btn { min-height: 48px; }

/* am-ui-x4：海外／英文轉貼。原幣為主價格、新台幣當「約」；英文內容先用西文字型，不被中文襯線字吃掉 */
[lang="en"] { font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, var(--font); overflow-wrap: break-word; hyphens: manual; -webkit-hyphens: manual; }
.item-title [lang="en"], .card-title[lang="en"] { font-family: "Iowan Old Style", "Charter", Georgia, "Times New Roman", var(--serif); letter-spacing: 0; }
.desc[lang="en"] { font-weight: 400; line-height: 1.75; }
.card-approx { font-size: 11.5px; letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-abroad { letter-spacing: .06em; }

/* am-ui-x4b：價格兩行（「美元 165」＋「約新台幣 … · 匯率，以原文為準」）；標題到價格 20px */
.item-title + .price-row { margin-top: 20px; }
.price-row .fx-note { flex-basis: 100%; margin: -2px 0 0; font-size: 14px; letter-spacing: .03em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
/* 「英文原文」小標籤：和「示範」同一款 hairline */
.lang-tag { display: inline-block; font-family: var(--font); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; line-height: 1.7; padding: 1px 7px; margin-right: 10px; vertical-align: 4px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair); border-radius: 2px; white-space: nowrap; }
/* 底部固定列：大數字下加 12px「約新台幣 X 元」（只有海外商品有） */
.buybar-price-col { display: inline-flex; flex-direction: column; justify-content: center; min-width: 0; }
.buybar-approx { font-size: 12px; line-height: 1.3; letter-spacing: .03em; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* 卡片資訊列：每一項一個 span，分隔點統一由這裡畫 */
.card-meta > span + span::before { content: "·"; margin: 0 6px; color: var(--muted); }
/* 首頁篩選第三排：排序在左、「只看台灣」切換膠囊在最右 */
.sort-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex: 1 1 100%; min-width: 0; }
.sort-row .sorts { min-width: 0; flex: 0 1 auto; flex-wrap: nowrap; gap: 0 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; white-space: nowrap; }
.sort-row .sorts::-webkit-scrollbar { display: none; }
.place-toggle { position: relative; flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink); font-size: 13px; letter-spacing: .08em; white-space: nowrap; transition: background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.place-toggle::after { content: ""; position: absolute; inset: -4px 0; }
.place-toggle:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--ink-2); }
.place-toggle.is-on { background: var(--ink); color: var(--bg); box-shadow: inset 0 0 0 1px var(--ink); }
.place-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .place-toggle { transition: none; } }

/* am-ui-pair-r2：付款與交貨說明換新時的醒目提示（取代重新驗證） */
.sell-terms-changed { margin: 2px 0 8px; padding: 10px 12px; border-left: 3px solid var(--warn); background: var(--warn-soft); color: var(--ink, inherit); font-size: 14px; line-height: 1.6; }
.sell-terms-changed strong { display: block; color: var(--warn); font-weight: 600; margin-bottom: 2px; }

/* 付款說明換新、等待生效：商品頁給買家看的確認中提示、會員中心不能關的提醒（am-a1-terms-hold） */
.deal-terms-pending { margin: 0 0 14px; padding: 10px 12px; border-left: 3px solid var(--warn); background: var(--warn-soft); color: var(--ink, inherit); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.deal-terms-pending strong { display: block; color: var(--warn); font-weight: 600; margin-bottom: 2px; }
.terms-pending-alert { border: 1px solid var(--warn); border-left-width: 4px; background: var(--warn-soft); }
.terms-pending-alert h2 { color: var(--warn); font-size: 17px; line-height: 1.45; margin: 0 0 6px; overflow-wrap: anywhere; }
.terms-pending-alert p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.65; color: var(--ink, inherit); }

/* ── 市集信任第一期：信任分數、熟人路徑、我的信任資料、同意頁（只用既有色票，深淺色自動跟著變） ── */
.hero-motto { margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--ink-2, var(--muted)); font-size: 14.5px; line-height: 1.6; max-width: 34em; }
.hero-motto strong { font-family: "Noto Serif TC", serif; font-weight: 500; font-size: 17px; color: var(--ink); letter-spacing: .04em; }
.tscore { margin-top: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.seller-trustcard { margin: -12px 0 28px; }
.tscore-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tscore-title { margin: 0; font-size: 16px; font-weight: 600; }
.tscore-total { margin: 0; display: flex; align-items: baseline; gap: 2px; color: var(--muted); font-size: 14px; }
.tscore-total strong { font-family: "Noto Serif TC", serif; font-size: 30px; font-weight: 500; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.tscore-motto { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 14px; color: var(--muted); }
.tscore-motto strong { color: var(--brass, var(--accent)); font-weight: 600; }
.tscore-note { margin: 0; font-size: 14px; color: var(--muted); }
.tscore-actions { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; }
.tpath { padding: 12px; border-radius: var(--radius-sm); background: var(--accent-soft); }
.tpath-lead { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.tpath-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tpath-node { padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink); max-width: 12em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpath-node.is-me { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.tpath-via { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); }
.tpath-via::before, .tpath-via::after { content: ""; width: 10px; height: 1px; background: currentColor; opacity: .6; }
.tpath-via::after { width: 0; height: 0; background: none; border-left: 5px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; opacity: .8; }
.tdetail summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 14.5px; color: var(--accent); min-height: 32px; }
.tdetail summary::-webkit-details-marker { display: none; }
.tdetail summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .15s ease; }
.tdetail[open] summary svg { transform: rotate(180deg); }
.tdetail-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.tdetail-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.tdetail-row:last-child { border-bottom: 0; }
.tdetail-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tdetail-label { font-size: 15px; color: var(--ink); }
.tdetail-points { font-size: 15px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tdetail-points.is-zero { color: var(--muted); font-weight: 500; }
.tdetail-points.is-minus { color: var(--danger, var(--warn)); }
.tdetail-state { flex: none; font-size: 12.5px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2, var(--line)); color: var(--muted); }
.tdetail-row.is-closed .tdetail-label { color: var(--muted); }
.tdetail-src { margin: 3px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.tdetail-at { white-space: nowrap; }
.trust-page .form-card { display: flex; flex-direction: column; gap: 12px; }
.trust-page .form-card > .form-title, .trust-page .form-card > .form-lead { margin-bottom: 0; }
.trust-intro { padding: 4px 4px 0; }
.trust-intro .form-lead { margin-top: 6px; }
.trust-flash { margin: 0 0 4px; padding: 11px 14px; border-radius: var(--radius-sm); font-size: 14.5px; background: var(--accent-soft); color: var(--accent); }
.trel-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.trel { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.trel:last-child { border-bottom: 0; }
.trel-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 14em; }
.trel-kind { font-size: 12.5px; color: var(--brass, var(--accent)); font-weight: 600; letter-spacing: .04em; }
.trel-desc { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.trel-meta { font-size: 13px; color: var(--muted); }
.trel-side { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.trel-status { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.trel-status.is-on { background: var(--accent-soft); color: var(--accent); }
.trel-status.is-wait { background: var(--warn-soft); color: var(--warn); }
.trel-status.is-off { background: var(--surface-2, var(--line)); color: var(--muted); }
.trel-acts { display: flex; gap: 8px; }
.trel-acts form { margin: 0; }
.tinvite { display: flex; gap: 8px; flex-wrap: wrap; }
.tinvite-input { flex: 1 1 14em; min-width: 0; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; }
.tconsent { padding: 14px; border-left: 3px solid var(--brass, var(--accent)); background: var(--warn-soft); border-radius: var(--radius-sm); }
.tconsent p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink-2, var(--ink)); }
.tconsent .tconsent-key { margin-bottom: 6px; font-size: 16px; font-weight: 600; color: var(--ink); }
.tconsent-form { display: flex; flex-direction: column; gap: 8px; }
.tconsent-label { font-size: 14px; color: var(--muted); }
.tconsent-keep { font-size: 13.5px; color: var(--muted); }
.tconsent-keep[hidden] { display: none; }
.tconsent-form .tinvite-input { flex: none; height: 48px; }

/* ── 市集 A1 做法 B：新賣家延遲公開的佔位卡與說明（ui-market-a1-b-hold-copy） ── */
.hold-page .hold-card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.hold-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; background: var(--warn-soft); color: var(--ink-2, var(--ink)); }
.hold-icon svg, .hold-cover svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.hold-card .eyebrow, .hold-card .form-title { margin: 0; }
.hold-when { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2, var(--line)); font-size: 14px; color: var(--ink-2, var(--ink)); }
.hold-when strong { color: var(--ink); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hold-when small { margin-left: 2px; font-size: 13px; font-weight: 400; color: var(--ink-2, var(--ink)); }
.hold-skip { padding: 14px; border-left: 3px solid var(--brass, var(--accent)); background: var(--warn-soft); border-radius: var(--radius-sm); }
.hold-skip p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink-2, var(--ink)); }
.hold-skip .hold-skip-key { margin-bottom: 4px; font-size: 16px; font-weight: 600; color: var(--ink); }
.hold-skip .hold-skip-acts { margin-top: 12px; }
.card.is-hold .card-media.hold-cover { display: grid; place-items: center; background: var(--surface-2, var(--line)); color: var(--ink-2, var(--ink)); }
.card.is-hold .card-media.hold-cover svg { width: 36px; height: 36px; }
.card-hold-when { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2, var(--ink)); }
.hold-note { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--brass, var(--accent)); background: var(--warn-soft); border-radius: var(--radius-sm); }
.hold-note p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink-2, var(--ink)); }
.hold-note p + p { margin-top: 4px; }
.hold-note .hold-note-key { font-size: 15px; font-weight: 600; color: var(--ink); }
/* 等待原因分開講（Google 登入新帳號直接公開；付款資訊任何帳號都等） */
.hold-reasons { margin: 4px 0 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 14px; line-height: 1.65; color: var(--ink-2, var(--ink)); }
.hold-reasons li::marker { color: var(--brass, var(--accent)); }
.hold-card .hold-reasons { margin: -4px 0 0; font-size: 15px; }

/* ── 信任第一期美感追分：低分接住、收起沒開放的項目、對比、桌面兩欄、邀請碼已帶入 ── */
.tscore-low { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2, var(--ink)); }
.tdetail-soon { margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-2, var(--ink)); }
.tdetail-state { color: var(--ink-2, var(--ink)); }
.tpath-via { color: var(--ink-2, var(--ink)); }
.trust-intro { padding: 4px 0 0; }
.trust-mine-grid { display: flex; flex-direction: column; gap: inherit; }
.trust-mine-col { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1024px) {
  .form-page.trust-page:has(.trust-mine-grid) { max-width: 1040px; }
  .trust-mine-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
}
.tinvite-filled { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 15px; color: var(--ink); }
.tinvite-filled[hidden], .tconsent-form [hidden] { display: none !important; }
.tinvite-check { color: var(--accent); font-weight: 700; }
.tinvite-other { margin-left: auto; padding: 4px 2px; border: 0; background: none; color: var(--accent); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }

/* ── ui-market-a1-b-hold-polish：「不想等？」全站同一種畫法（墨綠左線＋淡綠底＋標題一行＋實心按鈕），
   延遲說明不在詞中間斷行，連結加底線，預計公開旁標還剩多久，鐘面圖示載入時轉一圈（減少動態就不轉） ── */
.hold-skip, .hold-note { border-left: 0; background: var(--accent-soft); border-radius: var(--radius); box-shadow: inset 3px 0 0 var(--accent), inset 0 0 0 1px var(--hair); }
.hold-skip { padding: 14px 16px; }
.hold-skip .hold-skip-key { margin: 0 0 4px; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--ink); }
.hold-skip .hold-skip-acts { margin-top: 12px; }
.hold-when { border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--hair); }
.hold-left { font-size: 13.5px; color: var(--ink-2, var(--ink)); font-variant-numeric: tabular-nums; }
.hold-card .form-lead, .hold-card .form-note, .hold-skip p, .hold-note p, .hold-more summary { line-break: strict; text-wrap: pretty; }
.hold-links a, .hold-note a:not(.btn), .hold-more summary { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hold-more { margin-top: 8px; }
.hold-more summary { cursor: pointer; width: fit-content; font-size: 14px; font-weight: 600; color: var(--accent); }
.hold-more[open] summary { margin-bottom: 8px; }
.hold-more .hold-skip { margin-top: 10px; background: var(--surface, transparent); }
/* ── r3（美感 8.2 追改）：一般中文斷行讓右緣齊，只有容易被拆的詞不換行；預計公開全站同一種三行畫法；
   提醒框裡的「不想等？」不再框中框；按鈕不折行；商品卡佔位不留空白 ── */
.hold-card .nw, .hold-note .nw, .hold-skip .nw, .card.is-hold .nw, .hold-when .nw { white-space: nowrap; }
.hold-when { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 2px; padding: 12px 14px; }
.hold-when .hold-when-label { font-size: 13px; color: var(--ink-2, var(--ink)); }
.hold-when strong { line-height: 1.45; }
.hold-when.is-plain { padding: 0; margin: 6px 0 10px; background: none; box-shadow: none; border-radius: 0; }
.hold-more .hold-skip { margin-top: 12px; padding: 12px 0 0; background: none; box-shadow: none; border-radius: 0; border-top: 1px solid var(--hair); }
.hold-skip-acts .btn { white-space: nowrap; }
.hold-skip .hold-skip-acts { margin: 8px 0 0; }
.hold-skip-more { margin-top: 10px; }
.hold-skip-more summary { font-size: 14px; }
.hold-skip-more p { margin-top: 6px; }
@media (max-width: 360px) { .hold-skip-acts .btn { display: flex; width: 100%; justify-content: center; } }
.card.is-hold .card-title { min-height: 0; }
.card.is-hold .card-hold-when { display: flex; flex-direction: column; gap: 1px; margin-top: 2px; line-height: 1.5; }
.card.is-hold .card-hold-when .hold-when-label { font-size: 12px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .hold-icon svg { animation: hold-tick 1.1s cubic-bezier(.3, .7, .2, 1) .2s 1 both; transform-origin: 50% 50%; }
  @keyframes hold-tick { from { transform: rotate(-90deg); opacity: .4; } to { transform: rotate(0); opacity: 1; } }
}
/* ── r4（美感 8.7 追改）：淺色時間框用黃銅左線跟頁面底色分開（不加陰影，深色不變）；
   展開三角形用 em 跟字一起放大；「到我的信任資料」按下有回饋 ── */
@media (prefers-color-scheme: light) {
  .hold-when:not(.is-plain) { background: var(--surface-2, var(--line)); box-shadow: inset 3px 0 0 var(--brass, var(--accent)), inset 0 0 0 1px var(--hair); }
}
.hold-more summary { list-style: none; display: block; }
.hold-more summary::-webkit-details-marker { display: none; }
.hold-more summary::before { content: "\25B6"; display: inline-block; margin-right: .45em; font-size: .72em; line-height: 1; text-decoration: none; }
.hold-more[open] > summary::before { transform: rotate(90deg); }
.hold-skip-acts .btn-primary:active { background: color-mix(in srgb, var(--accent) 84%, #000); }
@media (prefers-reduced-motion: no-preference) {
  .hold-more summary::before { transition: transform .15s ease; }
  .hold-skip-acts .btn:active { transform: scale(.97); transition: transform .1s ease; }
}
/* 頁首在 200% 縮放、大字模式放不下時換行，不超出右緣（header-zoom 2026-11-14）。
   桌面與一般手機放得下，版面不變；放不下時品牌名稱與副標題可以換行，右邊的連結移到第二行靠右。
   帳號頁的 account.css 也有同一段，兩邊要一起改。 */
.header-row { flex-wrap: wrap; height: auto; min-height: 64px; column-gap: 12px; }
.brand, .brand-text { min-width: 0; }
.brand-tagline { white-space: normal; }
.header-row > :last-child:not(.brand) { margin-left: auto; }
.header-nav, .header-links { flex-wrap: wrap; justify-content: flex-end; max-width: 100%; }
/* ── r5（美感 8.96 追改）：「怎樣不用等」整組不換行；按下「到我的信任資料」變更深，不變淡（蓋掉 .btn:active 的變亮） ── */
.hold-more summary .nw { white-space: nowrap; }
.hold-skip-acts .btn-primary:active, .hold-skip-acts .btn-primary:hover:active { filter: none; opacity: 1; background: color-mix(in srgb, var(--accent) 78%, #000); }
/* 頁首追改到 9 分（header-polish-9 2026-11-15）。桌面 1440 不變，只動 419px 以下。
   ①「我要上架」的「＋」每種寬度都顯示，大小跟著字放大（1em＝桌面原本的 14px）。
   ② 頁首換成兩行時，第二行有空位就在「我要上架」左邊放「給 AI 助理」，放不下改短名「給 AI」，再不夠才不顯示。
      空位用 .header-agents-slot 量（它不佔換行判斷的寬度，所以換不換行和原本一樣）。
   ④ 品牌圓點對齊站名那一行，品牌換成兩行以上時不會掉到中間。帳號頁的 account.css 也有同一段圓點規則。 */
.header-sell svg { display: block; width: 1em; height: 1em; flex: none; }
.header-agents-slot { display: none; }
@media (max-width: 419px) {
  .header-nav { flex: 1 0 auto; }
  .header-agents-slot { display: flex; flex: 1 1 0; min-width: 0; justify-content: flex-end; margin-right: -4px; container: agents-slot / inline-size; }
  .header-agents-alt { display: none; padding: 0 8px; }
  .header-agents-tail { display: none; }
  @container agents-slot (min-width: 50px) { .header-agents-alt { display: inline-flex; } }
  @container agents-slot (min-width: 84px) { .header-agents-tail { display: inline; } }
  /* 大字模式只放大文字、em 不跟著放大，所以「＋」改用字的大寫高度（cap）算；不支援 cap 的瀏覽器維持 1em */
  .header-sell svg { width: calc(1.54cap); height: calc(1.54cap); }
  .brand-mark { display: none; }
  .brand-text { padding-left: 21px; padding-left: calc(12px + .76cap); }
  .brand-name { position: relative; white-space: nowrap; }
  .brand-name::before { content: ""; position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); width: 9px; height: 9px; width: calc(.76cap); height: calc(.76cap); border-radius: 50%; background: var(--brass); }
}

/* 上架頁：頁首（64px）＋步驟條（約 65px）固定在上面、確認上架列固定在下面。
   欄位聚焦或跳到錨點時多留出這段高度，不然價格這類欄位會被步驟條蓋住、點一次點不到。 */
html:has(body.is-sell) { scroll-padding-top: 144px; scroll-padding-bottom: 96px; }
.is-sell .sell-form :is(input, select, textarea, .photo-drop, .field) { scroll-margin-top: 144px; scroll-margin-bottom: 96px; }

/* 信任畫面一把尺（A 樣本）：賣家卡只剩成交與評價兩格，格數跟著內容走；舊等級收進分數明細第一列 */
.seller-stats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.tdetail-row.is-level .tdetail-state { color: var(--ink); font-weight: 600; }

/* ── ui-market-hold-cause-copy（美感 7.5 追改）：原因＝粗體短標＋一句話，只講這一筆的原因，其他收進「其他情況」；
   等待頁鐘面慢速呼吸、清單錯開淡入（只動 opacity／transform，減少動態時全停） ── */
.hold-reasons { list-style: none; padding-left: 0; gap: 8px; }
.hold-reasons li { position: relative; padding-left: 14px; line-break: strict; text-wrap: pretty; }
.hold-reasons li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.hold-reason-key { font-weight: 600; color: var(--ink); margin-right: .5em; }
.hold-others { margin-top: 2px; }
.hold-others .hold-reasons { margin-top: 0; font-size: 14px; }
.hold-safe, .hold-skip .hold-skip-note { font-size: 13.5px; color: var(--ink-2, var(--ink)); line-break: strict; text-wrap: pretty; }
.hold-skip .hold-skip-note { margin-top: 10px; }
.hold-note .hold-safe { margin-top: 8px; }
@media (max-width: 480px) { .hold-card .hold-reasons { font-size: 14.5px; } }
@media (prefers-reduced-motion: no-preference) {
  .hold-card .hold-icon { animation: hold-breathe 4.8s ease-in-out 1.4s infinite; }
  @keyframes hold-breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .82; } }
  .hold-card .hold-reasons li { animation: hold-rise .42s cubic-bezier(.2, .7, .2, 1) both; }
  .hold-card .hold-reasons li:nth-child(2) { animation-delay: .08s; }
  .hold-card .hold-reasons li:nth-child(3) { animation-delay: .16s; }
  @keyframes hold-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* ── ui-market-hold-cause-copy-r3（美感 8.1 追改）：「其他情況」看得出是次一層（縮排＋細線＋較小次要色）；
   等待頁「預計公開」比說明高一階：鐘面淡金光暈、時間卡細邊光（光暈只動 opacity，減少動態時靜止） ── */
.hold-others { margin-left: 12px; padding-left: 10px; border-left: 2px solid var(--hair); }
.hold-others summary { font-size: 13.5px; font-weight: 500; color: var(--ink-2, var(--ink)); }
.hold-others .hold-reasons { font-size: 13.5px; color: var(--ink-2, var(--ink)); }
.hold-others .hold-reasons li::before { background: var(--hair); }
.hold-note .hold-skip { margin-top: 12px; }
.hold-card .hold-icon { position: relative; color: var(--warn); box-shadow: 0 0 0 5px color-mix(in srgb, var(--warn) 9%, transparent); }
.hold-card .hold-icon::after { content: ""; position: absolute; inset: -9px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--warn) 26%, transparent), transparent); opacity: .7; }
.hold-card .hold-when { background: linear-gradient(180deg, color-mix(in srgb, var(--warn-soft) 70%, var(--surface-2, var(--line))), var(--surface-2, var(--line)));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 30%, var(--hair)), 0 2px 14px -4px color-mix(in srgb, var(--warn) 26%, transparent); }
.hold-card .hold-when strong { font-size: 17px; }
@media (prefers-reduced-motion: no-preference) {
  .hold-card .hold-icon::after { animation: hold-halo 4.8s ease-in-out 1.4s infinite; }
  @keyframes hold-halo { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
}
/* 賣家頁本人卡片比等待頁窄（手機只剩約 17 個字寬）：短標獨佔一行、不拆字，句子接在下一行；「其他情況」縮排收窄 */
.hold-note.is-self .hold-reason-key { display: block; margin-right: 0; white-space: nowrap; }
.hold-note.is-self .hold-others { margin-left: 4px; }

/* ── ui-market-hold-cause-copy-r4（美感 8.6 追改）：三頁的「預計公開」都用同一張淡金時間卡（.hold-when.is-card，同一組 token）；
   「（台灣時間）」跟時刻黏成一組；付款例外小字在「不想等？」標題正下方；等待頁「原因是：」跟清單的間距跟其他段落一樣 ── */
.hold-when.is-card { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: var(--radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--warn-soft) 70%, var(--surface-2, var(--line))), var(--surface-2, var(--line)));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warn) 30%, var(--hair)), 0 2px 14px -4px color-mix(in srgb, var(--warn) 26%, transparent); }
.hold-when.is-card strong { font-size: 17px; }
.hold-note .hold-when.is-card { margin: 8px 0 10px; }
.hold-note .hold-when.is-card + p { margin-top: 0; }
.hold-when .hold-tz { margin-left: 0; }
.hold-skip .hold-skip-note { margin: 0; }
.hold-page .hold-card > .form-lead { margin: 0; }
.hold-card .hold-reasons { margin: 0; }

/* ── ui-market-hold-cause-copy-r5（美感 8.9 追改）：三頁的時間卡同一組進場（淡入＋上移 4px，只動 opacity／transform，播一次、減少動態不播）；
   賣家頁本人內層「不想等？」不再疊第二條左綠線（只用淺底＋細邊）；寬螢幕時間卡不拉滿全寬 ── */
@media (prefers-reduced-motion: no-preference) {
  .hold-when.is-card { animation: hold-when-in .42s cubic-bezier(.2, .7, .2, 1) .06s 1 both; }
  @keyframes hold-when-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
.hold-note.is-self .hold-skip { background: var(--surface-2, var(--line)); box-shadow: inset 0 0 0 1px var(--hair); border-left: 0; }
@media (min-width: 640px) { .hold-when.is-card { width: fit-content; min-width: 280px; } }

/* ── 上架表單：免費 AI 商品短影音 opt-in（和紙暖底＋黃銅細框；預設不勾、服務類隱藏；手機 390 寬單欄） ── */
.sell-video-optin { margin-top: 18px; padding: 14px 14px 14px 12px; border-radius: var(--radius-sm, 3px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--warn-soft) 55%, var(--surface-2)), var(--surface-2));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brass) 26%, var(--hair)); transition: box-shadow .18s ease, background-color .18s ease; }
.sell-video-optin:has(input:checked) { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, var(--hair)), inset 3px 0 0 var(--accent); }
.sell-video-optin.has-error { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--danger) 60%, var(--hair)), inset 3px 0 0 var(--danger);
  background: color-mix(in srgb, var(--danger-soft) 60%, var(--surface-2)); }
.sell-video-optin-row { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; min-height: 44px; }
.sell-video-optin-row input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.sell-video-optin-body { display: grid; gap: 6px; min-width: 0; }
.sell-video-optin-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.sell-video-optin-badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px 1px 6px; border-radius: 999px;
  color: var(--brass); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; line-height: 1.7; white-space: nowrap;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brass) 45%, transparent); }
.sell-video-optin-badge svg { width: 12px; height: 12px; fill: currentColor; }
.sell-video-optin-title { color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.sell-video-optin-text { color: var(--ink-2); font-size: 13.5px; line-height: 1.75; overflow-wrap: anywhere; }
.sell-video-optin .field-error { margin: 10px 0 0 34px; }
@media (max-width: 419px) {
  .sell-video-optin { padding: 12px 12px 12px 10px; }
  .sell-video-optin-row { gap: 10px; }
  .sell-video-optin-title { font-size: 14.5px; }
  .sell-video-optin .field-error { margin-left: 32px; }
}
@media (prefers-reduced-motion: reduce) { .sell-video-optin { transition: none; } }

/* 2026-11-30 390px 手機修正（L2 Playwright testbed） */
.buybar-gone { flex: 0 0 auto; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.sw-fallback a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 4px; }
@media (max-width: 640px) {
  /* 賣家子導覽：5 顆 pill 換行排，不再橫向裁切「省費試算」 */
  nav.seller-subnav { flex-wrap: wrap; justify-content: flex-start; gap: 6px; padding: 6px; overflow-x: visible; max-width: 100%; box-sizing: border-box; }
  nav.seller-subnav .seller-subnav-link { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; box-sizing: border-box; }
  /* 搬家頁手機救援按鈕：一行排完，不留孤字 */
  .mg-rescue .mg-rescue-btn { white-space: nowrap; padding: 0 12px; letter-spacing: .02em; max-width: 100%; box-sizing: border-box; }
}
