:root {
  --bg: #150d22;
  --bg-2: #1f142f;
  --card: rgba(255, 255, 255, 0.045);
  --card-border: rgba(255, 255, 255, 0.09);
  --chip: rgba(255, 255, 255, 0.06);
  --chip-border: rgba(255, 255, 255, 0.1);
  --text: #f5eefc;
  --muted: #ad9fc6;
  --faint: #7a6c93;
  --cyan: #e9cf8f;
  --violet: #d8b46a;
  --pink: #e58fb0;
  --danger: #ff6b8a;
  --ok: #4ade80;
  --grad: linear-gradient(100deg, #f6e2a8 0%, #d8b46a 48%, #b98a45 100%);
  --grad-soft: linear-gradient(100deg, #e9cf8f 0%, #b98a45 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --serif: 'Songti SC', 'STSong', 'Noto Serif SC', 'Noto Serif CJK SC', 'Source Han Serif SC', 'SimSun', serif;
  --ink: #2a1636;
  --gold: #d8b46a;
  --gold-hi: #f6e2a8;
  --rose: #e58fb0;
  --font: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Segoe UI', sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60vw 50vh at 15% -5%, rgba(216, 180, 106, 0.35), transparent 70%),
    radial-gradient(50vw 45vh at 100% 30%, rgba(198, 184, 236, 0.16), transparent 70%),
    radial-gradient(60vw 50vh at 30% 110%, rgba(229, 143, 176, 0.18), transparent 70%),
    var(--bg);
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
small, .muted { color: var(--muted); }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(21, 13, 34, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(216, 180, 106, 0.55);
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 7px;
  background: #fff;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.tabs { display: flex; gap: 4px; background: var(--chip); padding: 4px; border-radius: 999px; border: 1px solid var(--chip-border); }
.tab {
  border: 0;
  background: transparent;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}
.tab.is-active { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.tab-count { color: var(--cyan); font-size: 12px; }

/* ---------- 主体 ---------- */
.wrap { max-width: 760px; margin: 0 auto; padding: 8px 16px 64px; }
.hero { text-align: center; padding: 36px 0 26px; }
.hero h1 {
  margin: 0;
  font-size: clamp(38px, 9vw, 60px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffffff 0%, #e9d9b0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { margin: 12px 0 0; color: var(--muted); font-size: 17px; letter-spacing: 0.08em; }
.demo-banner {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(198, 184, 236, 0.1);
  border: 1px solid rgba(198, 184, 236, 0.3);
  color: var(--cyan);
  font-size: 13px;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  margin-bottom: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 40px -24px rgba(0, 0, 0, 0.6);
}
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.card-head h2 { margin: 0; font-size: 22px; font-weight: 700; }
.card-head h2 small { font-size: 14px; font-weight: 400; margin-left: 6px; color: var(--faint); }
.step {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  background: rgba(198, 184, 236, 0.1);
  border: 1px solid rgba(198, 184, 236, 0.28);
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
}
.step.done { color: var(--ok); background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.3); }
.step.fail { color: var(--danger); background: rgba(255, 107, 138, 0.1); border-color: rgba(255, 107, 138, 0.3); }

.field-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 20px 0 12px;
  font-size: 16px;
}
.card-head + .field-label { margin-top: 4px; }
.field-label small { font-size: 13px; }
.req { color: var(--pink); font-style: normal; }

/* ---------- 上传格子 ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  padding: 0;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.tile:hover, .tile.is-drag { border-color: var(--violet); background: rgba(216, 180, 106, 0.08); }
.tile .plus { font-size: 34px; line-height: 1; font-weight: 200; color: var(--faint); }
.tile .tile-text { font-size: 13px; }
.tile .tile-sub { font-size: 11px; color: var(--faint); }
.tile.is-filled {
  border: 1.5px solid rgba(216, 180, 106, 0.75);
  box-shadow: 0 0 0 1px rgba(216, 180, 106, 0.25), 0 0 22px -4px rgba(216, 180, 106, 0.55);
  cursor: default;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 7px;
  background: rgba(216, 180, 106, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.tile .remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: rgba(10, 8, 25, 0.7);
  color: #fff;
  font-size: 14px;
  display: grid;
  place-items: center;
}
.tile .role {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 8px 8px;
  text-align: center;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(transparent, rgba(8, 6, 20, 0.85));
}
.tile .role i { font-style: normal; color: var(--pink); }
.tile .role em { font-style: normal; color: rgba(255, 255, 255, 0.55); font-size: 12px; margin-left: 4px; }
.tile.is-busy::after {
  content: '处理中…';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(12, 10, 29, 0.6);
  color: var(--text);
  font-size: 13px;
}

/* ---------- 模型卡片 ---------- */
.providers { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.provider {
  text-align: left;
  border-radius: var(--radius-sm);
  border: 1px solid var(--chip-border);
  background: var(--chip);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color 0.15s, background 0.15s;
}
.provider:hover:not(:disabled) { border-color: rgba(216, 180, 106, 0.6); }
.provider .p-name { font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.provider .p-vendor { font-size: 12px; color: var(--muted); }
.provider .p-tag { font-size: 12px; color: var(--faint); margin-top: 4px; }
.provider .p-dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--faint); flex: none; }
.provider.is-active {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 0 24px -8px rgba(216, 180, 106, 0.8);
}
.provider.is-active .p-dot { border: 0; background: var(--grad); box-shadow: 0 0 8px var(--violet); }
.provider:disabled { opacity: 0.45; cursor: not-allowed; }
.provider .p-off { font-size: 11px; color: var(--danger); font-weight: 400; }

/* ---------- 选项胶囊 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
#modelChips { margin-top: 12px; }
.chip {
  min-width: 84px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip);
  font-size: 16px;
  color: var(--text);
  transition: background 0.15s, box-shadow 0.15s;
}
.chip small { font-size: 12px; margin-left: 6px; color: inherit; opacity: 0.7; }
.chip.is-active {
  background: var(--grad-soft);
  border-color: transparent;
  box-shadow: 0 6px 22px -8px rgba(216, 180, 106, 0.9);
  font-weight: 600;
}
.chip:disabled { opacity: 0.35; cursor: not-allowed; }
#sizeHint { font-variant-numeric: tabular-nums; }

/* ---------- AI 分析 ---------- */
.analyze-box {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(198, 184, 236, 0.25);
  background: linear-gradient(135deg, rgba(198, 184, 236, 0.07), rgba(216, 180, 106, 0.07));
}
.analyze-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(198, 184, 236, 0.45);
  background: rgba(198, 184, 236, 0.12);
  color: #f3dc9c;
  font-size: 16px;
  font-weight: 600;
}
.analyze-btn svg { width: 16px; height: 16px; }
.analyze-btn:hover:not(:disabled) { background: rgba(198, 184, 236, 0.2); }
.analyze-btn:disabled { opacity: 0.6; cursor: progress; }
.analyze-note { margin: 10px 2px 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.analyze-note.is-stale { color: #ffd38a; }
.analyze-note.is-error { color: #ffb3c4; }
.analyze-result { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.analyze-result h3 { margin: 0 0 6px; font-size: 14px; color: var(--cyan); font-weight: 600; }
.analyze-result ul { margin: 0 0 12px; padding-left: 18px; font-size: 14px; line-height: 1.7; color: #e8def5; }
.analyze-result ul:last-child { margin-bottom: 0; }
.spin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(189, 241, 255, 0.3);
  border-top-color: #f3dc9c;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 要求 ---------- */
textarea {
  width: 100%;
  resize: vertical;
  min-height: 120px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--chip-border);
  background: rgba(0, 0, 0, 0.18);
  font-size: 15px;
  line-height: 1.7;
}
textarea:focus, input:focus { outline: 2px solid rgba(216, 180, 106, 0.6); outline-offset: 1px; }
.req-tools { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 10px; font-size: 13px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--cyan); font-size: 13px; }
.prompt-preview { margin-top: 14px; font-size: 13px; }
.prompt-preview summary { cursor: pointer; color: var(--muted); }
.prompt-preview pre {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  color: #ddd2ee;
  font-family: inherit;
  line-height: 1.7;
}

/* ---------- 按钮 ---------- */
.primary {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 18px 24px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 36px -10px rgba(216, 180, 106, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.12s, filter 0.15s;
}
.primary svg { width: 20px; height: 20px; }
.primary:hover:not(:disabled) { filter: brightness(1.08); }
.primary:active:not(:disabled) { transform: scale(0.99); }
.primary:disabled { filter: grayscale(0.6) brightness(0.7); cursor: not-allowed; }
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip);
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
}
.ghost:hover { background: rgba(255, 255, 255, 0.1); }
.ghost.danger { color: var(--danger); }
.icon-btn { border: 0; background: rgba(255, 255, 255, 0.08); width: 36px; height: 36px; border-radius: 50%; }
.form-error {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 107, 138, 0.1);
  border: 1px solid rgba(255, 107, 138, 0.3);
  color: #ffb3c4;
  font-size: 14px;
}

/* ---------- 结果 ---------- */
.result { margin-top: 18px; scroll-margin-top: 72px; }
.result-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}
.result-frame img { display: block; width: 100%; height: auto; }
.skeleton {
  position: relative;
  width: 100%;
  max-height: 70vh;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  display: grid;
  place-items: center;
  margin: 0 auto;
}
.skeleton::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(216, 180, 106, 0.16) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: shimmer 1.8s linear infinite;
}
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.skeleton-text { position: relative; text-align: center; padding: 20px; }
.timer { font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.skeleton-text p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.result-meta { margin-top: 12px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.result-error { color: #ffb3c4; font-size: 15px; line-height: 1.7; word-break: break-word; }
@media (prefers-reduced-motion: reduce) { .skeleton::before { animation: none; } }

.footnote { text-align: center; font-size: 12px; color: var(--faint); margin-top: 26px; }

/* ---------- 我的作品 ---------- */
.page-head { padding: 30px 0 18px; }
.page-head h1 { margin: 0; font-size: 30px; }
.page-head p { margin: 6px 0 0; font-size: 13px; }
.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.work {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  aspect-ratio: 3 / 4;
}
.work img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work .work-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 10px 8px;
  text-align: left;
  font-size: 12px;
  background: linear-gradient(transparent, rgba(8, 6, 20, 0.9));
  color: #fff;
}
.work .work-meta span { display: block; color: rgba(255, 255, 255, 0.6); font-size: 11px; }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }

/* ---------- 弹窗 ---------- */
dialog {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--bg-2);
  color: var(--text);
  padding: 0;
}
dialog::backdrop { background: rgba(5, 4, 15, 0.8); backdrop-filter: blur(6px); }
.lightbox { width: min(92vw, 720px); max-height: 92vh; overflow: auto; padding: 14px; }
.lightbox img { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: contain; border-radius: 12px; background: #000; }
.lb-close-form { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.lb-meta { font-size: 13px; color: var(--muted); margin: 12px 2px 0; line-height: 1.8; word-break: break-word; }
.lb-actions { display: flex; gap: 10px; margin-top: 14px; }
/* 输入框 */
.auth input:not([type=checkbox]), .redeem-form input, .stack-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--chip-border);
  background: rgba(0, 0, 0, 0.25);
  font-size: 16px;
}

@media (max-width: 480px) {
  .card { padding: 18px 14px 20px; border-radius: 18px; }
  .card-head h2 { font-size: 20px; }
  .tiles { gap: 9px; }
  .chip { min-width: 0; flex: 1 1 calc(33% - 10px); padding: 10px 8px; font-size: 15px; }
  .providers { grid-template-columns: 1fr; }
  .provider { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
  .provider .p-name { order: 0; flex: 1 1 100%; }
  .provider .p-tag { margin-top: 0; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ================= 商业化新增 ================= */
a { color: var(--cyan); }
.user-area { display: flex; align-items: center; gap: 8px; }
.login-btn {
  border: 0;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--grad);
  white-space: nowrap;
}
.balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(198, 184, 236, 0.35);
  background: rgba(198, 184, 236, 0.1);
  color: #f3dc9c;
  text-decoration: none;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.balance-pill small { color: inherit; opacity: 0.75; font-weight: 400; }
.gem { width: 10px; height: 10px; background: var(--grad); transform: rotate(45deg); border-radius: 2px; }
.admin-link { font-size: 13px; color: var(--muted); text-decoration: none; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--chip-border); }
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.notice-bar {
  max-width: 860px;
  margin: 10px auto 0;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 211, 138, 0.08);
  border: 1px solid rgba(255, 211, 138, 0.25);
  color: #ffd38a;
  font-size: 14px;
  text-align: center;
}
@media (max-width: 860px) { .notice-bar { margin: 10px 16px 0; } }

.how { list-style: none; padding: 0; margin: 22px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; }
.how li { display: flex; align-items: center; gap: 8px; }
.how b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #fff;
  background: rgba(216, 180, 106, 0.5);
}
.bonus-hint {
  display: inline-block;
  margin-top: 16px !important;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(229, 143, 176, 0.12);
  border: 1px solid rgba(229, 143, 176, 0.35);
  color: #ffc2de !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
}
.privacy-hint { margin: 14px 2px 0; font-size: 12px; color: var(--faint); }
.provider .p-price { margin-top: 6px; font-size: 13px; color: #f3dc9c; font-weight: 600; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 4px 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  cursor: pointer;
}
.consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--violet); }
.consent.small { font-size: 12px; margin: 2px 0 6px; }
.consent.is-warn { color: #ffd38a; }
.consent.is-warn input { outline: 2px solid #ffd38a; outline-offset: 2px; }
.cost-pill {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}
.cost-pill:empty { display: none; }
.primary.small { width: auto; padding: 12px 22px; font-size: 16px; letter-spacing: 0.04em; flex: none; }
.form-error.is-ok { background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.3); color: #b6f5c9; }
.inline-link { color: #fff; font-weight: 600; }
.refund-note { color: #b6f5c9; font-size: 14px; margin: 0; }

/* 充值 */
.balance-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.balance-num { font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }
.balance-num small { font-size: 16px; font-weight: 400; }
.redeem-form { display: flex; gap: 10px; }
.redeem-form input { flex: 1; min-width: 0; letter-spacing: 0.06em; text-transform: uppercase; }
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.package {
  position: relative;
  padding: 18px 16px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--chip-border);
  background: var(--chip);
  text-align: center;
}
.package.is-featured {
  border: 1.5px solid transparent;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box;
}
.pkg-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: var(--grad);
  color: #fff;
  white-space: nowrap;
}
.pkg-name { color: var(--muted); font-size: 14px; }
.pkg-points { font-size: 32px; font-weight: 800; margin: 4px 0; }
.pkg-points small { font-size: 14px; font-weight: 400; color: var(--muted); }
.pkg-price { font-size: 18px; font-weight: 700; color: #ffc2de; }
.pkg-unit { font-size: 12px; color: var(--faint); margin-top: 2px; }
.purchase-note { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: rgba(0, 0, 0, 0.2); font-size: 14px; color: #e8def5; }
.purchase-note p { margin: 0 0 6px; }
.purchase-note p:last-child { margin: 0; }
.contact-line { color: #f3dc9c; font-weight: 600; }
.price-table { display: flex; flex-direction: column; gap: 8px; }
.price-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; padding: 10px 12px; border-radius: 12px; background: var(--chip); font-size: 14px; }
.price-model { font-weight: 600; }
.price-tiers { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); }
.small-note { font-size: 13px; margin: 12px 2px 0; }

/* 账户 */
.ledger { display: flex; flex-direction: column; }
.ledger-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 14px; }
.ledger-row small { font-size: 12px; color: var(--faint); }
.ledger-delta { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 16px; }
.ledger-delta.plus { color: var(--ok); }
.ledger-delta.minus { color: #ffb3c4; }
.stack-form { display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.stack-form .ghost { align-self: flex-start; }
#logoutBtn { margin-top: 4px; }

/* 登录弹窗 */
.auth { width: min(92vw, 400px); padding: 24px 22px 20px; }
.auth form { display: flex; flex-direction: column; gap: 12px; position: relative; }
.auth-close { position: absolute; top: -8px; right: -6px; }
.auth-tabs { display: flex; gap: 18px; }
.auth-tab { border: 0; background: none; padding: 0 0 6px; font-size: 20px; font-weight: 700; color: var(--faint); border-bottom: 2px solid transparent; }
.auth-tab.is-active { color: var(--text); border-bottom-color: var(--violet); }
.auth-sub { margin: 0 0 4px; font-size: 14px; }
.auth .form-error { margin: 0; }
.auth-foot { margin: 0; font-size: 12px; text-align: center; }
.auth input:not([type=checkbox]), .redeem-form input, .stack-form input { width: 100%; }

.site-footer { margin-top: 40px; text-align: center; font-size: 12px; color: var(--faint); line-height: 1.8; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); }

@media (max-width: 600px) {
  .topbar-inner { flex-wrap: wrap; row-gap: 8px; }
  .tabs { order: 3; width: 100%; justify-content: center; }
  .tab { flex: 1; }
  .balance-num { font-size: 32px; }
  .redeem-form { flex-direction: column; }
  .primary.small { width: 100%; }
}

/* 协议页面 */
.doc { max-width: 760px; padding-top: 24px; font-size: 15px; line-height: 1.85; }
.doc h1 { font-size: 30px; margin: 18px 0 4px; }
.doc h2 { font-size: 19px; margin: 28px 0 8px; color: #e8def5; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc-back { font-size: 14px; text-decoration: none; }

/* ================= 积分 / 水印 / 图库 ================= */
.ref-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ref-row .tiles { display: contents; }
@media (min-width: 640px) { .ref-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.library-entry {
  grid-column: span 2;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(229, 143, 176, 0.35);
  background: linear-gradient(135deg, rgba(229, 143, 176, 0.12), rgba(216, 180, 106, 0.12));
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  padding: 16px;
  text-align: left;
}
.library-entry:hover { border-color: rgba(229, 143, 176, 0.7); }
.le-title { font-size: 16px; font-weight: 700; }
.le-title::after { content: ' →'; color: var(--pink); }
.le-sub { font-size: 12px; color: var(--muted); }

.pay-with { margin: 0 4px 14px; }
.pay-title { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.pay-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.pay-opt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--chip-border);
  background: var(--chip);
  cursor: pointer;
}
.pay-opt input { margin-top: 3px; accent-color: var(--violet); }
.pay-opt.is-active { border-color: rgba(216, 180, 106, 0.8); background: rgba(216, 180, 106, 0.12); }
.pay-opt.is-disabled { opacity: 0.45; cursor: not-allowed; }
.pay-main { display: flex; flex-direction: column; gap: 2px; }
.pay-main b { font-size: 15px; }
.pay-main small { font-size: 12px; }

.wm-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 211, 138, 0.08);
  border: 1px solid rgba(255, 211, 138, 0.3);
}
.wm-note p { margin: 0; font-size: 14px; color: #ffd38a; flex: 1 1 260px; }
.wm-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 7px;
  font-size: 11px;
  background: rgba(255, 211, 138, 0.9);
  color: #3a2a00;
  font-weight: 700;
}
.lb-actions .primary.small { width: auto; }

.balance-split { display: flex; gap: 36px; flex-wrap: wrap; }
.balance-num.gift { color: #ffd38a; }

.lib-cats { margin-bottom: 16px; }
.lib-cats .chip { min-width: 0; padding: 8px 14px; font-size: 14px; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.lib-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: rgba(255, 255, 255, 0.04); aspect-ratio: 3 / 4; }
.lib-item img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.lib-use {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 0;
  border-radius: 999px;
  padding: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.6);
}
.lib-use:disabled { opacity: 0.7; }
@media (max-width: 480px) {
  .lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-entry { padding: 12px; }
  .balance-split { gap: 24px; }
}

/* ---------- 颜值鉴定 ---------- */
.beauty-upload { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: stretch; margin-bottom: 16px; }
.beauty-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}
.beauty-drop:hover, .beauty-drop.is-drag { border-color: var(--violet); background: rgba(216, 180, 106, 0.08); }
.beauty-drop.has-photo { border-style: solid; }
.beauty-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bd-plus { font-size: 34px; line-height: 1; color: var(--text); }
.bd-title { font-size: 15px; color: var(--text); font-weight: 600; }
.bd-sub { font-size: 12px; }
.bd-change { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 12px; }
.beauty-tips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.beauty-tips li { font-size: 13px; color: var(--muted); line-height: 1.5; }
.beauty-tips b { display: block; color: var(--text); font-size: 14px; margin-bottom: 2px; }

.beauty-result { padding-top: 26px; }
.bs-loading { text-align: center; padding: 24px 0; }
.bs-sk-num { width: 120px; height: 64px; border-radius: 14px; margin: 0 auto 14px; }
.bs-hero { text-align: center; }
.bs-score { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.bs-num { font-size: 68px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.bs-score small { font-size: 16px; color: var(--muted); }
.bs-tier { display: inline-block; margin-top: 10px; padding: 4px 14px; border-radius: 999px; background: rgba(216, 180, 106, 0.18); border: 1px solid rgba(216, 180, 106, 0.4); font-weight: 700; font-size: 15px; }
.bs-verdict { margin: 16px auto 0; max-width: 520px; font-size: 16px; line-height: 1.7; }
.bs-warn { margin: 14px auto 0; max-width: 520px; font-size: 13px; color: #ffd38a; }
.bs-meter { max-width: 420px; margin: 22px auto 4px; }
.bs-track { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(216, 180, 106, 0.5), rgba(229, 143, 176, 0.8)); }
.bs-dot { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(216, 180, 106, 0.45); transform: translate(-50%, -50%); }
.bs-avg { position: absolute; top: -4px; width: 2px; height: 14px; background: var(--faint); transform: translateX(-50%); }
.bs-scale { position: relative; display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--faint); }
.bs-avg-label { position: absolute; transform: translateX(-50%); }

.bs-full, .bs-locked { margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.07); padding-top: 18px; }
.bs-dim { margin-bottom: 16px; }
.bs-dim-head { display: flex; align-items: baseline; gap: 8px; }
.bs-dim-head b { font-size: 15px; }
.bs-dim-head small { color: var(--faint); font-size: 12px; }
.bs-dim-score { margin-left: auto; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.bs-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); margin: 6px 0 8px; overflow: hidden; }
.bs-bar span { display: block; height: 100%; background: var(--grad-soft); border-radius: 3px; }
.bs-dim p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
.bs-adjust { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); }
.bs-adjust span { color: var(--muted); }
.bs-calc { font-size: 12px; color: var(--faint); margin: 10px 2px 18px; line-height: 1.6; }
.bs-list h3 { font-size: 15px; margin: 18px 0 8px; }
.bs-list ul, .bs-list ol { margin: 0; padding-left: 20px; }
.bs-list li { font-size: 14px; line-height: 1.75; color: #e8def5; }
.bs-potential { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(198, 184, 236, 0.08); border: 1px solid rgba(198, 184, 236, 0.25); font-size: 14px; }
.bs-potential b { font-size: 24px; color: var(--cyan); }
.bs-style { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 14px; }

.bs-locked { position: relative; }
.bs-blur { filter: blur(6px); opacity: 0.55; pointer-events: none; user-select: none; }
.bs-unlock {
  position: absolute;
  inset: 18px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 16px;
}
.bs-unlock h3 { margin: 0; font-size: 18px; }
.bs-unlock ul { margin: 2px 0 8px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); line-height: 1.8; }
.bs-unlock .primary.small { width: auto; }
.bs-refused { text-align: center; padding: 6px 0; }
.bs-refused h3 { margin: 0 0 8px; }
.bs-refused p { margin: 0 0 6px; color: #ffd38a; }

.beauty-scale summary { cursor: pointer; font-weight: 600; }
.scale-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 16px; margin: 14px 0 6px; }
.scale-row { display: flex; gap: 12px; font-size: 14px; }
.scale-range { width: 64px; color: var(--muted); font-variant-numeric: tabular-nums; }

