.cx-host {
  margin: 0;
  background: #eeece7;
}

#chuanxu-preview {
  --cx-ink: #332923;
  --cx-muted: #70665f;
  --cx-base: #f8f6f2;
  --cx-panel: #fffefa;
  --cx-seam: #ede7df;
  --cx-primary: #8e4e64;
  --cx-on-primary: #fff;
  --cx-tint: #f6eaf0;
  --cx-problem: #a13848;
  --cx-thread: #b4a498;
  --cx-stage-top: #f2e9dd;
  --cx-cover-url: url("/assets/cover.webp");
  --cx-tray-url: url("/assets/tray.webp");
  --cx-diy-url: url("/assets/diy.webp");
  --cx-stylist-url: url("/assets/stylist.webp");
  --cx-hero-height: 91%;
  --cx-tray-height: 96%;
  --cx-shelf-cols: 3;
  padding: 0;
  color: var(--cx-ink);
}

#chuanxu-preview .cx-app {
  display: flex;
  flex-direction: column;
  width: min(100%, 430px);
  border-radius: 18px;
  border: 1px solid #e8e1d9;
  overflow: clip;
  font: 14px/1.5 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--cx-base);
  box-shadow: 0 12px 44px #47382b16;
}
.cx-host #chuanxu-preview .cx-app { min-height: 100dvh; border-radius: 0; }
#chuanxu-preview h2 { font-family: inherit; font-size: 19px; font-weight: 650; letter-spacing: 0; }
#chuanxu-preview .cx-page { padding: 0; min-width: 0; }
#chuanxu-preview .cx-flow { display: flex; flex-direction: column; }
#chuanxu-preview button svg { flex: none; vertical-align: middle; width: 17px; height: 17px; }
#chuanxu-preview .cx-nav {
  position: sticky; bottom: 0; z-index: 6; display: flex; align-items: stretch;
  gap: 0; margin: auto 0 0; padding: 4px 4px max(4px, env(safe-area-inset-bottom));
  background: #fffefaf5; border-top: 1px solid #eae3db; box-shadow: 0 -5px 18px #493c3010;
}
#chuanxu-preview .cx-nav button {
  flex: 1 1 0; min-width: 0; min-height: 50px; padding: 4px 2px;
  display: grid; justify-items: center; align-content: center; gap: 2px;
  border: 0; border-radius: 0; background: transparent; color: #706861; font-size: 11px;
}
#chuanxu-preview .cx-nav button svg { width: 19px; height: 19px; }
#chuanxu-preview .cx-nav button[aria-pressed="true"] { background: transparent; color: var(--cx-primary); font-weight: 700; }
#chuanxu-preview[data-active-page="studio"] .cx-nav,
#chuanxu-preview[data-active-page="bill"] .cx-nav,
#chuanxu-preview[data-active-page="product"] .cx-nav,
#chuanxu-preview[data-active-page="checkout"] .cx-nav,
#chuanxu-preview[data-active-page="order"] .cx-nav { display: none; }

