/* 用户兑换页样式。后台使用 style.css，两者互不依赖。 */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --surface-3: #eef0f4;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;
  --ink: #0f172a;
  --ink-2: #475467;
  --ink-3: #8a94a6;
  --accent: #4f46e5;
  --accent-soft: #eef0ff;
  --accent-ring: rgba(79, 70, 229, 0.22);
  --success: #059669;
  --success-soft: #e7f7f0;
  --warn: #b45309;
  --warn-soft: #fff6e6;
  --warn-line: #f5dfb3;
  --danger: #d92d20;
  --danger-soft: #fef1f0;
  --danger-line: #f7cbc6;
  --btn: #0f172a;
  --btn-hover: #1e293b;
  --btn-ink: #ffffff;
  --glow-a: rgba(99, 102, 241, 0.16);
  --glow-b: rgba(16, 185, 129, 0.12);
  --dot-grid: rgba(15, 23, 42, 0.06);
  --shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 48px -20px rgba(15, 23, 42, 0.16);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 20px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0c10;
    --surface: #12151b;
    --surface-2: #181c23;
    --surface-3: #20252e;
    --line: #262b35;
    --line-strong: #353c48;
    --ink: #eef1f6;
    --ink-2: #a3acba;
    --ink-3: #6b7482;
    --accent: #8b87ff;
    --accent-soft: #1d1d3a;
    --accent-ring: rgba(139, 135, 255, 0.3);
    --success: #34d399;
    --success-soft: #0f2a21;
    --warn: #fbbf24;
    --warn-soft: #2a2110;
    --warn-line: #4a3a15;
    --danger: #f97066;
    --danger-soft: #2c1513;
    --danger-line: #55261f;
    --btn: #f1f3f7;
    --btn-hover: #ffffff;
    --btn-ink: #0a0c10;
    --glow-a: rgba(99, 102, 241, 0.2);
    --glow-b: rgba(16, 185, 129, 0.1);
    --dot-grid: rgba(255, 255, 255, 0.05);
    --shadow:
      0 1px 2px rgba(0, 0, 0, 0.3),
      0 20px 60px -24px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
code,
kbd {
  font-family: var(--mono);
  font-size: 0.86em;
}
.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 背景 */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60rem 28rem at 15% -8rem, var(--glow-a), transparent 70%),
    radial-gradient(50rem 26rem at 95% -6rem, var(--glow-b), transparent 70%);
}
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot-grid) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 420px);
  mask-image: linear-gradient(to bottom, #000, transparent 420px);
}

/* 顶栏 */
.topbar {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 16px;
  letter-spacing: 0.2px;
}
.brand-mark {
  width: 30px;
  height: 30px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  backdrop-filter: blur(8px);
  font-size: 12px;
  color: var(--ink-2);
}
.pill svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--success);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 主体 */
.shell {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  flex: 1;
}
.hero {
  text-align: center;
  margin-bottom: 28px;
}
.hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.hero p {
  margin: 10px 0 0;
  color: var(--ink-2);
}

/* 步骤条 */
.stepper {
  list-style: none;
  margin: 0 0 18px;
  padding: 0 6px;
  display: flex;
  align-items: center;
}
.stepper li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
  white-space: nowrap;
}
.stepper li + li::before {
  content: "";
  flex: 1;
  height: 1px;
  min-width: 16px;
  margin: 0 4px;
  background: var(--line-strong);
}
.stepper li:not(:first-child) {
  flex: 1;
}
.stepper li.is-done::before,
.stepper li.is-current::before {
  background: var(--accent);
}
.stepper .dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.stepper .dot i {
  font-style: normal;
}
.stepper .is-current {
  color: var(--ink);
  font-weight: 600;
}
.stepper .is-current .dot {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--btn-ink);
  box-shadow: 0 0 0 4px var(--accent-ring);
}
.stepper .is-done {
  color: var(--ink-2);
}
.stepper .is-done .dot {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent);
}
.stepper .is-done .dot i {
  font-size: 0;
}
.stepper .is-done .dot i::before {
  content: "✓";
  font-size: 12px;
}

/* 卡片 */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.view {
  animation: rise 0.28s ease-out;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* 表单 */
.field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.field-label {
  font-size: 14px;
  font-weight: 600;
}
.counter {
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.counter.is-full {
  color: var(--success);
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  padding: 12px 14px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
input::placeholder,
textarea::placeholder {
  color: var(--ink-3);
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring);
}
.code-input {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 2px;
  text-align: center;
  padding: 16px 12px;
  text-transform: uppercase;
}
.code-input::placeholder {
  font-weight: 400;
  letter-spacing: 2px;
}
textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  word-break: break-all;
}
.hint {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
}
.hint.center {
  text-align: center;
}
.tip {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.tip .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--ink-3);
}

