/* 卡密充值页：版式按参考站实测尺寸（通栏 64px 导航、38px 标题、820px 卡片、40px 步骤圆点、55px 主按钮），配色沿用 zzzzz.pro 的黑白 */
:root {
  --rc-fg: #262626;          /* 正文/标题：中性深灰，不用纯黑 */
  --rc-ink: #333333;         /* 按钮、选中标签、步骤圆点 */
  --rc-ink-hover: #2a2a2a;
  --rc-muted: #737373;
  --rc-line: #e5e5e5;
  --rc-soft: #f3f3f3;
  --rc-field: #fafafa;
}
[hidden] { display: none !important; }
.rc-body { margin: 0; color: var(--rc-fg); background: linear-gradient(160deg, #efefef 0%, #fafafa 40%, #f1f1f1 100%) fixed; min-height: 100vh; }

/* ---------- 顶部通栏导航 ---------- */
.rc-header { position: sticky; top: 0; z-index: 20; height: 64px; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(38,38,38,.06); }
.rc-header-inner { height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 12px; }
.rc-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.rc-brand .landing-logo { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--rc-ink); color: #fff; }
.rc-brand .landing-logo svg { width: 22px; height: 22px; }
.rc-brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.rc-brand-copy strong { font-size: 17px; font-weight: 700; }
.rc-brand-copy small { font-size: 11.5px; color: var(--rc-muted); }
.rc-bookmark { height: 32px; padding: 0 12px; border: 1px solid var(--rc-line); border-radius: 999px; background: #fff; font: inherit; font-size: 12.5px; color: #5c5c5c; cursor: pointer; }
.rc-bookmark:hover { border-color: #cfcfcf; color: var(--rc-fg); }
.rc-header-cta { margin-left: auto; height: 36px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--rc-ink); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.rc-header-cta:hover { background: var(--rc-ink-hover); }

/* ---------- 主体 ---------- */
.rc-stage { max-width: 852px; margin: 0 auto; padding: 26px 16px 36px; }
.rc-hero { text-align: center; }
.rc-hero h1 { margin: 0; font-size: 36px; line-height: 1.3; letter-spacing: -.01em; font-weight: 700; color: var(--rc-fg); }
.rc-hero p { margin: 6px 0 16px; font-size: 16px; color: var(--rc-muted); letter-spacing: .08em; }
.rc-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rc-pills li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; background: rgba(255,255,255,.8); border: 1px solid var(--rc-line); border-radius: 20px; font-size: 13px; font-weight: 500; color: #3d3d3d; }
.rc-pills svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 卡片 + 标签页 ---------- */
.rc-card { margin-top: 22px; background: #fff; border: 1px solid rgba(38,38,38,.07); border-radius: 20px; overflow: hidden; box-shadow: 0 12px 36px rgba(38,38,38,.07); }
.rc-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px; background: #fafafa; border-bottom: 1px solid #ececec; }
.rc-tab { height: 44px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; font: inherit; font-size: 15px; font-weight: 500; color: var(--rc-muted); transition: background .15s, color .15s; }
.rc-tab:hover { background: #efefef; color: var(--rc-fg); }
.rc-tab[data-current="true"] { background: var(--rc-ink); color: #fff; font-weight: 600; box-shadow: 0 4px 12px rgba(38,38,38,.18); }
.rc-tab:focus-visible { outline: 2px solid var(--rc-ink); outline-offset: 2px; }
.rc-view { padding: 24px 44px 28px; }

/* ---------- 步骤条 ---------- */
.rc-view .wizard-steps { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; width: 100% !important; max-width: 560px; margin: 0 auto 22px !important; padding: 0 !important; position: relative; }
.rc-view .wizard-steps::before { content: ""; position: absolute; top: 20px; left: 12.5%; right: 12.5%; height: 2px; background: #e5e5e5 !important; z-index: 0; }
.rc-view .wizard-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; }
.rc-view .wizard-step::before, .rc-view .wizard-step::after { display: none !important; }
.rc-view .wizard-step-dot { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #ececec; color: #8a8a8a; font-size: 15px; font-weight: 700; border: 0; box-shadow: none; }
.rc-view .wizard-step > span { font-size: 12px; color: #8a8a8a; font-weight: 600; white-space: nowrap; }
.rc-view .wizard-step[data-active="true"] .wizard-step-dot { background: var(--rc-ink); color: #fff; box-shadow: 0 0 0 5px rgba(38,38,38,.08); }
.rc-view .wizard-step[data-active="true"] > span { color: var(--rc-ink); }
.rc-view .wizard-step[data-completed="true"] .wizard-step-dot { background: var(--rc-ink); color: #fff; }
.rc-view .wizard-step[data-completed="true"] > span { color: #525252; }

/* ---------- 面板 ---------- */
.rc-view .wizard-panel { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; max-width: none !important; width: 100% !important; margin: 0 !important; }
.rc-panel-title, .rc-view .token-guide-heading { font-size: 20px; line-height: 1.4; font-weight: 700; color: var(--rc-fg); margin: 0 0 6px; }
.rc-panel-sub { font-size: 13px; color: var(--rc-muted); margin: 0 0 16px; }
.rc-view .token-guide-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.rc-view .token-guide-heading-row .token-guide-heading { margin: 0; }
.rc-view .public-field { display: block; }
.rc-view .public-field > span:first-child { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: #3d3d3d; }
.rc-view .public-field .public-field-title-row { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: #3d3d3d; }
.rc-view .public-availability { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #5c5c5c; }
.rc-view .public-input, .rc-view textarea.public-input { width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 16px; border: 1px solid #e0e0e0; border-radius: 10px; background: var(--rc-field); font-size: 15px; line-height: 22px; color: var(--rc-fg); box-shadow: none; }
.rc-view textarea.public-input { min-height: 104px; }
.rc-view .public-input:focus { outline: none; border-color: var(--rc-ink); background: #fff; box-shadow: 0 0 0 3px rgba(38,38,38,.07); }
.rc-view .public-tip-box { margin-top: 10px; padding: 10px 14px; border-radius: 10px; font-size: 12.5px; }
.rc-view .public-tip-box p { margin: 0; }

.public-summary-list { margin: 0 0 16px; padding: 2px 16px; border: 1px solid var(--rc-line); border-radius: 12px; background: var(--rc-field); }
.public-summary-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #ececec; }
.public-summary-list > div:last-child { border-bottom: 0; }
.public-summary-list dt { color: var(--rc-muted); font-size: 14px; white-space: nowrap; }
.public-summary-list dd { margin: 0; color: var(--rc-fg); font-weight: 650; font-size: 14px; text-align: right; overflow-wrap: anywhere; }

/* ---------- 主按钮占满整行 ---------- */
.rc-footer { display: flex; gap: 12px; margin-top: 16px; }
.rc-footer .public-primary-button, .rc-footer .public-ghost-button { box-sizing: border-box; min-width: 0; padding: 0 12px; border-width: 1px; border-style: solid; }
.rc-footer .public-primary-button, .rc-footer .public-ghost-button { height: 50px; border-radius: 10px; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.rc-footer .public-primary-button { flex: 1 1 0; background: var(--rc-ink); color: #fff; border-color: var(--rc-ink); box-shadow: 0 4px 14px rgba(38,38,38,.25); }
.rc-footer .public-primary-button:hover { background: var(--rc-ink-hover); }
.rc-footer .public-ghost-button { flex: 1 1 0; background: #fff; color: #3d3d3d; border-color: #d4d4d4; box-shadow: none; font-weight: 600; }

/* ---------- 进度查询页 ---------- */
.rc-view .public-query-panel { padding: 0 !important; }
.rc-view .public-query-form { display: block; }
.rc-view .public-query-form .public-field { margin: 0; }
.rc-view .public-query-form .public-primary-button { width: 100%; height: 50px; margin-top: 14px; border-radius: 10px; background: var(--rc-ink); color: #fff; font-size: 16px; font-weight: 700; border: 0; box-shadow: 0 4px 14px rgba(38,38,38,.25); cursor: pointer; }
.rc-view .public-query-result { margin-top: 20px; padding-top: 16px; border-top: 1px solid #ececec; }
.public-query-table-scroll { overflow-x: auto; }
.rc-view .public-query-table { min-width: 640px; }
.public-query-table th:nth-child(1) { width: 27%; }
.public-query-table th:nth-child(2) { width: 28%; }
.public-query-table th:nth-child(3) { width: 28%; }
.public-query-table th:nth-child(4) { width: 17%; }
.public-query-table td.public-query-table-code { white-space: nowrap; font-size: 13px; }
.public-query-table-status { white-space: pre-line; text-align: left; line-height: 1.5; }
.public-query-table-status::before { align-self: center; }
.public-query-table td:nth-child(3) { overflow-wrap: break-word; font-size: 13.5px; }

/* ---------- 充值教程页 ---------- */
.rc-guide-block + .rc-guide-block { margin-top: 20px; }
.rc-guide-block h3 { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--rc-fg); }
.rc-guide-block ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 14px; line-height: 1.6; color: #3d3d3d; }
.rc-guide-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.rc-guide-button { display: inline-flex; align-items: center; justify-content: center; height: 44px; border: 1px solid #d4d4d4; border-radius: 10px; background: #fff; color: #3d3d3d; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.rc-guide-button:hover { background: #f5f5f5; }
.rc-guide-button--primary { background: var(--rc-ink); border-color: var(--rc-ink); color: #fff; }
.rc-guide-button--primary:hover { background: var(--rc-ink-hover); }
.rc-guide-button--wide { grid-column: 1 / -1; }


/* ---------- 手机 ---------- */
@media (max-width: 640px) {
  .rc-header-inner { padding: 0 14px; gap: 8px; }
  .rc-bookmark { display: none; }
  .rc-stage { padding: 18px 14px 28px; }
  .rc-hero h1 { font-size: 28px; }
  .rc-hero p { font-size: 14px; margin-bottom: 12px; }
  .rc-pills { gap: 8px; }
  .rc-pills li { padding: 5px 12px; font-size: 12.5px; }
  .rc-card { margin-top: 16px; border-radius: 16px; }
  .rc-tabs { padding: 8px; gap: 4px; }
  .rc-tab { height: 42px; font-size: 14px; }
  .rc-view { padding: 18px 16px 20px; }
  .rc-view .wizard-steps { margin-bottom: 18px !important; }
  .rc-guide-actions { grid-template-columns: 1fr; }
  /* 手机上「返回上一步」和「继续」左右并排、各占一半，按钮小一点 */
  .rc-footer { flex-direction: row; gap: 10px; margin-top: 14px; }
  .rc-footer .public-primary-button, .rc-footer .public-ghost-button { height: 44px; font-size: 15px; border-radius: 10px; }
  .rc-footer .public-ghost-button, .rc-footer .public-primary-button { flex: 1 1 0; }
}

/* 页面里其他位置的黑色（弹窗按钮、提示条、Logo 底色）统一成同一个深灰 */
.public-primary-button, .public-oss-nav-cta, .token-guide-action { background: var(--rc-ink); border-color: var(--rc-ink); color: #fff; }
.public-primary-button:hover { background: var(--rc-ink-hover); }
.rc-brand .landing-logo { background: var(--rc-ink); }
.public-message { background: var(--rc-ink); color: #fff; }
.public-processing-spinner { border-top-color: var(--rc-ink); }
dialog::backdrop { background: rgba(38,38,38,.45); }

/* zzzzz 样式表里的黑色都来自这几个变量，统一改成柔和的深灰 */
:root { --ld-primary: #333333; --ld-fg: #262626; --green-dark: #333333; --bgc: #333333; }
body.public-site-shell.rc-body { color: var(--rc-fg); min-height: 100vh; }
.public-availability i { background: var(--rc-ink) !important; }
.public-query-filters button[data-active="true"] { background: var(--rc-ink); color: #fff; }
.rc-view h2, .public-query-copy { color: var(--rc-fg); }

/* 进度查询输入框：zzzzz 样式把它当单行（空时行高 56px，有字时又换一套内边距），这里统一成多行输入框，提示文字和输入的字位置一致 */
.rc-view textarea.public-query-input,
.rc-view textarea.public-query-input:not(:placeholder-shown) {
  height: auto !important; min-height: 90px !important; max-height: 260px;
  padding: 12px 16px !important; font-size: 15px !important; line-height: 22px !important;
  resize: vertical !important; overflow-y: auto !important;
}
.rc-view textarea.public-query-input::placeholder { font-size: 15px !important; line-height: 22px !important; white-space: normal !important; letter-spacing: normal !important; }

/* ================= 第 2 步（获取 Token）才需要压缩：其余步骤保持宽松间距 ================= */
/* 第 2 步不显示顶部标题区（标题、副标题、特点标签），把空间留给表单；其他步骤正常显示 */
.rc-stage[data-step="2"] .rc-hero { display: none; }
.rc-stage[data-step="2"] .rc-card { margin-top: 0; }
/* 没有错误信息时不占位 */
#token-error:empty { display: none; }

@media (min-width: 641px) {
  /* 两条说明各占一行（说明在左，按钮在右） */
  .rc-view .token-guide-heading-row { margin-bottom: 12px; }
  .rc-view .token-guide { display: grid; gap: 10px; margin-bottom: 14px; }
  .rc-view .token-guide-step, .rc-view .token-guide-step--spaced { margin: 0 !important; padding: 10px 14px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--rc-line); border-radius: 12px; background: var(--rc-field); }
  .rc-view .token-guide-step-content { flex: 1; display: flex !important; align-items: center; justify-content: space-between; gap: 14px; margin: 0; }
  .rc-view .token-guide-step-content strong { font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--rc-fg); }
  .rc-view .token-guide-action { flex: 0 0 auto; margin: 0 !important; height: 34px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 9px; font-size: 13px; white-space: nowrap; }
  .rc-view .public-field--token > span:first-child { margin-bottom: 8px; }
  .rc-view textarea.public-input--token { min-height: 132px; height: 132px; resize: vertical; }
}
@media (max-width: 640px) {
  .rc-view textarea.public-input--token { min-height: 130px; height: 130px; }
}

/* ================= 屏幕够高时：整体放大一点，从顶部留约 28px 开始排（不居中，位置不随步骤上下跳） ================= */
@media (min-width: 641px) and (min-height: 820px) {
  .rc-stage { padding: 28px 16px 40px; }
  .rc-hero h1 { font-size: 40px; }
  .rc-hero p { margin: 8px 0 20px; font-size: 16px; }
  .rc-pills li { padding: 7px 16px; font-size: 13.5px; }
  .rc-card { margin-top: 28px; }
  .rc-stage[data-step="2"] .rc-card { margin-top: 0; }
  .rc-tabs { padding: 10px; }
  .rc-tab { height: 46px; }
  .rc-view { padding: 32px 52px 38px; }
  .rc-view .wizard-steps { margin-bottom: 28px !important; }
  .rc-panel-title { font-size: 22px; }
  .rc-panel-sub { margin-bottom: 20px; font-size: 13.5px; }
  .rc-view .public-input { min-height: 54px; }
  .rc-view .public-tip-box { margin-top: 12px; padding: 11px 14px; }
  .rc-footer { margin-top: 22px; }
  .rc-footer .public-primary-button, .rc-footer .public-ghost-button { height: 54px; }
}

/* ================= 手机：字号小一档、字重细一档 ================= */
@media (max-width: 640px) {
  .rc-brand-copy strong { font-size: 15px; font-weight: 600; }
  .rc-header-cta { height: 34px; padding: 0 14px; font-size: 13px; font-weight: 600; }
  .rc-hero h1 { font-size: 24px; font-weight: 650; }
  .rc-hero p { font-size: 13px; }
  .rc-pills li { font-size: 12px; font-weight: 500; padding: 4px 11px; }
  .rc-tab { font-size: 14px; font-weight: 500; }
  .rc-tab[data-current="true"] { font-weight: 600; }
  .rc-view .wizard-step-dot { width: 34px; height: 34px; font-size: 14px; }
  .rc-view .wizard-steps::before { top: 17px; }
  .rc-view .wizard-step > span { font-size: 11.5px; font-weight: 500; }
  .rc-view .wizard-step[data-active="true"] > span { font-weight: 600; }
  .rc-panel-title, .rc-view .token-guide-heading { font-size: 17px !important; font-weight: 600 !important; }
  .rc-panel-sub { font-size: 12.5px; }
  .rc-view .token-guide-tutorial-button { height: 32px; padding: 0 14px; font-size: 12.5px; font-weight: 500; }
  .rc-view .token-guide-step-content strong { font-size: 13.5px !important; font-weight: 500 !important; line-height: 1.55; }
  .rc-view .token-guide-action { height: 34px; padding: 0 14px; font-size: 12.5px !important; font-weight: 600 !important; border-radius: 8px; }
  .rc-view .public-field > span:first-child, .rc-view .public-field--token > span:first-child { font-size: 13px !important; font-weight: 500 !important; }
  .rc-view .public-input, .rc-view textarea.public-input { font-size: 16px; font-weight: 400; }   /* 16px 以下 iPhone 点进输入框会自动放大页面 */
  .rc-view .public-tip-box { font-size: 12px; }
  .rc-footer .public-primary-button, .rc-footer .public-ghost-button { font-size: 14px; font-weight: 600; height: 42px; }
  .rc-view .public-query-form .public-primary-button { font-size: 14px; font-weight: 600; height: 44px; }
  .rc-guide-block h3 { font-size: 15px; font-weight: 600; }
  .rc-guide-block ol { font-size: 13px; }
  .rc-guide-button { font-size: 13px; font-weight: 500; height: 40px; }
  .public-summary-list dt, .public-summary-list dd { font-size: 13px; }
  .public-summary-list dd { font-weight: 600; }
}

/* ================= 手机：按钮紧跟在内容下面（不固定到底部），间距按屏幕高度适当放松 ================= */
@media (max-width: 640px) {
  .rc-stage { padding: clamp(12px, 2.4dvh, 30px) 14px 12px; }
  .rc-hero h1 { font-size: 26px; }
  .rc-hero p { margin: 8px 0 clamp(12px, 2dvh, 22px); }
  .rc-card { margin-top: clamp(14px, 2.4dvh, 26px); }
  .rc-view { padding: clamp(20px, 3.6dvh, 38px) 18px clamp(20px, 3dvh, 30px); }
  .rc-view .wizard-steps { margin-bottom: clamp(20px, 3.6dvh, 36px) !important; }
  .rc-panel-sub { margin-bottom: clamp(14px, 2.4dvh, 24px); }
  .rc-view .public-input { min-height: 50px; }
  .rc-view .public-tip-box { margin-top: clamp(10px, 1.6dvh, 16px); padding: 10px 12px; }
  .rc-footer { margin-top: clamp(16px, 2.6dvh, 26px); }
  .rc-stage[data-step="2"] .rc-card { margin-top: 0; }
}

/* ================= 手机：按钮栏吸底（内容超出屏幕时一直贴在屏幕底部，不用往下滑） + 第 2 步更紧凑 ================= */
@media (max-width: 640px) {
  /* sticky 要求祖先不能 overflow:hidden，所以去掉卡片的裁切，圆角改由标签栏和按钮栏各自带 */
  .rc-card { overflow: visible; }
  .rc-tabs { border-radius: 15px 15px 0 0; }
  .rc-view { padding-bottom: 0; }
  .rc-footer {
    position: sticky; bottom: 0; z-index: 6;
    margin: clamp(16px, 2.6dvh, 26px) -18px 0; padding: 10px 18px calc(12px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid #f0f0f0; border-radius: 0 0 15px 15px;
  }
  /* 第 2 步：说明与输入框压紧 */
  .rc-view .token-guide-heading-row { margin-bottom: 8px; }
  .rc-view .token-guide { gap: 8px; margin-bottom: 10px; }
  .rc-view .token-guide-step, .rc-view .token-guide-step--spaced { margin: 0 !important; padding: 0; }
  .rc-view .token-guide-check { flex: 0 0 22px; width: 22px; height: 22px; }
  .rc-view .token-guide-step-content { gap: 6px; }
  .rc-view .token-guide-step-content strong { font-size: 13px !important; line-height: 1.5; }
  .rc-view .token-guide-action { height: 30px; padding: 0 12px; font-size: 12px !important; margin-top: 4px !important; }
  .rc-view .public-field--token > span:first-child { margin-bottom: 6px; }
  .rc-view textarea.public-input--token { min-height: 96px; height: 96px; }
  .rc-view .form-error { margin: 4px 0 0; }
}

/* 手机：顶部几处再收紧（导航栏、标签页、步骤条），让第 2 步的 Token 输入框在矮屏上也能露出来 */
@media (max-width: 640px) {
  .rc-header { height: 54px; }
  .rc-brand .landing-logo { width: 32px; height: 32px; }
  .rc-tabs { padding: 7px; }
  .rc-tab { height: 38px; }
  .rc-view .wizard-step-dot { width: 30px; height: 30px; font-size: 13px; }
  .rc-view .wizard-steps::before { top: 15px; }
  .rc-view .wizard-step { gap: 5px; }
  .rc-stage[data-step="2"] .rc-view, .rc-stage[data-step="3"] .rc-view { padding-top: 16px; }
  .rc-stage[data-step="2"] .wizard-steps, .rc-stage[data-step="3"] .wizard-steps { margin-bottom: 14px !important; }
  .rc-stage[data-step="2"] .rc-stage, .rc-stage { padding-top: clamp(10px, 2dvh, 24px); }
}

/* 手机第 2 步：三处间隙压紧（步骤条↔标题、标题↔第 1 条说明、说明按钮↔「请在输入框粘贴…」） */
@media (max-width: 640px) {
  .rc-stage[data-step="2"] .wizard-steps { margin-bottom: 6px !important; }
  .rc-stage[data-step="2"] .rc-view { padding-top: 12px; }
  .rc-stage[data-step="2"] .token-guide-heading-row { margin-bottom: 2px; min-height: 0; }
  .rc-stage[data-step="2"] .token-guide-heading-row .token-guide-heading { line-height: 1.2; }
  .rc-stage[data-step="2"] .token-guide-tutorial-button { height: 28px; }
  .rc-stage[data-step="2"] .token-guide { gap: 6px; margin-bottom: 6px; }
  .rc-stage[data-step="2"] .token-guide-action { margin: 4px 0 0 !important; height: 32px; width: auto; }
  .rc-stage[data-step="2"] .public-field--token { margin-top: 0; }
  .rc-stage[data-step="2"] .public-field--token > span:first-child { margin-bottom: 4px; }
}

/* 手机第 2 步（修正）：按钮回到「在各自那条说明下面、靠左、宽度跟文字走」；去掉说明区自带的 24px 上边距；标题行不再比标题高 */
@media (max-width: 640px) {
  .rc-stage[data-step="2"] .rc-view .token-guide { margin-top: 4px !important; }
  .rc-stage[data-step="2"] .token-guide-step-content { display: flex !important; flex-direction: column; align-items: flex-start; gap: 4px; }
  .rc-stage[data-step="2"] .rc-view .token-guide-action { display: inline-flex; width: auto !important; min-height: 0 !important; height: 30px !important; padding: 0 12px; margin: 2px 0 0 !important; }
  .rc-stage[data-step="2"] .token-guide-heading-row { height: 30px; margin-bottom: 0; }
  .rc-stage[data-step="2"] .token-guide-tutorial-button { height: 28px !important; min-height: 0 !important; }
  .rc-stage[data-step="2"] .wizard-steps { margin-bottom: 4px !important; }
}

/* 手机：去掉标签页，右上角按钮用来在「进度查询」和「立即充值」之间切换；电脑端保持原样 */
.rc-cta-mobile { display: none; }
@media (max-width: 640px) {
  .rc-tabs { display: none; }
  .rc-cta-desktop { display: none; }
  /* 文字按钮（和 zzzzz 顶部导航里的「进度查询」一样）：灰色文字、无底色，按下时出现淡灰圆角底 */
  .rc-cta-mobile { display: inline-flex; align-items: center; background: transparent; color: var(--rc-muted); box-shadow: none; border: 0; border-radius: 999px; padding: 0 14px; height: 38px; font-size: 15px; font-weight: 500; margin-right: -6px; }
  .rc-cta-mobile:hover, .rc-cta-mobile:active { background: #efefef; color: var(--rc-fg); }
}

/* 手机第 2 步（放松）：去掉标签页后多出了空间，之前为省高度压得太紧，这里把间距放回舒服的程度 */
@media (max-width: 640px) {
  .rc-stage[data-step="2"] .rc-view { padding-top: 22px; }
  .rc-stage[data-step="2"] .wizard-steps { margin-bottom: 14px !important; }
  .rc-stage[data-step="2"] .token-guide-heading-row { height: 36px; margin-bottom: 10px; }
  .rc-stage[data-step="2"] .rc-view .token-guide { margin-top: 6px !important; gap: 16px; margin-bottom: 16px; }
  .rc-stage[data-step="2"] .token-guide-step { gap: 12px; }
  .rc-stage[data-step="2"] .token-guide-step-content { gap: 8px; }
  .rc-stage[data-step="2"] .token-guide-step-content strong { font-size: 13.5px !important; line-height: 1.6; }
  .rc-stage[data-step="2"] .rc-view .token-guide-action { height: 34px !important; padding: 0 14px; margin: 2px 0 0 !important; font-size: 13px !important; }
  .rc-stage[data-step="2"] .public-field--token > span:first-child { margin-bottom: 8px; }
  .rc-stage[data-step="2"] textarea.public-input--token { min-height: 110px; height: 110px; }
  .rc-stage[data-step="2"] .rc-footer { margin-top: 16px; }
}
