/* Customer storefront: reference-led charcoal, brass and compact editorial layout. */
/* Auction controls must fit the product panel, including nested grid/fieldset min-content widths. */
.customer-ui .auc, .customer-ui .auc-form { grid-template-columns: minmax(0, 1fr); }
.customer-ui .auc > *, .customer-ui .auc-form, .customer-ui .auc-claim, .customer-ui .auc-claim fieldset { min-width: 0; }
.customer-ui .auc-claim textarea, .customer-ui .auc-claim select, .customer-ui .auc-claim input:not([type=radio]) { width: 100%; box-sizing: border-box; }
.customer-ui .auc-claim textarea { min-height: 84px; resize: vertical; padding: 12px 16px; border: 1px solid var(--ink-2); border-radius: 2px; background: var(--field); color: var(--ink); font: inherit; }
.customer-ui .auc-claim textarea:focus-visible { outline: 3px solid #efcb87; outline-offset: 3px; }
.customer-ui .auc-connection { padding: 12px; border: 1px solid var(--crackle); color: var(--ink-2); font-size: .85rem; }
.customer-ui .auc-connection button { margin-top: 8px; min-height: 44px; }
.customer-ui .auc-go { border-radius: 5px; min-height: 50px; font-size: 1rem; letter-spacing: 0; box-shadow: none; }
.customer-ui .auc-go:active { transform: scale(.97); }
.customer-ui .auc-go:disabled { cursor: not-allowed; }
.customer-ui .auc-amount { overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .customer-ui .auc { padding: 14px; }
  .customer-ui .auc-top { flex-wrap: wrap; }
  .customer-ui .auc-bids li { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; }
  .customer-ui .auc-bids .av { display: none; }
}
@font-face { font-family: 'Chivo'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/chivo-latin-variable.woff2') format('woff2'); }
body.customer-ui {
  --body: 'Chivo', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --display: var(--body); --brush: var(--body); --zh: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --celadon: #121413; --surface: #262827; --field: #292b29;
  --ink: #f5f4f0; --ink-2: #c6c5bd; --jade: #e0b56c; --jade-hover: #efcb87;
  --crackle: #ffffff30; --sf-divider: #efeee5a6;
  background: radial-gradient(ellipse at 8% 12%, #75543029, transparent 45%), radial-gradient(ellipse at 96% 55%, #80644320, transparent 43%), url('img/charcoal-grain.svg') repeat, #141513; font-size: 1rem; line-height: 1.55;
}
.customer-ui .wrap { max-width: 1240px; }
.customer-ui h1, .customer-ui h2, .customer-ui h3, .customer-ui .label-name { font-family: var(--body); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.customer-ui :lang(zh), .customer-ui [lang='zh'] { letter-spacing: 0; }
.customer-ui h1 { overflow-wrap: anywhere; }
.customer-ui .btn { border-radius: 5px; font-weight: 700; letter-spacing: 0; min-height: 44px; padding: 10px 22px; line-height: 1.3; background: linear-gradient(#e6bf7a, #cfa35b); color: #15130e; border-color: #d1ac66; box-shadow: none; }
.customer-ui .btn:hover { background: #efcb87; }
.customer-ui .btn.ghost { background: transparent; color: var(--ink); border-color: #ffffff45; }
.customer-ui .btn.ghost:hover { background: #ffffff0b; }
.customer-ui .btn:disabled { background: #ffffff08; color: var(--ink-2); border-color: var(--crackle); }
.customer-ui :is(a, button, input, select):focus-visible { outline: 3px solid #efcb87; outline-offset: 3px; }
.customer-ui .chip, .customer-ui input, .customer-ui select { font-family: var(--body); }
.customer-ui .chip { min-height: 44px; }
.customer-ui .mark { align-items: start; justify-items: start; gap: 4px; margin: 0; }
.customer-ui .mark-en { font: 700 1.45rem/1 var(--body); letter-spacing: .045em; color: var(--ink); padding: 0; }
.customer-ui .mark-zh { font: 500 .9rem/1.2 var(--zh); color: var(--ink); background: none; filter: none; letter-spacing: .12em; }
.customer-ui .foot-mark .mark-en { font-size: .85rem; }
.customer-ui .foot-mark .mark-zh { font-size: .9rem; }
.customer-ui .sf-site { background: linear-gradient(105deg, #1c1c18fa, #131513fa); backdrop-filter: none; border-bottom: 0; }
.customer-ui .sf-site .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'brand links tools'; height: auto; min-height: 80px; gap: 12px 24px; padding-block: 16px 10px; }
.sf-site .mark { grid-area: brand; border-right: 1px solid var(--sf-divider); padding-right: 30px; }
.customer-ui .sf-site .mark { min-width: 0; }
.sf-brand-logo { display: block; width: 190px; max-width: 100%; height: auto; object-fit: contain; }
.customer-ui .sf-site .sf-tools { grid-area: tools; display: flex; gap: 8px; border-left: 1px solid var(--sf-divider); padding-left: 20px; justify-content: flex-end; min-width: 0; }
.customer-ui .sf-site .sf-nav { grid-area: links; display: flex; gap: clamp(16px, 2.4vw, 34px); justify-content: space-around; min-width: 0; }
.customer-ui .sf-site nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .9rem; }
.sf-nav-community small { color: #f0cd88; background: #514126; border-radius: 4px; padding: 1px 5px; font-size: .65rem; }
.sf-cart-count { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #ffffff10; min-width: 20px; height: 20px; font-size: .7rem; }
.customer-ui .sf-tools .lang-toggle, .customer-ui .sf-tools button.account { border-radius: 4px; min-height: 44px; padding: 8px; font-size: .8rem; background: transparent; color: var(--ink); border-color: #ffffff30; }
.customer-ui .account-menu { max-width: min(280px, calc(100vw - 32px)); }
.customer-ui .site nav .account-menu .account-name { white-space: normal; overflow-wrap: anywhere; }
.customer-ui .site nav .account-menu a { display: block; }
.customer-ui .foot { padding-block: 22px; background: #121413; border-top: 1px solid #ffffff30; }
.customer-ui .foot-links { row-gap: 6px; }
.customer-ui .foot-links a { display: inline-flex; align-items: center; min-height: 36px; }
.customer-ui .shelf .piece > a { height: 100%; border-radius: 7px; background: #282a28; overflow: hidden; gap: 0; border: 1px solid transparent; }
.customer-ui .shelf .piece > a:hover { border-color: var(--jade); }
.customer-ui .shelf .label { border: 0; padding: 12px 14px; gap: 4px; }
.customer-ui .shelf .label-name { font-size: 1rem; }
.customer-ui .shelf .label-name > span { display: none; }
.customer-ui .shelf .label-meta { font-size: .75rem; }
.customer-ui .shelf .label-price { color: var(--jade); font-size: 1.15rem; font-weight: 700; }
.customer-ui .shelf .plate { border-radius: 0; box-shadow: none; background: #e8e8e0; }
.customer-ui .shelf a:hover .plate { transform: none; box-shadow: none; }
.customer-ui .shelf .plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.customer-ui .shelf .note { font-size: .8rem; color: var(--ink-2); }
.customer-ui .plate-file { display: none; }
.customer-ui .page-head .sub { display: none; }
.customer-ui .page-head { margin-bottom: 24px; }
.customer-ui .page-head h1 { font-size: clamp(1.8rem, 4vw, 2.65rem); }
.customer-ui .live-bar { background: #252722; font-size: .75rem; padding-block: 5px; }
.customer-ui .live-dot { animation: none; }
.sf-icon { display: inline-block; width: 52px; height: 52px; flex: 0 0 52px; background: var(--jade); mask-mode: luminance; mask-image: url('img/service-icons.webp'); mask-repeat: no-repeat; mask-size: 200% 200%; -webkit-mask-image: url('img/service-icons.webp'); -webkit-mask-repeat: no-repeat; -webkit-mask-size: 200% 200%; }
.sf-icon-shop { mask-position: 0 0; -webkit-mask-position: 0 0; }
.sf-icon-fortune { mask-position: 100% 0; -webkit-mask-position: 100% 0; }
.sf-icon-auction { mask-position: 0 100%; -webkit-mask-position: 0 100%; }
.sf-icon-community { mask-position: 100% 100%; -webkit-mask-position: 100% 100%; }
.sf-home { padding-top: 4px; }
.sf-search { display: flex; gap: 0; border: 1px solid #8a8c86; background: linear-gradient(110deg, #ffffff12, #ffffff08); border-radius: 9px; margin-bottom: 18px; overflow: hidden; }
.sf-search input { width: 100%; min-width: 0; min-height: 44px; padding: 9px 16px 9px 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); font: inherit; }
.sf-search input::placeholder { color: var(--ink-2); opacity: 1; }
.sf-search button { order: -1; flex: 0 0 54px; min-height: 44px; padding: 8px 14px; border: 0; background: transparent; color: var(--ink); font: 500 .85rem/1.3 var(--body); cursor: pointer; }
.sf-search button:hover { background: #ffffff12; }
.sf-welcome { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: 258px; padding: 30px 38px; background: #211d16 url('img/community-hero.webp') right center / auto 100% no-repeat; border-radius: 8px; }
.sf-welcome::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #141512 0%, #141512ee 35%, transparent 62%); pointer-events: none; }
.sf-welcome-copy { position: relative; max-width: 75%; z-index: 1; }
.sf-welcome h1 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.12; max-width: 25ch; text-wrap: balance; }
.sf-intro { margin-top: 8px; font-size: 1.1rem; color: #ebe7de; max-width: 46ch; }
.sf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 20px; }
.sf-text-link { font-size: .9rem; text-underline-offset: .25em; display: inline-flex; align-items: center; min-height: 36px; }
.sf-text-link:hover { color: var(--jade); }
.sf-art-note { position: absolute; z-index: 1; right: 10px; bottom: 8px; color: #e4ded1; background: #111a; padding: 1px 5px; font-size: .6rem; border-radius: 3px; }
.sf-shortcuts { display: none; }
.sf-main-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: 'stock community' 'services services'; gap: 22px 28px; padding-top: 26px; align-items: start; }
.sf-stock { grid-area: stock; min-width: 0; }
.sf-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.sf-section-head h2 { font-size: clamp(1.25rem, 2.1vw, 1.75rem); }
.sf-section-head a { font-size: .85rem; flex-shrink: 0; color: var(--jade); min-height: 32px; display: inline-flex; align-items: center; }
.sf-section-note { font-size: .75rem; color: var(--ink-2); margin-bottom: 12px; }
.sf-stock .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sf-stock .shelf .plate { aspect-ratio: 1.15 / 1; }
.sf-stock .label-meta { display: none; }
.sf-stock .shelf .label-name { font-size: 1.15rem; }
.sf-view-piece { text-decoration: underline; text-underline-offset: 3px; font-size: .8rem; margin-top: 5px; color: var(--ink); }
.sf-stock-message { padding-block: 20px; color: var(--ink-2); }
.sf-guide-link { color: var(--jade); margin-top: 8px; font-size: .85rem; }
.sf-community { grid-area: community; min-width: 0; border-left: 1px solid var(--sf-divider); padding-left: 24px; scroll-margin-top: 110px; }
.sf-community .sf-section-head { flex-wrap: wrap; }
.sf-community .sf-section-head h2 { font-size: clamp(1.2rem, 2vw, 1.65rem); }
.sf-soon { color: #efc777; border: 1px solid #c89c4c; border-radius: 4px; padding: 2px 9px; font-size: .7rem; white-space: nowrap; }
.sf-reading-list { padding: 0; margin: 0; list-style: none; }
.sf-reading-list li { border-bottom: 1px solid var(--sf-divider); }
.sf-reading-list a { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 14px; padding: 11px 0; text-decoration: none; }
.sf-reading-list a:hover strong { color: var(--jade); }
.sf-reading-art { display: grid; place-items: center; height: 70px; border-radius: 5px; background: #37342d; }
.sf-reading-list strong { display: block; font-size: .95rem; line-height: 1.25; }
.sf-reading-list small { display: inline-block; font-size: .7rem; background: #ffffff13; border: 1px solid #ffffff25; padding: 1px 7px; margin-top: 5px; border-radius: 4px; color: #dddcd4; }
.sf-community-note { font-size: .75rem; color: var(--ink-2); margin-top: 18px; }
.sf-services { grid-area: services; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--sf-divider); padding-top: 18px; }
.sf-service { display: flex; align-items: center; gap: 22px; padding: 20px 24px; border: 1px solid #ffffff45; border-radius: 9px; background: linear-gradient(115deg, #2d2b26, #202220); }
.sf-service > .sf-icon { width: 70px; height: 70px; flex-basis: 70px; }
.sf-service > div { min-width: 0; border-left: 1px solid var(--sf-divider); padding-left: 24px; }
.sf-service h2 { font-size: 1.35rem; }
.sf-service p { color: var(--ink-2); font-size: .85rem; margin-top: 5px; }
.sf-service .btn { margin-top: 10px; min-height: 36px; font-size: .85rem; padding: 7px 18px; }
.sf-active-auctions, .sf-reviews { margin-top: 30px; }
.sf-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; border-top: 1px solid var(--sf-divider); margin-top: 20px; }
.sf-contact h2 { font-size: 1rem; }
.sf-contact p { display: none; }
.sf-contact .channels { margin: 0; }
.sf-contact a { display: inline-flex; align-items: center; min-height: 36px; font-size: .8rem; }
.sf-cab-search { max-width: 720px; }
.sf-cab-count { font-size: .85rem; color: var(--ink-2); margin-block: 0 20px; }
.sf-cab-reset { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; }
.customer-ui.shopping-page .shop-panel { background: #202320; border-color: #ffffff30; }
.customer-ui.shopping-page .product-mobile-buy { background: #1b1f1b; border-top-color: var(--jade); }
@media (max-width: 960px) {
  .customer-ui .sf-site .wrap { grid-template-columns: auto 1fr; grid-template-areas: 'brand tools' 'links links'; gap: 6px 18px; }
  .customer-ui .sf-site .sf-nav { justify-content: flex-start; gap: 28px; }
  .sf-site .mark { border-right: 0; padding-right: 0; }
  .customer-ui .sf-site .sf-tools { border-left: 0; padding-left: 0; }
  .sf-welcome-copy { max-width: 70%; }
  .sf-welcome h1 { font-size: 2.2rem; }
  .sf-main-grid { column-gap: 22px; }
  .sf-community { padding-left: 20px; }
  .sf-service { padding: 18px; gap: 14px; }
  .sf-service > .sf-icon { width: 46px; height: 46px; flex-basis: 46px; }
  .sf-service > div { padding-left: 16px; }
}
@media (max-width: 760px) {
  .customer-ui { --gutter: 16px; }
  .customer-ui .sf-site { position: relative; }
  .customer-ui .sf-site .wrap { padding-block: 12px 8px; gap: 8px; }
  .customer-ui .sf-site .sf-nav { width: 100%; justify-content: space-between; gap: 8px; border-top: 1px solid var(--crackle); padding-top: 6px; }
  .customer-ui .sf-site .sf-nav a { display: inline-flex; font-size: .8rem; }
  .customer-ui.home .sf-site .wrap { grid-template-areas: 'brand tools'; min-height: 62px; }
  .customer-ui.home .sf-site .sf-nav { display: none; }
  .sf-nav-community small { font-size: .55rem; padding-inline: 3px; }
  .customer-ui .mark-en { font-size: 1.1rem; }
  .customer-ui .mark-zh { font-size: .75rem; }
  .sf-home { padding-top: 0; }
  .sf-search { margin-bottom: 12px; border-radius: 7px; }
  .sf-search input { font-size: .9rem; padding-inline: 12px; min-height: 40px; }
  .sf-search button { padding-inline: 10px; min-height: 40px; font-size: .75rem; }
  .sf-welcome { min-height: 206px; padding: 18px; background-position: right center; background-size: auto 100%; }
  .sf-welcome::before { background: linear-gradient(90deg, #14151290, transparent 65%); }
  .sf-welcome-copy { max-width: 59%; }
  .sf-welcome h1 { font-size: clamp(1.2rem, 5.6vw, 1.55rem); line-height: 1.15; }
  .sf-intro { font-size: .75rem; margin-top: 7px; line-height: 1.4; }
  .sf-actions { margin-top: 14px; }
  .sf-actions .btn { min-height: 38px; font-size: .85rem; padding: 8px 16px; }
  .sf-actions .sf-text-link { display: none; }
  .sf-art-note { font-size: .5rem; right: 6px; bottom: 5px; }
  .sf-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 10px 0; border-bottom: 1px solid var(--sf-divider); margin-top: 3px; }
  .sf-shortcuts a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; text-decoration: none; min-height: 52px; position: relative; font-size: .75rem; border-right: 1px solid var(--sf-divider); }
  .sf-shortcuts a:last-child { border-right: 0; }
  .sf-shortcuts .sf-icon { width: 28px; height: 28px; flex: 0 0 28px; background-color: #f5f4f0; }
  .sf-shortcuts small { color: #edc77e; font-size: .5rem; position: absolute; top: 0; right: 0; }
  .sf-main-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'stock' 'services' 'community'; gap: 16px; padding-top: 14px; }
  .sf-stock .shelf { gap: 12px; }
  .sf-stock .shelf .plate { aspect-ratio: 1.15 / 1; }
  .sf-stock .shelf .label { padding: 8px; }
  .sf-stock .shelf .label-name { font-size: .95rem; }
  .sf-stock .shelf .label-price { font-size: 1rem; }
  .sf-stock .shelf .note { font-size: .7rem; }
  .sf-stock .sf-section-note { font-size: .65rem; margin-bottom: 10px; }
  .sf-view-piece { font-size: .7rem; margin-top: 3px; }
  .sf-section-head { gap: 8px; }
  .sf-section-head h2 { font-size: 1.3rem; }
  .sf-section-head a { font-size: .75rem; }
  .sf-guide-link { font-size: .7rem; }
  .sf-services { grid-template-columns: minmax(0, 1fr); gap: 8px; border: 0; padding: 0; }
  .sf-service { padding: 10px; gap: 10px; border-radius: 6px; }
  .sf-service > .sf-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .sf-service > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 8px; width: 100%; padding-left: 12px; }
  .sf-service h2 { font-size: .9rem; grid-column: 1; }
  .sf-service p { font-size: .68rem; line-height: 1.35; margin-top: 3px; grid-column: 1; }
  .sf-service .btn { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: .7rem; padding: 7px 9px; margin: 0; min-height: 40px; }
  .sf-community { border: 0; padding: 0; scroll-margin-top: 16px; }
  .sf-community .sf-section-head { justify-content: flex-start; }
  .sf-community .sf-section-head h2 { font-size: 1.3rem; }
  .sf-community .sf-section-note { font-size: .7rem; }
  .sf-reading-list a { grid-template-columns: 54px minmax(0, 1fr); padding: 9px 0; gap: 12px; }
  .sf-reading-art { height: 54px; }
  .sf-reading-art .sf-icon { width: 38px; height: 38px; }
  .sf-reading-list strong { font-size: .85rem; }
  .sf-reading-list small { font-size: .65rem; margin-top: 3px; }
  .sf-community-note { font-size: .65rem; margin-top: 12px; }
  .sf-contact { margin-top: 18px; gap: 8px; }
  .customer-ui .foot { padding-block: 18px; }
  .customer-ui .foot .wrap { gap: 14px; }
}
@media (max-width: 390px) {
  .customer-ui { --gutter: 12px; }
  .customer-ui .sf-site .wrap { column-gap: 6px; }
  .customer-ui .sf-site .sf-tools { gap: 4px; }
  .customer-ui .sf-tools button.account, .customer-ui .sf-tools .lang-toggle { padding-inline: 6px; font-size: .75rem; }
  .customer-ui .mark-en { font-size: .95rem; }
  .sf-nav-community { flex-wrap: wrap; justify-content: center; gap: 2px !important; }
  .sf-welcome { padding: 14px; }
  .sf-welcome-copy { max-width: 58%; }
  .sf-service > div { padding-left: 9px; }
  .sf-service .btn { padding-inline: 7px; font-size: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-ui { scroll-behavior: auto; }
}

/* Reference details: thin ivory rules, outline controls and one compact header. */
body.customer-ui { --celadon-pale: #242621; }
.customer-ui .sf-tools .lang-toggle { order: 0; border: 0; padding-inline: 4px; font-size: .95rem; }
.customer-ui .sf-tools .lang-toggle .is-current { color: #efc477; font-weight: 700; }
.customer-ui .sf-tools .account { order: 1; }
.customer-ui .sf-tools button.account { width: 44px; padding: 8px; border: 0; font-size: 0; }
.customer-ui .sf-tools button.account::before, .customer-ui .cart-link::before, .sf-search button::before {
  content: ''; display: block; width: 28px; height: 28px; background: currentColor;
  mask: url('img/ui-account.svg') center / contain no-repeat;
}
.customer-ui .sf-tools details.account > summary { width: 44px; height: 44px; background: transparent; border: 1px solid #ffffff60; color: var(--ink); }
.customer-ui .sf-tools .cart-link { order: 2; position: relative; width: 52px; justify-content: center; padding-left: 12px; margin-left: 4px; border-bottom: 0; }
.customer-ui .cart-link::before { mask-image: url('img/ui-cart.svg'); }
.customer-ui .cart-link::after { content: ''; position: absolute; left: 0; height: 26px; border-left: 1px solid var(--sf-divider); }
.sf-cart-count { position: absolute; right: -4px; top: -3px; min-width: 17px; height: 17px; background: #dcb16a; color: #17140e; font-size: .65rem; }
.sf-search button::before { mask-image: url('img/ui-search.svg'); width: 24px; height: 24px; }
.sf-search:focus-within { outline: 2px solid #e0b56c; outline-offset: 2px; }
.sf-menu-toggle { display: none; }
.customer-ui .foot { background: #11131090; border-top-color: var(--sf-divider); }
.customer-ui .shelf .piece > a { background: linear-gradient(125deg, #36352f, #242624); }
.sf-reading-art { background: radial-gradient(ellipse at 35% 15%, #887659, #3b362b 75%); }
.sf-service { background: radial-gradient(ellipse at 12% 20%, #83705233, transparent 70%), linear-gradient(115deg, #2d2b26, #202220); }

/* Purposeful motion: immediate press, short hover feedback, slow optional hero light. */
.customer-ui .btn, .sf-menu-toggle, .sf-motion-toggle { touch-action: manipulation; transition: transform 160ms cubic-bezier(.22,1,.36,1), background-color 150ms ease-out; }
.customer-ui .btn:active, .sf-menu-toggle:active { transform: scale(.97); transition-duration: 0s; }
.customer-ui .shelf .piece > a, .sf-service { transition: transform 180ms cubic-bezier(.22,1,.36,1), border-color 150ms ease-out; }
.sf-welcome::after { content: ''; position: absolute; pointer-events: none; inset: -25%; z-index: 0; background: radial-gradient(ellipse at 80% 35%, #f4c58335, transparent 44%); animation: sf-hero-light 10s ease-in-out infinite alternate; animation-play-state: paused; }
.sf-welcome.sf-ambient-running::after { animation-play-state: running; }
@keyframes sf-hero-light { from { transform: translateX(-4%); opacity: .25; } to { transform: translateX(4%); opacity: .85; } }
.sf-motion-toggle { position: absolute; z-index: 2; right: 8px; top: 8px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #ffffff40; border-radius: 50%; color: #eee5d6; background: #14151285; cursor: pointer; }
.sf-motion-toggle[hidden] { display: none; }
.sf-motion-toggle span { width: 9px; height: 12px; border-inline: 2px solid currentColor; }
.sf-motion-toggle[aria-pressed='true'] span { width: 0; height: 0; border: 6px solid transparent; border-right: 0; border-left: 9px solid currentColor; }
@media (hover: hover) and (pointer: fine) {
  .customer-ui .btn:hover:not(:active) { transform: translateY(-2px); box-shadow: 0 5px 18px #d4a65925; }
  .customer-ui .shelf .piece > a:hover, .sf-service:hover { transform: translateY(-3px); border-color: #dfbc79; }
}
.customer-ui .shelf .piece > a:focus-visible { transform: translateY(-3px); }
@media (max-width: 760px) {
  .customer-ui .sf-site .wrap, .customer-ui.home .sf-site .wrap { position: relative; grid-template-columns: 44px minmax(0,1fr) auto; grid-template-areas: 'menu brand tools' 'links links links'; gap: 0 8px; min-height: 68px; padding-block: 10px; }
  .customer-ui .sf-site:not(.sf-menu-ready) .wrap { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: 'brand tools' 'links links'; }
  .customer-ui .sf-site .sf-nav, .customer-ui.home .sf-site .sf-nav { display: flex; }
  .customer-ui .sf-site.sf-menu-ready .sf-nav { position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); width: auto; z-index: 30; padding: 10px 14px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--sf-divider); background: #20221f; border-radius: 6px; box-shadow: 0 16px 30px #0008; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 160ms ease-out, transform 180ms cubic-bezier(.22,1,.36,1), visibility 180ms; }
  .customer-ui .sf-site[data-menu-open='true'] .sf-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .customer-ui .sf-site .sf-nav a { font-size: .9rem; justify-content: flex-start; }
  .sf-menu-toggle { display: grid; place-items: center; grid-area: menu; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
  .sf-menu-toggle span, .sf-menu-toggle span::before, .sf-menu-toggle span::after { display: block; width: 23px; height: 1px; background: currentColor; }
  .sf-menu-toggle span { position: relative; }
  .sf-menu-toggle span::before, .sf-menu-toggle span::after { content: ''; position: absolute; left: 0; transition: transform 180ms cubic-bezier(.22,1,.36,1); }
  .sf-menu-toggle span::before { transform: translateY(-7px); }
  .sf-menu-toggle span::after { transform: translateY(7px); }
  [data-menu-open='true'] .sf-menu-toggle span { background: transparent; }
  [data-menu-open='true'] .sf-menu-toggle span::before { transform: rotate(45deg); }
  [data-menu-open='true'] .sf-menu-toggle span::after { transform: rotate(-45deg); }
  .customer-ui .sf-site .mark-en { display: none; }
  .customer-ui .sf-site .mark { width: 100%; min-height: 44px; align-items: center; }
  .sf-brand-logo { width: 140px; }
  .customer-ui .sf-site .mark-zh { font-size: clamp(1.1rem, 4.9vw, 1.35rem); letter-spacing: .04em; font-weight: 700; white-space: nowrap; }
  .customer-ui .sf-site .sf-tools { gap: 0; }
  .customer-ui .sf-tools .lang-toggle { font-size: .8rem; padding-inline: 2px; }
  .customer-ui .sf-tools .cart-link { width: 40px; padding-left: 4px; margin: 0; }
  .customer-ui .cart-link::after { display: none; }
  .customer-ui .sf-tools button.account, .customer-ui .sf-tools details.account > summary { width: 36px; height: 44px; padding: 6px; }
  .customer-ui .sf-tools button.account::before { width: 24px; height: 24px; }
  .customer-ui .sf-tools details.account > summary { border: 0; }
  .sf-cart-count { right: -2px; top: -2px; }
  .sf-search button { flex-basis: 44px; padding: 8px 10px; }
  .sf-search input { padding-left: 0; }
  .sf-motion-toggle { width: 32px; height: 32px; right: 5px; top: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .sf-welcome::after { animation-play-state: paused !important; }
  .customer-ui .btn, .customer-ui .shelf .piece > a, .sf-service, .sf-menu-toggle, .sf-menu-toggle span::before, .sf-menu-toggle span::after, .customer-ui .sf-site.sf-menu-ready .sf-nav { transition-duration: 0s; }
  .customer-ui .btn:hover:not(:active), .customer-ui .btn:active, .customer-ui .shelf .piece > a:hover, .customer-ui .shelf .piece > a:focus-visible, .sf-service:hover, .sf-menu-toggle:active { transform: none; }
}

/* ───────── Luxe layer, 14 Nov 2026 ─────────
   Owner: "everything is a block or a square" + luxury-brand motion. Same structure, same charcoal and gold.
   Pieces sit in arched niches instead of cards, boxes become space and fading hairlines, and each piece is
   unveiled once as it comes into view. Movement only runs when html has .lx (set by script, never when the
   visitor asks for reduced motion); without it every element is simply visible. */
body.customer-ui {
  --lx-ease: cubic-bezier(.16, 1, .3, 1); --sf-divider: #efeee530;
  --lx-rule: linear-gradient(90deg, transparent, #e0b56c8c 20%, #e0b56c8c 80%, transparent);
  caret-color: #e0b56c; scrollbar-color: #6b5a3a #141513;
}
.customer-ui ::selection { background: #e0b56c; color: #17140e; }
.customer-ui h1, .customer-ui h2 { font-weight: 500; letter-spacing: -.03em; }
.customer-ui :lang(zh) :is(h1, h2), .customer-ui :is(h1, h2):lang(zh) { letter-spacing: .01em; }
/* Each customer page opts into navigation transitions in its head, before external CSS loads. */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }
.customer-ui .sf-site { view-transition-name: sf-header; }

/* Controls: pills, and a single light that crosses the gold on hover. */
.customer-ui .btn { position: relative; overflow: hidden; border-radius: 999px; font-weight: 600; letter-spacing: .01em; padding-inline: 28px; }
.customer-ui .btn:not(.ghost)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, #fff8e6b3 50%, transparent 62%); transform: translateX(-130%); pointer-events: none; }
.sf-search { border: 0; border-bottom: 1px solid #ffffff3d; border-radius: 0; background: none; transition: border-color .3s ease-out, box-shadow .3s ease-out; }
.sf-search:focus-within { outline: 0; border-bottom-color: #e0b56c; box-shadow: 0 1px 0 #e0b56c; }
.customer-ui .sf-search input:focus-visible { outline: 0; }
.sf-search button:hover { background: none; color: #e0b56c; }
.sf-nav-community small, .sf-soon { background: none; border: 0; padding: 0; color: #e0b56c; letter-spacing: .12em; text-transform: uppercase; }
.sf-art-note, .sf-story-image figcaption { background: none; text-shadow: 0 1px 6px #000c; letter-spacing: .04em; }
.customer-ui .sf-site .sf-nav a { background: linear-gradient(#e0b56c, #e0b56c) 50% calc(100% - 9px) / 0 1px no-repeat; text-decoration: none; transition: background-size .45s var(--lx-ease), color .2s ease-out; }
.customer-ui .sf-site .sf-nav a:is(:hover, [aria-current='page']) { background-size: 100% 1px; color: #efcb87; }
.customer-ui .foot { border-top: 1px solid; border-image: var(--lx-rule) 1; }

/* Small print stays readable for older eyes: nothing under 11px. */
.sf-nav-community small, .sf-soon, .sf-art-note, .sf-story-image figcaption, .sf-shortcuts small { font-size: .7rem; }

/* A piece in its niche. The photograph is whole inside the arch; only the corners of its backdrop are rounded off. */
.customer-ui .shelf { gap: clamp(40px, 4.4vw, 68px) clamp(18px, 2.6vw, 40px); }
.customer-ui .shelf .piece > a, .customer-ui .shelf .piece > a:hover { background: none; border: 0; border-radius: 0; overflow: visible; transform: none; }
.customer-ui .shelf .plate { aspect-ratio: 4 / 5; border-radius: 999px 999px 4px 4px; overflow: hidden; background: #e9e6dc; isolation: isolate; box-shadow: 0 34px 44px -34px #000; transition: clip-path 1.25s var(--lx-ease) var(--lx-d, 0ms), transform .7s var(--lx-ease), box-shadow .7s var(--lx-ease); }
.customer-ui .shelf .plate img { border-radius: inherit; transition: transform 1.6s var(--lx-ease) var(--lx-d, 0ms); }
.customer-ui .shelf .plate::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse 78% 70% at 50% 44%, transparent 46%, #2a2114 140%); mix-blend-mode: multiply; box-shadow: inset 0 0 0 1px #e0b56c59; }
.customer-ui .shelf .plate::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(112deg, transparent 40%, #ffffff8c 50%, transparent 60%); transform: translateX(-130%); }
.customer-ui .shelf .label { justify-items: center; text-align: center; gap: 5px; padding: 20px 4px 0; border: 0; transition: opacity .9s ease-out calc(var(--lx-d, 0ms) + 350ms), transform 1s var(--lx-ease) calc(var(--lx-d, 0ms) + 350ms); }
.customer-ui .shelf .label-name { font-weight: 500; font-size: 1.05rem; letter-spacing: -.01em; }
.customer-ui .shelf .label-price { font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.customer-ui .shelf .auc-tag { left: 50%; top: 16px; transform: translateX(-50%); white-space: nowrap; }
.customer-ui .shelf .is-rehomed .plate { background: #e9e6dc; filter: grayscale(1) brightness(.5); box-shadow: none; }
.customer-ui .shelf .is-rehomed .plate img { opacity: .55; }
.customer-ui .shelf .plate:not(:has(img)) { background: #1d1e1b; }
.sf-view-piece { margin-top: 8px; padding-bottom: 5px; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); background: linear-gradient(#e0b56c, #e0b56c) 50% 100% / 28px 1px no-repeat; transition: background-size .5s var(--lx-ease), color .2s ease-out; }
.shelf > li:nth-child(4n + 2) { --lx-d: 110ms; } .shelf > li:nth-child(4n + 3) { --lx-d: 220ms; } .shelf > li:nth-child(4n + 4) { --lx-d: 330ms; }

/* Buying panels: one surface, no box inside a box. */
.customer-ui.shopping-page .shop-panel { background: none; border: 0; border-radius: 0; padding: 28px 0 0; border-top: 1px solid; border-image: var(--lx-rule) 1; }
.customer-ui.shopping-page .product-gallery { border-top: 0; padding-top: 0; }
.customer-ui.shopping-page .product-image { border-radius: 0; background: none; overflow: visible; }
.customer-ui.shopping-page .product-image img { width: auto; max-width: 100%; height: auto; max-height: 100%; border-radius: 6px; box-shadow: 0 44px 60px -44px #000; }
.customer-ui.shopping-page .shop-payment { border: 0; padding: 0; }
.customer-ui.shopping-page .shop-notice { border-left: 0; padding-left: 0; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .customer-ui .btn:not(.ghost):hover::after { transform: translateX(130%); transition: transform .9s var(--lx-ease); }
  .customer-ui .shelf .piece:not(.is-rehomed) > a:hover .plate { transform: translateY(-8px); box-shadow: 0 46px 50px -34px #000; }
  .customer-ui .shelf .piece:not(.is-rehomed) > a:hover .plate img { transform: scale(1.05); transition-delay: 0s; }
  .customer-ui .shelf .piece:not(.is-rehomed) > a:hover .plate::before { transform: translateX(130%); transition: transform 1.1s var(--lx-ease); }
  .customer-ui .shelf .piece > a:hover .sf-view-piece { background-size: 100% 1px; color: #efcb87; }
}
.customer-ui .shelf .piece > a:focus-visible { transform: none; outline-offset: 8px; border-radius: 6px; }

/* Unveiling, once. The script adds .lx-wait to what is still below the fold and takes it away on arrival. */
.lx .shelf.lx-wait > li .plate { clip-path: inset(100% 0 0 0 round 999px 999px 4px 4px); }
.lx .shelf.lx-wait > li .plate img { transform: scale(1.16); }
.lx .shelf.lx-wait > li .label { opacity: 0; transform: translateY(14px); }
.lx .shelf > li .plate { clip-path: inset(0 round 999px 999px 4px 4px); }
.lx :is(h1, h2).lx-rise { transition: opacity .9s ease-out, transform 1.1s var(--lx-ease), clip-path 1.1s var(--lx-ease); clip-path: inset(-.3em -1em); }
.lx :is(h1, h2).lx-wait { opacity: 0; transform: translateY(.5em); clip-path: inset(0 0 100% 0); }
html.lx .customer-ui .live-dot { animation: breathe 1.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .customer-ui .shelf .plate, .customer-ui .shelf .plate img, .customer-ui .shelf .label, .sf-view-piece, .customer-ui .sf-site .sf-nav a { transition-duration: 0s; transition-delay: 0s; }
}
@media (max-width: 760px) {
  .customer-ui .shelf { gap: 34px 14px; }
  .customer-ui .shelf .label { padding-top: 14px; }
  .customer-ui .shelf .label-name { font-size: .95rem; }
  .sf-view-piece { font-size: .7rem; letter-spacing: .12em; }
  .sf-community-note, .sf-stock .sf-section-note, .sf-service p { font-size: .75rem; }
  .sf-service .btn { font-size: .8rem; }
  .customer-ui .btn { padding-inline: 22px; }
  .customer-ui.shopping-page .shop-panel { padding: 22px 0 0; }
  .customer-ui.shopping-page .product-gallery { padding: 0; }
  .customer-ui .sf-site .sf-nav a, .customer-ui .sf-site .sf-nav a:is(:hover, [aria-current='page']) { background-size: 0 1px; }
}

/* ── Round 2, owner's notes on the live site: lower header, no slabs of background, red running live bar ── */
body.customer-ui { background: url('img/charcoal-grain.svg') repeat, #141513; }
.customer-ui .sf-site { background: #141513d9; -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15); }
.customer-ui .sf-site .wrap { min-height: 58px; padding-block: 7px 5px; gap: 6px 24px; }
.sf-brand-logo { width: 146px; }
.sf-site .mark { padding-right: 24px; }
.customer-ui .foot { background: none; }
.customer-ui .live-bar { gap: 0; padding: 0; overflow: hidden; background: linear-gradient(90deg, #8e1711, #c62b22 50%, #8e1711); color: #fff6e6; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.customer-ui .live-bar b { margin: 0; letter-spacing: .16em; }
.live-tag { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px var(--gutter); background: #7a120d; }
.live-run { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
.live-track { display: inline-flex; white-space: nowrap; }
.live-track > span { padding-right: 72px; }
.customer-ui .live-bar a { flex: none; padding: 7px var(--gutter) 7px 16px; background: #7a120d; text-underline-offset: 3px; }
@keyframes live-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  .live-track { animation: live-run 40s linear infinite; }
  .live-bar:hover .live-track, .live-bar:focus-within .live-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .live-track > span:not(:first-child) { display: none; } }
@media (max-width: 760px) {
  .customer-ui .sf-site .wrap, .customer-ui.home .sf-site .wrap { min-height: 56px; padding-block: 6px; }
  .sf-brand-logo { width: 122px; }
  .customer-ui .live-bar { font-size: .75rem; }
  .live-tag { padding: 6px 12px 6px var(--gutter); }
  .customer-ui .live-bar a { padding: 6px var(--gutter) 6px 12px; }
}

/* Transparent background-removed amulet cutouts (.webp from dashboard AI cutout tool) */
.customer-ui .shelf .plate:has(img[src$=".webp"]),
.sf-suggest .plate:has(img[src$=".webp"]) {
  background: radial-gradient(ellipse 80% 72% at 50% 52%, #3a3122 0%, #1d1b17 62%, #131412 100%);
}
.customer-ui .shelf .plate:has(img[src$=".webp"])::after {
  background: none;
  mix-blend-mode: normal;
  box-shadow: inset 0 0 0 1px #e0b56c59;
}
.customer-ui .shelf .plate img[src$=".webp"] {
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .68));
}
.customer-ui.shopping-page .product-image img[src$=".webp"] {
  box-shadow: none;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, .75));
}
.sample-cabinet-link {
  margin: 18px 0 28px; padding: 16px 0; display: flex; align-items: center;
  gap: clamp(16px, 3vw, 36px); border-block: 1px solid #645136;
}
.sample-cabinet-photos { display: flex; gap: 6px; flex-shrink: 0; }
.sample-cabinet-photos img {
  width: clamp(36px, 6vw, 68px); height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 40px 40px 2px 2px;
}
.sample-cabinet-link h2 { margin: 0; font-size: 1.25rem; }
.sample-cabinet-link p { margin: .3rem 0; font-size: .9rem; }
.sample-cabinet-link a { display: inline-flex; align-items: center; min-height: 44px; }
.product-photo-stage { position: relative; }
.product-photo-flip:not([hidden]) { position: absolute; inset: 0; display: grid; align-items: end; justify-items: center; padding: 0 4px 7px; border: 0; background: transparent; cursor: pointer; font: inherit; touch-action: manipulation; }
.product-photo-flip span { padding: 4px 10px; background: #20201eed; border-radius: 12px; color: #fff4dd; font-size: .8rem; }
.product-photo-flip:focus-visible { outline: 2px solid var(--jade); outline-offset: 3px; }

#shelf .shop-unframed .plate {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  clip-path: none;
}
#shelf .shop-unframed .plate::before, #shelf .shop-unframed .plate::after { content: none; }
#shelf .shop-unframed .plate img { border-radius: 0; filter: none; }
#shelf .shop-unframed > a { height: auto; }