.beauty-history { display: flex; flex-direction: column; gap: 6px; }
.bh-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; background: rgba(255, 255, 255, 0.03); text-align: left; color: var(--text); }
.bh-row:hover, .bh-row.is-active { border-color: rgba(216, 180, 106, 0.4); }
.bh-score { font-weight: 800; font-size: 18px; width: 40px; font-variant-numeric: tabular-nums; }
.bh-tier { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bh-row small { white-space: nowrap; }
.bh-tag { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.bh-tag.is-open { background: rgba(74, 222, 128, 0.12); color: var(--ok); }

@media (max-width: 600px) {
  .tab { padding: 6px 6px; font-size: 13px; }
  .beauty-upload { grid-template-columns: 1fr; }
  .beauty-drop { width: 60%; margin: 0 auto; }
  .bh-row { gap: 8px; }
  .bh-row small { font-size: 11px; }
  .bs-num { font-size: 56px; }
  .bs-unlock .primary.small { width: auto; }
}

/* =====================================================================
   魔镜主题（魔镜see）：古金镜框 + 银紫镜面，整站只在镜子上用力，其余保持安静
   ===================================================================== */
.glow {
  background:
    radial-gradient(80vw 46vh at 50% -12%, rgba(216, 180, 106, 0.17), transparent 70%),
    radial-gradient(60vw 50vh at 105% 35%, rgba(150, 110, 220, 0.14), transparent 70%),
    radial-gradient(60vw 50vh at -5% 95%, rgba(229, 143, 176, 0.09), transparent 70%),
    var(--bg);
}
.topbar { background: rgba(21, 13, 34, 0.88); border-bottom: 1px solid rgba(216, 180, 106, 0.16); }
.topbar-inner { padding: 10px 16px 4px; }
.brand { gap: 9px; }
.brand-mark {
  width: 22px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 38% 30%, #f4f0ff 0%, #b9acdf 45%, #5f4f92 100%);
  border: 2.5px solid var(--gold);
  box-shadow: 0 0 0 1px #5e4020, 0 0 14px rgba(216, 180, 106, 0.45);
}
.brand-mark::after { content: none; }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-hi); }
.brand-name i { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; color: var(--text); letter-spacing: 0.01em; margin-left: 1px; }

