/* KMR Stock China · 高保真展示 · 样式（令牌见 DESIGN.md） */
:root {
  --ground: #F6F5F2;
  --surface: #ECEAE5;
  --photo: #D6D1CA;
  --ink: #15181B;
  --muted: #565C63;
  --rule: #D9D6D0;
  --navy: #12294A;
  --navy-deep: #0A1C38;
  --gold: #E2AE4D;
  --gold-hover: #EDC067;
  --action: #12294A;
  --action-hover: #0A1C38;
  --kraft: #D3B67E;
  --wa: #1D6B45;
  --wa-hover: #155234;
  --warn: #8A3B12;
  --ok: #1D6B45;

  --f-latin: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;
  --f-zh: "Hanken Grotesk", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --f-ar: "IBM Plex Sans Arabic", "Hanken Grotesk", Tahoma, sans-serif;

  --s-small: 13px;
  --s-body: 16px;
  --s-card: 15px;
  --s-lead: 20px;
  --s-head: 30px;
  --s-display: clamp(28px, 3vw, 44px);

  --margin: clamp(24px, 2.2vw, 56px);
  --gap: 16px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --top-h: 76px;
  --util-h: 34px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--s-body)/1.5 var(--f-latin);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}
html[lang="zh-CN"] body { font-family: var(--f-zh); line-height: 1.6; letter-spacing: 0; }
html[lang="ar"] body { font-family: var(--f-ar); line-height: 1.7; letter-spacing: 0; font-size: 17px; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
.num { font-family: var(--f-latin); font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.visuallyHidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: var(--s-small); }
.wrap { margin-inline: auto; padding-inline: var(--margin); }

:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 8px; }

