/* 上游商品兑换页独有的几样。底子是 ../styles.css（GPT 会员充值页那一份）。 */

.up-mono {
  font-family: "DM Mono", ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.up-confirm {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--warn-soft, #fff1d6);
}

.up-confirm__title {
  margin: 0 0 6px;
  color: var(--warn, #8a5200);
  font-size: 14px;
  font-weight: 600;
}

.up-confirm label {
  display: flex;
  width: auto;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  color: var(--ink, #1c1830);
  font-size: 14px;
  line-height: 1.55;
  cursor: pointer;
}

.up-confirm input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--brand, #6a4bff);
}

.up-note {
  margin: 10px 0 0;
  color: var(--muted, #615b7c);
  font-size: 13px;
  line-height: 1.6;
}

/* 预检之后要客户补的几项（选组织、同意按月自动续费）。 */
.up-extra {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.up-extra__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  cursor: pointer;
}

.up-extra__check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--brand, #6a4bff);
}

/* 要客户本人验证时，进度卡最上面那一块（verify.js）。琥珀色：这是要客户动手的事，和紫色的「请保持登录」分开。 */
.up-verify {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: var(--radius, 14px);
  background: var(--warn-soft, #fdf3e4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 22px -16px rgba(176, 106, 18, 0.45);
  color: var(--warn, #b06a12);
}

.up-verify[hidden] {
  display: none;
}

.up-verify__title {
  margin: 0;
  color: #7a4608;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.up-verify__note {
  margin: 4px 0 0;
  color: #6b4210;
  font-size: 14px;
  line-height: 1.6;
  max-width: 62ch;
}

.up-verify__error {
  margin: 10px 0 0;
  color: #a61b27;
  font-size: 14px;
  line-height: 1.55;
}

.up-verify__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 14px;
}

.up-verify__row .btn {
  text-decoration: none;
}

.up-verify__left {
  color: #6b4210;
  font-size: 13px;
}

.up-verify__left .up-mono {
  font-size: 14px;
  font-weight: 500;
  color: #7a4608;
}

/* Claude 的 hCaptcha / Stripe 组件挂在这里；手机号那两步的输入框也在这里。 */
.up-verify__mount {
  margin-top: 14px;
}

.up-verify__mount:empty {
  display: none;
}

.up-verify__field {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  max-width: 320px;
}

.up-verify__field label {
  color: #6b4210;
  font-size: 13px;
  font-weight: 500;
}

/* Claude（/claude/）：陶土色，暖米底。主按钮最浅一段 #bd5631 上白字 4.6:1。 */
:root[data-site="claude"] {
  --canvas: #faf6f2;
  --surface: #fffdfb;
  --sunk: rgba(60, 36, 22, 0.05);
  --ink: #231a15;
  --ink-soft: #4a3a31;
  --muted: rgba(60, 36, 22, 0.66);
  --faint: rgba(60, 36, 22, 0.5);
  --hair: rgba(60, 36, 22, 0.09);
  --edge: rgba(60, 36, 22, 0.09);
  --shadow-card:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 1px 2px rgba(60, 36, 22, 0.05),
    0 18px 44px -30px rgba(60, 36, 22, 0.3);
  --shadow-lift:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(60, 36, 22, 0.06),
    0 28px 60px -28px rgba(60, 36, 22, 0.34);
  --shadow-pill: 0 1px 2px rgba(60, 36, 22, 0.06);
  --shadow-hover: 0 1px 2px rgba(60, 36, 22, 0.06), 0 14px 28px -18px rgba(60, 36, 22, 0.4);
  background: #faf6f2;
  color: #231a15;
  --brand: #b8502b;
  --brand-ink: #923e20;
  --brand-soft: #fbece5;
  --brand-rgb: 184, 80, 43;
  --spark: #d9774f;
  --spark-rgb: 217, 119, 79;
  --wash: linear-gradient(100deg, #bd5631 0%, #b8502b 50%, #a4462a 100%);
  --wash-line: linear-gradient(90deg, #b8502b 0%, #d9774f 55%, #f0b48f 100%);
}

/* Grok（/grok/）：石墨主色，琥珀只给字标火花、站名圆点和细线，跟 Claude 的暖色拉开。 */
:root[data-site="grok"] {
  --canvas: #f6f6f7;
  --surface: #fcfcfc;
  --sunk: rgba(29, 30, 34, 0.05);
  --ink: #1d1e22;
  --ink-soft: #3c3d44;
  --muted: rgba(29, 30, 34, 0.66);
  --faint: rgba(29, 30, 34, 0.5);
  --hair: rgba(29, 30, 34, 0.09);
  --edge: rgba(29, 30, 34, 0.09);
  --shadow-card:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 1px 2px rgba(29, 30, 34, 0.05),
    0 18px 44px -30px rgba(29, 30, 34, 0.3);
  --shadow-lift:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(29, 30, 34, 0.06),
    0 28px 60px -28px rgba(29, 30, 34, 0.34);
  --shadow-pill: 0 1px 2px rgba(29, 30, 34, 0.06);
  --shadow-hover: 0 1px 2px rgba(29, 30, 34, 0.06), 0 14px 28px -18px rgba(29, 30, 34, 0.4);
  background: #f6f6f7;
  color: #1d1e22;
  --brand: #26272d;
  --brand-ink: #26272d;
  --brand-soft: #ececef;
  --brand-rgb: 38, 39, 45;
  --spark: #e2780f;
  --spark-rgb: 226, 120, 15;
  --logo-spark: #e2780f;
  --site-dot: #e2780f;
  --wash: linear-gradient(100deg, #34353c 0%, #26272d 50%, #1b1c21 100%);
  --wash-line: linear-gradient(90deg, #26272d 0%, #e2780f 100%);
  --shadow-brand:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 22px -14px rgba(29, 30, 34, 0.55);
}
