:root {
  --cu-bg: #2a2420;
  --cu-card: #f4efe6;
  --cu-ink: #3a2f28;
  --cu-muted: #8a7d72;
  --cu-orange: #e88a3c;
  --cu-orange-deep: #db7a2c;
  --cu-line: #d9d0c4;
  --cu-cream: #f7f2ea;
  --cu-side: #f3eee6;
  --cu-side-line: #e4ddd2;
  --cu-chip: #eceff3;
  --cu-save: #4a4f57;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scrollbar-width: thin;
  scrollbar-color: #c9a66a rgba(255, 255, 255, 0.08);
}
html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
html::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}
html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e0c08a, #c9a66a);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f0b86a, #e07a2f);
  border: 2px solid transparent;
  background-clip: padding-box;
}
html::-webkit-scrollbar-corner {
  background: transparent;
}
/* 客户端壳层（奶油底） */
html:has(.cu-app:not([hidden])) {
  scrollbar-color: #dcb888 #f0ebe3;
}
html:has(.cu-app:not([hidden]))::-webkit-scrollbar-track {
  background: #f0ebe3;
}
html:has(.cu-app:not([hidden]))::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e8c89a, #d4a56a);
  border: 2px solid #f0ebe3;
  background-clip: padding-box;
}
html:has(.cu-app:not([hidden]))::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f0b86a, #e07a2f);
  border: 2px solid #f0ebe3;
  background-clip: padding-box;
}
html:has(.cu-app:not([hidden]))::-webkit-scrollbar-corner {
  background: #f0ebe3;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito Sans", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--cu-bg);
  color: var(--cu-ink);
}

/* 奶油金滚动条（页面内滚动区复用） */
.cu-scroll,
.cu-tags,
.cu-plaza-dropdown,
.cu-plaza-similar-tip-body,
.cu-viewer-side,
.cu-modal-body {
  scrollbar-width: thin;
  scrollbar-color: #dcb888 transparent;
}
.cu-scroll::-webkit-scrollbar,
.cu-tags::-webkit-scrollbar,
.cu-plaza-dropdown::-webkit-scrollbar,
.cu-plaza-similar-tip-body::-webkit-scrollbar,
.cu-viewer-side::-webkit-scrollbar,
.cu-modal-body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.cu-scroll::-webkit-scrollbar-track,
.cu-tags::-webkit-scrollbar-track,
.cu-plaza-dropdown::-webkit-scrollbar-track,
.cu-plaza-similar-tip-body::-webkit-scrollbar-track,
.cu-viewer-side::-webkit-scrollbar-track,
.cu-modal-body::-webkit-scrollbar-track {
  background: rgba(180, 150, 110, 0.1);
  border-radius: 999px;
}
.cu-scroll::-webkit-scrollbar-thumb,
.cu-tags::-webkit-scrollbar-thumb,
.cu-plaza-dropdown::-webkit-scrollbar-thumb,
.cu-plaza-similar-tip-body::-webkit-scrollbar-thumb,
.cu-viewer-side::-webkit-scrollbar-thumb,
.cu-modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e8c89a, #d4a56a);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 1px 3px rgba(120, 80, 40, 0.1);
}
.cu-scroll::-webkit-scrollbar-thumb:hover,
.cu-tags::-webkit-scrollbar-thumb:hover,
.cu-plaza-dropdown::-webkit-scrollbar-thumb:hover,
.cu-plaza-similar-tip-body::-webkit-scrollbar-thumb:hover,
.cu-viewer-side::-webkit-scrollbar-thumb:hover,
.cu-modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f0b86a, #e07a2f);
}

/* —— 登录 / 注册 —— */
.cu-auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(232, 138, 60, 0.18), transparent 50%),
    linear-gradient(160deg, #3a322c, #1f1a17 60%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.cu-auth[data-auth-mode="landing"] {
  place-items: stretch;
  padding: 0;
  /* 默认背景与经典卡片相同（深色渐变）；自定义走 data-auth-bg */
  color: #f3f3f3;
}
.cu-auth[data-auth-bg="color"],
.cu-auth[data-auth-mode="landing"][data-auth-bg="color"] {
  background: var(--cu-auth-bg-color, #1f1a17);
}
.cu-auth[data-auth-bg="image"],
.cu-auth[data-auth-mode="landing"][data-auth-bg="image"] {
  background-color: var(--cu-auth-bg-color, #1f1a17);
  background-image: var(--cu-auth-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cu-auth-forms {
  position: relative;
  z-index: 5;
  width: min(420px, 100%);
}
.cu-auth[data-auth-mode="landing"] .cu-auth-forms {
  display: none;
  place-items: center;
  position: fixed;
  inset: 0;
  width: auto;
  z-index: 40;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}
.cu-auth[data-auth-mode="landing"].is-form-open .cu-auth-forms {
  display: grid;
}
.cu-auth-forms-panel {
  position: relative;
  width: min(420px, 100%);
}
.cu-auth-forms-close {
  display: none;
}
.cu-auth[data-auth-mode="landing"] .cu-auth-forms-close {
  display: grid;
  place-items: center;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(40, 32, 26, 0.08);
  color: #5a4a3e;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}
.cu-auth[data-auth-mode="landing"] .cu-auth-forms-close:hover {
  background: rgba(40, 32, 26, 0.14);
  color: #2a221c;
}
.cu-card {
  width: min(420px, 100%);
  background: var(--cu-card);
  border-radius: 18px;
  padding: 28px 28px 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.cu-auth-forms-panel .cu-card {
  width: 100%;
}

/* —— 落地拼贴登录页 —— */
.cu-auth-landing {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 24px 48px 28px;
  box-sizing: border-box;
  gap: 12px;
}
.cu-landing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cu-landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.cu-landing-logo,
.cu-landing-logo-fallback {
  width: auto;
  height: 48px;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.cu-landing-logo-fallback {
  width: 48px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 10%, transparent 11%),
    linear-gradient(135deg, #f0c14b, #c9891a);
}
.cu-landing-logo[hidden],
.cu-landing-logo-fallback[hidden] { display: none !important; }
.cu-landing-brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}
.cu-landing-top-login {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
}
.cu-landing-top-login:hover {
  background: rgba(255, 255, 255, 0.08);
}
.cu-landing-main {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  min-height: 0;
}
.cu-landing-left {
  display: grid;
  gap: 22px;
  align-content: center;
}
.cu-landing-title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.cu-landing-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cu-landing-cta {
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}
.cu-landing-cta.primary {
  background: #f18a2b;
  color: #fff;
  border-color: #f18a2b;
}
.cu-landing-cta.primary:hover { filter: brightness(1.06); }
.cu-landing-cta.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.cu-landing-cta.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}
.cu-landing-desc {
  margin: 0;
  max-width: 26em;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}
.cu-landing-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 12;
  min-height: 320px;
  max-height: min(68vh, 640px);
}
.cu-landing-tile {
  position: absolute;
  overflow: hidden;
  border-radius: 14px;
  background: #161616;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.cu-landing-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cu-landing-tile.is-empty {
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 55%),
    #121212;
}
.cu-landing-steps {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  letter-spacing: 0.08em;
}
@media (max-width: 980px) {
  .cu-auth-landing { padding: 20px 20px 24px; }
  .cu-landing-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cu-landing-collage {
    order: -1;
    max-height: 42vh;
    min-height: 220px;
  }
}
@media (max-width: 560px) {
  .cu-landing-brand-name { display: none; }
  .cu-landing-title { font-size: 26px; }
  .cu-landing-tile { border-radius: 10px; }
}
.cu-brand { text-align: center; margin-bottom: 8px; }
.cu-logo {
  width: 52px; height: 52px; margin: 0 auto 8px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 8%, transparent 9%),
    linear-gradient(135deg, #c9a227, #8b6914);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
}
.cu-brand-name {
  letter-spacing: 0.12em;
  font-size: 12px;
  color: #6b5b4e;
  font-family: Georgia, "Times New Roman", serif;
}
.cu-card h1 {
  margin: 10px 0 18px;
  text-align: center;
  font-size: 28px;
  color: #4a382e;
  font-weight: 700;
}
.cu-form { display: grid; gap: 12px; }
.cu-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: #5c4c40;
}
.cu-form input:not([type=checkbox]),
.cu-input {
  width: 100%;
  border: 1px solid var(--cu-line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
  color: var(--cu-ink);
}
.cu-pass-wrap, .cu-email-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cu-pass-wrap input, .cu-email-wrap input { flex: 1; }
.cu-pass-wrap.cu-input-box {
  position: relative;
  display: block;
  border: 1px solid var(--cu-line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.cu-pass-wrap.cu-input-box:focus-within {
  border-color: rgba(232, 140, 58, 0.75);
  box-shadow: 0 0 0 3px rgba(232, 140, 58, 0.12);
}
.cu-pass-wrap.cu-input-box input {
  width: 100%;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  padding: 10px 42px 10px 12px;
  box-shadow: none !important;
  outline: none;
}
.cu-eye {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #8a7d72;
  opacity: 0.78;
  display: inline-grid;
  place-items: center;
  padding: 0;
  line-height: 0;
  transition: color 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}
.cu-pass-wrap.cu-input-box .cu-eye {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.cu-eye:hover {
  opacity: 1;
  color: #5c4c40;
  background: rgba(0, 0, 0, 0.04);
}
.cu-eye svg {
  display: block;
  pointer-events: none;
}
.cu-eye .cu-eye-open { display: none; }
.cu-eye.is-on .cu-eye-closed { display: none; }
.cu-eye.is-on .cu-eye-open { display: block; }
.cu-eye.is-on {
  color: var(--cu-orange);
  opacity: 1;
}
.cu-btn-orange {
  border: 0;
  background: var(--cu-orange);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  white-space: nowrap;
}
.cu-btn-orange:hover { filter: brightness(1.05); }
.cu-btn-block { width: 100%; padding: 12px; font-size: 16px; margin-top: 4px; }
.cu-agree {
  display: flex !important;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px !important;
  color: var(--cu-muted);
}
.cu-agree a {
  color: #2f6fed;
  text-decoration: none;
  cursor: pointer;
}
.cu-agree a:hover { text-decoration: underline; }
.cu-hint { margin: 0; font-size: 11px; color: #9a8d82; line-height: 1.45; }
.cu-protocol-box {
  width: min(720px, calc(100vw - 28px));
  max-height: min(88vh, 860px);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(212, 176, 106, 0.18), transparent 48%),
    radial-gradient(ellipse at 100% 100%, rgba(180, 140, 90, 0.08), transparent 42%),
    #f7f2ea;
  border: 1px solid rgba(180, 140, 90, 0.28);
  box-shadow: 0 28px 64px rgba(40, 28, 14, 0.28);
}
.cu-protocol-ornament {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4b06a, transparent);
  opacity: 0.9;
  pointer-events: none;
}
.cu-protocol-head {
  align-items: flex-start;
  padding-top: 22px;
  border-bottom: 1px solid rgba(180, 140, 90, 0.16);
}
.cu-protocol-head-main { min-width: 0; flex: 1; }
.cu-protocol-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a89878;
  font-weight: 700;
}
.cu-protocol-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 750;
  color: #3f3226;
  letter-spacing: 0.02em;
}
.cu-protocol-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 20px 24px 8px;
  color: #4a3b31;
  font-size: 14px;
  line-height: 1.8;
}
.cu-protocol-body h2 {
  margin: 1em 0 0.4em;
  font-size: 1.2em;
  color: #5a4632;
}
.cu-protocol-body h3 {
  margin: 0.9em 0 0.35em;
  font-size: 1.05em;
  color: #6a5340;
}
.cu-protocol-body p { margin: 0 0 0.85em; }
.cu-protocol-body ul,
.cu-protocol-body ol {
  margin: 0 0 0.85em;
  padding-left: 1.35em;
}
.cu-protocol-body a { color: #9a6f2e; }
.cu-protocol-empty {
  margin: 24px 0;
  text-align: center;
  color: #9a8d82;
}
.cu-protocol-foot {
  border-top: 1px solid rgba(180, 140, 90, 0.16);
  justify-content: center;
  padding: 14px 20px 18px;
}
.cu-protocol-foot .cu-btn-save {
  min-width: 140px;
}
.cu-switch { text-align: center; margin: 16px 0 0; color: #6b5b4e; font-size: 14px; }
.cu-switch a { color: #2f6fed; text-decoration: none; font-weight: 600; }

/* —— 客户端壳层 —— */
.cu-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 56px 1fr;
  background: var(--cu-cream);
  color: #5a4638;
}
.cu-side {
  background: transparent;
  border-right: 1px solid var(--cu-side-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 28px;
  gap: 28px;
}
.cu-side-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1b1b1b;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.14);
}
.cu-side-mark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 12%, transparent 13%),
    linear-gradient(145deg, #f0d58a, #b8860b 55%, #6b4e10);
}
.cu-side-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  align-items: center;
}
.cu-side-nav button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #9a8f84;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .18s ease;
}
.cu-side-nav button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cu-side-nav button:hover { color: var(--cu-orange-deep); }
.cu-side-nav button.on { color: var(--cu-orange); }