/* 顶部板块导航：一行文字按钮，当前板块下面一道金线 */
.tabs {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 8px;
  display: flex;
  gap: 0;
  background: none;
  border: 0;
  border-radius: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto;
  position: relative;
  padding: 8px 10px 11px;
  border-radius: 0;
  background: none;
  font-size: 15px;
  color: var(--muted);
}
.tab.is-active { background: none; color: var(--gold-hi); font-weight: 600; }
.tab.is-active::after { content: ''; position: absolute; left: 28%; right: 28%; bottom: 3px; height: 2px; border-radius: 2px; background: var(--gold); }
.tab:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: -4px; border-radius: 8px; }
.tab-count { color: var(--rose); }

/* 单页板块 */
.sec { scroll-margin-top: 104px; }
.sec + .sec { position: relative; margin-top: 40px; padding-top: 34px; border-top: 1px solid rgba(216, 180, 106, 0.16); }
.sec + .sec::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 0 4px var(--bg);
}
.sec-head { text-align: center; padding: 4px 0 20px; }
.sec-title { margin: 0; font-family: var(--serif); font-size: clamp(28px, 7.5vw, 36px); font-weight: 700; letter-spacing: 0.1em; color: var(--gold-hi); }
.sec-sub { margin: 8px auto 0; max-width: 32em; color: var(--muted); font-size: 15px; line-height: 1.6; }
.create-head .how { margin-top: 18px; }
.how b { background: var(--gold); color: var(--ink); }
.card { border-color: rgba(216, 180, 106, 0.13); }
.card-head h2 { font-family: var(--serif); letter-spacing: 0.04em; }

/* 按钮：古金底、深紫字 */
.primary { color: var(--ink); box-shadow: 0 12px 30px -12px rgba(216, 180, 106, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.primary .cost-pill { background: rgba(42, 22, 54, 0.14); color: var(--ink); }
.login-btn, .pkg-tag, .lib-use, .avatar, .tile .badge { color: var(--ink); }
.balance-pill { border-color: rgba(216, 180, 106, 0.4); background: rgba(216, 180, 106, 0.1); }

/* ---------- 魔镜 ---------- */
.sec-mirror { text-align: center; padding-top: 18px; }
.mirror-head { margin-bottom: 14px; }
.slogan {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 12.5vw, 66px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.2em;
  padding-left: 0.2em;
  background: linear-gradient(180deg, #fff7df 0%, #f0d48e 48%, #b48541 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(216, 180, 106, 0.35));
}
.slogan-sub { margin: 10px 0 0; color: var(--muted); font-size: 14px; letter-spacing: 0.1em; }

.mirror { position: relative; width: min(72vw, 300px); margin: 0 auto 18px; }
.mirror-crest { position: relative; z-index: 2; display: block; width: 50%; margin: 0 auto -16px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5)); }
.mirror-foot { position: relative; z-index: 2; display: block; width: 42%; margin: -9px auto 0; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5)); }
.mirror-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 50%;
  padding: 13px;
  background: conic-gradient(from 210deg, #8f6430, #f6e2a8, #c3934d, #fff0c2, #a5793b, #ecd08a, #8f6430);
  box-shadow:
    0 0 0 2px #4d3318,
    0 0 0 6px rgba(216, 180, 106, 0.2),
    0 26px 60px -18px rgba(0, 0, 0, 0.85),
    0 0 70px -12px rgba(216, 180, 106, 0.4);
}
.mirror-frame::before {
  content: '';
  position: absolute;
  inset: 6px;
  z-index: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(77, 51, 24, 0.75);
  pointer-events: none;
}
.mirror-glass {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(ellipse at 34% 24%, #f6f2ff 0%, #cbc0ea 30%, #7f6eb0 68%, #3b2c62 100%);
  box-shadow: inset 0 0 0 2px rgba(60, 40, 20, 0.6), inset 0 0 44px rgba(30, 15, 50, 0.65);
  cursor: pointer;
}
/* 镜面上缓慢划过的一道光 */
.mirror-glass::after {
  content: '';
  position: absolute;
  inset: -25%;
  z-index: 2;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.5) 49%, transparent 60%);
  transform: translateX(-75%);
  animation: mirror-sheen 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes mirror-sheen { 0%, 60% { transform: translateX(-75%); } 100% { transform: translateX(75%); } }