/* 按钮 */
.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.1s,
    opacity 0.15s;
  touch-action: manipulation;
}
.btn:active:not(:disabled) {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--btn);
  color: var(--btn-ink);
}
.btn-primary:hover:not(:disabled) {
  background: var(--btn-hover);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--surface-2);
}
.btn-block {
  width: 100%;
  margin-top: 20px;
  padding: 14px 20px;
}
.btn:disabled {
  cursor: default;
  opacity: 0.55;
}
.btn.is-loading {
  opacity: 1;
  cursor: progress;
}
.btn.is-loading > * {
  visibility: hidden;
}
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.btn-row .btn {
  flex: 1;
}
.btn-text {
  appearance: none;
  border: 0;
  background: none;
  padding: 2px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-text .icon {
  width: 15px;
  height: 15px;
}
.btn-text:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-copy {
  appearance: none;
  flex: none;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
}
.btn-copy:hover {
  color: var(--ink);
  border-color: var(--ink-3);
}
.btn-copy.is-copied {
  color: var(--success);
  border-color: var(--success);
}
:is(.btn, .btn-text, .btn-copy, summary, .brand):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* 提示条 */
.notice {
  margin: 0 0 20px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  overflow-wrap: anywhere;
}
.notice.error {
  background: var(--danger-soft);
  border-color: var(--danger-line);
  color: var(--danger);
}

/* 套餐卡 */
.plan-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 18px 18px 16px;
  margin-bottom: 24px;
  background:
    radial-gradient(22rem 10rem at 100% 0, var(--glow-a), transparent 70%),
    radial-gradient(18rem 10rem at 0 100%, var(--glow-b), transparent 70%),
    var(--surface-2);
  border: 1px solid var(--line);
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}
.tag.is-upgrade {
  background: var(--success-soft);
  color: var(--success);
}
.plan-name {
  margin: 10px 0 14px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.plan-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.plan-meta dt {
  font-size: 12px;
  color: var(--ink-3);
}
.plan-meta dd {
  margin: 2px 0 0;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}
.plan-meta dd.mono {
  font-size: 13px;
}
.plan-meta dd.wrap {
  white-space: normal;
}
.workspace-field {
  margin-bottom: 20px;
}

/* Session 状态 */
.session-state {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.session-state::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--ink-3);
}
.session-state.is-ok {
  color: var(--success);
}
.session-state.is-ok::before {
  background: var(--success);
}
.session-state.is-bad {
  color: var(--danger);
}
.session-state.is-bad::before {
  background: var(--danger);
}

/* 教程 */
.guide {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}
.guide summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  border-radius: 14px;
  user-select: none;
}
.guide summary::-webkit-details-marker {
  display: none;
}
.guide summary > span {
  flex: 1;
}
.guide summary .icon {
  color: var(--accent);
}
.guide .chevron {
  color: var(--ink-3) !important;
  transition: transform 0.2s;
}
.guide[open] .chevron {
  transform: rotate(180deg);
}
.guide-steps {
  list-style: none;
  counter-reset: g;
  margin: 0;
  padding: 4px 16px 0;
}
.guide-steps li {
  counter-increment: g;
  position: relative;
  padding: 0 0 18px 36px;
}
.guide-steps li::before {
  content: counter(g);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.guide-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 11.5px;
  top: 28px;
  bottom: 4px;
  width: 1px;
  background: var(--line-strong);
}
.guide-steps b {
  font-size: 14px;
}
.guide-steps p {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--ink-2);
}
.guide-steps p code,
.guide-tips code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--surface-3);
  color: var(--ink);
}
kbd {
  display: inline-block;
  padding: 0 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
  font-size: 11.5px;
  line-height: 1.6;
}
.url-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
}
.url-box code {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  overflow-wrap: anywhere;
  color: var(--accent);
}
.mock {
  margin-top: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: var(--surface-3);
  border-bottom: 1px solid var(--line);
}
.mock-dots {
  display: flex;
  gap: 5px;
}
.mock-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}
.mock-url {
  flex: 1;
  min-width: 0;
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-body {
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink-2);
  word-break: break-all;
}
.mock-sel {
  background: var(--accent-ring);
  color: var(--ink);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.guide-tips {
  margin: 0 16px 16px;
  padding: 12px 14px 12px 30px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  font-size: 12.5px;
  color: var(--ink-2);
}
.guide-tips li + li {
  margin-top: 4px;
}

/* 确认 */
.confirm-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.account-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}
.avatar {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #10b981);
}
.account-text {
  flex: 1;
  min-width: 0;
}
.account-text strong {
  display: block;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.label {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
}
.verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: none;
  padding: 2px 9px 2px 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--success-soft);
  color: var(--success);
}
.verified .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}
.plan-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}
.plan-flow strong {
  font-size: 15px;
}
.plan-flow > div:last-child {
  text-align: right;
}
.plan-flow > div:last-child strong {
  color: var(--accent);
}
.flow-arrow {
  color: var(--ink-3);
}
.callout {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--warn-soft);
  border: 1px solid var(--warn-line);
  color: var(--warn);
}
.callout .icon {
  margin-top: 2px;
}
.callout p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