/* —— 作品广场 —— */
.cu-plaza {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 28px;
}
.cu-plaza-search-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}
.cu-plaza-bar-wrap {
  width: min(920px, calc(100% - 132px));
  flex: 1 1 560px;
  max-width: 920px;
  margin: 0;
}
.cu-plaza-similar-wrap {
  position: relative;
  flex: 0 0 auto;
  z-index: 8;
}
.cu-plaza-similar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #e8dccb;
  box-shadow: 0 10px 28px rgba(120, 80, 40, 0.06);
  color: #6a5748;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.cu-plaza-similar:hover,
.cu-plaza-similar-wrap:hover .cu-plaza-similar {
  border-color: #f2a04a;
  color: #c36a1e;
}
.cu-plaza-similar:has(input:checked) {
  border-color: #e07a2f;
  background: linear-gradient(180deg, #fff8f0, #fff);
  color: #c36a1e;
  box-shadow: 0 10px 24px rgba(224, 122, 47, 0.12);
}
.cu-plaza-similar input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cu-plaza-similar-mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid #d7c8b6;
  background: #fff;
  position: relative;
  flex: 0 0 auto;
  transition: .15s ease;
}
.cu-plaza-similar:has(input:checked) .cu-plaza-similar-mark {
  border-color: #e07a2f;
  background: #e07a2f;
}
.cu-plaza-similar:has(input:checked) .cu-plaza-similar-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(40deg);
}
.cu-plaza-similar-dot {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(145deg, #f2a04a, #e07a2f);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.cu-plaza-similar-dot[hidden] { display: none !important; }
.cu-plaza-similar-tip {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
  width: min(360px, 78vw);
  padding: 14px 16px 12px;
  border-radius: 16px;
  border: 1px solid rgba(224, 122, 47, 0.22);
  background: linear-gradient(165deg, #fffdf9, #fff8f0);
  box-shadow: 0 18px 40px rgba(80, 50, 20, 0.16);
}
.cu-plaza-similar-wrap:hover .cu-plaza-similar-tip:not([hidden]),
.cu-plaza-similar-tip.is-open { display: block; }
.cu-plaza-similar-tip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 12px;
}
.cu-plaza-similar-tip-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.cu-plaza-similar-kicker {
  margin: 0 0 2px;
  font-size: 11px;
  color: #c36a1e;
  letter-spacing: 0.08em;
}
.cu-plaza-similar-tip-head strong {
  font-size: 15px;
  color: #3d2f26;
}
.cu-plaza-similar-tip-head span {
  font-size: 12px;
  color: #a39486;
  font-weight: 700;
}
.cu-plaza-similar-desc {
  margin: 0 0 10px;
  font-size: 12px;
  color: #8a7a6c;
  line-height: 1.45;
}
.cu-plaza-similar-tip-body {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 160px;
  overflow: auto;
}
.cu-plaza-similar-tip-body .chip {
  border: 1px solid #e8dccb;
  background: #fff;
  color: #6a5748;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}
.cu-plaza-similar-tip-empty {
  margin: 0;
  font-size: 12px;
  color: #b3a79b;
}
.cu-plaza-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #e8dccb;
  box-shadow: 0 10px 28px rgba(120, 80, 40, 0.06);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.cu-plaza-bar-wrap.is-drag .cu-plaza-bar,
.cu-plaza-bar:focus-within {
  border-color: #f2a04a;
  box-shadow: 0 12px 30px rgba(242, 140, 40, 0.12);
}
.cu-plaza-bar-wrap.is-listening .cu-plaza-bar {
  border-color: #e07a2f;
  box-shadow: 0 12px 30px rgba(224, 122, 47, 0.16);
}
.cu-plaza-voice-hint {
  flex: 0 0 auto;
  display: none;
  align-items: center;
  gap: 6px;
  margin-right: 2px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(224, 122, 47, 0.12);
  color: #c56a1f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.cu-plaza-bar-wrap.is-listening .cu-plaza-voice-hint {
  display: inline-flex;
}
.cu-plaza-voice-hint i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e07a2f;
  animation: cu-mic-dot 1s ease-in-out infinite;
}
@keyframes cu-mic-dot {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}
.cu-plaza-query {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cu-plaza-thumb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #efe8de;
  cursor: zoom-in;
}
.cu-plaza-thumb[hidden] { display: none !important; }
.cu-plaza-thumb-rm {
  position: absolute;
  left: 26px;
  top: -2px;
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(40, 30, 24, 0.78);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.cu-plaza-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #4a3b31;
  font-size: 15px;
  padding: 8px 0;
}
.cu-plaza-input::placeholder { color: #b3a79b; }
.cu-plaza-text-rm {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  margin-right: 0;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: #8a7a6c;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.cu-plaza-text-rm[hidden] { display: none !important; }
.cu-plaza-text-rm:hover {
  color: var(--cu-orange-deep);
  background: rgba(242, 140, 40, 0.08);
}
.cu-plaza-text-rm svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.cu-plaza-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}
.cu-plaza-ico {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8a7a6c;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cu-plaza-ico:hover { color: var(--cu-orange-deep); background: rgba(242, 140, 40, 0.08); }
.cu-plaza-ico.is-listening {
  color: #fff;
  background: linear-gradient(135deg, #f0a35a, #e07a2f);
  box-shadow: 0 0 0 0 rgba(224, 122, 47, 0.45);
  animation: cu-mic-pulse 1.2s ease-out infinite;
}
.cu-plaza-ico.is-listening:hover {
  color: #fff;
  background: linear-gradient(135deg, #f0a35a, #e07a2f);
}
.cu-plaza-ico.is-unsupported {
  opacity: 0.45;
  cursor: not-allowed;
}
@keyframes cu-mic-pulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 122, 47, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(224, 122, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 122, 47, 0); }
}
.cu-plaza-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cu-plaza-plus svg { stroke-width: 1.6; }
.cu-plaza-go {
  border: 0;
  border-radius: 999px;
  min-width: 96px;
  height: 42px;
  padding: 0 18px;
  margin-left: 2px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(90deg, #f2a04a, #e07a1a);
  box-shadow: 0 8px 18px rgba(224, 122, 26, 0.28);
}
.cu-plaza-go:hover { filter: brightness(1.04); }
.cu-plaza-go:disabled { opacity: .55; cursor: not-allowed; }

.cu-plaza-filters {
  position: relative;
  z-index: 6;
  padding: 4px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cu-plaza-dims {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  margin-bottom: -2px;
  min-width: 0;
  flex: 1 1 auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #e0c09a transparent;
}
.cu-plaza-dims::-webkit-scrollbar {
  height: 6px;
}
.cu-plaza-dims::-webkit-scrollbar-track {
  background: rgba(180, 150, 110, 0.12);
  border-radius: 999px;
  margin: 0 4px;
}
.cu-plaza-dims::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #e8c89a, #d4a56a);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 1px 3px rgba(120, 80, 40, 0.12);
}
.cu-plaza-dims::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #f0b86a, #e07a2f);
}
.cu-plaza-dim-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  white-space: nowrap;
  border: 1px solid #e4ddd2;
  background: #fff;
  color: #5a4638;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: .15s ease;
}
.cu-plaza-dim-btn:hover { border-color: #d2c4b4; }
.cu-plaza-dim-btn.is-open,
.cu-plaza-dim-btn.has-value {
  background: #5a4638;
  border-color: #5a4638;
  color: #fff;
}
.cu-plaza-dim-btn > span:first-child {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}
.cu-plaza-dim-btn .cu-star {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 12px;
  flex: 0 0 auto;
  color: transparent;
  font-size: 0;
  line-height: 0;
}
.cu-plaza-dim-btn .cu-star::before {
  content: '*';
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: inherit;
  transform: translate(-50%, calc(-50% + 2px));
}
.cu-plaza-dim-btn.has-value .cu-star {
  color: #e05757;
}
.cu-plaza-dim-btn.is-open .cu-star {
  color: transparent;
}
.cu-plaza-dim-btn.is-open.has-value .cu-star {
  color: #ffb4b4;
}
.cu-plaza-dim-btn .cu-chev {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  display: inline-block;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .75;
  margin-top: 1px;
}
.cu-plaza-dim-btn.is-open .cu-chev {
  transform: rotate(-135deg);
  margin-top: 3px;
}
.cu-plaza-dropdown {
  position: fixed;
  z-index: 90;
  min-width: min(420px, calc(100vw - 32px));
  max-width: min(720px, calc(100vw - 24px));
  max-height: min(360px, calc(100vh - 24px));
  margin: 0;
  padding: 16px 18px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #ebe4da;
  box-shadow: 0 18px 48px rgba(60, 40, 20, 0.18);
  overflow: auto;
}
.cu-plaza-dropdown[hidden] { display: none !important; }
.cu-plaza-dropdown-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cu-plaza-dropdown-tags .chip {
  border: 1px solid #d8b56a;
  background: #fff;
  color: #b8892d;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
}
.cu-plaza-dropdown-tags .chip:hover {
  background: rgba(216, 181, 106, 0.1);
}
.cu-plaza-dropdown-tags .chip.on {
  background: rgba(216, 181, 106, 0.18);
  border-color: #c79a3a;
  color: #8f6a18;
  font-weight: 700;
}
.cu-plaza-dropdown-empty {
  margin: 0;
  color: #b3a79b;
  font-size: 13px;
}
.cu-plaza-logic {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  margin: 0;
  padding: 0 8px 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e4ddd2;
  color: #8a7a6c;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(80, 60, 40, 0.04);
  box-sizing: border-box;
}
.cu-plaza-logic select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%238a7a6c' d='M1 1l4 4 4-4'/></svg>") no-repeat right 2px center;
  color: #5a4638;
  font-size: 12px;
  font-weight: 700;
  padding: 0 16px 0 0;
  min-width: 52px;
  cursor: pointer;
  outline: none;
}
.cu-plaza-logic:hover {
  border-color: #d2c4b4;
}
.cu-plaza-logic:focus-within {
  border-color: #e07a2f;
  box-shadow: 0 0 0 3px rgba(224, 122, 47, 0.12);
}
.cu-plaza-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 0;
}
.cu-plaza-list-head h3 {
  margin: 0;
  font-size: 16px;
  color: #4a3b31;
}
.cu-plaza-list-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cu-plaza-clear-all {
  padding: 5px 10px;
  font-size: 12px;
}
.cu-plaza-card .cu-score {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #c56a12;
  font-weight: 700;
}
.cu-plaza-card .cu-score-bar {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: #efe8de;
  overflow: hidden;
}
.cu-plaza-card .cu-score-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f2a04a, #e07a1a);
  border-radius: 99px;
}
.cu-plaza-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 0 4px;
}
.cu-plaza-pager button {
  border: 1px solid #e4ddd2;
  background: #fff;
  color: #5a4638;
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  font-size: 13px;
}
.cu-plaza-pager button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.cu-plaza-pager span {
  color: #8a7a6c;
  font-size: 13px;
}