.mirror-glass:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 5px; }
.mirror-glass.is-drag { filter: brightness(1.12); }
.mg-empty { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mg-plus { font-size: 38px; line-height: 1; color: #3a2558; opacity: 0.7; }
.mg-title { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink); }
.mg-sub { font-size: 12px; color: #4b3a72; }
.mirror-glass.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mirror-glass.has-photo::after { opacity: 0.45; }
.mg-change { position: absolute; z-index: 3; top: 9%; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: rgba(21, 13, 34, 0.62); color: #fff; font-size: 12px; }

/* 鉴定中：镜面起雾、镜框发光 */
.mirror.is-reading .mirror-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 46%, transparent 18%, rgba(222, 210, 255, 0.75) 72%);
  animation: mirror-mist 1.6s ease-in-out infinite alternate;
}
.mirror.is-reading .mirror-frame { animation: mirror-glow 1.6s ease-in-out infinite alternate; }
@keyframes mirror-mist { from { opacity: 0.2; } to { opacity: 0.95; } }
@keyframes mirror-glow {
  to { box-shadow: 0 0 0 2px #4d3318, 0 0 0 6px rgba(216, 180, 106, 0.35), 0 26px 60px -18px rgba(0, 0, 0, 0.85), 0 0 100px 4px rgba(246, 226, 168, 0.55); }
}
/* 鉴定完成：分数浮现在镜子里 */
.mirror-verdict {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 13%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 20px 9px;
  border-radius: 18px;
  background: rgba(21, 13, 34, 0.8);
  border: 1px solid rgba(216, 180, 106, 0.65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  animation: mirror-rise 0.7s ease-out;
}
.mv-label { font-size: 12px; letter-spacing: 0.3em; color: var(--muted); }
.mirror-verdict b { font-family: var(--serif); font-size: 42px; line-height: 1.05; color: var(--gold-hi); }
.mv-tier { font-size: 13px; color: var(--rose); }
@keyframes mirror-rise { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) {
  .mirror-glass::after, .mirror.is-reading .mirror-glass::before, .mirror.is-reading .mirror-frame, .mirror-verdict { animation: none; }
}

.mirror-tips { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 480px; margin: 0 auto 16px; padding: 0; }
.mirror-tips li { font-size: 11px; line-height: 1.4; color: var(--faint); }
.mirror-tips b { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 600; color: var(--text); }
.sec-mirror .consent { max-width: 520px; margin-left: auto; margin-right: auto; text-align: left; }
.mirror-btn { max-width: 520px; margin: 0 auto; }
.mirror-btn.is-asking { font-family: var(--serif); font-size: 16px; letter-spacing: 0.04em; }
.mirror-btn.is-asking .cost-pill { display: none; }
.sec-mirror .form-error { max-width: 520px; margin-left: auto; margin-right: auto; text-align: left; }
.sec-mirror .card { margin-top: 18px; text-align: left; }
.bs-num { font-family: var(--serif); }
.bs-tier { background: rgba(229, 143, 176, 0.13); border-color: rgba(229, 143, 176, 0.45); color: #ffd6e5; }
.bs-track { background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(216, 180, 106, 0.55), rgba(229, 143, 176, 0.85)); }
.bs-dot { box-shadow: 0 0 0 4px rgba(216, 180, 106, 0.45); }

/* 账户：手机上从底部弹出 */
.sheet {
  width: min(560px, 100%);
  max-width: 100%;
  max-height: 88vh;
  margin: auto auto 0;
  padding: 18px 16px calc(24px + env(safe-area-inset-bottom));
  border: 0;
  border-top: 1px solid rgba(216, 180, 106, 0.3);
  border-radius: 22px 22px 0 0;
  background: var(--bg-2);
  color: var(--text);
  overflow-y: auto;
}
.sheet::backdrop { background: rgba(8, 4, 14, 0.62); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.sheet-head h2 { margin: 0; font-family: var(--serif); font-size: 22px; }
.sheet .card { margin-top: 14px; }
@media (min-width: 640px) { .sheet { margin: auto; border: 1px solid rgba(216, 180, 106, 0.25); border-radius: 22px; } }

@media (max-width: 600px) {
  .topbar-inner { flex-wrap: nowrap; }
  .tabs { width: 100%; order: 0; justify-content: flex-start; }
  .tab { flex: 1 0 auto; padding: 8px 6px 11px; font-size: 14px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .card { padding: 18px 16px 20px; border-radius: 18px; }
  .card-head h2 { font-size: 19px; }
  .sec + .sec { margin-top: 32px; padding-top: 28px; }
  .primary { font-size: 17px; padding: 16px 20px; }
  .mirror-btn.is-asking { font-size: 15px; letter-spacing: 0; }
}
@media (max-width: 360px) {
  .mirror-tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab { font-size: 13px; }
}

/* =====================================================================
   App 布局：首页入口卡片 + 板块页 + 底部悬浮导航（手机优先，电脑上居中显示）
   ===================================================================== */
.app {
  max-width: 520px;
  margin: 0 auto;
  padding: calc(12px + env(safe-area-inset-top)) 16px calc(112px + env(safe-area-inset-bottom));
}
.app .card { padding: 18px 16px 20px; border-radius: 20px; }
.app .site-footer { margin-top: 28px; }

/* 首页 */
.home-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 7px 14px 7px 7px;
  border-radius: 16px;
  border: 1px solid rgba(216, 180, 106, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-decoration: none;
}
.mini-qr {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(216, 180, 106, 0.85) 0 25%, transparent 0 50%) 0 0 / 9px 9px, #2a1d3d;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 2px rgba(216, 180, 106, 0.35);
}
.mini-text { min-width: 0; }
.mini-text b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; }
.mini-text small { display: block; font-size: 11px; color: var(--faint); white-space: nowrap; }
.home-top .user-area { flex: none; }
.app .notice-bar { margin: 0 0 14px; }

.home-card {
  padding: 34px 18px 22px;
  border-radius: 28px;
  border: 1px solid rgba(216, 180, 106, 0.2);
  background: linear-gradient(180deg, rgba(216, 180, 106, 0.09), rgba(255, 255, 255, 0.025) 42%);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.9);
  text-align: center;
}
.home-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  border: 1px solid rgba(216, 180, 106, 0.28);
  background: radial-gradient(circle at 50% 28%, rgba(246, 226, 168, 0.22), rgba(216, 180, 106, 0.05) 70%);
  box-shadow: 0 14px 32px -14px rgba(216, 180, 106, 0.6);
}
.home-icon svg { width: 46px; height: 55px; }
.home-title { margin: 0; font-family: var(--serif); font-size: 40px; font-weight: 800; line-height: 1.15; letter-spacing: 0.06em; color: var(--gold-hi); }
.home-title i { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--text); margin-left: 2px; }
.home-sub { margin: 8px 0 26px; padding-left: 0.32em; font-family: var(--serif); font-size: 16px; letter-spacing: 0.32em; color: var(--muted); }
.entry {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 16px 14px 16px 16px;
  border-radius: 20px;
  border: 1px solid rgba(216, 180, 106, 0.16);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  text-align: left;
  transition: border-color 0.15s, transform 0.12s;
}
.entry:hover { border-color: rgba(216, 180, 106, 0.42); }
.entry:active { transform: scale(0.99); }
.entry:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.entry-icon { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; }
.entry-icon.is-create { background: rgba(229, 143, 176, 0.14); color: var(--rose); }
.entry-icon.is-create svg { width: 32px; height: 32px; }
.entry-icon.is-beauty { background: rgba(198, 184, 236, 0.14); }
.entry-icon.is-beauty svg { width: 28px; height: 34px; }
.entry-text { flex: 1; min-width: 0; }
.entry-text b { display: block; font-size: 18px; font-weight: 700; letter-spacing: 0.04em; }
.entry-text small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.entry-arrow { flex: none; font-size: 28px; line-height: 1; color: var(--faint); }
.home-card .bonus-hint { margin-top: 18px !important; }

