/* Payment result: use the same navigation, type and surfaces as the pricing page. */
.result-wrap { min-height: calc(100vh - 150px); padding: 76px 24px 80px; background: var(--white); }
.result-card { width: min(100%, 560px); margin: 0 auto; text-align: center; }
.state-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 26px; font-weight: 600; }
.state-icon.success { background: var(--blue); color: var(--white); }
.result-card h1 { margin: 12px 0 0; color: var(--ink); font-size: clamp(36px, 5vw, 48px); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; }
.lead { margin-top: 16px; color: var(--body); font-size: 17px; line-height: 1.6; }
.card-area { position: relative; margin: 34px 0 0; padding: 25px; overflow: hidden; border: 1px solid #dce9f8; border-radius: var(--radius-xl); background: var(--white); box-shadow: 0 16px 24px rgba(0, 82, 204, .08); text-align: left; }
.card-area::before { position: absolute; inset: 0 0 auto; height: 3px; background: var(--blue); content: ""; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 600; }
.quota { padding: 5px 11px; border-radius: var(--radius-pill); background: var(--blue-soft); color: var(--blue); font-size: 12px; }
.code-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.code-row code { color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(30px, 6vw, 40px); font-weight: 600; letter-spacing: .07em; user-select: all; }
.code-row button, .retry { min-height: 44px; padding: 10px 22px; border: 1px solid var(--blue); border-radius: var(--radius-pill); background: var(--blue); color: var(--white); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.code-row button:hover, .retry:hover { background: var(--blue-hover); }
.save-tip { padding: 12px 14px; border-radius: 9px; background: var(--blue-soft); color: #42516a; font-size: 13px; line-height: 1.6; }
.save-tip span { color: var(--blue); margin-right: 5px; }
.order-detail, .order-picker { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; color: var(--muted); font-size: 12px; text-align: left; }
.order-detail span:last-child { color: var(--body); overflow-wrap: anywhere; }
.order-picker select { max-width: 70%; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--body); font: inherit; }
.retry { margin-top: 26px; }
.support { margin: 26px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.return-link { display: inline-block; margin-top: 20px; color: var(--blue); font-size: 14px; font-weight: 500; }
.return-link:hover { text-decoration: underline; }
.footnote { margin-top: 30px; color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 600px) {
  .result-wrap { padding: 56px 24px 64px; }
  .card-area { padding: 20px; }
  .code-row { gap: 10px; }
  .code-row button { padding: 9px 16px; }
}
