:root {
  --brand: #C8102E;          /* 大德红 */
  --brand-dark: #9E0C24;
  --gold: #D4AF37;
  --bg: #F6F5F3;            /* 暖白底 */
  --surface: #FFFFFF;
  --text: #1F1F1F;
  --text-soft: #6B6B6B;
  --line: #ECECEC;
  --ok: #2E7D32;
  --warn: #B26A00;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(0,0,0,.06);
  --maxw: 1180px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  padding: 9px 16px; border-radius: 999px; cursor: pointer; font-size: 14px;
  transition: .15s; font-weight: 600;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* 卡片 */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px;
}
.card-title { font-weight: 700; font-size: 16px; margin: 0 0 10px; }

/* 徽标 */
.badge {
  display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px;
  background: #FBE9EC; color: var(--brand); font-weight: 600;
}
.badge-gold { background: #FBF3DD; color: var(--warn); }
.badge-soft { background: #EFEFEF; color: var(--text-soft); }

/* 占位/示例 标注 */
.placeholder {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 22px; text-align: center; color: var(--text-soft); background: #FCFCFC;
}
.placeholder .tag { font-size: 12px; color: var(--warn); font-weight: 700; }

/* 价格 */
.price { color: var(--brand); font-weight: 800; }
.price .cur { font-size: 12px; }
.price-supply { color: var(--text-soft); font-size: 12px; text-decoration: line-through; }

/* 通用 */
.center { text-align: center; }
.muted { color: var(--text-soft); }
.row { display: flex; gap: 10px; align-items: center; }
.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }
.toast {
  position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%);
  background: rgba(0,0,0,.82); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-size: 14px; z-index: 999; opacity: 0; transition: .2s; pointer-events: none;
}
.toast.show { opacity: 1; }