/* 板块页头部：返回 + 标题 + 右上角直达按钮 */
.view-head { display: flex; align-items: center; gap: 10px; padding: 6px 0 18px; text-align: left; }
.back-btn {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.back-btn svg { width: 22px; height: 22px; }
.back-btn:focus-visible, .head-jump:focus-visible, .bn-item:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.vh-text { flex: 1; min-width: 0; }
.vh-text h1 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: 0.06em; color: var(--gold-hi); }
.vh-text p { margin: 3px 0 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.head-jump {
  flex: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(216, 180, 106, 0.55);
  background: rgba(216, 180, 106, 0.12);
  color: var(--gold-hi);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.view-beauty .slogan { font-size: clamp(36px, 11vw, 54px); }
.view-beauty .mirror-head { margin-bottom: 10px; }
.view-create .how { justify-content: space-between; gap: 6px; margin: 0 0 16px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(216, 180, 106, 0.12); font-size: 13px; }
.view-create .how li { gap: 6px; }
.view-create .demo-banner { margin: 0 0 14px; }

/* 底部悬浮导航 */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 20;
  width: min(calc(100% - 32px), 488px);
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(216, 180, 106, 0.24);
  background: rgba(31, 20, 47, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.75);
}
.bn-item {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.bn-item svg { flex: none; width: 20px; height: 20px; }
.bn-item.is-active { background: var(--grad); color: var(--ink); }
.bn-dot { position: absolute; top: 3px; right: 16%; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rose); color: #fff; font-size: 11px; font-style: normal; line-height: 18px; text-align: center; }
.bn-dot:empty { display: none; }
.bn-item.is-active .bn-dot { background: var(--ink); color: var(--gold-hi); }

/* 我的 */
.mp-guest { display: flex; align-items: center; gap: 14px; }
.mp-avatar { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: var(--ink); font-size: 22px; font-weight: 800; }
.mp-avatar.is-guest { background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.mp-text { flex: 1; min-width: 0; }
.mp-text b { display: block; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-text small { display: block; font-size: 13px; color: var(--muted); }
.me-profile .primary.small { width: auto; flex: none; padding: 10px 16px; font-size: 15px; }
.me-profile .ghost { flex: none; }
.view-me .card-head { justify-content: space-between; }
.view-me .card-head small { font-size: 12px; }
.me-rate { margin: 4px 4px 10px; font-size: 13px; }
.me-logout { width: 100%; justify-content: center; }
.view-me .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.view-me .empty { padding: 26px 0; }

@media (max-width: 380px) {
  .bn-item { font-size: 13px; gap: 4px; }
  .bn-item svg { width: 18px; height: 18px; }
  .mini-text small { display: none; }
  .home-title { font-size: 34px; }
  .head-jump { padding: 7px 11px; font-size: 13px; }
  .vh-text h1 { font-size: 24px; }
}
.mini-qr { display: grid; place-items: center; background: #2a1d3d; }
.mini-qr svg { width: 26px; height: 26px; }
.view-me .card-head { flex-wrap: wrap; gap: 4px 12px; }
.view-me .card-head h2 { white-space: nowrap; }
.view-me .card-head small { flex: 1 1 100%; }
.balance-card .ghost { white-space: nowrap; flex: none; }
.view-create .how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.view-create .how li { flex-direction: column; gap: 6px; line-height: 1.35; }

/* =====================================================================
   付费：报告未解锁 → 支付页（首单礼包 / 积分套餐 + 微信 / 支付宝）→ 订单
   ===================================================================== */
.bs-score.is-hidden .bs-num { font-size: 84px; line-height: 1; }
.bs-tier.is-locked { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); color: var(--muted); }
.bs-locked { position: static; }
.bs-review { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(216, 180, 106, 0.14); }
.bs-review-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--muted); }
.bs-review-icon { width: 14px; height: 18px; border-radius: 50%; border: 2px solid var(--gold); background: radial-gradient(ellipse at 40% 30%, #f4f0ff, #8f80c2); }
.bs-review .bs-blur p { margin: 0 0 8px; font-size: 15px; color: var(--text); }
.bs-locked .bs-unlock { position: static; inset: auto; padding: 18px 4px 4px; }
.bs-locked .bs-unlock ul { margin: 0 0 14px; text-align: left; display: inline-block; list-style: '✦  '; padding-left: 18px; color: var(--muted); }
.unlock-btn { max-width: 320px; margin: 0 auto 8px; }

.view-pay { padding-bottom: 90px; }
.pay-context { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(216, 180, 106, 0.16); }
.pc-icon { flex: none; width: 34px; height: 42px; border-radius: 50%; border: 3px solid var(--gold); background: radial-gradient(ellipse at 38% 30%, #f6f2ff, #9a8bcc 60%, #5f4f92); }
.pay-context b { display: block; font-size: 15px; }
.pay-context small { display: block; font-size: 12px; color: var(--muted); }
.pay-label { margin: 22px 2px 10px; font-size: 15px; font-weight: 600; color: var(--muted); }
.offer {
  position: relative;
  width: 100%;
  border: 1.5px solid rgba(216, 180, 106, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.offer.is-active { border-color: var(--gold); background: rgba(216, 180, 106, 0.1); box-shadow: 0 0 0 3px rgba(216, 180, 106, 0.15); }
.offer:focus-visible, .pay-method:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.offer-tag { position: absolute; top: -10px; left: 16px; padding: 2px 10px; border-radius: 999px; background: var(--rose); color: #2a0f1d; font-size: 12px; font-weight: 700; }
.offer-starter { padding: 22px 18px 16px; background: linear-gradient(135deg, rgba(216, 180, 106, 0.16), rgba(229, 143, 176, 0.08)); }
.offer-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.offer-name { font-family: var(--serif); font-size: 21px; letter-spacing: 0.04em; }
.offer-starter .offer-price { font-family: var(--serif); font-size: 32px; font-weight: 800; color: var(--gold-hi); white-space: nowrap; }
.offer-price s { margin-left: 6px; font-family: var(--font); font-size: 14px; font-weight: 400; color: var(--faint); }
.offer-list { margin: 10px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); line-height: 1.9; }
.offer-list li::before { content: '✦ '; color: var(--gold); }
.offer-list b { color: var(--text); }
.offer-list small { font-size: 12px; color: var(--faint); }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.offer-pkg { padding: 16px 12px 12px; text-align: center; }
.offer-pkg .offer-tag { left: 50%; transform: translateX(-50%); }
.offer-pts { font-size: 24px; font-weight: 800; }
.offer-pts small { font-size: 13px; font-weight: 400; color: var(--muted); }
.offer-pkg .offer-price { margin-top: 2px; font-size: 17px; font-weight: 700; color: var(--gold-hi); }
.offer-sub { display: block; margin-top: 2px; font-size: 11px; color: var(--faint); }
.pay-alt { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; border: 1px dashed rgba(216, 180, 106, 0.3); font-size: 13px; color: var(--muted); }
.pay-alt .ghost { flex: none; white-space: nowrap; }
.pay-methods { display: flex; flex-direction: column; gap: 10px; }
.pay-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 16px;
  text-align: left;
}
.pay-method.is-active { border-color: var(--gold); }
.pm-icon { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #fff; font-size: 14px; font-weight: 700; }
.pay-method.is-wechat .pm-icon { background: #1aad19; }
.pay-method.is-alipay .pm-icon { background: #1677ff; }
.pm-check { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.25); }
.pay-method.is-active .pm-check { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 45%, transparent 50%); }
.pay-note { display: flex; flex-direction: column; gap: 4px; margin: 14px 2px 0; font-size: 12px; line-height: 1.6; color: var(--faint); }
.pay-contact { color: var(--muted); }
.pay-bar {
  position: fixed;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 19;
  width: min(calc(100% - 32px), 488px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 18px;
  border-radius: 20px;
  border: 1px solid rgba(216, 180, 106, 0.25);
  background: rgba(31, 20, 47, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.8);
}
.pay-total small { display: block; font-size: 12px; color: var(--muted); }
.pay-total b { font-family: var(--serif); font-size: 26px; color: var(--gold-hi); }
.pay-btn { flex: 1; padding: 14px 18px; font-size: 17px; }
body[data-page='pay'] .app { padding-bottom: calc(190px + env(safe-area-inset-bottom)); }

/* 订单弹层 */
.od-success { text-align: center; margin: 6px 0 12px; }
.od-ok { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: var(--ink); font-size: 26px; font-weight: 800; }
.od-success p { margin: 10px 0 0; font-size: 16px; }
.od-card { margin-top: 12px; padding: 6px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(216, 180, 106, 0.14); }
.od-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 14px; }
.od-row:last-child { border-bottom: 0; }
.od-row span { color: var(--muted); width: 64px; flex: none; }
.od-row b { flex: 1; text-align: right; font-weight: 600; word-break: break-all; }
.od-no { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.mini-btn { flex: none; padding: 3px 10px; border-radius: 8px; border: 1px solid var(--chip-border); background: var(--chip); color: var(--text); font-size: 12px; }
.od-note { margin: 14px 2px 4px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.od-contact { margin: 0 2px; font-size: 14px; color: var(--gold-hi); }
.od-wait { margin: 10px 2px 0; font-size: 13px; color: #ffd38a; }
.od-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.od-actions .ghost { justify-content: center; }

/* 我的：权益、订单 */
.credit-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.credit-item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(216, 180, 106, 0.2); background: rgba(216, 180, 106, 0.08); color: var(--text); text-align: left; }
.credit-item b { font-family: var(--serif); font-size: 28px; line-height: 1.1; color: var(--gold-hi); }
.credit-item span { font-size: 12px; color: var(--muted); }
.order-list { display: flex; flex-direction: column; gap: 8px; }
.order-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.03); color: var(--text); text-align: left; }
.order-row b { display: block; font-size: 14px; }
.order-row small { font-size: 12px; color: var(--faint); }
.or-right { text-align: right; font-size: 14px; }
.or-right em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.order-row.is-pending .or-right em { color: #ffd38a; }
.order-row.is-paid .or-right em { color: var(--ok); }
button.package { width: 100%; color: var(--text); font: inherit; cursor: pointer; }
.chip small { margin-left: 4px; font-size: 11px; color: var(--rose); opacity: 1; }

/* 点评风格：温柔点评 / 魔镜锐评 */
.mode-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 520px; margin: 0 auto 14px; }
.ms-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); color: var(--text); text-align: left; }
.ms-opt b { font-size: 16px; }
.ms-opt small { font-size: 12px; color: var(--muted); }
.ms-opt.is-active { border-color: var(--gold); background: rgba(216, 180, 106, 0.1); }
.ms-opt.is-roast.is-active { border-color: var(--rose); background: rgba(229, 143, 176, 0.12); }
.ms-opt.is-roast.is-active b { color: #ffd2e2; }
.ms-opt:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.bs-mode { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); font-size: 13px; color: var(--muted); }
.bs-mode.is-roast { background: rgba(229, 143, 176, 0.1); color: #ffd2e2; }

/* 收款码 */
.od-qr { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 4px 0 6px; padding: 16px 14px 12px; border-radius: 18px; background: #fff; color: #222; text-align: center; }
.od-qr.is-alipay { box-shadow: inset 0 4px 0 #1677ff; }
.od-qr.is-wechat { box-shadow: inset 0 4px 0 #1aad19; }
.od-qr-amount { font-size: 15px; color: #444; }
.od-qr-amount b { font-size: 30px; color: #111; margin-left: 2px; }
.od-qr-tip { font-size: 12px; color: #888; }
.od-qr-img { width: min(260px, 72vw); height: auto; margin: 6px 0; border-radius: 10px; -webkit-touch-callout: default; user-select: auto; }
.od-qr-code { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: #f4f1ea; font-size: 13px; color: #555; }
.od-qr-code b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 22px; letter-spacing: 0.15em; color: #b4004e; }
.od-qr-code .mini-btn { background: #fff; color: #333; border-color: #ddd; }
.od-qr-open { margin-top: 6px; text-decoration: none; }
.od-steps { margin: 8px 0 0; padding-left: 20px; text-align: left; font-size: 12px; line-height: 1.7; color: #666; }

/* 解锁颜值点评的付款弹窗 */
.unlock-sheet .sheet-head { margin-bottom: 10px; }
.us-price { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; border: 1px solid rgba(216, 180, 106, 0.3); background: linear-gradient(135deg, rgba(216, 180, 106, 0.14), rgba(229, 143, 176, 0.06)); }
.us-price > div { display: flex; align-items: baseline; gap: 10px; }
.us-price > div b { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold-hi); }
.us-price > div small { font-size: 14px; color: var(--muted); }
.us-price ul { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.85; color: var(--text); }
.us-price li::before { content: '✦ '; color: var(--gold); }
.us-price .us-gift {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(229, 143, 176, 0.55);
  background: linear-gradient(110deg, rgba(229, 143, 176, 0.26), rgba(216, 180, 106, 0.2));
  box-shadow: 0 8px 22px -12px rgba(229, 143, 176, 0.8);
}
.us-gift .ug-icon { font-size: 26px; line-height: 1; }
.us-gift .ug-text { font-size: 18px; font-weight: 600; color: #fff; letter-spacing: 0.02em; }
.us-gift .ug-text b { font-size: 22px; color: var(--gold-hi); }
.us-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 10px; }
.us-methods .pay-method { padding: 12px; font-size: 15px; }
#unlockPayArea { display: flex; flex-direction: column; gap: 10px; }
#unlockPayArea .primary { margin-top: 2px; }
.us-points { width: 100%; justify-content: center; margin-top: 12px; font-size: 14px; }
.us-points:disabled { opacity: 0.5; }

/* =====================================================================
   轻松出片：演示案例 + 为什么要社交展示面
   ===================================================================== */
.showcase { margin: 0 -16px 22px; }
.sc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 16px; margin-bottom: 10px; }
.sc-head h2 { margin: 0; font-family: var(--serif); font-size: 20px; color: var(--gold-hi); letter-spacing: 0.06em; }
.sc-count { font-size: 12px; color: var(--muted); }
.sc-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 16px 6px; scrollbar-width: none; }
.sc-track::-webkit-scrollbar { display: none; }
.sc-card {
  position: relative;
  flex: none;
  width: min(62vw, 240px);
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 1px solid rgba(216, 180, 106, 0.25);
  border-radius: 18px;
  overflow: hidden;
  background: #1f142f;
  scroll-snap-align: start;
  color: #fff;
  text-align: left;
}
.sc-card:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.sc-result { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-inputs { position: absolute; top: 10px; left: 10px; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(21, 13, 34, 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sc-inputs img { width: 34px; height: 44px; object-fit: cover; border-radius: 7px; border: 1px solid rgba(255, 255, 255, 0.4); }
.sc-inputs i { font-style: normal; font-size: 13px; color: var(--gold-hi); }
.sc-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 30px 12px 10px; background: linear-gradient(transparent, rgba(10, 6, 18, 0.88)); }
.sc-cap b { font-size: 15px; }
.sc-cap small { font-size: 11px; color: rgba(255, 255, 255, 0.7); }
.sc-hint { margin: 4px 16px 0; font-size: 12px; color: var(--faint); }

.why { margin-bottom: 22px; padding: 18px 16px; border-radius: 22px; border: 1px solid rgba(216, 180, 106, 0.18); background: linear-gradient(160deg, rgba(216, 180, 106, 0.08), rgba(255, 255, 255, 0.02) 55%); }
.why-title { margin: 0 0 14px; font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--gold-hi); letter-spacing: 0.04em; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.why-item { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.why-item b { display: block; margin-bottom: 4px; font-size: 14px; color: var(--text); }
.why-item p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.why-cta { margin-top: 14px; font-size: 17px; padding: 15px 18px; }
#createStart { scroll-margin-top: 16px; }

.case-sheet .cs-result { display: block; width: 100%; max-height: 62vh; object-fit: contain; border-radius: 14px; background: #000; }
.cs-tag { margin: 8px 2px 0; font-size: 13px; color: var(--muted); }
.cs-inputs { display: flex; gap: 10px; margin-top: 12px; }
.cs-in { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--muted); font-size: 12px; }
.cs-in img { width: 72px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.15); }
.cs-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.cs-actions .ghost { justify-content: center; }
@media (max-width: 360px) { .why-grid { grid-template-columns: 1fr; } }

/* 轻松出片：案例演示 */
.demo-case { margin-bottom: 22px; padding: 18px 16px; border-radius: 22px; border: 1px solid rgba(216, 180, 106, 0.2); background: linear-gradient(160deg, rgba(216, 180, 106, 0.09), rgba(255, 255, 255, 0.02) 55%); }
.dc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.dc-head h2 { margin: 0; font-family: var(--serif); font-size: 20px; color: var(--gold-hi); letter-spacing: 0.06em; }
.dc-model { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 12px; color: var(--gold-hi); border: 1px solid rgba(216, 180, 106, 0.35); background: rgba(216, 180, 106, 0.08); }
.demo-case figure { margin: 0; }
.demo-case img { display: block; width: 100%; height: auto; }
.dc-inputs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.dc-inputs img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1); }
.dc-inputs figcaption, .dc-result figcaption { margin-top: 6px; font-size: 12px; text-align: center; color: var(--muted); }
.dc-op { font-style: normal; font-size: 20px; font-weight: 600; color: var(--gold); }
.dc-arrow { display: flex; flex-direction: column; align-items: center; margin: 12px 0 10px; color: var(--gold-hi); font-size: 13px; letter-spacing: 0.2em; }
.dc-arrow::after { content: ''; width: 2px; height: 18px; margin-top: 6px; background: linear-gradient(var(--gold), transparent); }
.dc-result img { border-radius: 18px; border: 1px solid rgba(216, 180, 106, 0.45); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(216, 180, 106, 0.08); }
.dc-result figcaption { color: var(--gold-hi); }
.dc-notes { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.dc-notes li { position: relative; padding-left: 18px; font-size: 13px; line-height: 1.6; color: var(--text); }
.dc-notes li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 2px; }

/* 轻松出片：热门场景快捷标签 */
.scene-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 12px; }
.scene-chips .sc-label { font-size: 12px; color: var(--gold-hi); letter-spacing: 0.08em; margin-right: 2px; }
.scene-chips .sc-label::before { content: '🔥 '; }
.scene-chip { min-width: 0; padding: 6px 12px; font-size: 13px; border-color: rgba(216, 180, 106, 0.3); background: rgba(216, 180, 106, 0.07); }
.scene-chip::after { content: ' ›'; color: var(--gold); }

/* 套餐出片提示 */
.batch-hint { display: flex; flex-direction: column; gap: 3px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(216, 180, 106, 0.35); background: rgba(216, 180, 106, 0.05); }
.batch-hint b { font-size: 13px; color: var(--gold-hi); }
.batch-hint span { font-size: 12px; color: var(--muted); line-height: 1.5; }
.batch-hint.is-on { border-style: solid; border-color: rgba(216, 180, 106, 0.6); background: rgba(216, 180, 106, 0.12); }
.batch-hint.is-on span { color: var(--gold-hi); }

/* 套餐出片结果网格 */
.batch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.batch-cell { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.batch-skel { width: 100%; border-radius: 14px; }
.batch-skel .timer { font-size: 22px; }
.batch-skel small { font-size: 12px; color: var(--muted); }
.batch-img { display: block; width: 100%; padding: 0; border: 1px solid rgba(216, 180, 106, 0.35); border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, 0.04); cursor: zoom-in; }
.batch-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.batch-wm { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; background: rgba(0, 0, 0, 0.55); color: #fff; }
.batch-dl { align-self: center; font-size: 13px; color: var(--gold-hi); text-decoration: none; }
.batch-fail { display: flex; align-items: center; justify-content: center; padding: 12px; border-radius: 14px; border: 1px dashed rgba(229, 143, 176, 0.45); background: rgba(229, 143, 176, 0.06); text-align: center; }
.batch-fail p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.batch-foot { margin-top: 14px; }
.batch-sum { margin: 0 0 10px; font-size: 13px; color: var(--gold-hi); text-align: center; }
.batch-tip { margin: 0; font-size: 12px; text-align: center; }

/* 参考图库：场景 / 分类切换、已选状态、底部「去出片」条 */
.lib-modes { margin-bottom: 10px; }
.lib-modes .chip { min-width: 0; padding: 8px 16px; font-size: 14px; }
.lib-cats .seg { display: inline-flex; gap: 0; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); margin-right: 4px; }
.lib-cats .seg .chip { border: 0; padding: 6px 14px; }
.lib-use.is-picked { background: rgba(31, 20, 47, 0.88); color: var(--gold-hi); border: 1px solid var(--gold); }
body[data-page='library'] .app { padding-bottom: calc(170px + env(safe-area-inset-bottom)); }
.lib-bar {
  position: fixed;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 19;
  width: min(calc(100% - 32px), 488px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border-radius: 18px;
  border: 1px solid rgba(216, 180, 106, 0.45);
  background: rgba(42, 26, 60, 0.96);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.7);
}
.lib-bar[hidden] { display: none; }
.lib-bar .lb-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lib-bar b { font-size: 14px; color: var(--text); }
.lib-bar small { font-size: 12px; color: var(--gold-hi); }
.lib-bar .primary { width: auto; margin: 0; padding: 10px 18px; }

/* 限时升级优惠 */
.up-banner { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(229, 143, 176, 0.55); background: linear-gradient(135deg, rgba(229, 143, 176, 0.16), rgba(216, 180, 106, 0.12)); text-align: left; }
.up-banner .up-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.up-banner .up-tag { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--ink); background: var(--grad); }
.up-banner .up-left { font-variant-numeric: tabular-nums; font-size: 16px; font-weight: 700; color: var(--pink); letter-spacing: 0.04em; }
.up-banner .up-left::before { content: '剩 '; font-size: 12px; font-weight: 500; color: var(--muted); }
.up-banner p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text); }
.up-banner .primary.small { width: 100%; margin-top: 10px; padding: 11px 16px; font-size: 15px; }
.offer-bonus { font-size: 12px; font-weight: 700; color: var(--pink); }
.od-upgrade { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; font-size: 13px; color: var(--gold-hi); background: rgba(216, 180, 106, 0.1); }
/* 场景 / 图库筛选标签按内容宽度排列（手机上默认的 .chip 会被拉成三等分） */
.chip.scene-chip, .lib-cats .chip, .lib-modes .chip { flex: 0 0 auto; }
.lib-cats { align-items: center; }

/* 首页：轻松出片案例演示 */
.home-demo { margin-top: 18px; padding: 16px 14px; border-radius: 22px; border: 1px solid rgba(216, 180, 106, 0.22); background: linear-gradient(160deg, rgba(216, 180, 106, 0.09), rgba(255, 255, 255, 0.02) 60%); }
.hd-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.hd-head h2 { margin: 0; font-family: var(--serif); font-size: 18px; color: var(--gold-hi); letter-spacing: 0.04em; }
.hd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.5fr); align-items: center; gap: 6px; }
.hd-row figure { margin: 0; }
.hd-row img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); }
.hd-row .hd-result img { border-radius: 12px; border: 1.5px solid rgba(216, 180, 106, 0.6); box-shadow: 0 10px 26px -10px rgba(216, 180, 106, 0.55); }
.hd-row figcaption { margin-top: 5px; font-size: 11px; text-align: center; color: var(--muted); }
.hd-row .hd-result figcaption { color: var(--gold-hi); font-weight: 600; }
.hd-op { font-style: normal; font-size: 16px; font-weight: 700; color: var(--gold); }
.hd-note { margin: 10px 0 0; font-size: 12px; line-height: 1.6; text-align: center; color: var(--muted); }
.hd-cta { margin-top: 12px; font-size: 16px; padding: 13px 18px; }

/* 底部导航 4 个按钮：手机上图标在上、文字在下 */
@media (max-width: 520px) {
  .bn-item { flex-direction: column; gap: 2px; padding: 7px 2px; font-size: 12px; border-radius: 22px; }
  .bn-item svg { width: 20px; height: 20px; }
  .bn-item .bn-dot { position: absolute; top: 2px; right: 14%; }
}

/* 案例演示：男生 / 女生切换 */
.case-tabs { display: flex; gap: 8px; margin: -4px 0 12px; }
.case-tabs .chip { flex: 0 0 auto; min-width: 0; padding: 6px 14px; font-size: 13px; }

/* 首页：大家都在用（真实记录） */
.activity { margin-top: 18px; padding: 14px 14px 10px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03); }
.act-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.act-head h2 { margin: 0; font-family: var(--serif); font-size: 17px; color: var(--gold-hi); letter-spacing: 0.04em; }
.act-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.act-live i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: act-pulse 1.8s infinite; }
@keyframes act-pulse { 70% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.act-window { height: 176px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.act-list { margin: 0; padding: 0; list-style: none; }
.act-list.is-scrolling { animation: act-scroll var(--act-dur, 40s) linear infinite; }
.act-window:hover .act-list { animation-play-state: paused; }
@keyframes act-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.act-item { display: flex; align-items: center; gap: 8px; height: 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 13px; color: var(--text); }
.act-icon { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(216, 180, 106, 0.12); font-size: 14px; }
.act-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-name { color: var(--muted); font-variant-numeric: tabular-nums; }
.act-text b { color: var(--gold-hi); font-weight: 600; }
.act-time { flex: none; font-size: 11px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .act-list.is-scrolling { animation: none; } .act-window { height: auto; max-height: 220px; overflow-y: auto; } }

/* 颜值报告：四项评分折叠 */
.bs-detail { margin: 4px 0 12px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03); }
.bs-detail > summary { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 12px 40px 12px 14px; position: relative; cursor: pointer; }
.bs-detail > summary::-webkit-details-marker { display: none; }
.bsd-title { font-size: 15px; font-weight: 600; color: var(--text); }
.bsd-mini { flex: 1 1 100%; font-size: 12px; color: var(--muted); }
.bsd-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--gold-hi); }
.bsd-toggle::before { content: '展开 ▾'; }
.bs-detail[open] .bsd-toggle::before { content: '收起 ▴'; }
.bs-detail[open] .bsd-mini { display: none; }
.bsd-body { padding: 0 14px 12px; }
.bs-gen-cta { margin-top: 14px; font-size: 17px; padding: 15px 18px; }

/* 支付宝自动到账的付款码 */
.od-qr.is-auto .od-qr-open-big { display: flex; width: 100%; justify-content: center; margin: 10px 0 12px; padding: 14px 18px; font-size: 17px; text-decoration: none; background: linear-gradient(100deg, #1677ff, #3b8bff); color: #fff; box-shadow: 0 10px 24px -10px rgba(22, 119, 255, 0.8); }
.od-auto-wait { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; font-size: 13px; color: #1677ff; }
.od-auto-wait .spin { width: 14px; height: 14px; border-width: 2px; border-color: rgba(22, 119, 255, 0.25); border-top-color: #1677ff; }

/* 颜值报告：加微信免费领一张出片 */
.bs-gift { margin-top: 16px; padding: 16px; border-radius: 18px; border: 1px solid rgba(229, 143, 176, 0.5); background: linear-gradient(135deg, rgba(229, 143, 176, 0.16), rgba(216, 180, 106, 0.14)); }
.bsg-top { display: flex; align-items: center; gap: 12px; }
.bsg-icon { font-size: 30px; line-height: 1; }
.bsg-top b { display: block; font-size: 18px; color: #fff; }
.bsg-top small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.bsg-code { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); }
.bsg-code span { font-size: 13px; color: var(--muted); }
.bsg-code b { flex: 1; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 24px; letter-spacing: 0.15em; color: var(--gold-hi); }
.bs-gift .bs-gen-cta { margin-top: 12px; }
.bsg-tip { display: block; margin-top: 8px; text-align: center; font-size: 12px; color: var(--muted); }

/* 经营模式开关 */
body.points-off .points-only, body.gen-off .gen-only { display: none !important; }

/* 轻松出片页：加微信定制 */
.wx-pitch { margin-bottom: 22px; padding: 20px 16px; border-radius: 22px; border: 1px solid rgba(216, 180, 106, 0.3); background: linear-gradient(160deg, rgba(229, 143, 176, 0.12), rgba(216, 180, 106, 0.08) 55%, rgba(255, 255, 255, 0.02)); text-align: center; }
.wx-title { margin: 0; font-family: var(--serif); font-size: 24px; color: var(--gold-hi); letter-spacing: 0.04em; }
.wx-sub { margin: 8px 0 14px; font-size: 14px; line-height: 1.6; color: var(--text); }
.wx-styles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.wx-style { padding: 5px 12px; border-radius: 999px; font-size: 13px; color: var(--gold-hi); border: 1px solid rgba(216, 180, 106, 0.35); background: rgba(216, 180, 106, 0.08); }
.wx-steps { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; text-align: left; }
.wx-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); font-size: 14px; color: var(--text); }
.wx-steps b { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: var(--ink); font-size: 13px; }
.wx-cta { font-size: 18px; padding: 16px 18px; }
.wx-id { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.wx-id b { color: var(--gold-hi); }
.wx-gift { display: block; width: 100%; margin-top: 14px; padding: 12px; border: 1px dashed rgba(229, 143, 176, 0.55); border-radius: 14px; background: rgba(229, 143, 176, 0.08); color: var(--text); font-size: 13px; line-height: 1.6; }
.wx-gift b { color: #ffd2e2; }

/* 内部出片工具（管理员 / 客服） */
.staff-bar { margin-bottom: 16px; padding: 14px; border-radius: 18px; border: 1px dashed rgba(216, 180, 106, 0.55); background: rgba(216, 180, 106, 0.06); }
.sb-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 10px; }
.sb-head b { font-size: 16px; color: var(--gold-hi); }
.sb-head small { font-size: 12px; color: var(--muted); }
.sb-claim { display: flex; gap: 8px; }
.sb-claim input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(0, 0, 0, 0.25); color: var(--text); font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; }
.sb-claim .ghost { flex: none; }
.sb-result { margin-top: 12px; padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, 0.22); }
.sbr-score { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.sbr-score b { font-family: var(--serif); font-size: 32px; color: var(--gold-hi); }
.sbr-score span { font-size: 13px; color: var(--text); }
.sbr-row { display: flex; gap: 10px; padding: 5px 0; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.sbr-row span { flex: none; width: 64px; color: var(--muted); }
.sbr-row b { font-weight: 500; color: var(--text); line-height: 1.5; }
.staff-wm { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; padding: 12px; border-radius: 14px; background: rgba(216, 180, 106, 0.08); font-size: 13px; line-height: 1.6; color: var(--text); }
.staff-wm[hidden] { display: none; }
.staff-wm input { margin-top: 3px; accent-color: var(--gold); }

/* ---------- 去掉小程序卡片后，右上角只剩登录区 ---------- */
.home-top { justify-content: flex-end; }

/* ---------- 案例切换：案例多了可以横向滑 ---------- */
.case-tabs { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.case-tabs::-webkit-scrollbar { display: none; }
.dc-sub { flex: none; font-size: 12px; color: var(--muted); }

/* ---------- 轻松出片页：讲故事（只给普通用户看） ---------- */
body:not(.gen-off) .story-only { display: none; }

.story-hero { margin-bottom: 22px; padding: 26px 18px 22px; border-radius: 22px; text-align: center; border: 1px solid rgba(216, 180, 106, 0.22); background: radial-gradient(120% 90% at 50% 0%, rgba(229, 143, 176, 0.16), transparent 60%), linear-gradient(180deg, rgba(216, 180, 106, 0.08), rgba(255, 255, 255, 0.015)); }
.sh-kicker { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.4em; color: var(--gold); }
.sh-title { margin: 0 0 14px; font-family: var(--serif); font-size: 27px; line-height: 1.35; font-weight: 700; letter-spacing: 0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sh-text { margin: 0 auto 8px; max-width: 30em; font-size: 14px; line-height: 1.75; color: var(--text); }
.sh-text b { color: #ffd2e2; font-weight: 600; }
.sh-pains { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sh-pains li { padding: 4px 9px; border-radius: 999px; font-size: 12px; color: var(--muted); border: 1px dashed rgba(255, 255, 255, 0.18); text-decoration: line-through; text-decoration-color: rgba(229, 143, 176, 0.7); }
.sh-punch { margin: 16px 0 0; font-family: var(--serif); font-size: 18px; color: var(--gold-hi); letter-spacing: 0.04em; }

.story-block { margin-bottom: 22px; }
.sb-title { margin: 0 0 12px; font-family: var(--serif); font-size: 19px; line-height: 1.4; color: var(--gold-hi); letter-spacing: 0.04em; }

.use-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.use-card { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-border); }
.use-card span { font-size: 22px; line-height: 1; }
.use-card b { margin-top: 4px; font-size: 14.5px; color: var(--text); }
.use-card small { font-size: 12px; line-height: 1.55; color: var(--muted); }

.cmp { border-radius: 16px; overflow: hidden; border: 1px solid var(--card-border); background: var(--card); font-size: 12.5px; }
.cmp-row { display: grid; grid-template-columns: 3.6em repeat(3, minmax(0, 1fr)); }
.cmp-row + .cmp-row { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.cmp-row > span { padding: 10px 6px; line-height: 1.5; color: var(--muted); text-align: center; }
.cmp-row > span:first-child { color: var(--faint); text-align: left; padding-left: 10px; }
.cmp-head > span { font-weight: 600; color: var(--text); }
.cmp-row > .is-us { color: var(--gold-hi); font-weight: 600; background: rgba(216, 180, 106, 0.1); }
.cmp-head > .is-us { background: var(--grad); color: var(--ink); }

.promise { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: pr; }
.promise li { position: relative; padding: 14px 14px 14px 52px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-border); counter-increment: pr; }
.promise li::before { content: counter(pr); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: var(--ink); font-weight: 700; font-size: 14px; }
.promise b { display: block; font-size: 15px; color: var(--gold-hi); margin-bottom: 3px; }
.promise span { font-size: 13px; line-height: 1.65; color: var(--text); }

.faq details { border-radius: 14px; background: var(--card); border: 1px solid var(--card-border); margin-bottom: 8px; }
.faq summary { cursor: pointer; list-style: none; padding: 13px 40px 13px 14px; position: relative; font-size: 14px; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--gold); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 14px 14px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.faq-cta { margin-top: 8px; }

/* ---------- 加微信前的说明弹窗 ---------- */
.wxs-lead { margin: 10px 0 12px; font-size: 14px; line-height: 1.7; color: var(--text); }
.wxs-steps { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: ws; }
.wxs-steps li { position: relative; padding: 10px 12px 10px 44px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); font-size: 14px; line-height: 1.55; color: var(--text); counter-increment: ws; }
.wxs-steps li::before { content: counter(ws); position: absolute; left: 12px; top: 10px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: var(--ink); font-size: 12px; font-weight: 700; }
.wxs-steps b { color: var(--gold-hi); letter-spacing: 0.06em; }
.wxs-alt { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.wxs-alt b { color: var(--gold-hi); }
.wxs-note { margin: 0 0 14px; font-size: 12px; color: var(--faint); }
.wxs-actions { display: grid; gap: 8px; }
.wxs-actions .ghost { width: 100%; }

/* ---------- 9.9 出片后返还：解锁弹窗 ---------- */
.rf-top { padding: 16px; border-radius: 18px; border: 1px solid rgba(216, 180, 106, 0.3); background: linear-gradient(135deg, rgba(216, 180, 106, 0.14), rgba(229, 143, 176, 0.06)); }
.rf-eyebrow { margin: 0; font-size: 13px; color: var(--muted); }
.rf-price { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 2px; }
.rf-price b { font-family: var(--serif); font-size: 38px; line-height: 1.1; color: var(--gold-hi); }
.rf-arrow { font-size: 18px; color: var(--faint); }
.rf-price em { font-style: normal; font-family: var(--serif); font-size: 34px; line-height: 1.1; font-weight: 700; color: var(--ok); }
.rf-promise { margin: 2px 0 12px; font-family: var(--serif); font-size: 15px; color: var(--ok); letter-spacing: 0.04em; }
.rf-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rf-steps li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
.rf-steps i { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: var(--ink); font-style: normal; font-size: 12px; font-weight: 700; }
.rf-steps b { display: block; font-size: 14.5px; color: var(--text); }
.rf-steps small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.rf-steps li.is-win { background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.35); }
.rf-steps li.is-win b { color: #86efac; }

.rf-steps li.is-win i { background: #4ade80; }
.rf-rules { margin-top: 10px; font-size: 12px; color: var(--faint); }
.rf-rules summary { cursor: pointer; list-style: none; line-height: 1.6; }
.rf-rules summary::-webkit-details-marker { display: none; }
.rf-rules summary u { color: var(--gold-hi); text-decoration: none; white-space: nowrap; }
.rf-rules summary u::after { content: ' ›'; }
.rf-rules[open] summary u::after { content: ' ⌄'; }
.rf-rules ol { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; color: var(--muted); line-height: 1.65; }

/* 报告底部：A / B 二选一 */
.bsg-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 12px; }
.bsg-choice > div { padding: 10px 8px; border-radius: 12px; text-align: center; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); }
.bsg-choice small { display: block; font-size: 12px; color: var(--muted); }
.bsg-choice b { display: block; margin-top: 2px; font-size: 16px; color: var(--text); }
.bsg-choice .is-best { border: 1.5px solid var(--gold); background: rgba(216, 180, 106, 0.12); }
.bsg-choice .is-best small, .bsg-choice .is-best b { color: var(--gold-hi); }
.bs-gift .rf-rules { text-align: left; }

/* 客服：返还记录 */
.sb-refund { margin-top: 12px; padding: 12px; border-radius: 14px; border: 1px dashed rgba(216, 180, 106, 0.4); display: grid; gap: 8px; }
.sbr-title { font-size: 14px; color: var(--gold-hi); }
.sbr-warn { margin: 0; font-size: 12.5px; line-height: 1.6; color: #ffd08a; }
.sbr-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sbr-done { margin: 0; font-size: 14px; color: var(--ok); }
.sbr-done small { color: var(--muted); }

/* ---------- 鉴定等待提示 + 做完后的提醒 ---------- */
.wait-tip { margin-top: 12px; padding: 12px 14px; border-radius: 16px; text-align: center; border: 1px dashed rgba(216, 180, 106, 0.4); background: rgba(216, 180, 106, 0.06); }
.wt-time { margin: 0; font-size: 14px; font-weight: 600; color: var(--gold-hi); }
.wt-text { margin: 4px 0 10px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.wt-go { width: 100%; font-size: 14px; font-weight: 700; padding: 11px 14px; border: 0; border-radius: 999px; background: var(--grad); color: var(--ink); box-shadow: 0 8px 22px -10px rgba(216, 180, 106, 0.8); }
.done-toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 60; width: min(92vw, 420px); padding: 14px 18px; border-radius: 16px; border: 1px solid rgba(216, 180, 106, 0.6); background: #2a1b3d; color: var(--text); font-size: 15px; font-weight: 600; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5); animation: toastIn 0.35s ease-out; }
.done-toast b { color: var(--gold-hi); margin-left: 4px; }
.done-toast[hidden] { display: none; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- 轻松出片页：男生版 / 女生版 ---------- */
.view-create.is-male .g-female, .view-create:not(.is-male) .g-male, .view-create:not(.is-male) .g-male-only { display: none !important; }
.story-hero { position: relative; }
.sh-switch { position: absolute; top: 12px; right: 12px; display: flex; padding: 2px; border-radius: 999px; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.08); }
.sh-switch button { padding: 3px 10px; border: 0; border-radius: 999px; background: none; color: var(--faint); font-size: 12px; cursor: pointer; }
.sh-switch button.is-active { background: rgba(216, 180, 106, 0.2); color: var(--gold-hi); }
.sh-body { padding-top: 18px; }
.sh-lead { margin: 4px auto 0; font-size: 16px; line-height: 1.7; color: #ffd2e2; font-weight: 600; letter-spacing: 0.03em; }
.sh-body .sh-text + .sh-lead { margin-top: 10px; }
.sh-nos { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sh-nos li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 999px; font-size: 13px; color: var(--text); background: rgba(255, 107, 138, 0.1); border: 1px solid rgba(255, 107, 138, 0.35); }
.sh-nos li::before { content: '✕'; font-size: 11px; font-weight: 700; color: var(--danger); }

/* 男生版：社交反馈截图 */
.social-proof { margin-bottom: 22px; }
.sp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.sp-grid figure { margin: 0; }
.sp-grid img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1); }
.sp-grid figcaption { margin-top: 6px; font-size: 12px; line-height: 1.5; text-align: center; color: var(--muted); }

/* 登录弹窗：性别 */
.auth-gender { display: flex; align-items: center; gap: 8px; }
.auth-gender > span { font-size: 14px; color: var(--muted); margin-right: 2px; }
.ag-opt { flex: 1; padding: 10px 0; border-radius: 12px; border: 1px solid var(--chip-border); background: var(--chip); color: var(--text); font-size: 15px; cursor: pointer; }
.ag-opt.is-active { border-color: var(--gold); background: rgba(216, 180, 106, 0.16); color: var(--gold-hi); font-weight: 600; }

/* ---------- 分享返还 ---------- */
.rf-gift { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 14px; border: 1px dashed rgba(229, 143, 176, 0.55); background: rgba(229, 143, 176, 0.08); font-size: 15px; color: var(--text); }
.rf-gift b { color: #ffd2e2; }
.bs-gifts { display: grid; gap: 12px; margin-top: 16px; }
.bs-gifts .bs-gift { margin-top: 0; }
.bs-share { padding: 16px; border-radius: 18px; border: 1px solid rgba(255, 36, 66, 0.45); background: linear-gradient(135deg, rgba(255, 36, 66, 0.14), rgba(216, 180, 106, 0.08)); }
.bss-top { display: flex; flex-direction: column; gap: 6px; }
.bss-badge { align-self: flex-start; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; background: #ff2442; }
.bss-top b { font-family: var(--serif); font-size: 20px; color: var(--ok); letter-spacing: 0.02em; }
.bss-cta { margin-top: 12px; }
.bss-done { margin: 0; font-size: 13px; color: var(--ok); text-align: center; }
.shs-sub { margin: 8px 0 12px; font-size: 14px; color: var(--muted); }
.shs-copy { margin: 0 0 14px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); }
.shs-copy small { display: block; font-size: 12px; color: var(--faint); }
.shs-copy p { margin: 6px 0 8px; font-size: 13.5px; line-height: 1.65; color: var(--text); }

/* ---------- 解锁弹窗：¥0 同色、赠送突出、支付方式在码下面 ---------- */
.rf-price b + .rf-arrow + b { font-family: var(--serif); font-size: 38px; line-height: 1.1; color: var(--gold-hi); }
.rf-gift { justify-content: flex-start; gap: 12px; margin-top: 14px; padding: 12px 14px; border: 1.5px solid var(--gold); border-style: solid; background: linear-gradient(120deg, rgba(246, 226, 168, 0.22), rgba(229, 143, 176, 0.16)); box-shadow: 0 8px 24px -12px rgba(216, 180, 106, 0.7); }
.rf-gift .rfg-icon { font-size: 30px; line-height: 1; }
.rf-gift small { display: block; font-size: 12px; color: var(--gold); letter-spacing: 0.1em; }
.rf-gift b { display: block; font-size: 18px; color: var(--gold-hi); letter-spacing: 0.02em; }
#unlockPayArea .us-methods { margin: 12px 0; }

/* ---------- 分享到小红书按钮（首页、颜值鉴定、我的）：参考月老 skill 的样子 ---------- */
.share-cta { display: flex; align-items: center; gap: 12px; width: 100%; margin: 14px 0 0; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(229, 143, 176, 0.35); background: rgba(229, 143, 176, 0.08); color: var(--text); text-align: left; cursor: pointer; }
.share-cta[hidden] { display: none; }
.sc-icon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(229, 143, 176, 0.18); }
.sc-icon svg { width: 18px; height: 18px; fill: none; stroke: #ffb3cc; stroke-width: 2; stroke-linecap: round; }
.sc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sc-text b { font-size: 14.5px; font-weight: 700; color: var(--text); }
.sc-text small { font-size: 12px; color: var(--muted); }
.sc-arrow { flex: none; font-size: 20px; color: var(--faint); }
.view-beauty > .share-cta, .view-me > .share-cta { margin: 0 0 14px; }

/* ---------- 解锁弹窗：简化版 ---------- */
.uk-top { padding: 16px; border-radius: 18px; border: 1px solid rgba(216, 180, 106, 0.3); background: linear-gradient(135deg, rgba(216, 180, 106, 0.12), rgba(229, 143, 176, 0.06)); text-align: center; }
.uk-price { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.uk-price b { font-family: var(--serif); font-size: 40px; line-height: 1.1; color: var(--gold-hi); }
.uk-price span { font-size: 14px; color: var(--muted); }
.uk-gift { margin-top: 12px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--gold); background: rgba(246, 226, 168, 0.12); font-size: 15px; color: var(--text); }
.uk-gift b { color: var(--gold-hi); font-size: 17px; }
.uk-refund { margin: 10px 0 0; font-size: 13px; color: var(--ok); }
.od-qr.is-simple { padding-top: 14px; }
.od-qr.is-simple .od-qr-tip { display: block; margin-top: 6px; }

/* 案例里的客户聊天记录 */
.dc-chats { margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(216, 180, 106, 0.3); }
.dc-chats-title { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--gold-hi); text-align: center; }
.dc-chats-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.dc-chats-row a { display: block; }
.dc-chats-tip { margin: 6px 0 0; font-size: 12px; text-align: center; color: var(--faint); }
.dc-chats-row img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); }
.dc-chats.is-tab { margin-top: 0; padding-top: 0; border-top: 0; }
.dc-chats-col { display: grid; gap: 12px; }
.dc-chats-col a { display: block; }
.dc-chats-col img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.12); }

/* 女生案例：自拍 + 社交展示照 两张一组 */
.dc-pair { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 10px; align-items: end; }
.dc-pair figure { margin: 0; }
.dc-pair img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1); }
.dc-pair .dc-result img { border-radius: 16px; }
.dc-pair figcaption { margin-top: 6px; font-size: 12px; text-align: center; color: var(--muted); }
.dc-pair .dc-result figcaption { color: var(--gold-hi); }
.dc-more { flex: none; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(216, 180, 106, 0.4); background: rgba(216, 180, 106, 0.08); color: var(--gold-hi); font-size: 12px; cursor: pointer; }

.od-qr-howto { margin: 4px 0 8px; font-size: 13px; line-height: 1.6; color: #6b4e14; font-weight: 600; text-align: center; }