@media (max-width: 960px) {
  .cu-plaza-search-row {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .cu-plaza-bar-wrap {
    width: 100%;
    max-width: none;
    flex-basis: 100%;
  }
  .cu-plaza-bar {
    flex-wrap: wrap;
    border-radius: 18px;
    padding: 10px 12px;
  }
  .cu-plaza-tools { width: 100%; justify-content: flex-end; }
  .cu-plaza-go { flex: 1; }
  .cu-plaza-similar-wrap { margin-left: auto; }
  .cu-plaza-filters { flex-wrap: wrap; }
  .cu-plaza-logic { margin-left: auto; }
}

.cu-shell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}
.cu-shell-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 28px 0;
  position: absolute;
  top: 0; right: 0; left: 0;
  z-index: 120;
  pointer-events: none;
}
.cu-shell-spacer { flex: 1; }
.cu-user-menu { position: relative; pointer-events: auto; z-index: 1; }
.cu-user-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 2px;
}
.cu-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  background: linear-gradient(145deg, #5ad6e8, #2f8fd6);
  box-shadow: 0 3px 10px rgba(47, 143, 214, 0.24);
}
.cu-caret {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: #8a7a6c;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.cu-user-drop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 168px;
  background: #fff;
  border: 1px solid #ebe4da;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(70, 50, 30, 0.12);
  padding: 8px;
  z-index: 130;
}
.cu-user-drop-name {
  padding: 8px 10px 4px;
  font-weight: 700;
  color: #3f3228;
  font-size: 13px;
}
.cu-user-drop-site {
  padding: 0 10px 10px;
  color: #9a8b7d;
  font-size: 12px;
  border-bottom: 1px solid #f0ebe3;
  margin-bottom: 4px;
}
.cu-user-drop a,
.cu-user-drop button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #5a4638;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
}
.cu-user-drop a:hover,
.cu-user-drop button:hover { background: #f7f2ea; }

.cu-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 40px 36px;
  min-height: 100vh;
}
.cu-panel {
  flex: 1;
  display: none;
  flex-direction: column;
  min-height: 0;
}
.cu-panel.on { display: flex; }
/* 作品广场可配置背景（网站设置） */
.cu-panel[data-panel="plaza"] {
  background-color: transparent;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
html[data-plaza-bg="color"] .cu-panel[data-panel="plaza"],
html[data-plaza-bg="color"][data-cu-panel="plaza"] .cu-main {
  background-color: var(--cu-plaza-bg-color, var(--cu-cream));
}
html[data-plaza-bg="image"] .cu-panel[data-panel="plaza"] {
  background-color: var(--cu-plaza-bg-color, var(--cu-cream));
  background-image: var(--cu-plaza-bg-image);
}
html[data-plaza-bg="image"][data-cu-panel="plaza"] .cu-main {
  background-color: var(--cu-plaza-bg-color, var(--cu-cream));
}
/* 首屏按 hash 锁面板，避免已登录服务端提前露出 cuApp 时闪到默认广场 */
html[data-cu-panel] .cu-main > .cu-panel {
  display: none !important;
}
html[data-cu-panel="plaza"] .cu-main > .cu-panel[data-panel="plaza"],
html[data-cu-panel="works"] .cu-main > .cu-panel[data-panel="works"],
html[data-cu-panel="upload"] .cu-main > .cu-panel[data-panel="upload"],
html[data-cu-panel="wm"] .cu-main > .cu-panel[data-panel="wm"],
html[data-cu-panel="fav"] .cu-main > .cu-panel[data-panel="fav"],
html[data-cu-panel="like"] .cu-main > .cu-panel[data-panel="like"],
html[data-cu-panel="feedback"] .cu-main > .cu-panel[data-panel="feedback"],
html[data-cu-panel="orders"] .cu-main > .cu-panel[data-panel="orders"],
html[data-cu-panel="purchased"] .cu-main > .cu-panel[data-panel="purchased"],
html[data-cu-panel="commission"] .cu-main > .cu-panel[data-panel="commission"] {
  display: flex !important;
}
html[data-cu-panel] .cu-side-nav button.on { color: #9a8f84; }
html[data-cu-panel="plaza"] .cu-side-nav button[data-panel="plaza"],
html[data-cu-panel="works"] .cu-side-nav button[data-panel="works"],
html[data-cu-panel="upload"] .cu-side-nav button[data-panel="upload"],
html[data-cu-panel="wm"] .cu-side-nav button[data-panel="wm"],
html[data-cu-panel="fav"] .cu-side-nav button[data-panel="fav"],
html[data-cu-panel="like"] .cu-side-nav button[data-panel="like"],
html[data-cu-panel="feedback"] .cu-side-nav button[data-panel="feedback"],
html[data-cu-panel="orders"] .cu-side-nav button[data-panel="orders"],
html[data-cu-panel="purchased"] .cu-side-nav button[data-panel="purchased"],
html[data-cu-panel="commission"] .cu-side-nav button[data-panel="commission"] {
  color: var(--cu-orange);
}
.cu-panel-list {
  max-width: none;
  width: 100%;
}
.cu-page-head {
  margin: 8px 0 8px;
  flex: 0 0 auto;
  padding-right: 72px;
}
.cu-page-head h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  color: #3d2f26;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.cu-page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.cu-count {
  color: #a39486;
  font-size: 13px;
  margin-right: 2px;
}
.cu-pill {
  border: 0;
  background: var(--cu-orange);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(232, 138, 60, 0.22);
}
.cu-pill:hover { background: var(--cu-orange-deep); }

.cu-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.cu-body-center {
  align-items: center;
  justify-content: center;
}
.cu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 14px;
  align-content: start;
  padding-top: 18px;
  width: 100%;
}
.cu-card-item {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ebe4da;
  box-shadow: 0 6px 16px rgba(80, 60, 40, 0.04);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cu-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(80, 60, 40, 0.09);
}
.cu-card-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: transparent;
  opacity: 0;
  transition: opacity .22s ease;
}
.cu-card-media:not(.is-loading) img { opacity: 1; }
.cu-card-media {
  position: relative;
  aspect-ratio: 1;
  background: #efe8de;
  /* 互动按钮需完整露出；圆角裁切交给卡片本身 */
  overflow: visible;
}
.cu-card-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  z-index: 0;
  border-radius: 0;
}
.cu-engage {
  position: absolute;
  right: 6px;
  bottom: 6px;
  top: auto;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  max-height: calc(100% - 8px);
  pointer-events: auto;
}
/* 有购买按钮时略压缩，避免 4 个按钮超出小卡片被裁切 */
.cu-engage:has(.is-buy) {
  gap: 2px;
}
.cu-engage:has(.is-buy) .cu-engage-ico {
  width: 26px;
  height: 26px;
}
.cu-engage:has(.is-buy) .cu-engage-ico svg {
  width: 14px;
  height: 14px;
}
.cu-engage:has(.is-buy) .cu-engage-n {
  font-size: 9px;
  max-width: 48px;
}
.cu-engage-btn {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
  transition: transform .16s ease;
}
.cu-engage-btn:hover { transform: scale(1.04); }
.cu-engage-btn:hover .cu-engage-ico {
  animation: cu-engage-sway .55s ease-in-out;
}
.cu-engage-btn:active { transform: scale(0.94); }
.cu-engage-btn:active .cu-engage-ico { animation: none; }
.cu-engage-ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 16, 12, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.cu-engage-ico svg {
  width: 16px;
  height: 16px;
  display: block;
}
.cu-engage-btn.is-like .cu-engage-ico svg,
.cu-engage-btn.is-fav .cu-engage-ico svg {
  fill: #fff;
}
.cu-engage-btn.is-share .cu-engage-ico svg {
  fill: none;
  color: #fff;
}
.cu-engage-n {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  min-width: 1.2em;
  max-width: 36px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.cu-engage-btn.is-like.on .cu-engage-ico {
  background: rgba(255, 62, 108, 0.22);
  border-color: rgba(255, 120, 150, 0.45);
  animation: cu-engage-pop .42s cubic-bezier(.2, 1.4, .4, 1);
}
.cu-engage-btn.is-like.on .cu-engage-ico svg { fill: #ff2d6a; }
.cu-engage-btn.is-fav.on .cu-engage-ico {
  background: rgba(255, 196, 70, 0.22);
  border-color: rgba(255, 210, 120, 0.5);
  animation: cu-engage-pop .42s cubic-bezier(.2, 1.4, .4, 1);
}
.cu-engage-btn.is-fav.on .cu-engage-ico svg { fill: #ffc24a; }
.cu-engage-btn.is-share.is-pulse .cu-engage-ico {
  animation: cu-engage-share .48s ease;
}
.cu-engage-btn.is-buy .cu-engage-ico {
  background: rgba(230, 120, 40, 0.72);
  border-color: rgba(255, 210, 140, 0.65);
  color: #fff;
}
.cu-engage-btn.is-buy .cu-engage-ico svg {
  color: #fff;
  overflow: visible;
}
.cu-engage-btn.is-buy .cu-engage-ico svg .cu-buy-bag,
.cu-engage-btn.is-buy .cu-engage-ico svg .cu-buy-handle {
  fill: none;
  stroke: currentColor;
}
.cu-engage-btn.is-buy .cu-engage-ico svg .cu-buy-wheel {
  fill: currentColor;
  stroke: none;
}
.cu-engage-btn.is-buy.on .cu-engage-ico {
  background: rgba(60, 150, 90, 0.72);
  border-color: rgba(160, 230, 180, 0.65);
}
.cu-engage-btn.is-buy .cu-engage-n {
  font-size: 10px;
  max-width: 52px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 购买放在栏底，避免被卡片 overflow 裁切顶部按钮时误伤主操作 */
.cu-engage .cu-engage-btn.is-buy {
  order: 9;
  margin-top: 2px;
}
.cu-price-box {
  width: min(420px, 100%);
  padding: 0;
}
.cu-confirm-box {
  width: min(400px, 100%);
  padding: 0;
}
.cu-price-box .cu-field {
  display: grid;
  gap: 6px;
  margin: 4px 0 8px;
}
.cu-price-box .cu-field span {
  font-size: 13px;
  font-weight: 600;
  color: #5a4a3a;
}
.cu-price-box .cu-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e0d6c8;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  background: #fff;
}
.cu-price-box .cu-field input:focus {
  outline: none;
  border-color: #e08a3c;
  box-shadow: 0 0 0 3px rgba(224, 138, 60, 0.15);
}
.cu-mini-table a.cu-link {
  color: #c45a12;
  font-weight: 600;
  text-decoration: none;
}
.cu-mini-table a.cu-link:hover { text-decoration: underline; }
.cu-ops-cell {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.cu-ops-cell .cu-voucher-thumb {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
}
.cu-order-amount {
  font-weight: 700;
  color: #8a4a16;
  white-space: nowrap;
}
.cu-order-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #efe8dc;
  color: #6a5a48;
  white-space: nowrap;
}
.cu-order-status.is-pending {
  background: #fff1df;
  color: #c36a1e;
}
.cu-order-status.is-paid {
  background: #e5f7ee;
  color: #1f8a55;
}
.cu-order-status.is-reject {
  background: #fde8e8;
  color: #c04040;
}
.cu-order-status.is-cancel {
  background: #eeeae4;
  color: #7a6f64;
}
.cu-order-status.is-doing {
  background: #eef4ff;
  color: #3b6fd8;
}
.cu-order-reason {
  margin-top: 4px;
  max-width: 180px;
  color: #9a6a5a;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cu-pill-soft {
  background: #fff6ec;
  color: #c45a12;
  border: 1px solid rgba(196, 90, 18, 0.22);
}
.cu-pill-soft:hover {
  background: #ffecd6;
  color: #a8480a;
}
.cu-pill-ghost {
  background: transparent;
  color: #7a6a58;
  border: 1px solid rgba(140, 120, 100, 0.28);
}
.cu-pill-ghost:hover {
  background: #f4eee6;
  color: #5a4a38;
}
.cu-voucher-box {
  width: min(560px, 100%);
  padding: 0;
}
.cu-voucher-body {
  padding-top: 4px;
}
.cu-voucher-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  max-height: min(70vh, 640px);
  padding: 12px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #fbf7f0 0%, #f3ebe0 100%);
  border: 1px solid rgba(180, 140, 90, 0.16);
  overflow: auto;
}
.cu-voucher-frame img {
  display: block;
  max-width: 100%;
  max-height: min(66vh, 600px);
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(60, 40, 20, 0.16);
  background: #fff;
}
.cu-voucher-empty {
  margin: 0;
  color: #9a8a78;
  font-size: 14px;
}
.cu-modal-foot .cu-btn-ghost {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cu-buy-box {
  width: min(440px, 100%);
  padding: 0;
}
.cu-buy-box .cu-modal-body,
.cu-price-box .cu-modal-body {
  padding-bottom: 4px;
}
.cu-buy-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #5a4a3a;
}
.cu-buy-work {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.cu-buy-work-text {
  min-width: 0;
  flex: 1;
  line-height: 1.4;
}
.cu-buy-work-text .muted {
  margin-top: 2px;
  font-size: 12px;
}
#cuBuyTitleBtn {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
#cuBuyTitleBtn:hover strong {
  text-decoration: underline;
}
.cu-buy-pay {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 12px;
  background: #efe8dc;
  font-size: 13px;
  color: #4a3c2e;
}
.cu-buy-tip { margin: 0; line-height: 1.5; }
.cu-buy-qr-btn {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 10px;
  line-height: 0;
}
.cu-buy-qr-btn:hover .cu-buy-qr,
.cu-buy-qr-btn:focus-visible .cu-buy-qr {
  border-color: #c4a574;
  box-shadow: 0 0 0 2px rgba(196, 165, 116, 0.28);
}
.cu-buy-qr {
  width: min(180px, 100%);
  border-radius: 10px;
  border: 1px solid #e0d6c8;
  background: #fff;
  display: block;
}
.cu-buy-voucher {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}
.cu-buy-voucher-label {
  font-size: 13px;
  font-weight: 600;
  color: #5a4a3a;
}
.cu-buy-drop {
  display: block;
  position: relative;
  min-height: 132px;
  border: 1.5px dashed #d2c4b2;
  border-radius: 12px;
  background: #faf7f2;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.cu-buy-drop:hover {
  border-color: #e08a3c;
  background: #fffaf4;
}
.cu-buy-drop.is-drag {
  border-color: var(--cu-orange, #e07a2f);
  background: #fff4e8;
  box-shadow: inset 0 0 0 1px rgba(224, 122, 47, 0.25);
}
.cu-buy-drop.has-file {
  border-style: solid;
  border-color: #e0d6c8;
  background: #fff;
  cursor: default;
}
.cu-buy-drop-hint {
  min-height: 132px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  padding: 18px 14px;
  text-align: center;
  color: #9a8a78;
}
.cu-buy-drop-hint svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #c4b5a3;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cu-buy-drop-hint strong {
  color: #6b5b4a;
  font-size: 13px;
}
.cu-buy-drop-hint span { font-size: 11px; }
.cu-buy-drop-preview {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 132px;
  padding: 12px;
  box-sizing: border-box;
}
.cu-buy-drop-preview img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ebe3d8;
  background: #f3ebe0;
  display: block;
  cursor: zoom-in;
}
.cu-buy-drop-preview img:hover {
  border-color: #c4a574;
}
.cu-buy-drop-meta {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.cu-buy-drop-meta span {
  font-size: 12px;
  color: #5a4a3a;
  word-break: break-all;
  line-height: 1.4;
}
.cu-buy-drop-rm {
  justify-self: start;
  appearance: none;
  border: 1px solid #e4d8c8;
  background: #fff;
  color: #8a6a4a;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.cu-buy-drop-rm:hover {
  border-color: #d2853a;
  color: #c45a12;
}
.cu-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 4px;
}
.cu-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.cu-mini-table th,
.cu-mini-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #e8dfd2;
  text-align: left;
  vertical-align: top;
}
.cu-mini-table th {
  color: #8a7a68;
  font-weight: 600;
  background: #f3ebe0;
}
.cu-mini-table .mono { font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.cu-mini-table .muted { color: #9a8a78; font-size: 12px; margin-top: 2px; }
.cu-work-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.cu-work-thumb {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #e0d4c4;
  border-radius: 8px;
  background: #f7f1e8;
  overflow: hidden;
  cursor: zoom-in;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9a8a78;
  font-size: 11px;
}
.cu-work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cu-work-thumb.is-empty {
  border-style: dashed;
  cursor: pointer;
}
.cu-work-thumb:hover,
.cu-work-thumb:focus-visible {
  border-color: #c4a574;
}
.cu-work-meta {
  min-width: 0;
  flex: 1;
  line-height: 1.35;
}
.cu-work-name {
  text-align: left;
  white-space: normal;
  word-break: break-word;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.cu-work-name:hover { text-decoration: underline; }
.cu-comm-sum {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.cu-comm-sum > div {
  padding: 12px;
  border-radius: 12px;
  background: #efe8dc;
  font-size: 13px;
  color: #5a4a3a;
}
.cu-comm-sum b { color: #c45a12; }
.cu-comm-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 14px;
}
.cu-comm-bar .cu-comm-tip {
  flex: 1;
  margin: 0;
  min-width: 220px;
}
.cu-comm-bar .cu-btn-save {
  min-width: 108px;
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.cu-comm-bar .cu-btn-save:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
  box-shadow: none;
}
.cu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 12px;
  padding: 4px;
  width: fit-content;
  max-width: 100%;
  background: #f3ebe0;
  border-radius: 12px;
}
.cu-tab {
  border: 0;
  background: transparent;
  color: #7a6a58;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
}
.cu-tab:hover { color: #4a3a2a; }
.cu-tab.on {
  background: #fff;
  color: #c45a12;
  box-shadow: 0 2px 8px rgba(80, 60, 40, 0.08);
}
.cu-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #ebe4da;
  border-radius: 12px;
}
.cu-filter-item {
  display: grid;
  gap: 4px;
  min-width: 140px;
  flex: 1 1 140px;
}
.cu-filter-item > span {
  font-size: 12px;
  font-weight: 600;
  color: #8a7a68;
}
.cu-filter-item .cu-input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #e0d6c8;
  border-radius: 10px;
  padding: 8px 10px;
  background: #fffdf9;
  color: #3a2e22;
  font-size: 13px;
}
.cu-filter-item .cu-input:focus {
  outline: none;
  border-color: #e0a060;
  box-shadow: 0 0 0 3px rgba(224, 160, 96, 0.18);
}
.cu-filter-ops {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}
.cu-comm-list { min-height: 120px; }
.cu-comm-tip {
  margin: 0 0 14px;
  font-size: 12px;
  color: #9a8a78;
  line-height: 1.45;
}
.cu-subhead {
  margin: 16px 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #3a2e22;
}
.cu-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 4px;
  font-size: 12px;
  color: #8a7a68;
}
.cu-pager .cu-pill:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (max-width: 720px) {
  .cu-comm-sum { grid-template-columns: 1fr 1fr; }
  .cu-comm-bar .cu-btn-save { width: 100%; }
  .cu-filter-item { flex: 1 1 100%; min-width: 0; }
  .cu-filter-ops { margin-left: 0; width: 100%; }
  .cu-filter-ops .cu-pill { flex: 1; text-align: center; }
}
@keyframes cu-engage-sway {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-9deg); }
  45% { transform: rotate(8deg); }
  70% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}