/* ---------- 顶部细条：样例说明、辅助入口、语言 ---------- */
.utility { background: var(--navy-deep); color: rgba(255, 255, 255, .72); font-size: 13px; }
.utilityIn { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 34px; }
.utilityLinks { display: flex; align-items: center; gap: 4px; flex: none; height: 100%; }
.utilityLinks a, .utilityLinks button { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding-inline: 10px; border: 0; background: none; color: inherit; font-size: 13px; text-decoration: none; transition: color .2s; }
.utilityLinks a:hover, .utilityLinks button:hover, .utilityLinks a[aria-current="page"] { color: #fff; }
.utilityLinks svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.langBtn span { color: #fff; font-weight: 500; }

/* ---------- 页头：标志 · 搜索 · 主导航（右上） · 联系 ---------- */
.top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; }
.top :focus-visible { outline-color: var(--gold); }
.topIn { display: grid; grid-template-columns: auto minmax(200px, 640px) 1fr auto; grid-template-areas: "brand search nav contact"; gap: 32px; align-items: center; height: 76px; }
.brand { grid-area: brand; display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--f-latin); white-space: nowrap; }
.brandMark { font-weight: 600; font-size: 26px; letter-spacing: -0.04em; }
.brandSub { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--gold); }
.brandWord { display: flex; align-items: baseline; gap: 8px; }
.logo { width: 46px; height: 46px; flex: none; }
.search { grid-area: search; display: flex; height: 44px; background: rgba(255, 255, 255, .96); border-radius: 22px; }
.search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); padding-inline: 20px 8px; font-size: 15px; }
.search input::placeholder { color: #767C83; }
.search input:focus { outline: none; }
.search:focus-within { background: #fff; outline: 2px solid var(--gold); outline-offset: 2px; }
.search button { display: grid; place-items: center; width: 52px; border: 0; background: none; color: var(--navy); }
.search button:hover { color: #B8862A; }
.search svg, .utils svg, .askRow svg, .topContact svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mainNav { grid-area: nav; justify-self: end; display: flex; align-items: stretch; height: 76px; }
.mainNav a { position: relative; display: flex; align-items: center; gap: 8px; padding-inline: 16px; color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; transition: color .2s; }
html[lang="zh-CN"] .mainNav a { letter-spacing: .06em; }
.mainNav a::after { content: ""; position: absolute; inset-inline: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold); transform: scaleX(0); transition: transform .28s var(--ease); }
.mainNav a:hover { color: #fff; }
.mainNav a:hover::after { transform: scaleX(.4); }
.mainNav a[aria-current="page"] { color: #fff; }
.mainNav a[aria-current="page"]::after { transform: scaleX(1); }
.badge { min-width: 20px; height: 20px; padding-inline: 6px; border-radius: 10px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 13px; font-weight: 600; display: inline-grid; place-items: center; }
.topContact { grid-area: contact; height: 44px; border-radius: 22px; padding-inline: 20px; }

.tabbar { display: none; }

/* 首访选语：不遮挡内容的选择条 */
.langBand { background: #EBDDB6; }
.langBandIn { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding-block: 12px; }
.langBand p { font-weight: 500; }
.langBand p bdi + bdi::before { content: " · "; }
.langBand .row { gap: 8px; }
.langBand button { height: 44px; min-width: 120px; padding-inline: 18px; border: 0; border-radius: var(--radius); background: var(--ground); font-weight: 600; font-size: 16px; }
.langBand button:hover { background: #fff; }
.langBand button[lang="ar"] { font-family: var(--f-ar); }
.langBand button[lang="zh"] { font-family: var(--f-zh); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding-inline: 18px; border: 0; border-radius: var(--radius); font-weight: 500; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background-color .15s, transform .1s; }
.btn:active { transform: scale(.98); }
.btnPrimary { background: var(--action); color: #fff; }
.btnPrimary:hover { background: var(--action-hover); }
.btnGold { background: var(--gold); color: var(--navy-deep); font-weight: 600; }
.btnGold:hover { background: var(--gold-hover); }
.btnOnDark { background: rgba(255, 255, 255, .14); color: #fff; }
.btnOnDark:hover { background: rgba(255, 255, 255, .24); }
.btnWa { background: var(--wa); color: #fff; }
.btnWa:hover { background: var(--wa-hover); }
.btnWa svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btnWx { background: var(--surface); color: var(--ink); }
.btnWx:hover, .btnGhost:hover { background: #E1DED8; }
.btnGhost { background: var(--surface); color: var(--ink); }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.textLink { color: var(--action); font-weight: 500; text-underline-offset: 3px; }

/* ---------- 首页 ---------- */
.hero { display: grid; grid-template-columns: minmax(420px, 38%) minmax(0, 1fr); min-height: clamp(400px, 48vh, 460px); background: var(--navy); color: #fff; }
.heroCopy { display: flex; flex-direction: column; justify-content: center; padding: 28px 40px 28px var(--margin); }
html[dir="rtl"] .heroCopy { padding: 48px var(--margin) 48px 48px; }
.hero h1 { font-size: clamp(32px, 3vw, 48px); line-height: 1.06; letter-spacing: -0.03em; }
html[lang="zh-CN"] .hero h1 { line-height: 1.18; letter-spacing: .02em; }
html[lang="ar"] .hero h1 { line-height: 1.35; letter-spacing: 0; font-size: clamp(32px, 3.4vw, 54px); }
.heroSlogan { margin-top: 12px; font-size: clamp(17px, 1.4vw, 22px); font-weight: 600; color: var(--gold); }
.heroLead { margin-top: 14px; max-width: 36em; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.heroSearch { display: flex; gap: 6px; margin-top: 18px; max-width: 560px; padding: 5px; background: #fff; border-radius: 30px; }
.heroSearch input { flex: 1; min-width: 0; border: 0; background: none; padding-inline: 16px 6px; font-size: 16px; color: var(--ink); }
.heroSearch input:focus { outline: none; }
.heroSearch:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.heroSearch .btn { height: 46px; border-radius: 23px; padding-inline: 26px; }
.heroTry { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.heroTry a { padding: 4px 12px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font-size: 14px; }
.heroTry a:hover { background: rgba(255, 255, 255, .2); }
.heroBadges svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.heroBadges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 18px 0 0; padding: 0; list-style: none; max-width: 560px; }
.heroBadges li { display: flex; align-items: flex-start; gap: 10px; color: var(--gold); }
.heroBadges li svg { width: 22px; height: 22px; margin-top: 1px; }
.heroBadges strong { display: block; color: #fff; font-size: 15px; font-weight: 600; }
.heroBadges span { color: rgba(255, 255, 255, .68); font-size: 13px; line-height: 1.45; }
.secHead { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.secHead h2 { font-size: 24px; letter-spacing: -0.01em; }
.secHead .textLink { margin-inline-start: auto; font-size: 15px; }
.catSection .secHead, .shelf .secHead, .band .bandHead { align-items: center; }
.homeMore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 44px;
  margin-inline-start: auto;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}
.homeMore svg {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--gold) 24%, var(--ground));
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
[dir="rtl"] .homeMore svg { transform: scaleX(-1); }
@media (hover: hover) {
  .homeMore:hover svg { background: var(--navy); color: var(--gold); }
}
.homeMore:focus-visible svg, .homeMore:active svg { background: var(--navy); color: var(--gold); }
.catSection { padding-top: 36px; }
.catGrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.catTile { display: flex; align-items: center; gap: 14px; padding: 10px; background: #fff; border-radius: 10px; text-decoration: none; transition: background .15s; }
.catTile:hover { background: var(--surface); }
.catTile img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--photo); }
.catTile strong { display: block; font-size: 16px; font-weight: 600; }
.catTile span span { font-size: 13px; color: var(--muted); }
.shelf { padding-top: 40px; }
.heroWall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; background: var(--navy); }
.wallTile { position: relative; display: block; overflow: hidden; background: var(--photo); min-height: 0; }
.wallLead { grid-column: span 2; grid-row: span 2; }
.wallTile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.wallTile:hover img { transform: scale(1.04); }
.wallTag { position: absolute; inset-block-end: 14px; inset-inline-start: 14px; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; max-width: calc(100% - 28px); padding: 8px 12px; border-radius: 18px; background: rgba(255, 255, 255, .94); color: var(--muted); font-size: 13px; }
.wallTag strong { color: var(--navy); font-size: 15px; font-weight: 600; }
.wallName { width: 100%; color: var(--ink); font-size: 14px; font-weight: 500; }
.wallLead .wallTag { inset-block-end: 20px; inset-inline-start: 20px; padding: 10px 16px; border-radius: 12px; }
.wallLead .wallTag strong { font-size: 18px; }
.wallMeta { width: 100%; font-size: 13px; color: var(--muted); }

.grid { display: grid; gap: 32px var(--gap); }
.shelfGrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.listGrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card { display: flex; flex-direction: column; min-width: 0; text-decoration: none; }
.cardImg { position: relative; display: block; aspect-ratio: 1; background: var(--photo); overflow: hidden; }
.cardImg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .cardImg img { transform: scale(1.03); }
.cardName { margin-top: 12px; font-size: var(--s-card); font-weight: 500; line-height: 1.4; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
html[lang="ar"] .cardName { font-size: 16px; line-height: 1.55; min-height: 3.1em; }
.cardName:hover { text-decoration: underline; text-underline-offset: 3px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.price strong { font-size: var(--s-lead); font-weight: 600; letter-spacing: -0.01em; }
.price span { font-size: var(--s-small); color: var(--muted); }
.priceLg strong { font-size: 30px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.facts div { display: flex; flex-direction: column; }
.facts dt { font-size: var(--s-small); color: var(--muted); line-height: 1.3; }
.facts dd { font-size: var(--s-card); font-weight: 500; }
.code { margin-top: 6px; font-size: var(--s-small); color: var(--muted); }

.heart { position: absolute; top: 8px; inset-inline-end: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(246, 245, 242, .92); display: grid; place-items: center; transition: transform .15s; }
.heart:active { transform: scale(.92); }
.heart svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.heart[aria-pressed="true"] svg { fill: #B3261E; stroke: #B3261E; }

.sticker { position: absolute; inset-block-end: 14px; inset-inline-start: 14px; background: var(--kraft); color: var(--ink); font: 600 13px/1 var(--f-latin); letter-spacing: .04em; padding: 8px 10px; }
.meta { font-size: var(--s-small); color: var(--muted); margin-top: 6px; }
.meta a { text-decoration: none; }
.meta a:hover { text-decoration: underline; }

.cardImg video { width: 100%; height: 100%; object-fit: cover; }
.playGlyph { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(21, 24, 27, .72); display: grid; place-items: center; }
.playGlyph svg { width: 22px; height: 22px; fill: #fff; margin-inline-start: 3px; }
html[dir="rtl"] .playGlyph svg { margin-inline-start: 0; margin-inline-end: 3px; }
.playGlyph.small { width: 30px; height: 30px; }
.playGlyph.small svg { width: 12px; height: 12px; }

.band { padding-top: 104px; }
.bandHead { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.bandHead h2, .how h2, .specs h2 { font-size: var(--s-head); letter-spacing: -0.02em; line-height: 1.15; }
html[lang="ar"] .bandHead h2, html[lang="ar"] .how h2, html[lang="ar"] .specs h2 { letter-spacing: 0; line-height: 1.4; }
.bandHead p { flex: 1; min-width: 240px; }
.dragRow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, calc((100% - 4 * var(--gap)) / 4.4)); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin); padding-bottom: 12px; margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); scrollbar-width: thin; }
.dragRow > * { scroll-snap-align: start; }
.clipCover { text-decoration: none; display: flex; flex-direction: column; }
.clipImg { position: relative; aspect-ratio: 4 / 5; background: var(--photo); overflow: hidden; display: block; }
.clipImg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.clipCover:hover .clipImg img { transform: scale(1.03); }
.relatedBand .dragRow { grid-auto-columns: minmax(200px, calc((100% - 5 * var(--gap)) / 5.4)); }

.how { padding-block: 104px 120px; }
.howGrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 24px; align-items: start; }
.howSteps { display: grid; gap: 14px; font-size: 20px; max-width: 46ch; }

.howActions { display: flex; gap: 10px; margin-top: 12px; }

/* 唛头 */
.mark { display: grid; grid-template-columns: 1fr auto; gap: 6px 28px; background: var(--kraft); color: var(--ink); padding: 22px 24px; font: 500 14px/1.35 var(--f-latin); letter-spacing: .02em; text-transform: uppercase; }
.mark span:nth-child(even) { text-align: end; }
.markCode { font-size: 22px; font-weight: 600; letter-spacing: .02em; }
.markBig { padding: 32px 36px; font-size: 16px; gap: 10px 40px; }
.markBig .markCode { font-size: 30px; }

/* ---------- 页脚 ---------- */
.foot { background: var(--navy); color: #E9E7E2; padding-block: 72px 96px; margin-top: 40px; }
body[data-page="home"] .foot { margin-top: 0; }
.footMark { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .3em; font: 600 clamp(56px, 11vw, 168px)/0.9 var(--f-latin); letter-spacing: -0.05em; color: #F6F5F2; }
.footMark img { width: clamp(88px, 10vw, 150px); height: auto; margin-inline-end: .15em; }
.footMark span:last-child { color: var(--gold); font-size: .42em; letter-spacing: -0.01em; }
.footCols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2fr); gap: 32px; margin-top: 56px; }
.footCols h2 { font-size: var(--s-small); font-weight: 500; color: var(--gold); margin-bottom: 10px; }
.footCols a, .footCols button { display: block; background: none; border: 0; padding: 4px 0; color: #F6F5F2; text-decoration: none; font-size: 15px; text-align: start; }
.footCols a:hover, .footCols button:hover { text-decoration: underline; text-underline-offset: 3px; }
.footNote { color: #B8C0CC; font-size: var(--s-small); max-width: 52ch; }

/* ---------- 列表与搜索 ---------- */
.listing { padding-block: 24px 40px; min-height: 60vh; }
.listHead { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.listHead h1 { font-size: var(--s-head); letter-spacing: -0.02em; line-height: 1.2; }
html[lang="ar"] .listHead h1 { letter-spacing: 0; line-height: 1.4; }
.aliasNote { margin-top: 10px; display: inline-block; background: var(--kraft); padding: 6px 12px; font-size: 14px; font-weight: 500; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; height: 40px; padding-inline: 14px; background: var(--surface); border-radius: var(--radius); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.chip:hover { background: #E1DED8; }
.chip[aria-current="true"] { background: var(--ink); color: #fff; }
.tabs { display: flex; gap: 24px; align-items: center; margin-block: 22px 22px; }
.tabs [role="tab"] { text-decoration: none; font-weight: 500; font-size: 16px; padding-block: 8px; position: relative; color: var(--muted); }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--ink); }
.clearLink { margin-inline-start: auto; font-size: 14px; }
.clipCard .cardImg { aspect-ratio: 4 / 5; }
.empty { padding-block: 48px 24px; display: grid; gap: 14px; justify-items: start; }
.empty p:first-child { font-size: var(--s-lead); font-weight: 500; }

/* ---------- 详情 ---------- */
.detail { padding-block: 16px 40px; }
.crumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
html[dir="rtl"] .crumb span[aria-hidden] { transform: scaleX(-1); display: inline-block; }
.detailGrid { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 56px; align-items: start; }
.gallery { position: sticky; top: calc(var(--top-h) + 8px); }
.stage { position: relative; aspect-ratio: 1; background: var(--photo); overflow: hidden; }
.stage img, .stage video, .stage svg { width: 100%; height: 100%; object-fit: cover; }
.stage video { object-fit: contain; background: #1B1D1F; }
.stageMark { height: 100%; display: grid; place-items: center; padding: 40px; }
.stageMark .mark { width: 100%; }
.stageTag { position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(21, 24, 27, .8); color: #fff; font-size: 13px; padding: 4px 8px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.thumbs button { position: relative; border: 0; padding: 0; background: none; text-align: start; display: grid; gap: 6px; }
.thumbs img, .thumbCarton, .thumbMark { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--photo); }
.thumbCarton { display: block; background: var(--photo); }
.thumbCarton svg { width: 100%; height: 100%; }
.thumbMark { display: grid; place-items: center; background: var(--kraft); font: 600 13px var(--f-latin); }
.thumbs .playGlyph { bottom: auto; top: calc(50% - 26px); }
.thumbLabel { font-size: var(--s-small); color: var(--muted); }
.thumbs button[aria-pressed="true"] .thumbLabel { color: var(--ink); font-weight: 500; }
.thumbs button[aria-pressed="true"] > :first-child { outline: 2px solid var(--ink); outline-offset: -2px; }

.buy { display: grid; gap: 0; max-width: 560px; }
.buy h1 { font-size: var(--s-head); line-height: 1.2; letter-spacing: -0.02em; margin-top: 6px; }
html[lang="ar"] .buy h1 { letter-spacing: 0; line-height: 1.5; font-size: 28px; }
.priceXl { margin-top: 14px; align-items: baseline; }
.priceXl .priceLabel { width: 100%; font-size: var(--s-small); }
.priceXl strong { font-size: 40px; letter-spacing: -0.02em; line-height: 1.1; }
.priceXl span:last-child { font-size: 16px; }
.readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 20px; background: var(--ground); }
.readout div { background: var(--surface); padding: 14px 16px; }
.readout dt { font-size: var(--s-small); color: var(--muted); }
.readout dd { font-size: var(--s-lead); font-weight: 600; margin-top: 2px; }
.readout dd span { font-size: var(--s-small); font-weight: 400; color: var(--muted); }
.estimate { margin-top: 2px; background: var(--surface); padding: 16px; }
.estHead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.estHead h2 { font-size: var(--s-body); font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: var(--ground); font-size: 22px; line-height: 1; }
.stepper button:hover { background: #fff; }
.stepper input { width: 64px; height: 44px; text-align: center; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; font-family: var(--f-latin); font-weight: 600; font-size: 18px; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper span { font-size: 14px; color: var(--muted); }
.estOut { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.estOut dt { font-size: var(--s-small); color: var(--muted); }
.estOut dd { font-weight: 600; }
.estStatus { grid-column: 1 / -1; font-size: 14px; font-weight: 500; }
.estStatus .ok { color: var(--ok); }
.estStatus .warn { color: var(--warn); }
.askRow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.askRow .btn { height: 52px; font-size: 16px; min-width: 0; padding-inline: 10px; white-space: normal; line-height: 1.25; text-align: center; }
.askNote { margin-top: 8px; font-size: var(--s-small); color: var(--muted); }
.utils { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; }
.utils button { display: inline-flex; align-items: center; gap: 6px; height: 40px; border: 0; background: none; padding: 0; font-size: 15px; font-weight: 500; color: var(--action); }
.utils button:hover span, .utils button:hover { text-decoration: underline; text-underline-offset: 3px; }
.saveText[aria-pressed="true"] svg { fill: #B3261E; stroke: #B3261E; }
.status { min-height: 1.5em; margin-top: 6px; font-size: 14px; color: var(--ok); }
.specs { margin-top: 96px; }
.specGrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 20px; align-items: start; }
.specs table { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: start; padding: 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.specs th { font-weight: 400; color: var(--muted); width: 40%; }
.relatedBand { padding-top: 96px; }
.buyBar { display: none; }

/* ---------- 视频 ---------- */
body[data-page="video"] { overflow: hidden; }

/* ---------- 对话框 ---------- */
dialog { border: 0; padding: 0; border-radius: 6px; width: min(560px, calc(100vw - 24px)); background: var(--ground); color: var(--ink); box-shadow: 0 24px 64px rgba(21, 24, 27, .28); /* taste-skill-ignore: 真正浮起的对话框 */ }
dialog::backdrop { background: rgba(21, 24, 27, .5); }
html[lang="ar"] dialog { font-family: var(--f-ar); }
.dlg { position: relative; padding: 28px; display: grid; gap: 16px; }
.dlg h2 { font-size: 20px; line-height: 1.3; }
.dlgClose { position: absolute; top: 10px; inset-inline-end: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 26px; line-height: 1; border-radius: var(--radius); }
.dlgClose:hover { background: var(--surface); }
.langChoices { display: grid; gap: 8px; }
.langChoices button { display: grid; gap: 2px; text-align: start; padding: 16px 18px; border: 0; background: var(--surface); border-radius: var(--radius); }
.langChoices button:hover { background: #E1DED8; }
.langChoices button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.langChoices strong { font-size: 22px; font-weight: 600; }
.langChoices button[lang="ar"] strong { font-family: var(--f-ar); }
.langChoices button[lang="zh"] strong { font-family: var(--f-zh); }
.langChoices span { font-size: 14px; opacity: .8; }
.langChoices button[lang="ar"] span { font-family: var(--f-ar); }
.langDlg h2 { font-size: 18px; color: var(--muted); font-weight: 500; }
.dlgItem { display: flex; gap: 14px; align-items: center; background: var(--surface); padding: 10px; }
.dlgItem img { width: 72px; height: 72px; object-fit: cover; }
.dlgItem div { display: grid; gap: 2px; }
.dlgItem span { color: var(--muted); font-size: 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.wxRow { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: start; }
.wxRow > div:last-child { display: grid; gap: 10px; justify-items: start; }
.qr { width: 160px; height: 160px; background: #fff; display: grid; place-items: center; text-align: center; padding: 16px; font-size: 13px; color: var(--muted); outline: 1px dashed #B9B5AE; outline-offset: -8px; }
.wxId { font-size: 22px; font-weight: 600; }
.wxIdBox { display: grid; gap: 8px; justify-items: start; align-content: center; }
.pickList { display: grid; gap: 10px; }
.pick { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; width: 100%; padding: 14px 16px; border: 0; border-radius: 10px; background: var(--surface); text-align: start; transition: background .15s; }
.pick:hover { background: #E1DED8; }
.pick strong { display: block; font-size: 17px; }
.pick span span { display: block; font-size: 14px; color: var(--muted); }
.pickIcon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; }
.pickIcon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.pickWa { background: var(--wa); }
.pickWx { background: var(--navy); }
.toast { position: fixed; z-index: 60; inset-inline: 0; bottom: 24px; margin-inline: auto; width: max-content; max-width: min(560px, calc(100% - 32px)); padding: 12px 18px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 14px; line-height: 1.5; box-shadow: 0 12px 32px rgba(10, 28, 56, .3); /* taste-skill-ignore: 浮起的提示条 */ opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: none; }

/* ---------- 动效 ---------- */
.pre { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pre.in { opacity: 1; transform: none; }

/* ---------- 后台演示（app-screen 规则） ---------- */
.app { padding-block: 24px 64px; font-family: "Microsoft YaHei", "PingFang SC", var(--f-latin); line-height: 1.6; }
.appHead { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 8px; }
.appHead h1 { font-size: 28px; }
.crumbApp { font-size: 13px; color: var(--muted); }
.panel { background: #fff; border-radius: var(--radius); padding: 20px; }
.panel h2 { font-size: 17px; margin-bottom: 10px; }
.panel h3 { font-size: 14px; margin-block: 14px 6px; color: var(--muted); font-weight: 500; }
.appGrid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; margin-top: 16px; align-items: start; }
.form { display: grid; gap: 18px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.form legend { font-weight: 600; margin-bottom: 6px; }
.form label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.form input, .form select, .lookupForm input { height: 42px; padding-inline: 10px; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; color: var(--ink); font-size: 15px; }
.cols3 { grid-template-columns: repeat(3, 1fr); }
.cols3 legend { grid-column: 1 / -1; }
.uploadRow { display: flex; gap: 14px; align-items: center; }
.uploadRow img { width: 96px; height: 96px; object-fit: cover; }
.uploadNote { display: grid; font-size: 14px; }
.uploadNote span { color: var(--muted); font-size: 13px; }
.previewPane { position: sticky; top: calc(var(--top-h) + 16px); display: grid; gap: 10px; }
.previewCard { max-width: 260px; }
.submitted { margin-top: 16px; display: grid; gap: 18px; max-width: 760px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { display: grid; gap: 2px; padding: 12px 0 12px 22px; position: relative; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--rule); }
.timeline .doneStep::before { background: var(--ok); }
.timeline .nowStep { color: var(--ink); }
.timeline .nowStep::before { background: var(--action); outline: 4px solid rgba(30, 58, 92, .18); }
.timeline strong { color: var(--ink); }
.adminGrid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; }
.queue { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; align-content: start; }
.queue a { display: flex; gap: 10px; align-items: center; padding: 10px; background: #fff; border-radius: var(--radius); text-decoration: none; font-size: 14px; line-height: 1.4; }
.queue a[aria-current="true"] { outline: 2px solid var(--action); outline-offset: -2px; }
.queue img { width: 48px; height: 48px; object-fit: cover; }
.reviewPane { display: grid; gap: 14px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare img { width: 200px; height: 200px; object-fit: cover; }
.checks { margin: 0; padding-inline-start: 18px; font-size: 14px; display: grid; gap: 4px; }
.dataTable { width: 100%; border-collapse: collapse; font-size: 14px; }
.dataTable th, .dataTable td { text-align: start; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--rule); }
.dataTable th { font-weight: 400; color: var(--muted); }
.dataTable thead th { font-size: 13px; }
.diff .changed { background: #F3E7D3; font-weight: 600; padding-inline-start: 8px; }
.lookupForm { display: flex; gap: 12px; align-items: end; margin-block: 16px; flex-wrap: wrap; }
.lookupForm label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.lookupGrid { display: grid; grid-template-columns: 280px minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.lookupImg { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.internal { background: #FBF6EC; }
.colorLine { margin-top: 8px; font-size: 15px; }
.colorLine span { color: var(--muted); margin-inline-end: 10px; font-size: var(--s-small); }
.updated { margin-top: 8px; font-size: var(--s-small); color: var(--muted); }
.periodBar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; }
.periodBar .small { margin-inline-start: auto; }
.kpiGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 10px; margin-top: 14px; }
.kpi { display: grid; gap: 4px; padding: 14px 16px; }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi strong { font-size: 24px; font-weight: 600; font-family: var(--f-latin); }
.reportGrid .wide { grid-column: 1 / -1; }
.meter { display: block; width: 120px; height: 6px; border-radius: 3px; background: var(--surface); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--navy); }
.reportGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.bars { width: 100%; height: auto; }
.app .tabs { margin-block: 12px 0; }

/* ---------- 宽屏：内容铺满，列数与图框随屏宽放大 ---------- */
@media (min-width: 1700px) {
  .listGrid, .shelfGrid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .detailGrid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; }
  .buy { max-width: none; }
  .dragRow { grid-auto-columns: minmax(220px, calc((100% - 5 * var(--gap)) / 5.4)); }
  .relatedBand .dragRow { grid-auto-columns: minmax(200px, calc((100% - 6 * var(--gap)) / 6.4)); }
  .howGrid { grid-template-columns: minmax(0, 1fr) minmax(0, 720px); }
}

/* ---------- 平板 ---------- */
@media (max-width: 1100px) {
  .catGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :root { --top-h: 122px; }
  .topIn { grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav contact" "search search search"; height: auto; row-gap: 0; padding-bottom: 14px; }
  .mainNav { height: 64px; }
  .mainNav a { padding-inline: 12px; }
  .mainNav a::after { inset-inline: 12px; }
  .topContact span { display: none; }
  .topContact { width: 44px; padding: 0; }
  :root { --margin: 24px; }
  .shelfGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .heroCopy, html[dir="rtl"] .heroCopy { padding: 40px var(--margin); }
  .heroWall { height: 380px; }
  .detailGrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .footCols { grid-template-columns: repeat(3, 1fr); }
  .footNote { grid-column: 1 / -1; }
  .appGrid, .adminGrid, .lookupGrid, .reportGrid { grid-template-columns: 1fr; }
  .previewPane { position: static; }
}

@media (max-width: 860px) {
  .listGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shelfGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detailGrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 72px)); }
  .buy h1 { font-size: 24px; }
  .priceXl strong { font-size: 34px; }
  .readout dd { font-size: 17px; }
  .readout div { padding: 10px 12px; }
  .specGrid, .howGrid { grid-template-columns: 1fr; }
}

/* ---------- 手机 ---------- */
@media (max-width: 640px) {
  .heroSlogan { font-size: 15px; margin-top: 8px; }
  .heroLead { display: none; }
  .heroSearch { display: none; }
  .heroTry { margin-top: 12px; }
  .heroBadges { gap: 10px 12px; margin-top: 16px; }
  .heroBadges strong { font-size: 14px; }
  .heroBadges span span, .heroBadges li > span { font-size: 12.5px; }
  .catSection { padding-top: 22px; }
  .secHead { margin-bottom: 12px; }
  .secHead h2 { font-size: 19px; }
  .homeMore { min-height: 48px; }
  .band .bandHead { gap: 4px 12px; }
  .band .bandHead p { flex-basis: 100%; min-width: 0; order: 1; }
  .catGrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .catTile { flex-direction: column; gap: 6px; padding: 0; background: none; text-align: center; }
  .catTile img { width: 56px; height: 56px; border-radius: 50%; }
  .catTile strong { font-size: 13px; font-weight: 500; line-height: 1.3; }
  .catTile span span { display: none; }
  .shelf { padding-top: 26px; }
  .toast { bottom: 140px; }
  .utilityIn { height: 30px; gap: 8px; }
  .utilityLinks button { padding-inline: 6px; }
  .topIn { grid-template-areas: "brand . contact" "search search search"; padding-bottom: 10px; }
  .brand { height: 56px; }
  .mainNav { display: none; }
  .logo { width: 36px; height: 36px; }
  :root { --margin: 16px; --gap: 10px; --s-head: 22px; --s-lead: 18px; --s-card: 15px; --top-h: 110px; --util-h: 30px; }
  body { padding-bottom: 64px; }
  .brandMark { font-size: 22px; }
  .brand { gap: 8px; }
  html[lang="ar"] .hero h1 { font-size: 27px; }
  .heroCopy, html[dir="rtl"] .heroCopy { padding: 26px var(--margin) 22px; }
  .hero h1 { font-size: 32px; }
  .heroLead { font-size: 15px; margin-top: 10px; }
  .heroWall { height: auto; display: grid; grid-template-columns: none; grid-template-rows: none; grid-auto-flow: column; grid-auto-columns: 40%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .wallTile { aspect-ratio: 1; scroll-snap-align: start; }
  .wallLead { grid-column: auto; grid-row: auto; grid-auto-columns: 40%; }
  .wallName, .wallMeta { display: none; }
  .wallTag, .wallLead .wallTag { inset-block-end: 8px; inset-inline-start: 8px; padding: 5px 9px; border-radius: 14px; }
  .wallTag strong, .wallLead .wallTag strong { font-size: 14px; }
  .brandSub { font-size: 13px; }
  .grid { gap: 24px var(--gap); }
  .shelfGrid, .listGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .priceLg strong { font-size: 22px; }
  .sticker { font-size: 13px; padding: 6px 7px; inset-block-end: 8px; inset-inline-start: 8px; }
  .cardName { margin-top: 8px; font-size: 14.5px; }
  .heart { width: 40px; height: 40px; top: 4px; inset-inline-end: 4px; }
  .heart::before { content: ""; position: absolute; inset: -4px; }
  .band { padding-top: 64px; }
  .dragRow { grid-auto-columns: 62%; }
  .relatedBand .dragRow { grid-auto-columns: 44%; }
  .how { padding-block: 64px 72px; }
  .howSteps { font-size: 16px; }
  .howActions .btn { flex: 1; }
  .markBig { padding: 20px; font-size: 13px; gap: 6px 16px; }
  .markBig .markCode { font-size: 24px; }
  .foot { padding-block: 48px 40px; }
  .footCols { grid-template-columns: 1fr 1fr; }
  .footCols > div:nth-child(3) { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 20px; }
  .footCols > div:nth-child(3) h2 { width: 100%; margin-bottom: 0; }

  .langBand button { flex: 1; min-width: 0; padding-inline: 8px; }
  .langBand .row { width: 100%; flex-wrap: nowrap; }
  .tabbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; height: 64px; padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--ground); box-shadow: 0 -1px 0 var(--rule); /* taste-skill-ignore: 吸底导航 */ }
  .tabbar a { display: grid; justify-items: center; align-content: center; gap: 2px; text-decoration: none; font-size: 13px; color: var(--muted); }
  .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
  .tabbar a[aria-current="page"] { color: var(--ink); font-weight: 600; }
  .tabbar a[aria-current="page"] svg { stroke-width: 2.2; }

  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); scrollbar-width: none; width: calc(100% + 2 * var(--margin)); }
  .chip { height: 38px; font-size: 14px; }
  .tabs { margin-block: 14px; }

  .detail { padding-top: 8px; padding-bottom: 96px; }
  .detailGrid { grid-template-columns: 1fr; gap: 0; }
  .gallery { position: static; }
  .thumbs { grid-template-columns: repeat(4, 48px); }
  .crumb { display: none; }
  .gallery { margin-inline: calc(var(--margin) * -1); }
  .stage { aspect-ratio: 3 / 2; }
  .stage img { object-position: 50% 45%; }
  .thumbs { padding-inline: var(--margin); grid-template-columns: repeat(4, 48px); gap: 6px; margin-top: 6px; }
  .thumbLabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .thumbs .playGlyph { top: 0; }
  .thumbMark { font-size: 0; }
  .buy h1 { margin-top: 10px; }
  .buy h1 { font-size: 21px; }
  html[lang="ar"] .buy h1 { font-size: 20px; }
  .priceXl strong { font-size: 32px; }
  .readout { margin-top: 14px; }
  .readout div { padding: 10px 12px; }
  .readout dd { font-size: 17px; }
  .estOut { grid-template-columns: 1fr 1fr 1fr; font-size: 15px; }
  .askRow { display: none; }
  .askNote { display: none; }
  .specs { margin-top: 56px; }
  .relatedBand { padding-top: 56px; }
  .buyBar { display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px; align-items: center; position: fixed; inset-inline: 0; bottom: 64px; z-index: 25; background: var(--ground); padding: 8px var(--margin); box-shadow: 0 -1px 0 var(--rule); /* taste-skill-ignore: 吸底采购栏 */ }
  .buyBar .price { margin: 0; }
  .buyBar .price strong { font-size: 18px; }
  .buyBar .btn { height: 44px; padding-inline: 8px; }

  body[data-page="video"] { padding-bottom: 0; }

  .dlg { padding: 22px 18px; }
  .wxRow { grid-template-columns: 1fr; }
  .cols3 { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
  .pre { opacity: 1; transform: none; }
}

/* ---------- 视频专区：沉浸式竖屏流（第三轮） ---------- */
body[data-page="video"] { background: #0B1626; }
.videoPage { --reel-bg: #0B1626; --reel-side: #0F1D33; height: calc(100dvh - var(--top-h) - var(--util-h)); display: grid; grid-template-columns: 300px minmax(0, 1fr) 96px; background: var(--reel-bg); color: #fff; }
.videoPage :focus-visible { outline-color: var(--gold); }
.reelList { overflow-y: auto; padding: 28px 16px 28px var(--margin); background: var(--reel-side); scrollbar-width: thin; }
.reelListTitle { font-size: 20px; font-weight: 600; }
.reelListNote { margin-top: 6px; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .6); }
.reelList ol { list-style: none; margin: 20px 0 16px; padding: 0; display: grid; gap: 6px; }
.reelList button { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; padding: 8px; border: 0; border-radius: 10px; background: transparent; color: #fff; text-align: start; transition: background .15s; }
.reelList button:hover { background: rgba(255, 255, 255, .06); }
.reelList button[aria-current="true"] { background: rgba(255, 255, 255, .11); }
.reelList button[aria-current="true"]::before { content: ""; position: absolute; inset-block: 12px; inset-inline-start: 0; width: 3px; border-radius: 2px; background: var(--gold); }
.reelList img { width: 56px; height: 70px; object-fit: cover; border-radius: 6px; }
.reelList strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 500; line-height: 1.4; }
.reelList button span span { display: block; margin-top: 2px; font-size: 13px; color: var(--gold); }
.feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.feed::-webkit-scrollbar { display: none; }
.feed:focus, .feed:focus-visible { outline: none; }
.slide { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; padding: 22px 24px; }
.reel { display: flex; align-items: flex-end; gap: 20px; height: 100%; }
.slideMedia { position: relative; height: 100%; aspect-ratio: 4 / 5; max-width: calc(100vw - 300px - 96px - 140px); border-radius: 16px; overflow: hidden; background: #000; }
.slideMedia video { width: 100%; height: 100%; object-fit: cover; }
.tapPlay { position: absolute; inset: 0; border: 0; background: none; }
.tapPlay span { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: rgba(5, 12, 24, .55); opacity: 0; transition: opacity .2s; }
.tapPlay span::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-block: 14px solid transparent; border-inline-start: 23px solid #fff; transform: translateX(3px); }
html[dir="rtl"] .tapPlay span::after { transform: translateX(-3px) scaleX(-1); }
.tapPlay.paused span { opacity: 1; }
.videoPage .stageTag { top: 14px; inset-inline-start: 14px; border-radius: 6px; background: rgba(5, 12, 24, .6); }
.muteBtn { position: absolute; top: 12px; inset-inline-end: 12px; height: 36px; min-width: 56px; padding-inline: 12px; border: 0; border-radius: 18px; background: rgba(5, 12, 24, .6); color: #fff; font-size: 13px; }
.reelInfo { position: absolute; inset-inline: 0; bottom: 0; display: grid; justify-items: start; gap: 4px; padding: 90px 22px 22px; background: linear-gradient(transparent, rgba(5, 12, 24, .88) 46%); /* taste-skill-ignore: 视频上文字的中性遮罩 */ pointer-events: none; }
.reelInfo > * { pointer-events: auto; }
.reelCode { font-size: 13px; color: rgba(255, 255, 255, .7); }
.reelInfo h2 { font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
html[lang="ar"] .reelInfo h2 { letter-spacing: 0; line-height: 1.5; font-size: 20px; }
.reelPrice { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.reelPrice strong { font-size: 28px; font-weight: 600; color: var(--gold); }
.reelPrice span { font-size: 14px; color: rgba(255, 255, 255, .75); }
.reelFacts { font-size: 14px; color: rgba(255, 255, 255, .88); }
.reelCta { margin-top: 12px; height: 44px; padding-inline: 22px; border-radius: 22px; }
.rail { display: grid; gap: 16px; padding-bottom: 8px; }
.railBtn { display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #fff; font-size: 13px; font-weight: 500; }
.railBtn svg { width: 52px; height: 52px; padding: 14px; border-radius: 50%; background: rgba(255, 255, 255, .12); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; transition: background .15s, transform .12s; }
.railBtn:hover svg { background: rgba(255, 255, 255, .22); }
.railBtn:active svg { transform: scale(.9); }
.railBtn[aria-pressed="true"] svg { background: var(--gold); color: var(--navy-deep); fill: var(--navy-deep); }
.railWa svg { background: var(--wa); }
.railWa:hover svg { background: var(--wa-hover); }
html[dir="rtl"] [data-share-clip] svg { transform: scaleX(-1); }
.reelNav { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding-inline-end: 12px; }
.reelNav button { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; transition: background .15s; }
.reelNav button:hover { background: rgba(255, 255, 255, .24); }
.reelNav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reelNav span { font-size: 13px; color: rgba(255, 255, 255, .7); }

@media (max-width: 1100px) {
  .videoPage { grid-template-columns: minmax(0, 1fr) 80px; }
  .reelList { display: none; }
  .slideMedia { max-width: calc(100vw - 80px - 120px); }
}
@media (max-width: 860px) {
  .videoPage { grid-template-columns: 1fr; }
  .reelNav { display: none; }
  .slide { padding: 0; }
  .reel { position: relative; width: 100%; }
  .slideMedia { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; border-radius: 0; }
  .rail { position: absolute; z-index: 3; inset-inline-end: 12px; bottom: 120px; gap: 14px; padding: 0; }
  .railBtn { font-size: 12.5px; }
  .railBtn span { padding: 1px 7px; border-radius: 9px; background: rgba(5, 12, 24, .5); }
  .railBtn svg { width: 46px; height: 46px; padding: 12px; background: rgba(5, 12, 24, .45); }
  .railWa svg { background: var(--wa); }
  .railBtn[aria-pressed="true"] svg { background: var(--gold); }
  .reelInfo { padding: 80px 84px 20px 16px; }
  html[dir="rtl"] .reelInfo { padding: 80px 16px 20px 84px; }
}
@media (max-width: 640px) {
  body[data-page="video"] { --top-h: 56px; }
  body[data-page="video"] .search { display: none; }
  body[data-page="video"] .topIn { grid-template-areas: "brand . contact"; padding-bottom: 0; }
  .videoPage { height: calc(100dvh - var(--top-h) - var(--util-h) - 64px); }
  .rail { bottom: 104px; inset-inline-end: 8px; gap: 12px; }
  .railBtn svg { width: 44px; height: 44px; padding: 11px; }
  .reelInfo { padding: 72px 76px 16px 14px; gap: 2px; }
  html[dir="rtl"] .reelInfo { padding: 72px 14px 16px 76px; }
  .reelInfo h2, html[lang="ar"] .reelInfo h2 { font-size: 17px; }
  .reelPrice strong { font-size: 22px; }
  .reelFacts { font-size: 13px; }
  .reelCta { height: 40px; margin-top: 8px; font-size: 14px; }
}

/* ================= 第六轮：页头辅助条、分类页、后台外壳（ui-ux-pro-max 规则） ================= */
.supplierLink { color: var(--gold) !important; font-weight: 600; }
.supplierLink:hover { color: #fff !important; }
.utilityIn { justify-content: flex-end; }
.footBottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 48px; font-size: 13px; color: #8E99AA; }
.staffLink { display: inline-flex; align-items: center; min-height: 44px; color: #8E99AA; text-decoration: none; }
.staffLink:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 分类与搜索 ---------- */
.listing { padding-block: 0 56px; min-height: 60vh; }
.catBand { background: #fff; padding: 18px 0 20px; }
.catBand .crumb { margin-bottom: 6px; }
.listHead h1 { font-size: 28px; }
.aliasNote { border-radius: 8px; }
.catStrip { display: flex; gap: 10px; margin-top: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.catStrip::-webkit-scrollbar { display: none; }
.catPick { flex: 0 0 auto; display: grid; grid-template-columns: 56px auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-width: 170px; padding: 8px 18px 8px 8px; border-radius: 12px; background: var(--ground); color: var(--ink); text-decoration: none; transition: background .15s, color .15s; }
html[dir="rtl"] .catPick { padding: 8px 8px 8px 18px; }
.catPick:hover { background: var(--surface); }
.catPickImg { grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--photo); }
.catPickImg img { width: 100%; height: 100%; object-fit: cover; }
.catAll { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.catPickName { align-self: end; font-size: 15px; font-weight: 600; white-space: nowrap; }
.catPickCount { align-self: start; font-size: 13px; color: var(--muted); }
.catPick[aria-current="true"] { background: var(--navy); color: #fff; }
.catPick[aria-current="true"] .catPickCount { color: var(--gold); }

.listBody { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 24px; }
.facets { position: sticky; top: calc(var(--top-h) + 16px); display: grid; gap: 2px; max-height: calc(100vh - var(--top-h) - 32px); overflow: auto; padding: 16px; border-radius: 12px; background: #fff; scrollbar-width: thin; }
.facets:focus { outline: none; }
.facetHead { display: flex; align-items: center; gap: 10px; padding: 0 8px 6px; }
.facetHead h2 { font-size: 17px; margin-inline-end: auto; }
.facetHead .textLink { font-size: 14px; }
.facetClose, .facetFoot, .facetScrim { display: none; }
.facetGroup { padding-block: 10px; }
.facetGroup h3 { margin: 0 8px 4px; font-size: 13px; font-weight: 500; color: var(--muted); }
.facetOpt { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 8px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; transition: background .15s; }
.facetOpt:hover { background: var(--ground); }
.tick { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #ADB4BE; background: #fff; transition: background .15s, border-color .15s; }
.tick svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.facetOpt[aria-current="true"] { font-weight: 600; }
.facetOpt[aria-current="true"] .tick { background: var(--navy); border-color: var(--navy); }
.facetOpt[aria-current="true"] .tick svg { opacity: 1; }
.facetCount { margin-inline-start: auto; font-size: 13px; font-weight: 400; color: var(--muted); }

.results { min-width: 0; }
.resultBar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; padding: 6px 6px 6px 16px; border-radius: 12px; background: #fff; }
html[dir="rtl"] .resultBar { padding: 6px 16px 6px 6px; }
.resultBar .tabs { margin: 0; gap: 20px; }
.resultBar .tabs [role="tab"] { padding-block: 10px; }
.resultBar .tabs [role="tab"] span { color: var(--muted); font-weight: 400; }
.filterBtn { display: none; }
.sortSeg { display: flex; gap: 2px; margin-inline-start: auto; overflow-x: auto; scrollbar-width: none; }
.sortSeg::-webkit-scrollbar { display: none; }
.sortSeg a { display: inline-flex; align-items: center; height: 38px; padding-inline: 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; white-space: nowrap; transition: background .15s, color .15s; }
.sortSeg a:hover { background: var(--ground); color: var(--ink); }
.sortSeg a[aria-current="true"] { background: var(--navy); color: #fff; font-weight: 600; }
.viewSeg { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--ground); }
.viewSeg a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; color: var(--muted); transition: background .15s, color .15s; }
.viewSeg a:hover { color: var(--ink); }
.viewSeg a[aria-current="true"] { background: #fff; color: var(--navy); }
.viewSeg svg, .filterBtn svg, .activeChip svg, .facetClose svg, .utilityLinks .supplierLink svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.activeChips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.activeChip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding-inline: 14px 10px; border-radius: 18px; background: #E4E9F1; color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 500; transition: background .15s; }
html[dir="rtl"] .activeChip { padding-inline: 14px 10px; }
.activeChip:hover { background: #D3DBE8; }
.activeChip svg { width: 14px; height: 14px; }
.activeChips .textLink { font-size: 14px; }
.results .listGrid, .results .rows, .results .empty { margin-top: 18px; }
.results .listGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.results .empty { padding: 40px 24px; border-radius: 12px; background: #fff; }
.vidBadge { position: absolute; top: 10px; inset-inline-start: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(10, 28, 56, .72); }
.vidBadge svg { width: 13px; height: 13px; fill: #fff; margin-inline-start: 2px; }
html[dir="rtl"] .vidBadge svg { transform: scaleX(-1); margin-inline-start: 0; margin-inline-end: 2px; }

.rows { display: grid; gap: 10px; }
.lrow { display: grid; grid-template-columns: 96px minmax(0, 1.6fr) 130px minmax(0, 2.2fr) auto; grid-template-areas: "img main price facts acts"; align-items: center; gap: 18px; padding: 12px; border-radius: 12px; background: #fff; }
.rowImg { grid-area: img; position: relative; display: block; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; background: var(--photo); }
.rowImg img { width: 100%; height: 100%; object-fit: cover; }
.rowImg .vidBadge { top: 6px; inset-inline-start: 6px; width: 24px; height: 24px; }
.rowMain { grid-area: main; min-width: 0; }
.rowName { font-size: 16px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.rowName:hover { text-decoration: underline; text-underline-offset: 3px; }
.rowMeta { margin-top: 4px; font-size: 13px; color: var(--muted); }
.rowPrice { grid-area: price; }
.rowPrice strong { font-size: 20px; font-weight: 600; }
.rowPrice span { margin-inline-start: 4px; font-size: 13px; color: var(--muted); }
.rowFacts { grid-area: facts; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rowFacts dt { font-size: 13px; color: var(--muted); }
.rowFacts dd { font-size: 15px; font-weight: 500; white-space: nowrap; }
.rowActs { grid-area: acts; display: flex; align-items: center; gap: 8px; }
.rowActs .btn { height: 40px; padding-inline: 14px; font-size: 14px; }
.rowActs .heart { position: relative; top: auto; inset-inline-end: auto; width: 40px; height: 40px; background: var(--ground); }

@media (min-width: 1700px) {
  .results .listGrid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- 后台外壳 ---------- */
body[data-page="admin"], body[data-page="supplier"] { background: #EEF0F3; padding-bottom: 0; }
.console { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100dvh; font-family: "Microsoft YaHei", "PingFang SC", var(--f-latin); line-height: 1.6; }
.console :focus-visible { outline-color: var(--gold); }
.consoleNav { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 6px; padding: 20px 14px; background: var(--navy); color: #fff; }
.consoleBrand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; text-decoration: none; }
.consoleBrand img { width: 40px; height: 40px; }
.consoleBrand strong { display: block; font-size: 15px; font-family: var(--f-latin); }
.consoleBrand span span { font-size: 13px; color: var(--gold); }
.consoleNav nav { display: grid; gap: 4px; }
.consoleNav nav a { display: flex; align-items: center; gap: 12px; height: 44px; padding-inline: 12px; border-radius: 8px; color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 15px; transition: background .15s, color .15s; }
.consoleNav nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.consoleNav nav a[aria-current="page"] { background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; }
.consoleNav svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.consoleNav .badge { margin-inline-start: auto; background: var(--gold); color: var(--navy-deep); }
.consoleUser { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.avatar { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); font-weight: 700; }
.consoleUser strong { display: block; font-size: 14px; }
.consoleUser span span { font-size: 13px; color: rgba(255, 255, 255, .62); }
.consoleBack { display: flex; align-items: center; gap: 8px; height: 44px; padding-inline: 12px; border-radius: 8px; color: rgba(255, 255, 255, .75); text-decoration: none; font-size: 14px; }
.consoleBack:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.consoleMain { min-width: 0; padding: 28px 32px 48px; }
.consoleMain:focus { outline: none; }
.consoleHead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.consoleHead h1 { font-size: 26px; }
.consoleHead p { margin-top: 4px; font-size: 14px; }
.consoleMain .periodBar { margin-top: 0; }
.consoleMain .appGrid, .consoleMain .submitted, .consoleMain .lookupForm { margin-top: 0; }
.cellProd { display: flex; align-items: center; gap: 10px; }
.cellProd img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; }
.state { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.stateOk { background: #E3F1E8; color: #17583A; }
.stateWait { background: #F6EBD3; color: #6E4A0C; }

/* ---------- 平板：筛选改为侧滑抽屉 ---------- */
@media (max-width: 1100px) {
  .listBody { grid-template-columns: 1fr; }
  .results .listGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filterBtn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding-inline: 12px; border: 0; border-radius: 8px; background: var(--ground); font-size: 14px; font-weight: 600; }
  .filterBtn .badge { background: var(--navy); color: #fff; }
  .facets { position: fixed; z-index: 70; inset-block: 0; inset-inline-start: 0; top: 0; width: min(360px, 88vw); max-height: none; border-radius: 0; padding: 18px 18px 0; transform: translateX(-100%); transition: transform .28s var(--ease); box-shadow: 0 0 48px rgba(10, 28, 56, .25); /* taste-skill-ignore: 浮起的筛选抽屉 */ align-content: start; }
  :where(html[dir="rtl"]) .facets { transform: translateX(100%); }
  body.facetsOpen .facets { transform: none; }
  body.facetsOpen { overflow: hidden; }
  .facetClose { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: var(--ground); }
  .facetFoot { display: block; position: sticky; bottom: 0; margin-top: 8px; padding: 12px 0 18px; background: #fff; }
  .facetFoot .btn { width: 100%; height: 48px; }
  .facetScrim { display: block; position: fixed; z-index: 69; inset: 0; border: 0; background: rgba(10, 28, 56, .45); opacity: 0; pointer-events: none; transition: opacity .2s; }
  body.facetsOpen .facetScrim { opacity: 1; pointer-events: auto; }
  .lrow { grid-template-columns: 80px minmax(0, 1fr) auto; grid-template-areas: "img main price" "img facts facts" "img acts acts"; row-gap: 10px; align-items: start; }
  .rowImg { width: 80px; height: 80px; }
  .console { grid-template-columns: minmax(0, 1fr); }
  .consoleNav { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 10px 12px; }
  .consoleBrand { padding: 0 8px 0 0; }
  .consoleNav nav { order: 3; display: flex; width: 100%; overflow-x: auto; }
  .consoleNav nav a { flex: none; }
  .consoleUser { display: none; }
  .consoleBack { margin-inline-start: auto; }
  .consoleMain { padding: 20px 16px 40px; }
}

/* ---------- 手机 ---------- */
@media (max-width: 640px) {
  .utilityIn { justify-content: flex-end; }
  .footBottom { margin-top: 32px; }
  .catBand { padding: 10px 0 12px; }
  .listHead h1 { font-size: 22px; }
  .catStrip { margin-top: 10px; margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); gap: 4px; }
  .catPick, html[dir="rtl"] .catPick { grid-template-columns: 1fr; grid-template-rows: auto auto; justify-items: center; row-gap: 4px; width: 74px; min-width: 0; padding: 4px 2px; background: none; text-align: center; }
  .catPick:hover { background: none; }
  .catPickImg { grid-row: auto; width: 54px; height: 54px; border-radius: 50%; }
  .catPick[aria-current="true"] { background: none; color: var(--ink); }
  .catPick[aria-current="true"] .catPickImg { outline: 2.5px solid var(--navy); outline-offset: 2px; }
  .catPickName { align-self: start; font-size: 13px; font-weight: 500; white-space: normal; line-height: 1.3; }
  .catPickCount { display: none; }
  .listBody { padding-top: 12px; }
  .resultBar { position: sticky; top: var(--top-h); z-index: 6; gap: 6px 8px; padding: 4px 6px 6px 12px; }
  .resultBar .tabs { gap: 16px; }
  .filterBtn { order: 2; margin-inline-start: auto; }
  .viewSeg { order: 3; }
  .sortSeg { order: 4; width: 100%; margin: 0; }
  .results .listGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facets { inset-inline: 0; inset-block: auto 0; top: auto; width: auto; max-height: 84vh; border-radius: 16px 16px 0 0; transform: translateY(100%); }
  .lrow { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "img main" "img price" "facts facts" "acts acts"; gap: 6px 12px; }
  .rowImg { width: 72px; height: 72px; }
  .rowFacts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rowFacts dd { font-size: 14px; }
  .rowActs .btn { flex: 1; }
}

/* ---------- 收藏页 ---------- */
.savedHead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; }
.savedNote { margin-top: 6px; font-size: 14px; color: var(--muted); }
.savedActs { display: flex; gap: 8px; flex-wrap: wrap; }
.savedActs .btn { height: 48px; padding-inline: 20px; border-radius: 24px; }
.savedActs svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.savedBody { padding-top: 24px; }
.savedEmpty { display: grid; justify-items: center; gap: 10px; padding: 48px 24px 52px; border-radius: 16px; background: #fff; text-align: center; }
.savedEmptyIcon { display: grid; place-items: center; width: 88px; height: 88px; margin-bottom: 6px; border-radius: 50%; background: #F6EBD3; color: #B8862A; }
.savedEmptyIcon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; }
.savedEmpty h2 { font-size: 22px; }
.savedEmpty p { max-width: 30em; color: var(--muted); }
.savedEmptyActs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.savedEmptyActs .btn { height: 48px; padding-inline: 24px; border-radius: 24px; }
.savedPicks { margin-top: 48px; }
.savedBody .listGrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (min-width: 1700px) { .savedBody .listGrid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .savedBody .listGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .savedHead { align-items: stretch; }
  .savedActs { width: 100%; }
  .savedActs .btn { flex: 1; height: 46px; padding-inline: 12px; font-size: 14px; }
  .savedActs .btnWx { flex: 0 0 auto; }
  .savedBody { padding-top: 14px; }
  .savedEmpty { padding: 32px 18px 36px; }
  .savedEmptyIcon { width: 72px; height: 72px; }
  .savedEmptyIcon svg { width: 36px; height: 36px; }
  .savedEmpty h2 { font-size: 19px; }
  .savedEmptyActs { width: 100%; }
  .savedEmptyActs .btn { flex: 1; }
  .savedPicks { margin-top: 32px; }
  .savedBody .listGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ================= 展示动效（第八轮，参考 React Bits 效果，原生实现） ================= */
/* 首屏入场：文案逐块上浮去模糊（BlurText / AnimatedContent），商品墙逐格展开（PixelTransition 的揭示节奏） */
.heroAnim .heroCopy > * { animation: heroIn .8s var(--ease) both; }
.heroAnim .heroCopy > :nth-child(1) { animation-delay: .05s; }
.heroAnim .heroCopy > :nth-child(2) { animation-delay: .17s; }
.heroAnim .heroCopy > :nth-child(3) { animation-delay: .27s; }
.heroAnim .heroCopy > :nth-child(4) { animation-delay: .37s; }
.heroAnim .heroCopy > :nth-child(5) { animation-delay: .45s; }
.heroAnim .heroCopy > :nth-child(6) { animation-delay: .53s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.heroAnim .wallTile { animation: wallIn 1s var(--ease) both; }
.heroAnim .wallTile:nth-child(1) { animation-delay: .1s; }
.heroAnim .wallTile:nth-child(2) { animation-delay: .28s; }
.heroAnim .wallTile:nth-child(3) { animation-delay: .38s; }
.heroAnim .wallTile:nth-child(4) { animation-delay: .48s; }
.heroAnim .wallTile:nth-child(5) { animation-delay: .58s; }
@keyframes wallIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.heroAnim .wallTile img { animation: wallImg 1.4s var(--ease) both; }
@keyframes wallImg { from { transform: scale(1.18); } to { transform: none; } }
.heroAnim .wallLead img { animation: wallImg 1.4s var(--ease) both, kenBurns 16s ease-in-out 1.6s infinite alternate; }
.heroAnim .wallTag { animation: tagIn .6s var(--ease) both; animation-delay: 1s; }
@keyframes tagIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 主格慢推镜（Ken Burns） */
.wallLead img { animation: kenBurns 16s ease-in-out 1.6s infinite alternate; }
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.07) translate(-1.5%, -1%); } }

/* 新上架滚动条（LogoLoop） */
.ticker { display: flex; align-items: stretch; background: var(--navy-deep); color: #fff; overflow: hidden; }
.tickLabel { flex: none; display: flex; align-items: center; gap: 10px; padding-inline: var(--margin) 22px; font-size: 14px; font-weight: 600; color: var(--gold); background: var(--navy-deep); position: relative; z-index: 1; white-space: nowrap; }
.tickDot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.tickViewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); /* taste-skill-ignore: 滚动条两端淡出遮罩 */ }
.tickTrack { display: flex; width: max-content; animation: tick 46s linear infinite; }
html[dir="rtl"] .tickTrack { animation-name: tickRtl; }
.ticker:hover .tickTrack, .ticker:focus-within .tickTrack { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes tickRtl { to { transform: translateX(50%); } }
.tickGroup { display: flex; }
.tickItem { display: flex; align-items: center; gap: 10px; height: 64px; padding-inline: 18px; color: #fff; text-decoration: none; white-space: nowrap; border-inline-start: 1px solid rgba(255, 255, 255, .08); transition: background .15s; }
.tickItem:hover { background: rgba(255, 255, 255, .06); }
.tickItem img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--photo); }
.tickName { font-size: 14px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.tickItem strong { font-size: 15px; color: var(--gold); }
.tickMeta { font-size: 13px; color: rgba(255, 255, 255, .62); }

/* 货卡悬停：一道斜向反光扫过图片（GlareHover） */
.cardImg::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%); /* taste-skill-ignore: 悬停反光 */ transform: translateX(-120%); }
.card:hover .cardImg::after { transform: translateX(120%); transition: transform .9s var(--ease); }
html[dir="rtl"] .cardImg::after { transform: translateX(120%); }
html[dir="rtl"] .card:hover .cardImg::after { transform: translateX(-120%); }

@media (max-width: 640px) {
  .tickLabel { padding-inline: 16px 12px; font-size: 13px; }
  .tickItem { height: 56px; padding-inline: 14px; gap: 8px; }
  .tickItem img { width: 34px; height: 34px; }
  .tickName { max-width: 150px; font-size: 13px; }
  .tickMeta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tickTrack { animation: none; }
  .tickViewport { overflow-x: auto; }
  .tickGroup[aria-hidden="true"] { display: none; }
  .wallLead img, .tickDot { animation: none; }
}

/* ================= 展示动效第二批（2026-11-22） ================= */
/* 悬停播放商品视频 */
video.hv { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.hvOn video.hv { opacity: 1; }
.cardImg > a { position: relative; display: block; height: 100%; }
.hvOn .vidBadge { opacity: 0; }
.vidBadge { z-index: 2; transition: opacity .2s; }
.cardImg .heart { z-index: 3; }
.wallTag { z-index: 2; }
.card:hover .cardImg[data-hv]::after { transform: translateX(-120%); transition: none; }

/* 采购步骤时间线 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; inset-block: 22px; inset-inline-start: 21px; width: 2px; background: var(--rule); }
.steps::after { content: ""; position: absolute; inset-block: 22px; inset-inline-start: 21px; width: 2px; background: var(--gold); transform-origin: top; transform: scaleY(1); }
.steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; }
.stepIcon { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold); }
.stepIcon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.steps p { font-size: inherit; }
.stepsPre::after { transform: scaleY(0); transition: transform 1.4s var(--ease) .2s; }
.stepsPre li { opacity: .25; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
html[dir="rtl"] .stepsPre li { transform: translateX(10px); }
.stepsPre .stepIcon { background: var(--surface); color: var(--muted); transition: background .4s, color .4s; }
.stepsIn::after { transform: scaleY(1); }
.stepsIn li, html[dir="rtl"] .stepsIn li { opacity: 1; transform: none; }
.stepsIn .stepIcon { background: var(--navy); color: var(--gold); }
.stepsIn li:nth-child(1), .stepsIn li:nth-child(1) .stepIcon { transition-delay: .15s; }
.stepsIn li:nth-child(2), .stepsIn li:nth-child(2) .stepIcon { transition-delay: .65s; }
.stepsIn li:nth-child(3), .stepsIn li:nth-child(3) .stepIcon { transition-delay: 1.15s; }

/* 按箱估算数值滚动 */
.estOut dd { overflow: hidden; }
.rollUp { animation: rollUp .38s var(--ease); }
.rollDown { animation: rollDown .38s var(--ease); }
@keyframes rollUp { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rollDown { from { transform: translateY(-70%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ===== 第一批（2026-11-24）：首屏压缩、计价单位、整批 ===== */
.facts small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.partialTag { display: inline-flex; align-self: start; margin-top: 10px; padding: 4px 12px; border-radius: 14px; font-size: 13px; font-weight: 600; }
.partialTag.yes { background: #E3F1E8; color: #17583A; }
.partialTag.no { background: #F6EBD3; color: #6E4A0C; }
.lotBox h2 { font-size: var(--s-body); font-weight: 600; }
.lotBox p { margin-top: 6px; font-size: 15px; }
@media (max-width: 1100px) { .hero { min-height: 0; } }
@media (max-width: 640px) {
  .heroBadges { display: flex; overflow-x: auto; gap: 14px; margin-top: 14px; scrollbar-width: none; }
  .heroBadges li { flex: none; }
  .heroBadges li > span { font-size: 0; }
  .heroBadges li > span strong { font-size: 14px; }
}

/* ===== 第一批（2026-11-24）：供应商入驻、商品申报表单、审核 ===== */
body[data-page="supplier"] { background: #EEF0F3; padding-bottom: 0; }
.gate { min-height: 100dvh; font-family: "Microsoft YaHei", "PingFang SC", var(--f-latin); line-height: 1.6; }
.gateTop { background: var(--navy); color: #fff; }
.gateTopIn { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.gateNav { display: flex; gap: 4px; }
.gateNav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 12px; border-radius: 8px; color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 15px; }
.gateNav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.gateMain { padding-block: 32px 64px; max-width: 1100px; }
.gateHero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 36px; border-radius: 16px; background: var(--navy); color: #fff; }
.gateHero h1 { font-size: clamp(28px, 3vw, 40px); }
.gateLead { margin-block: 10px 22px; max-width: 34em; color: rgba(255, 255, 255, .85); font-size: 16px; }
.gateHero .btnGhost { background: rgba(255, 255, 255, .14); color: #fff; }
.gateStatus { color: var(--ink); display: grid; gap: 8px; justify-items: start; }
.gateSteps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gateSteps li { display: grid; gap: 6px; padding: 20px; border-radius: 14px; background: #fff; }
.gateSteps svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #F6EBD3; color: #8A5E12; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.gateSteps strong { font-size: 17px; }
.gateSteps span { color: var(--muted); font-size: 14px; }
.gateRules { margin-top: 16px; }
.gateRules ul { margin: 8px 0 0; padding-inline-start: 20px; display: grid; gap: 6px; }
.gateHead { margin-bottom: 16px; }
.gateHead h1 { font-size: 26px; }
.gateAlert { margin-bottom: 14px; padding: 12px 16px; border-radius: 10px; background: #FBE7E4; color: #8A2414; font-weight: 500; }
.applyForm { gap: 22px; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.cols2 legend, .cols3 legend { grid-column: 1 / -1; }
.span2 { grid-column: span 2; }
.typePick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.typeOpt { position: relative; }
.typeOpt input, .checkChip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.typeOpt span { display: grid; place-items: center; min-height: 52px; border-radius: 10px; border: 1.5px solid var(--rule); background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
.typeOpt input:checked + span { border-color: var(--navy); background: #E4E9F1; color: var(--navy); }
.typeOpt input:focus-visible + span, .checkChip input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.catPickRow, .radioRow { display: flex; flex-wrap: wrap; gap: 8px; }
.checkChip { position: relative; }
.checkChip span { display: inline-flex; align-items: center; min-height: 40px; padding-inline: 14px; border-radius: 20px; border: 1.5px solid var(--rule); background: #fff; color: var(--ink); font-size: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.checkChip input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.labelText { display: block; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.hint { font-size: 12.5px; color: var(--muted); }
.fileBox input[type="file"] { height: auto; padding: 8px; background: var(--ground); }
.thumbRow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.thumbRow img { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--photo); }
.form .agree, .agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.agree input { width: 18px; height: 18px; margin-top: 2px; }
.formErr { padding: 10px 14px; border-radius: 8px; background: #FBE7E4; color: #8A2414; font-size: 14px; }
.fieldErr { margin-top: 6px; color: #8A2414; font-size: 13px; }
.form :is(input, select, textarea):user-invalid:not(:focus) { border-color: #C2412D; }
.tickItem strong small { font-size: 12px; font-weight: 500; opacity: .75; }
.cbmOut output { display: block; font-size: 20px; font-weight: 600; color: var(--navy); }
.brandMore { display: grid; gap: 10px; padding: 14px; border-radius: 10px; background: var(--ground); }
.loginWrap { display: grid; place-items: center; padding-top: 24px; }
.loginCard { width: min(440px, 100%); display: grid; gap: 12px; padding: 28px; }
.loginCard h1 { font-size: 24px; }
.loginBtn { width: 100%; height: 48px; }
.timeline .badStep::before { background: #C2412D; }
.stateBad { background: #FBE7E4; color: #8A2414; }
.specialBar { margin-block: -4px 4px; padding: 10px 14px; border-radius: 8px; background: #F6EBD3; color: #6E4A0C; font-size: 14px; font-weight: 500; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.checklist li { display: flex; align-items: center; gap: 6px; }
.checklist svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.checklist .ok { color: #17583A; }
.checklist .no { color: #8A2414; }
.rejectReason { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.rejectReason textarea { padding: 8px 10px; border: 1px solid var(--rule); border-radius: var(--radius); font-size: 14px; color: var(--ink); }
.queue .avatar { width: 40px; height: 40px; }
button.consoleBack { width: 100%; border: 0; background: none; text-align: start; font: inherit; font-size: 14px; }
.btnKmrChat { background: var(--navy); color: #fff; }
.btnKmrChat:hover { background: var(--navy-deep); }
.askRow svg, .buyBar svg { width: 19px; height: 19px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.updated > span { margin-inline: 4px; color: var(--rule); }
.reelActions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.reelActions .reelCta { padding-inline: 16px; }
.reelActions .btnKmrChat { box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.consoleWorkspaces { border-block-start: 1px solid rgba(255,255,255,.18); padding-block-start: 12px; }
@media (min-width: 1101px) and (max-width: 1400px) {
  .topIn { gap: 20px; grid-template-columns: auto minmax(190px,1fr) auto auto; }
  .mainNav a { padding-inline: 10px; }
}
@media (min-width: 641px) and (max-width: 860px) {
  .topIn { column-gap: 10px; }
  .mainNav a { padding-inline: 6px; font-size: var(--s-small); }
}
@media (max-width: 860px) {
  .gateHero { grid-template-columns: 1fr; padding: 24px; }
  .gateSteps { grid-template-columns: 1fr; }
  .typePick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .gateTopIn { height: auto; padding-block: 10px; flex-wrap: wrap; }
  html { scroll-padding-block-end: calc(74px + env(safe-area-inset-bottom)); }
  html:has(body[data-page="p"]) { scroll-padding-block-end: calc(134px + env(safe-area-inset-bottom)); }
  .tabbar a { font-size: var(--s-small); padding-inline: 2px; text-align: center; }
  .buyBar { grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); padding-block: 7px; }
  .buyBar .price { display: none; }
  .buyBar .btn { gap: 5px; font-size: 14px; white-space: normal; line-height: 1.22; text-align: center; }
  .reelActions .reelCta { font-size: var(--s-small); padding-inline: 12px; }
  .gateNav a { font-size: 14px; padding-inline: 8px; }
  .gateMain { padding-block: 18px 40px; }
  .cols2 { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
}