#chuanxu-preview .cx-hero { position: relative; isolation: isolate; padding-bottom: var(--cx-hero-height); background: #dfd0bb; }
#chuanxu-preview .cx-hero-image {
  position: absolute; z-index: -1; inset: 0; background: var(--cx-cover-url) 42% center / cover no-repeat;
}
#chuanxu-preview .cx-hero-body { position: absolute; inset: 0; padding: clamp(22px, 6.6%, 31px) 7%; color: #3c2b20; }
#chuanxu-preview .cx-hero-body p { max-width: 21em; color: #4e3b2d; font-size: 12px; margin-top: 4px; overflow-wrap: anywhere; }
#chuanxu-preview .cx-hero h1 {
  max-width: 100%; margin: 14px 0 0; font: 700 clamp(29px, 7.1vw, 39px)/1.17 "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  letter-spacing: .11em; overflow-wrap: anywhere;
}
#chuanxu-preview .cx-brand { display: flex; align-items: center; gap: 8px; font: 700 17px/1.15 "Songti SC", SimSun, serif; letter-spacing: .19em; }
#chuanxu-preview .cx-seal {
  width: 28px; aspect-ratio: 1; display: grid; place-items: center; flex: none;
  border: 1px solid #8b674e99; outline: 1px solid #8b674e66; outline-offset: -4px;
  border-radius: 9px 10px 9px 10px; color: #7b5a44; background: #fff9ef36;
  font: 600 15px/1 "Songti SC", SimSun, serif; letter-spacing: 0;
}
#chuanxu-preview .cx-hero-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px;
  margin-top: 14px; padding: 6px 12px; border: 1px solid #fff8e8; border-radius: 20px;
  background: #fffaf0e8; color: #463224; font-size: 12px; font-weight: 700; box-shadow: 0 3px 14px #50392413;
}
#chuanxu-preview .cx-hero-action svg { width: 14px; height: 14px; }
#chuanxu-preview .cx-profile {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 11px;
  padding: 16px; background: #fffdf9; border-bottom: 1px solid #f0e9e1;
}
#chuanxu-preview .cx-profile h2 { font-size: 15px; }
#chuanxu-preview .cx-profile p, #chuanxu-preview .cx-profile small { color: var(--cx-muted); font-size: 11px; }
#chuanxu-preview .cx-profile-emblem {
  display: grid; place-items: center; width: 42px; height: 42px; background: #f1e8e1; color: #946d59; border-radius: 50%;
}
#chuanxu-preview .cx-profile button { display: grid; justify-items: center; min-width: 56px; min-height: 44px; border: 0; background: none; }
#chuanxu-preview .cx-profile button strong { font-size: 18px; }
#chuanxu-preview .cx-entry-grid, #chuanxu-preview .cx-idea-grid {
  display: grid; grid-template-columns: repeat(var(--cx-grid-cols, 2), minmax(0, 1fr)); gap: 10px;
}
#chuanxu-preview .cx-entry-grid { padding: 13px 14px 12px; background: #fffdf9; }
#chuanxu-preview .cx-entry {
  display: grid; justify-items: center; align-content: start; gap: 2px; min-width: 0;
  text-align: center; padding: 0 0 6px; border: 0; color: inherit; background: transparent;
}
#chuanxu-preview .cx-entry-image {
  width: 100%; aspect-ratio: 1.27; border-radius: 10px; background-color: #ede2d4;
  background-position: center; background-size: cover;
}
#chuanxu-preview .cx-entry-diy { background-image: var(--cx-diy-url); }
#chuanxu-preview .cx-entry-style { background-image: var(--cx-stylist-url); }
#chuanxu-preview .cx-entry strong { padding-top: 3px; font-size: clamp(15px, 3.6vw, 20px); }
#chuanxu-preview .cx-entry > span:last-child { color: var(--cx-muted); font-size: 11px; }
#chuanxu-preview .cx-quick {
  display: flex; justify-content: space-between; gap: 4px; padding: 12px 14px 14px;
  background: #fffdf9; border-top: 1px solid #f0e9e1;
}
#chuanxu-preview .cx-quick button {
  padding: 1px 3px; flex: 1 1 0; border: 0; background: none; min-width: 0; min-height: 52px;
  display: grid; justify-items: center; align-content: center; gap: 6px; font-size: 11px;
}
#chuanxu-preview .cx-quick button svg {
  height: 34px; width: 34px; padding: 8px; background: #f7ede3; color: #93654c; border-radius: 11px;
}
#chuanxu-preview .cx-featured { padding-bottom: 12px; }
#chuanxu-preview .cx-page-heading { padding: 17px 15px 11px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
#chuanxu-preview .cx-page-heading p { font-size: 12px; color: var(--cx-muted); margin-top: 2px; }
#chuanxu-preview .cx-promo { position: relative; display: grid; padding: 16px; gap: 5px; isolation: isolate; background: #f3e9de; }
#chuanxu-preview .cx-promo img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 8px; }
#chuanxu-preview .cx-promo button { justify-self: start; }
#chuanxu-preview .cx-idea-grid { padding: 0 12px 12px; }
#chuanxu-preview .cx-editorial-card {
  display: grid; min-width: 0; align-content: start; padding: 0; overflow: hidden;
  text-align: start; border: 1px solid #ede8df; border-radius: 11px; background: #fffdf9;
}
#chuanxu-preview .cx-mini-cover {
  display: grid; place-items: center; aspect-ratio: 1.08;
  background: var(--cx-tray-url) center / cover no-repeat #f2ece1; overflow: hidden;
}
#chuanxu-preview .cx-mini-cover img { width: 100%; height: 100%; object-fit: cover; }
#chuanxu-preview .cx-mini-cover .cx-ring { width: 74%; }
#chuanxu-preview .cx-card-info { display: grid; align-items: end; gap: 1px; padding: 8px 9px; }
#chuanxu-preview .cx-card-info b { font-size: 14px; }
#chuanxu-preview .cx-card-info small { font-size: 11px; color: var(--cx-muted); }
#chuanxu-preview .cx-card-info strong { font-size: 13px; color: var(--cx-primary); }
#chuanxu-preview .cx-ideas-filters { padding: 0 13px 12px; }