@keyframes cu-engage-pop {
  0% { transform: scale(0.7); }
  55% { transform: scale(1.22); }
  100% { transform: scale(1); }
}
@keyframes cu-engage-share {
  0% { transform: rotate(0deg) scale(1); }
  35% { transform: rotate(-18deg) scale(1.12); }
  70% { transform: rotate(10deg) scale(1.05); }
  100% { transform: rotate(0deg) scale(1); }
}
.cu-viewer-engage {
  position: absolute;
  right: 18px;
  bottom: 28px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cu-viewer-engage .cu-engage {
  position: static;
  right: auto;
  bottom: auto;
  max-height: none;
  gap: 14px;
}
.cu-viewer-engage .cu-engage-ico {
  width: 48px;
  height: 48px;
  background: rgba(20, 16, 12, 0.48);
}
.cu-viewer-engage .cu-engage-ico svg {
  width: 26px;
  height: 26px;
}
.cu-viewer-engage .cu-engage-n {
  font-size: 12px;
  color: #fff;
}
.cu-viewer.is-plain .cu-viewer-engage { display: none !important; }
.cu-card-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 2px solid rgba(120, 90, 60, 0.18);
  border-top-color: #d2853a;
  border-radius: 50%;
  animation: cu-spin .7s linear infinite;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.cu-card-media.is-loading .cu-card-spinner { opacity: 1; }
@keyframes cu-spin {
  to { transform: rotate(360deg); }
}
.cu-panel-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 280px;
  padding: 40px 16px;
  color: #b8ada1;
}
.cu-panel-loading p {
  margin: 0;
  font-size: 14px;
}
.cu-panel-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(120, 90, 60, 0.18);
  border-top-color: #d2853a;
  border-radius: 50%;
  animation: cu-spin .7s linear infinite;
}
.cu-skel {
  display: grid;
  gap: 14px;
  padding: 4px 0 12px;
  width: 100%;
}
.cu-skel i {
  display: block;
  background: linear-gradient(90deg, #efe8dc 0%, #f7f1e8 45%, #efe8dc 90%);
  background-size: 200% 100%;
  animation: cu-skel-shine 1.2s ease-in-out infinite;
  border-radius: 10px;
  min-height: 14px;
}
.cu-skel i.w70 { width: 70%; }
.cu-skel-btn {
  width: 108px !important;
  min-height: 40px !important;
  border-radius: 12px !important;
  flex: 0 0 auto;
}
.cu-skel-sum {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.cu-skel-sum i { min-height: 64px; border-radius: 12px; }
.cu-skel-line,
.cu-skel-filter,
.cu-skel-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}
.cu-skel-line i:first-child { flex: 1; min-height: 18px; }
.cu-skel-tabs i {
  width: 88px;
  min-height: 36px;
  border-radius: 10px;
}
.cu-skel-filter i {
  flex: 1 1 140px;
  min-height: 38px;
  border-radius: 10px;
}
.cu-skel-rows {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.cu-skel-rows i { min-height: 44px; border-radius: 10px; }
.cu-skel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 14px;
  padding-top: 6px;
}
.cu-skel-cards i {
  min-height: 210px;
  border-radius: 14px;
}
@keyframes cu-skel-shine {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (max-width: 720px) {
  .cu-skel-sum { grid-template-columns: 1fr 1fr; }
}
.cu-card-item .meta {
  padding: 10px 12px 12px;
  font-size: 12px;
  color: #4a3b31;
}
.cu-card-item .meta > div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.cu-card-item .meta > .cu-card-artist {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-weight: 500;
  color: #8a7a6a;
}
.cu-card-artist-label {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 600;
  color: #a89888;
}
.cu-card-artist-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6b5a48;
}
.cu-card-artist.is-empty .cu-card-artist-name {
  color: #b0a498;
  font-weight: 500;
}
.cu-badge {
  display: inline-block;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff1e2;
  color: #c36a1e;
  margin-top: 5px;
}
.cu-badge.reject { background: #fde8e8; color: #c04040; }
.cu-badge.pass { background: #e5f7ee; color: #1f8a55; }
.cu-badge.withdraw { background: #eeeae4; color: #7a6f64; }

.cu-batch-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0 0 12px;
  padding: 10px 14px;
  background: #f7f2ea;
  border: 1px solid rgba(180, 140, 90, 0.18);
  border-radius: 12px;
  flex: 0 0 auto;
}
.cu-batch-bar[hidden] { display: none !important; }
.cu-batch-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #5c4e42;
  cursor: pointer;
  user-select: none;
}
.cu-batch-check input { accent-color: #e07a2f; width: 15px; height: 15px; }
.cu-batch-count {
  font-size: 13px;
  color: #a39486;
  min-width: 4.5em;
}
.cu-batch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.cu-batch-btn {
  border: 1px solid rgba(180, 140, 90, 0.28);
  background: #fff;
  color: #5c4e42;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
.cu-batch-btn:hover:not(:disabled) { background: #fff8f0; border-color: #e07a2f; color: #c36a1e; }
.cu-batch-btn.danger { color: #b04040; border-color: rgba(192, 64, 64, 0.28); }
.cu-batch-btn.danger:hover:not(:disabled) { background: #fdf2f2; border-color: #c04040; color: #c04040; }
.cu-batch-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.cu-card-item.is-manage { position: relative; }
.cu-card-item.is-selected {
  outline: 2px solid #e07a2f;
  outline-offset: 1px;
}
.cu-card-check {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.cu-card-check input {
  margin: 0;
  width: 14px;
  height: 14px;
  accent-color: #e07a2f;
  cursor: pointer;
}
.cu-card-ops {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(transparent, rgba(40, 28, 18, 0.72));
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 2;
}
.cu-card-item.is-manage:hover .cu-card-ops { opacity: 1; }
.cu-card-op {
  flex: 1;
  border: 0;
  border-radius: 6px;
  padding: 6px 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.95);
  color: #5c4e42;
}
.cu-card-op:hover { background: #fff; color: #c36a1e; }
.cu-card-op.danger { color: #b04040; }
.cu-card-op.danger:hover { color: #c04040; }

.cu-empty {
  flex: 1;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  color: #b3a79b;
  gap: 6px;
  padding: 24px 12px 64px;
  min-height: 360px;
  width: 100%;
}
.cu-empty svg {
  width: min(210px, 52vw);
  height: auto;
  opacity: 0.95;
}
.cu-empty p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #b8ada1;
}

.cu-fb-list {
  display: grid;
  gap: 12px;
  padding-top: 6px;
  width: min(720px, 100%);
  margin: 0 auto;
}
.cu-fb-card {
  background: #fff;
  border: 1px solid #ebe4da;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 6px 16px rgba(80, 60, 40, 0.04);
}
.cu-fb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.cu-fb-top time {
  font-size: 12px;
  color: #9a8d82;
}
.cu-fb-content {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #3a2f28;
  white-space: pre-wrap;
  word-break: break-word;
}
.cu-fb-contact {
  margin: 8px 0 0;
  font-size: 12px;
  color: #8a7d72;
}
.cu-fb-reply {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f2ea;
  border: 1px solid #ebe4da;
}
.cu-fb-reply-label {
  font-size: 11px;
  font-weight: 700;
  color: #c36a1e;
  margin-bottom: 4px;
}
.cu-fb-reply p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #4a3b31;
  white-space: pre-wrap;
  word-break: break-word;
}

.cu-panel-upload {
  align-items: stretch;
  justify-content: flex-start;
}
.cu-panel-upload > .cu-page-head {
  width: 100%;
  max-width: none;
  align-self: stretch;
  flex: 0 0 auto;
}
.cu-panel-upload .cu-upload-card {
  margin: auto;
  flex: 0 0 auto;
}
.cu-upload-card {
  width: min(900px, 100%);
  height: min(560px, calc(100vh - 160px));
  max-height: 560px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6e1d9;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(70, 55, 40, 0.06);
  overflow: hidden;
}
.cu-upload-main {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 0.92fr 1.18fr;
}
.cu-upload-left {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid #ece8e2;
  min-height: 0;
  background: #fff;
}
.cu-upload-right {
  padding: 14px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}
.cu-upload-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
}
.cu-upload-title-row h2 {
  margin: 0;
  font-size: 15px;
  color: #333;
  font-weight: 700;
}
.cu-upload-title-row p {
  margin: 0;
  font-size: 12px;
  color: #9aa0a8;
}
.cu-drop {
  display: block;
  flex: 1;
  min-height: 0;
  border: 1.5px dashed #b9d4ef;
  border-radius: 4px;
  background: #fafcfe;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cu-drop.is-drag {
  border-color: var(--cu-orange);
  background: #fff8f1;
}
.cu-drop-hint {
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  color: #9aa6b4;
  padding: 16px;
  text-align: center;
}
.cu-drop-hint svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #b9c5d4;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cu-drop-hint strong { color: #6b7785; font-size: 13px; }
.cu-drop-hint span { font-size: 11px; }
.cu-drop-preview {
  position: absolute;
  inset: 0;
  padding: 12px;
  overflow: auto;
  background: #f7f9fc;
  box-sizing: border-box;
}
.cu-drop-preview.is-single {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cu-drop-preview.is-multi {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  align-content: start;
}
.cu-drop-preview figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4ebf3;
  box-shadow: 0 4px 12px rgba(40, 55, 80, 0.06);
  display: flex;
  flex-direction: column;
  height: auto;
  align-self: start;
  position: relative;
}
.cu-drop-preview.is-single figure {
  width: min(240px, 82%);
  align-self: center;
  flex: 0 0 auto;
}
.cu-drop-preview .cu-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background:
    linear-gradient(45deg, #eef2f6 25%, transparent 25%) 0 0 / 12px 12px,
    linear-gradient(-45deg, #eef2f6 25%, transparent 25%) 0 6px / 12px 12px,
    #fff;
  overflow: hidden;
}
.cu-drop-preview img,
.cu-drop-preview video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #111827;
}
.cu-drop-preview .cu-file-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-top: 1px solid #eef2f6;
  background: #fff;
}
.cu-drop-preview .cu-file-meta span {
  min-width: 0;
  flex: 1;
  font-size: 11px;
  color: #6b7785;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.cu-drop-preview .cu-file-rm {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #5a6572;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.cu-drop-preview .cu-file-rm:hover {
  background: #ffece8;
  color: #c04040;
}
.cu-drop-preview .cu-badge-vid {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 1;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,.55);
  border-radius: 999px;
  padding: 2px 7px;
}
.cu-drop-preview .cu-count-tip {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  color: #8a96a5;
  text-align: center;
}

.cu-upload-fields {
  display: grid;
  gap: 8px;
  flex: 0 0 auto;
}
.cu-field {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #4a5560;
}
.cu-field input,
.cu-field .cu-select,
.cu-wm-card .cu-input {
  width: 100%;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 13px;
  background: #fff;
  color: #333;
}
.cu-field input:focus,
.cu-field .cu-select:focus,
.cu-wm-card .cu-input:focus {
  outline: none;
  border-color: #8eb8e8;
  box-shadow: 0 0 0 3px rgba(142, 184, 232, 0.18);
}
.cu-select-combo {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  width: 100%;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cu-select-combo:focus-within {
  border-color: #8eb8e8;
  box-shadow: 0 0 0 3px rgba(142, 184, 232, 0.18);
}
.cu-select-combo .cu-select {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  background: transparent;
}
.cu-select-combo .cu-select:focus {
  box-shadow: none;
  border-color: transparent;
}
.cu-select-combo-btn {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid #e4ebf3;
  border-radius: 0;
  background: #f3f7fc;
  color: #3d6ea5;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.cu-select-combo-btn:hover {
  background: #e7f0fa;
  color: #2b5a8f;
}
.cu-tags {
  display: grid;
  gap: 10px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}
.cu-dim h4 {
  margin: 0 0 6px;
  font-size: 12px;
  color: #4a5560;
  font-weight: 600;
}
.cu-dim .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.cu-dim .chip {
  border: 0;
  background: #eceff3;
  color: #4a5560;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
  transition: .15s ease;
}
.cu-dim .chip:hover { background: #e2e7ee; }
.cu-dim .chip.on {
  background: #ffe2c4;
  color: #c36a1e;
  font-weight: 600;
}

/* 整卡底部保存条 */
.cu-upload-foot,
.cu-wm-foot {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px 14px;
  border-top: 1px solid #ebe4da;
  background: #faf7f2;
}
.cu-btn-save {
  appearance: none;
  border: 0;
  width: min(360px, 100%);
  background: var(--cu-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  border-radius: 999px;
  padding: 10px 24px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(232, 138, 60, 0.28);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.cu-btn-save:hover {
  background: var(--cu-orange-deep);
  box-shadow: 0 8px 18px rgba(232, 138, 60, 0.34);
}
.cu-btn-save:active { transform: translateY(1px); }
.cu-log {
  margin: 0;
  width: 100%;
  max-width: 520px;
  background: rgba(255,255,255,.75);
  color: #6b7785;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 11px;
  white-space: pre-wrap;
  text-align: center;
}

.cu-wm-card {
  width: min(440px, 100%);
  min-height: min(340px, calc(100vh - 160px));
  background: #fff;
  border: 1px solid #ebe4da;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(80, 60, 40, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.cu-wm-body {
  padding: 18px 18px 10px;
  display: grid;
  gap: 14px;
  flex: 1;
}
.cu-wm-card .cu-field { grid-template-columns: 1fr; }
.cu-wm-logo {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cu-wm-logo-box {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: #f3eee6;
  border: 1px dashed #d9d0c4;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #b3a79b;
  font-size: 11px;
}
.cu-wm-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cu-wm-logo-rm {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(40, 30, 24, 0.72);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.cu-wm-logo-rm:hover { background: #c45b5b; }
.cu-wm-logo-rm[hidden] { display: none !important; }
.cu-btn-outline {
  border: 1px solid #d9d0c4;
  background: #fff;
  color: #5a4638;
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 12px;
}
.cu-btn-outline:hover { background: #f7f2ea; }

.cu-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: #2f2924; color: #fff; padding: 10px 16px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: .2s; z-index: 220;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.cu-toast.show { opacity: 1; }
.cu-toast.err { background: #8b2e2e; }

.cu-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
}
.cu-modal[hidden] { display: none !important; }
.cu-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.52);
  backdrop-filter: blur(3px);
}
.cu-modal-box {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  background: #f7f2ea;
  border-radius: 18px;
  border: 1px solid #e4ddd2;
  box-shadow: 0 22px 50px rgba(30, 20, 10, 0.28);
  overflow: hidden;
  animation: cu-modal-in .22s ease;
}
.cu-modal-box-sm { width: min(420px, 100%); }

/* —— 联系名片（参考正式名片 + 站点奶油色系） —— */
.cu-sales-box {
  width: min(680px, calc(100vw - 28px));
  max-height: none;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  animation: cu-sales-in .3s cubic-bezier(.22, 1, .36, 1);
}
@keyframes cu-sales-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.cu-sales-x {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 6;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 250, 243, 0.92);
  color: #8a7d72;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(30, 20, 10, 0.18);
  transition: background .15s, color .15s, transform .15s;
}
.cu-sales-x:hover {
  background: #fff;
  color: #3a2f28;
  transform: rotate(90deg);
}
.cu-sales-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  column-gap: 0;
}
.cu-sales-box:not(.is-multi) .cu-sales-carousel {
  grid-template-columns: 1fr;
}
.cu-sales-viewport {
  overflow: hidden;
  min-width: 0;
  border-radius: 20px;
}
.cu-sales-track {
  display: flex;
  width: 100%;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.cu-sales-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  padding: 2px;
}
.cu-sales-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(232, 138, 60, 0.1), transparent 42%),
    radial-gradient(circle at 78% 88%, rgba(201, 162, 39, 0.08), transparent 40%),
    linear-gradient(145deg, #f7f2ea 0%, #efe8de 55%, #f4efe6 100%);
  border: 1px solid rgba(217, 208, 196, 0.9);
  box-shadow:
    0 28px 60px rgba(28, 18, 10, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}
.cu-sales-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 48%, rgba(58, 47, 40, 0.035) 49%, transparent 51%),
    linear-gradient(45deg, transparent 48%, rgba(58, 47, 40, 0.03) 49%, transparent 51%);
  background-size: 42px 42px;
  opacity: 0.55;
  z-index: 0;
}
.cu-sales-card::after {
  content: attr(data-watermark);
  position: absolute;
  left: 4%;
  bottom: 8%;
  font-size: clamp(48px, 9vw, 84px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(58, 47, 40, 0.045);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
.cu-sales-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 18px 18px 22px;
  min-width: 0;
}
.cu-sales-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cu-sales-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  color: #fffaf3;
  background: linear-gradient(145deg, #3a2f28, #2a2420);
  box-shadow: 0 0 0 3px rgba(232, 138, 60, 0.18);
}
.cu-sales-logo-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #6e6258;
  text-transform: uppercase;
}
.cu-sales-page {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #a39486;
  letter-spacing: 0.08em;
}
.cu-sales-identity {
  display: grid;
  grid-template-columns: auto 14px minmax(0, 1fr);
  gap: 0 12px;
  align-items: start;
  flex: 1;
}
.cu-sales-name {
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
  color: #2f2722;
  max-height: 220px;
}
.cu-sales-name.is-long {
  writing-mode: horizontal-tb;
  letter-spacing: 0.02em;
  font-size: 28px;
  line-height: 1.2;
  max-height: none;
  grid-column: 1 / -1;
}
.cu-sales-rail {
  position: relative;
  width: 14px;
  align-self: stretch;
  min-height: 96px;
}
.cu-sales-rail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(232, 138, 60, 0.75), rgba(58, 47, 40, 0.18));
  border-radius: 99px;
}
.cu-sales-rail::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #e88a3c;
  box-shadow: 0 0 0 3px rgba(232, 138, 60, 0.2);
}
.cu-sales-name.is-long + .cu-sales-rail { display: none; }
.cu-sales-meta {
  min-width: 0;
  display: grid;
  gap: 12px;
  padding-top: 2px;
  align-content: start;
}
.cu-sales-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cu-sales-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fffaf3;
  background: #3a2f28;
  letter-spacing: 0.04em;
}
.cu-sales-tag.is-soft {
  background: linear-gradient(135deg, #f0a35a, #e07a2f);
}
.cu-sales-quote {
  margin: 0;
  padding: 9px 12px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.55;
  color: #fffaf3;
  background: linear-gradient(90deg, #3a2f28, #4a3c34);
  box-shadow: 0 8px 18px rgba(42, 36, 32, 0.16);
}
.cu-sales-quote[hidden] { display: none !important; }
.cu-sales-contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: auto;
  padding-top: 4px;
}
.cu-sales-contact.no-qr {
  grid-template-columns: 1fr;
}
.cu-sales-qr-frame {
  width: 86px;
  height: 86px;
  padding: 6px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e4ddd2;
  box-shadow: 0 8px 18px rgba(70, 50, 25, 0.08);
  cursor: zoom-in;
  display: block;
}
button.cu-sales-qr-frame {
  font: inherit;
  color: inherit;
}
.cu-sales-qr-frame:hover,
.cu-sales-qr-frame:focus-visible {
  border-color: #c4a574;
  box-shadow: 0 0 0 2px rgba(196, 165, 116, 0.25);
}
.cu-sales-qr {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cu-sales-ways {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.cu-sales-way {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 2px 0;
  border-radius: 10px;
  transition: background .15s;
}
.cu-sales-way:hover { background: rgba(255, 250, 243, 0.55); }
.cu-sales-way-ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #3a2f28;
  color: #fffaf3;
  box-shadow: 0 4px 10px rgba(42, 36, 32, 0.16);
}
.cu-sales-way-ico svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cu-sales-way-text {
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  color: #3a2f28;
  word-break: break-all;
}
.cu-sales-way-acts {
  display: flex;
  gap: 2px;
  opacity: 0.72;
}
.cu-sales-way:hover .cu-sales-way-acts { opacity: 1; }
.cu-sales-act {
  border: 0;
  background: transparent;
  color: var(--cu-orange-deep);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 6px;
  cursor: pointer;
}
.cu-sales-act:hover { background: rgba(232, 138, 60, 0.12); }
.cu-sales-empty {
  margin: 0;
  font-size: 12px;
  color: #a39486;
  line-height: 1.5;
}
.cu-sales-photo {
  position: relative;
  z-index: 1;
  min-height: 360px;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.42), transparent 42%),
    radial-gradient(circle at 30% 80%, rgba(232, 138, 60, 0.12), transparent 40%),
    linear-gradient(165deg, #ebe4da, #e2d8ca 48%, #d6ccc0);
  display: grid;
  place-items: end center;
  overflow: hidden;
}
.cu-sales-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 62%, rgba(247, 242, 234, 0.22) 100%),
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.28), transparent 34%);
  pointer-events: none;
  z-index: 2;
}
.cu-sales-photo.has-img::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(58, 47, 40, 0.18));
  z-index: 2;
  pointer-events: none;
}
.cu-sales-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.cu-sales-photo-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 360px;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  display: block;
}
.cu-sales-photo-fallback {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  color: rgba(58, 47, 40, 0.28);
}
.cu-sales-photo-fallback strong {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 36px;
  font-size: 52px;
  font-weight: 800;
  color: #3a2f28;
  background: linear-gradient(145deg, #ffd7a8, #e88a3c);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.12),
    0 0 0 8px rgba(255, 250, 243, 0.35);
}
.cu-sales-photo-fallback span {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #8a7d72;
}
.cu-sales-nav {
  width: 34px;
  height: 54px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(244, 239, 230, 0.92);
  color: #7a6c60;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(30, 20, 10, 0.14);
  transition: background .15s, color .15s;
  justify-self: center;
}
.cu-sales-prev { justify-self: end; margin-right: 6px; }
.cu-sales-next { justify-self: start; margin-left: 6px; }
.cu-sales-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.cu-sales-nav:hover {
  background: #fffaf3;
  color: #3a2f28;
}
.cu-sales-nav[hidden] { display: none !important; }
.cu-sales-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 12px 16px 0;
}
.cu-sales-dots[hidden] { display: none !important; }
.cu-sales-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: #cfc4b6;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.cu-sales-dot.is-on {
  width: 18px;
  background: linear-gradient(90deg, #f0a35a, #e07a2f);
}
.cu-sales-foot {
  display: flex;
  gap: 10px;
  justify-content: stretch;
  padding: 14px 54px 0;
}
.cu-sales-box:not(.is-multi) .cu-sales-foot {
  padding-left: 2px;
  padding-right: 2px;
}
.cu-sales-foot-ghost,
.cu-sales-foot-primary {
  flex: 1;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s, filter .15s, background .15s;
}
.cu-sales-foot-ghost {
  background: #efe8de;
  color: #6e6258;
}
.cu-sales-foot-ghost:hover { background: #e7dfd3; }
.cu-sales-foot-primary {
  background: linear-gradient(135deg, #f0a35a, #e07a2f);
  color: #fffaf3;
  box-shadow: 0 10px 22px rgba(224, 122, 47, 0.28);
}
.cu-sales-foot-primary:hover { filter: brightness(1.04); }
.cu-sales-foot-ghost:active,
.cu-sales-foot-primary:active { transform: scale(0.98); }
@media (max-width: 720px) {
  .cu-sales-box { width: min(100%, calc(100vw - 20px)); }
  .cu-sales-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .cu-sales-photo,
  .cu-sales-photo-fallback {
    min-height: 220px;
    max-height: 260px;
  }
  .cu-sales-identity {
    grid-template-columns: 1fr;
  }
  .cu-sales-rail { display: none; }
  .cu-sales-name,
  .cu-sales-name.is-long {
    writing-mode: horizontal-tb;
    font-size: 26px;
    letter-spacing: 0.04em;
    max-height: none;
    grid-column: auto;
  }
  .cu-sales-carousel { grid-template-columns: 36px minmax(0, 1fr) 36px; }
  .cu-sales-prev { margin-right: 4px; }
  .cu-sales-next { margin-left: 4px; }
  .cu-sales-foot { padding-left: 40px; padding-right: 40px; }
  .cu-sales-x { top: 8px; right: 8px; }
}
.cu-modal .cu-field input[readonly] {
  background: #efe8de;
  color: #7a6f64;
  cursor: default;
}
@keyframes cu-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.cu-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 0;
  flex: 0 0 auto;
}
.cu-modal-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #3a2f28;
}
.cu-modal-x {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #efe8de;
  color: #7a6f64;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .15s, color .15s, transform .15s;
}
.cu-modal-x:hover {
  background: #e4d8c8;
  color: #4a3b31;
  transform: rotate(90deg);
}
.cu-modal-body {
  padding: 12px 18px 8px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}