/* 订单状态 */
.status-head {
  text-align: center;
}
.status-head h2 {
  margin: 14px 0 4px;
  font-size: 22px;
  letter-spacing: -0.3px;
}
.status-head p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}
.status-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.status-badge svg {
  display: none;
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.status-badge.is-working {
  background: var(--accent-soft);
  color: var(--accent);
}
.status-badge.is-working .s-working {
  display: block;
  animation: spin 1.1s linear infinite;
}
.s-working .track {
  opacity: 0.18;
}
.s-working .arc {
  stroke-dasharray: 36 200;
}
.status-badge.is-success {
  background: var(--success-soft);
  color: var(--success);
}
.status-badge.is-success .s-success {
  display: block;
  stroke-dasharray: 40;
  animation: draw 0.5s ease-out both;
}
.status-badge.is-pending {
  background: var(--warn-soft);
  color: var(--warn);
}
.status-badge.is-pending .s-pending {
  display: block;
}
.status-badge.is-error {
  background: var(--danger-soft);
  color: var(--danger);
}
.status-badge.is-error .s-error {
  display: block;
  stroke-width: 4;
}
.status-badge.is-info {
  background: var(--accent-soft);
  color: var(--accent);
}
.status-badge.is-info .s-info {
  display: block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes draw {
  from {
    stroke-dashoffset: 40;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* 时间线 */
.timeline {
  list-style: none;
  margin: 26px 0 0;
  padding: 18px 18px 2px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.timeline li {
  position: relative;
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
}
.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 24px;
  bottom: 2px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.timeline li.is-done:not(:last-child)::after {
  background: var(--success);
}
.tl-dot {
  position: relative;
  z-index: 1;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  display: grid;
  place-items: center;
}
.timeline b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
}
.timeline li span:not(.tl-dot) {
  display: block;
  font-size: 12.5px;
  color: var(--ink-3);
}
.timeline .is-done .tl-dot {
  border-color: var(--success);
  background: var(--success);
}
.timeline .is-done .tl-dot::after {
  content: "";
  width: 8px;
  height: 4px;
  margin-top: -2px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.timeline .is-done b {
  color: var(--ink);
}
.timeline .is-current .tl-dot {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring);
}
.timeline .is-current .tl-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}
.timeline .is-current b {
  color: var(--ink);
}
.timeline .is-current span:not(.tl-dot) {
  color: var(--ink-2);
}
.timeline .is-pending .tl-dot {
  border-color: var(--warn);
}
.timeline .is-pending .tl-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warn);
  animation: pulse 1.4s ease-in-out infinite;
}
.timeline .is-pending b {
  color: var(--ink);
}
.timeline .is-pending span:not(.tl-dot) {
  color: var(--warn);
}
@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.75);
  }
}

.order-meta {
  margin: 16px 0 0;
  padding: 4px 16px;
  border-radius: 14px;
  background: var(--surface-2);
}
.order-meta > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 13.5px;
}
.order-meta > div + div {
  border-top: 1px solid var(--line);
}
.order-meta dt {
  color: var(--ink-3);
  flex: none;
}
.order-meta dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.with-copy {
  display: flex;
  align-items: center;
  gap: 8px;
}
.with-copy .mono {
  font-size: 13px;
}

/* 底部 */
.trust {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.trust li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  border: 1px solid var(--line);
}
.trust .icon {
  color: var(--accent);
  margin-top: 1px;
}
.trust b {
  display: block;
  font-size: 13px;
}
.trust span {
  display: block;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.footer {
  padding: 8px 20px 32px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
}

@media (max-width: 560px) {
  .topbar {
    padding: 16px;
  }
  .shell {
    padding: 12px 16px 28px;
  }
  .hero {
    margin-bottom: 22px;
  }
  .hero h1 {
    font-size: 27px;
  }
  .hero p {
    font-size: 14px;
  }
  .stepper {
    padding: 0;
  }
  .stepper li {
    font-size: 12px;
    gap: 6px;
  }
  .panel {
    padding: 22px 18px;
    border-radius: 18px;
  }
  .code-input {
    font-size: 18px;
    letter-spacing: 1px;
  }
  .plan-meta {
    gap: 10px 22px;
  }
  .guide-steps {
    padding: 4px 12px 0;
  }
  .guide-tips {
    margin: 0 12px 12px;
  }
  .trust {
    grid-template-columns: 1fr;
  }
  .trust li {
    align-items: center;
  }
  .trust span {
    display: inline;
    margin-left: 6px;
  }
  .trust b {
    display: inline;
  }
}
@media (max-width: 360px) {
  .stepper .step-label {
    display: none;
  }
  .stepper .is-current .step-label {
    display: inline;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}