#chuanxu-preview .cx-workbench { display: block; margin: 0; }
#chuanxu-preview .cx-stage {
  position: relative; display: block; padding: 0; overflow: hidden; border: 0; border-radius: 0;
  background: var(--cx-tray-url) 47% center / cover no-repeat #f4e9da;
}
#chuanxu-preview .cx-stage-head {
  display: flex; justify-content: space-between; align-items: center; gap: 6px; position: absolute;
  z-index: 3; inset: 12px 12px auto; pointer-events: none;
}
#chuanxu-preview .cx-stage-head > * { pointer-events: auto; }
#chuanxu-preview .cx-stage-head .cx-config { display: flex; flex-wrap: nowrap; gap: 5px; margin: 0; }
#chuanxu-preview .cx-stage-head .cx-segment {
  background: #fffffff0; padding: 2px; border: 1px solid #fff7e9; border-radius: 24px; box-shadow: 0 2px 8px #51372814; gap: 1px;
}
#chuanxu-preview .cx-stage-head .cx-segment button {
  display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-height: 35px;
  padding: 2px 8px; border: 0; border-radius: 20px; font-size: 12px; background: transparent; white-space: nowrap;
}
#chuanxu-preview .cx-stage-head .cx-segment button[aria-pressed="true"] { background: #f4eae3; color: #634937; font-weight: 650; }
#chuanxu-preview .cx-stage-head .cx-segment svg { width: 13px; height: 13px; }
#chuanxu-preview .cx-stage-back {
  display: grid; place-items: center; min-width: 40px; min-height: 40px; border: 0;
  background: #fffdf7eb; border-radius: 50%; color: #493829; box-shadow: 0 2px 8px #5b413014;
}
#chuanxu-preview .cx-preview { height: 0; padding-bottom: var(--cx-tray-height); position: relative; margin: 0; }
#chuanxu-preview .cx-stage #cx-preview-3d {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; max-height: none; aspect-ratio: auto; z-index: 1;
}
#chuanxu-preview .cx-stage-signature {
  display: grid; justify-items: center; gap: 2px; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -45%);
  z-index: 0; text-shadow: 0 1px #fff4e8; pointer-events: none; color: #75543b;
}
#chuanxu-preview .cx-stage-signature .cx-seal { width: 23px; }
#chuanxu-preview .cx-stage-signature strong { font: 600 19px "Noto Serif SC", "Songti SC", SimSun, serif; letter-spacing: .23em; padding-left: .23em; }
#chuanxu-preview .cx-stage-signature small { font: 600 8px/1.2 system-ui, sans-serif; letter-spacing: .14em; }
#chuanxu-preview .cx-stage-caption {
  pointer-events: none; position: absolute; inset: auto 0 8px; display: flex; justify-content: center; gap: 6px;
  color: #533e30; text-shadow: 0 1px #fff7e8; z-index: 2; font-size: 11px;
}
#chuanxu-preview .cx-preview-action {
  bottom: 14px; z-index: 3; min-height: 45px; min-width: 46px; padding: 3px 4px; gap: 1px;
  background: #fffef7f5; border-color: #fff8ee; color: #5a4436; border-radius: 15px;
}
#chuanxu-preview .cx-preview-action:disabled { opacity: .82; }
#chuanxu-preview .cx-undo-preview { left: 12px; }
#chuanxu-preview .cx-trash { right: 12px; }
#chuanxu-preview .cx-camera {
  position: absolute; z-index: 3; left: 50%; bottom: 27px; translate: -50%; justify-content: center; white-space: nowrap;
  padding: 1px 2px; gap: 1px; background: #fffaf1e8; border-radius: 19px;
}
#chuanxu-preview .cx-camera button {
  min-height: 39px; border: 0; padding: 2px 7px; border-radius: 19px; font-size: 11px; background: transparent;
}
#chuanxu-preview .cx-camera button[aria-pressed="true"] { background: #f0e5d7; color: #503724; }
#chuanxu-preview .cx-model-button {
  display: block; width: 100%; min-height: 40px; padding: 4px 12px;
  background: #fff8eb; color: #775642; border-top: 1px solid #ece0d1; font-size: 12px;
}
#chuanxu-preview .cx-strands { margin: 0; padding: 1px 10px; justify-content: center; background: #fff9ec; }
#chuanxu-preview .cx-toolbox {
  display: flex; align-items: stretch; justify-content: center; gap: 4px; padding: 6px 8px; background: #fffefa;
  border-bottom: 1px solid #ece6df;
}
#chuanxu-preview .cx-toolbox:empty { display: none; }
#chuanxu-preview .cx-toolbox button {
  flex: 1 1 0; min-height: 43px; min-width: 0; display: grid; justify-items: center; align-content: center; gap: 1px;
  border: 1px solid #ece6df; border-radius: 9px; padding: 2px 3px;
  background: #fffefa; color: #494239; font-size: 11px; line-height: 1.3;
}
#chuanxu-preview .cx-toolbox button[data-tool="save"] { color: var(--cx-primary); background: #f8eef1; border-color: #f1e6e9; }
#chuanxu-preview .cx-toolbox button svg { height: 15px; width: 15px; }
#chuanxu-preview .cx-palette { display: block; padding: 0; margin: 0; }
#chuanxu-preview .cx-library-tools {
  margin: 0; padding: 0 4px 0 0; display: flex; justify-content: space-between; align-items: stretch; gap: 1px;
  background: #fffefa; border: 0; border-bottom: 1px solid var(--cx-seam);
}
#chuanxu-preview .cx-category-tabs { flex: 1; gap: 0; display: flex; align-items: stretch; min-width: 0; overflow-x: auto; scrollbar-width: none; }
#chuanxu-preview .cx-category-tabs button {
  flex: 1 0 auto; display: grid; place-items: center; position: relative; min-height: 45px;
  white-space: nowrap; padding: 0 6px; border: 0; border-radius: 0; background: transparent; font-size: 12px;
}
#chuanxu-preview .cx-category-tabs button[aria-pressed="true"] { background: transparent; color: var(--cx-primary); font-weight: 700; }
#chuanxu-preview .cx-category-tabs button[aria-pressed="true"]::after {
  content: ""; position: absolute; bottom: 0; inset-inline: 34%; height: 2px; border-radius: 2px; background: var(--cx-primary);
}
#chuanxu-preview .cx-search-trigger {
  width: 44px; min-height: 45px; display: grid; place-items: center; flex: none;
  border: 0; color: #8c6548; background: #fffefa;
}
#chuanxu-preview .cx-search-tools { margin: 0; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--cx-seam); border-radius: 0; background: #fffefa; }
#chuanxu-preview #cx-palette-context { font-size: 11px; margin: 0; background: #faf7f1; color: var(--cx-muted); padding: 4px 8px; }
#chuanxu-preview #cx-palette-context[data-condensed] { /* Keep context available to assistive technology. */
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
#chuanxu-preview .cx-catalog {
  display: grid; grid-template-columns: clamp(64px, 20.8%, 83px) minmax(0, 1fr); gap: 0; background: #f4f1ed; margin: 0; padding: 0;
}
#chuanxu-preview .cx-subcategories {
  display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0;
  border: 0; border-right: 1px solid #ede7e0; border-radius: 0; background: #f6f3ef;
}
#chuanxu-preview .cx-subcategories button {
  min-height: 44px; display: grid; place-items: center; text-align: center; padding: 2px 4px;
  border: 0; border-left: 2px solid transparent; border-radius: 0; background: transparent; color: #61564d; font-size: 11px;
}
#chuanxu-preview .cx-subcategories button[aria-pressed="true"] {
  border-left-color: #ae7b49; color: #79502e; background: #fffefa; font-weight: 650;
}
#chuanxu-preview .cx-catalog-results { padding: 6px; }
#chuanxu-preview .cx-catalog .cx-materials, #chuanxu-preview .cx-models {
  grid-template-columns: repeat(var(--cx-shelf-cols), minmax(0, 1fr)); gap: 5px; align-content: start;
}
#chuanxu-preview .cx-catalog .cx-material, #chuanxu-preview .cx-catalog .cx-model-tile {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; position: relative;
  padding: 5px 3px 7px; min-height: 103px; min-width: 0; gap: 2px; margin: 0; border-radius: 8px;
  background: #fffdfa; border: 1px solid #ede8df; text-align: center;
}
#chuanxu-preview .cx-catalog .cx-material .cx-stone { width: min(66%, 47px); aspect-ratio: 1; grid-row: auto; margin-top: 7px; }
#chuanxu-preview .cx-catalog .cx-model-tile .cx-watch-icon { width: min(60%, 43px); height: auto; margin-top: 4px; }
#chuanxu-preview .cx-catalog .cx-material-copy, #chuanxu-preview .cx-catalog .cx-model-tile > span {
  display: grid; min-width: 0; width: 100%; justify-items: center; grid-column: auto; grid-row: auto; gap: 0;
}
#chuanxu-preview .cx-material-copy > span, #chuanxu-preview .cx-model-tile span > span {
  display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px;
}
#chuanxu-preview .cx-model-tile small { font-size: 9px; }
#chuanxu-preview .cx-catalog .cx-material .cx-material-story { display: none; }
#chuanxu-preview .cx-catalog .cx-material-spec, #chuanxu-preview .cx-catalog .cx-model-tile strong {
  font-size: 12px; color: var(--cx-primary); font-weight: 700; white-space: nowrap;
}
#chuanxu-preview .cx-catalog .cx-material-count, #chuanxu-preview .cx-material-size {
  position: absolute; top: 0; right: 0; padding: 0 3px; max-width: 100%; font-size: 9px; line-height: 1.4;
}
#chuanxu-preview .cx-material-size { background: #a77137; border-radius: 0 7px 0 5px; color: #fff; font-weight: 650; }
#chuanxu-preview .cx-catalog .cx-material-count { top: 38px; right: 3px; max-width: none; white-space: nowrap; color: #896229; background: #f5edda; border-radius: 4px; }
#chuanxu-preview .cx-catalog .cx-material-count:empty { display: none; }