.cu-modal-desc {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--cu-muted);
  line-height: 1.5;
}
.cu-modal .cu-field {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 12px;
  width: 100%;
}
.cu-modal .cu-field > span {
  display: block;
  font-size: 12px;
  color: #6a5c50;
  font-weight: 600;
  line-height: 1.4;
}
.cu-modal .cu-field em {
  color: #c36a1e;
  font-style: normal;
}
.cu-modal .cu-field-tip {
  margin: 2px 0 0;
  width: 100%;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.45;
  color: #9a8d82;
  white-space: normal;
}
.cu-modal .cu-field input,
.cu-modal .cu-field textarea {
  width: 100%;
  border: 1px solid #d9d0c4;
  border-radius: 12px;
  background: #fff;
  color: #3a2f28;
  padding: 12px 14px;
  min-height: 44px;
  font: inherit;
  font-size: 13px;
  resize: vertical;
  outline: none;
}
.cu-modal .cu-field textarea {
  min-height: 132px;
  line-height: 1.55;
}
.cu-modal .cu-field input:focus,
.cu-modal .cu-field textarea:focus {
  border-color: #e0a86a;
  box-shadow: 0 0 0 3px rgba(232, 138, 60, 0.14);
}
.cu-modal-pass {
  width: 100%;
  border: 1px solid #d9d0c4;
  border-radius: 12px;
  background: #fff;
  padding: 0 8px 0 0;
  min-height: 44px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cu-modal-pass:focus-within {
  border-color: #e0a86a;
  box-shadow: 0 0 0 3px rgba(232, 138, 60, 0.14);
}
.cu-modal-pass input {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  min-height: 44px;
  border-radius: 12px;
  padding-right: 4px;
}
.cu-modal-pass .cu-eye {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  opacity: 0.55;
  transition: opacity .15s, background .15s;
}
.cu-modal-pass .cu-eye:hover {
  opacity: 1;
  background: #f3eee6;
}
.cu-modal-foot {
  display: flex;
  gap: 10px;
  justify-content: stretch;
  padding: 12px 18px 18px;
  border-top: 1px solid rgba(228, 221, 210, 0.85);
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.35), rgba(247, 242, 234, 0.9));
  flex: 0 0 auto;
}
.cu-modal-foot .cu-btn-ghost,
.cu-modal-foot .cu-btn-save {
  flex: 1 1 0;
  width: auto !important;
  max-width: none;
  min-width: 0;
  min-height: 46px;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-indent: 0;
  white-space: nowrap;
  box-shadow: none;
  transition: background .15s ease, transform .12s ease, filter .15s ease, border-color .15s ease;
}
.cu-btn-ghost {
  appearance: none;
  border: 0;
  background: #efe8de;
  color: #6e6258;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.cu-btn-ghost:hover {
  background: #e7dfd3;
  color: #3a2f28;
}
.cu-modal-foot .cu-btn-ghost {
  border: 0;
  background: #efe8de;
  color: #6e6258;
}
.cu-modal-foot .cu-btn-ghost:hover {
  background: #e7dfd3;
}
.cu-modal-foot .cu-btn-save {
  border: 0;
  background: linear-gradient(135deg, #f0a35a, #e07a2f);
  color: #fffaf3;
  box-shadow: 0 10px 22px rgba(224, 122, 47, 0.28);
}
.cu-modal-foot .cu-btn-save:hover {
  filter: brightness(1.04);
  background: linear-gradient(135deg, #f0a35a, #e07a2f);
  box-shadow: 0 10px 22px rgba(224, 122, 47, 0.32);
}
.cu-modal-foot .cu-btn-save:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
  box-shadow: none;
}
.cu-modal-foot .cu-btn-ghost:active,
.cu-modal-foot .cu-btn-save:active {
  transform: scale(0.98);
}

/* —— 作品查看器 —— */
.cu-card-item { cursor: zoom-in; }
.cu-viewer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: 1fr auto;
  background: rgba(18, 16, 14, 0.88);
  backdrop-filter: blur(4px);
}
.cu-viewer[hidden] { display: none !important; }
.cu-viewer-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cu-viewer-body {
  position: relative;
  z-index: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 16px;
  padding: 20px 20px 8px;
  align-items: stretch;
}
.cu-viewer.is-plain .cu-viewer-body {
  grid-template-columns: 1fr;
}
.cu-viewer.is-plain .cu-viewer-side { display: none !important; }
.cu-viewer-close-float {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(196, 80, 80, 0.9);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.cu-viewer-close-float:hover { background: #c45b5b; }
.cu-viewer:not(.is-plain) .cu-viewer-close-float { display: none !important; }
.cu-viewer.is-plain .cu-viewer-close-float { display: grid; place-items: center; }
.cu-viewer-stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
  border-radius: 12px;
  background: rgba(0,0,0,.22);
}
.cu-viewer-stage.is-dragging { cursor: grabbing; }
.cu-viewer-stage img,
.cu-viewer-stage video {
  max-width: min(100%, 1100px);
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  will-change: transform;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  background: #0b0d10;
  transition: opacity .2s ease;
}
.cu-viewer-stage img { opacity: 0; }
.cu-viewer-stage img.is-ready { opacity: 1; }
.cu-viewer-stage video {
  opacity: 0;
}
.cu-viewer-stage video.is-ready {
  opacity: 1;
}
.cu-viewer-stage.is-loading video:not(.is-ready) {
  /* 加载中不占位、不露原生控件 */
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cu-viewer-loading {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  pointer-events: none;
  z-index: 2;
}
.cu-viewer-stage.is-loading .cu-viewer-loading { display: grid; }
.cu-viewer-loading .cu-card-spinner {
  position: static;
  margin: 0;
  opacity: 1;
  width: 36px;
  height: 36px;
  border-color: rgba(255,255,255,.22);
  border-top-color: #f2a04a;
}
.cu-viewer-side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100vh - 120px);
  padding: 16px 16px 14px;
  border-radius: 14px;
  background: rgba(28, 24, 20, 0.94);
  border: 1px solid rgba(255,255,255,.08);
  color: #f4efe6;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.cu-viewer-side-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.cu-viewer-side-titles {
  flex: 1;
  min-width: 0;
}
.cu-viewer-side-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}
.cu-viewer-artist {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  min-width: 0;
  font-size: 12px;
}
.cu-viewer-artist[hidden] { display: none !important; }
.cu-viewer-artist-label {
  flex: 0 0 auto;
  color: rgba(244, 239, 230, 0.48);
  font-weight: 600;
}
.cu-viewer-artist-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(212, 176, 106, 0.95);
  font-weight: 600;
}
.cu-viewer-artist.is-empty .cu-viewer-artist-name {
  color: rgba(244, 239, 230, 0.42);
  font-weight: 500;
}
.cu-viewer-side-head .cu-viewer-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(196, 80, 80, 0.85);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.cu-viewer-side-head .cu-viewer-close:hover { background: #c45b5b; }
.cu-viewer-side-desc {
  margin: 0 0 12px;
  color: rgba(244, 239, 230, 0.58);
  font-size: 12px;
}
.cu-viewer-tags {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}
.cu-viewer-dim { margin-bottom: 14px; }
.cu-viewer-dim-name {
  margin-bottom: 8px;
  color: rgba(244, 239, 230, 0.72);
  font-size: 12px;
  font-weight: 600;
}
.cu-viewer-dim-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cu-viewer-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.18);
  border: 1px solid rgba(242, 140, 40, 0.35);
  color: #f6d2a6;
  font-size: 12px;
  font-weight: 600;
}
.cu-viewer-empty-tags {
  margin: 8px 0 0;
  color: rgba(244, 239, 230, 0.45);
  font-size: 13px;
}
.cu-viewer-bar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.35));
}
.cu-viewer-bar button {
  border: 0;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.cu-viewer-bar button:hover { background: rgba(255,255,255,.22); }
.cu-viewer-bar .cu-viewer-loupe-btn {
  display: inline-grid;
  place-items: center;
  padding: 0;
}
.cu-viewer-bar .cu-viewer-loupe-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}
.cu-viewer-bar .cu-viewer-loupe-btn.is-on {
  background: rgba(242, 140, 40, 0.95);
  color: #fffaf3;
  box-shadow: 0 0 0 2px rgba(242, 140, 40, 0.28);
}
.cu-viewer-bar .cu-viewer-loupe-btn.is-on:hover {
  background: #f28c28;
}
.cu-viewer-loupe {
  position: absolute;
  z-index: 6;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 2px solid rgba(255, 250, 243, 0.92);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(224, 122, 47, 0.35);
  background-repeat: no-repeat;
  background-color: #0b0d10;
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: none;
}
.cu-viewer-stage.is-loupe .cu-viewer-loupe:not([hidden]) {
  display: block;
}
.cu-viewer-stage.is-loupe {
  cursor: none;
}
.cu-viewer-stage.is-loupe.is-dragging {
  cursor: none;
}
.cu-viewer-bar .cu-viewer-action {
  min-width: auto;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(242, 140, 40, 0.92);
}
.cu-viewer-bar .cu-viewer-action:hover { background: #f28c28; }
.cu-viewer-bar .cu-viewer-action[hidden] { display: none !important; }

@media (max-width: 960px) {
  .cu-viewer-body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, 1fr) auto;
    padding: 12px 12px 4px;
    gap: 10px;
  }
  .cu-viewer-stage img,
  .cu-viewer-stage video {
    max-height: min(52vh, calc(100vh - 280px));
  }
  .cu-viewer-side {
    max-height: min(36vh, 280px);
  }
  .cu-upload-card { height: auto; max-height: none; }
  .cu-upload-main { grid-template-columns: 1fr; }
  .cu-upload-left { border-right: 0; border-bottom: 1px solid #ece8e2; }
  .cu-drop { min-height: 220px; }
  .cu-field { grid-template-columns: 1fr; }
  .cu-main { padding: 24px 20px 28px; }
}
@media (max-width: 720px) {
  .cu-app { grid-template-columns: 1fr; }
  .cu-side {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--cu-side-line);
    gap: 12px;
  }
  .cu-side-nav { flex-direction: row; width: auto; gap: 4px; }
  .cu-side-nav button { width: 34px; height: 34px; }
  .cu-shell-top { position: static; padding: 10px 14px 0; }
  .cu-main { padding: 12px 14px 28px; min-height: auto; }
  .cu-page-head { padding-right: 0; }
  .cu-page-head h2 { font-size: 22px; }
  .cu-empty { min-height: 280px; padding-bottom: 40px; }
}