#chuanxu-preview .cx-fitbar {
  display: grid; grid-template-columns: .86fr .96fr 1fr minmax(65px, 1.1fr); align-items: center; gap: 3px;
  position: sticky; bottom: 0; z-index: 5; margin: 0; padding: 5px 9px max(5px, env(safe-area-inset-bottom)); min-height: 57px;
  background: #fffefaf5; border-top: 1px solid #e9e0d8; box-shadow: 0 -6px 17px #3a2b2110; text-align: center;
}
#chuanxu-preview .cx-fitbar small { display: block; font-size: 10px; color: var(--cx-muted); }
#chuanxu-preview .cx-fitbar strong { display: block; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
#chuanxu-preview .cx-fitbar > strong { color: var(--cx-primary); font-size: 17px; letter-spacing: -.03em; }
#chuanxu-preview .cx-fitbar [data-open-sheet] { min-height: 44px; border: 0; border-right: 1px solid #f0ebe5; background: none; color: var(--cx-primary); }
#chuanxu-preview .cx-finish { min-height: 44px; border: 0; border-radius: 24px; background: var(--cx-primary); color: #fff; font-weight: 700; }

#chuanxu-preview .cx-sheet {
  width: min(100% - 24px, 410px); max-height: min(82dvh, 660px); padding: 14px;
  margin: auto auto 12px; overflow: auto; border: 1px solid #e5dad0; border-radius: 18px; background: #fffdfa; color: var(--cx-ink);
}
#chuanxu-preview .cx-sheet::backdrop { background: #30251e69; }
#chuanxu-preview .cx-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
#chuanxu-preview .cx-sheet-head button { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 2px; border: 0; border-radius: 50%; background: #f5eee7; }
#chuanxu-preview .cx-sheet .cx-spec, #chuanxu-preview .cx-sheet .cx-layout-panel, #chuanxu-preview .cx-sheet .cx-pieces { display: block; margin: 0; padding: 0; background: transparent; border: 0; }
#chuanxu-preview .cx-sheet .cx-fields { margin: 3px 0 8px; }
#chuanxu-preview .cx-sheet .cx-pieces select { min-width: 0; max-width: 100%; }
#chuanxu-preview .cx-matching > .cx-primary { margin-top: 10px; }
#chuanxu-preview .cx-toast {
  position: fixed; z-index: 10; bottom: 66px; left: 50%; translate: -50%; width: max-content; max-width: min(92%, 384px);
  padding: 9px 13px; color: #fff; background: #46352be8; border-radius: 9px; font-size: 12px;
}
#chuanxu-preview .cx-page-top { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 12px; background: #fffdfa; border-bottom: 1px solid var(--cx-seam); }
#chuanxu-preview .cx-back { display: inline-flex; align-items: center; min-height: 42px; gap: 2px; border: 0; background: none; color: var(--cx-primary); }
#chuanxu-preview .cx-product-head { display: block; margin: 0; padding: 0 0 10px; gap: 0; background: #fffdfa; }
#chuanxu-preview .cx-product-cover { display: grid; place-items: center; height: min(72vw, 314px); min-height: 205px; background: var(--cx-tray-url) center / cover no-repeat #f4e9dc; }
#chuanxu-preview .cx-product-cover img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
#chuanxu-preview .cx-product-head .cx-ring { width: min(74%, 242px); }
#chuanxu-preview .cx-product-intro { display: flex; justify-content: space-between; gap: 10px; align-items: start; padding: 13px 14px 3px; }
#chuanxu-preview #cx-product-author { padding: 0 14px; font-size: 12px; color: var(--cx-muted); }
#chuanxu-preview .cx-product-stats { margin: 0; padding: 12px 13px; border-radius: 0; background: #f6eee8; border: 0; }
#chuanxu-preview .cx-product-stats div { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3px; }
#chuanxu-preview .cx-product-stats svg { width: 15px; height: 15px; color: var(--cx-primary); }
#chuanxu-preview .cx-product-story { padding: 13px 14px; }
#chuanxu-preview .cx-product-story h2 { font-size: 15px; margin-bottom: 5px; }
#chuanxu-preview #cx-product-description { margin: 0; padding: 0; color: var(--cx-muted); overflow-wrap: anywhere; }
#chuanxu-preview .cx-product-buttons { padding: 10px 12px; background: #fffdfa; border-top: 1px solid var(--cx-seam); margin: 0; }
#chuanxu-preview .cx-product-buttons button { flex: 1; min-height: 45px; }
#chuanxu-preview [data-page="bill"] > :not(.cx-page-top) { margin-inline: 13px; }
#chuanxu-preview .cx-bill-head { padding-top: 10px; }
#chuanxu-preview .cx-bill-table { width: calc(100% - 26px); }
#chuanxu-preview .cx-bill-actions { display: grid; gap: 7px; margin-block: 15px; }
#chuanxu-preview .cx-bill-actions button { min-height: 44px; }
#chuanxu-preview .cx-account-block { margin: 0 12px 10px; padding: 12px; background: #fffdfa; border: 1px solid var(--cx-seam); border-radius: 10px; }
#chuanxu-preview .cx-account-block h2 { font-size: 15px; margin-bottom: 5px; }
#chuanxu-preview .cx-account-block p { font-size: 12px; color: var(--cx-muted); }
#chuanxu-preview .cx-saved-row { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 4px; background: none; border: 0; border-top: 1px solid #f1eae2; }
#chuanxu-preview .cx-saved-row small { color: var(--cx-muted); white-space: nowrap; }
#chuanxu-preview .cx-stone[data-photo] { background-position: center !important; background-size: contain !important; background-repeat: no-repeat; }

#chuanxu-preview .cx-account-orders {
  display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 39px; padding: 3px 1px;
  border: 0; background: transparent; color: var(--cx-primary); font-weight: 650;
}
#chuanxu-preview .cx-order-flow { display: grid; gap: 9px; padding: 10px 12px 12px; min-width: 0; }
#chuanxu-preview [data-page="checkout"], #chuanxu-preview #cx-checkout { flex: 1; display: flex; flex-direction: column; }
#chuanxu-preview .cx-order-panel {
  min-width: 0; padding: 12px; display: grid; gap: 5px; border: 1px solid var(--cx-seam);
  border-radius: 11px; background: #fffdfa; overflow-wrap: anywhere;
}
#chuanxu-preview .cx-order-panel h2 { font-size: 15px; }
#chuanxu-preview .cx-order-panel p, #chuanxu-preview .cx-order-panel small { font-size: 12px; color: var(--cx-muted); }
#chuanxu-preview .cx-order-summary { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
#chuanxu-preview .cx-order-summary > * { min-width: 0; }
#chuanxu-preview .cx-order-summary label { width: 67px; flex: none; }
#chuanxu-preview .cx-delivery-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 3px; }
#chuanxu-preview .cx-order-wide { grid-column: 1 / -1; }
#chuanxu-preview .cx-order-flow label { display: grid; align-content: start; gap: 4px; font-size: 12px; }
#chuanxu-preview .cx-order-flow input:not([type="radio"]), #chuanxu-preview .cx-order-flow textarea {
  width: 100%; min-width: 0; min-height: 43px; border-radius: 8px; border: 1px solid #e8dfd5;
  background: white; color: var(--cx-ink); padding: 7px 8px; font: 16px/1.35 system-ui, sans-serif;
}
#chuanxu-preview #cx-methods { display: grid; gap: 7px; }
#chuanxu-preview .cx-order-flow label.cx-payment-method {
  display: grid; grid-template-columns: auto 1fr; gap: 7px; min-height: 45px; align-items: center;
  padding: 7px; border: 1px solid var(--cx-seam); border-radius: 8px; background: #faf5ee;
}
#chuanxu-preview .cx-payment-method input { accent-color: var(--cx-primary); width: 15px; height: 15px; margin: 0 4px; }
#chuanxu-preview .cx-payment-method span { display: grid; gap: 2px; }
#chuanxu-preview .cx-payment-method strong { font-size: 13px; }
#chuanxu-preview .cx-checkout-submit {
  position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 6px 12px max(6px, env(safe-area-inset-bottom)); margin: auto -12px -12px;
  border-top: 1px solid var(--cx-seam); background: #fffdfaf6; box-shadow: 0 -4px 16px #3a292012;
}
#chuanxu-preview .cx-checkout-submit div { display: grid; }
#chuanxu-preview .cx-checkout-submit small { color: var(--cx-muted); font-size: 11px; }
#chuanxu-preview .cx-checkout-submit strong { color: var(--cx-primary); font-size: 20px; }
#chuanxu-preview .cx-checkout-submit button { min-height: 43px; padding-inline: 19px; border-radius: 20px; }
#chuanxu-preview .cx-order-error { padding: 7px 9px; color: #95404d; background: #f9edf0; border-radius: 7px; font-size: 12px; }
#chuanxu-preview .cx-order-tabs { display: flex; gap: 3px; overflow: auto; padding: 5px 8px; background: #fffefa; border-bottom: 1px solid var(--cx-seam); }
#chuanxu-preview .cx-order-tabs button {
  flex: 1 0 auto; min-height: 42px; padding: 3px 5px; background: none; border: 0; border-bottom: 2px solid transparent; font-size: 12px;
}
#chuanxu-preview .cx-order-tabs button[aria-pressed="true"] { color: var(--cx-primary); border-bottom-color: var(--cx-primary); }
#chuanxu-preview .cx-order-list-item { text-align: start; color: var(--cx-ink); }
#chuanxu-preview .cx-order-list-item .cx-order-summary:first-child { padding-bottom: 4px; }
#chuanxu-preview .cx-order-list-item small { font-size: 10px; }
#chuanxu-preview .cx-order-badge { padding: 1px 6px; border-radius: 10px; background: #f7edf1; color: var(--cx-primary); font-size: 11px; white-space: nowrap; }
#chuanxu-preview .cx-order-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 4px 10px 12px; font-size: 12px; }
#chuanxu-preview .cx-order-reload { margin-left: auto; min-height: 43px; }
#chuanxu-preview .cx-order-state { background: #f7eaf1; }
#chuanxu-preview .cx-order-state h2 { font-size: 21px; }
#chuanxu-preview .cx-order-state .cx-order-summary strong { font-size: 18px; color: var(--cx-primary); }
#chuanxu-preview .cx-order-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
#chuanxu-preview .cx-order-actions button { min-height: 40px; }
#chuanxu-preview .cx-order-actions details { width: 100%; }
#chuanxu-preview .cx-order-actions summary { min-height: 33px; cursor: pointer; }
#chuanxu-preview .cx-order-actions form { padding: 4px 0 0; }
#chuanxu-preview .cx-payment-qr { justify-items: center; }
#chuanxu-preview .cx-payment-qr img { width: min(100%, 210px); }
#chuanxu-preview .cx-order-timeline { margin: 2px 0 0; padding: 0; list-style-type: none; }
#chuanxu-preview .cx-order-timeline li { position: relative; display: grid; gap: 2px; grid-template-columns: 1fr auto; border-left: 1px solid #e6d6de; padding: 3px 0 9px 12px; margin-left: 3px; }
#chuanxu-preview .cx-order-timeline li::before { content: ""; position: absolute; left: -4px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: #a77792; }
#chuanxu-preview .cx-order-timeline li time { font-size: 11px; color: var(--cx-muted); }
#chuanxu-preview .cx-order-timeline li small { grid-column: 1 / -1; }

@media (max-width: 450px) {
  #chuanxu-preview .cx-app { border-radius: 0; border-inline: 0; }
}
@media (max-width: 350px) {
  #chuanxu-preview .cx-category-tabs button { font-size: 11px; padding-inline: 5px; }
  #chuanxu-preview .cx-stage-head { inset-inline: 8px; }
  #chuanxu-preview .cx-fitbar { padding-inline: 5px; }
  #chuanxu-preview .cx-fitbar > strong { font-size: 15px; }
}
@media (pointer: coarse) {
  #chuanxu-preview .cx-stage-head .cx-segment button,
  #chuanxu-preview .cx-stage-back,
  #chuanxu-preview .cx-camera button { min-height: 44px; }
}
