.redeem-page {
  --line: #e9ebf0;
  --text: #202330;
  --muted: #838898;
  --orange: #e94746;
  --red: #e94746;
  --green: #2a9b71;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 0, #fff0ec 0, transparent 43%), #f7f7f9;
  line-height: 1.55;
}
.redeem-page a { color: inherit; text-decoration: none; }
.redeem-page p { margin-bottom: 0; }
.redeem-header { max-width: 1100px; margin: auto; padding: 27px 32px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.redeem-header .brand { margin: 0; font-size: 23px; font-weight: 750; letter-spacing: 1px; gap: 11px; line-height: 1.3; }
.redeem-header .brand-mark { width: 37px; height: 40px; border-radius: 10px 10px 14px 4px; box-shadow: 0 4px 9px #e9474624; flex: 0 0 auto; }
.redeem-header .brand-sub { display: block; color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: .4px; margin-top: 3px; }
.redeem-header-note { font-size: 12px; color: #a09ca3; letter-spacing: 2px; }
.redeem-page .redeem-main { max-width: 530px; margin: 30px auto 0; padding: 0 20px; }
.redeem-intro { text-align: center; margin-bottom: 27px; }
.redeem-intro .eyebrow { font-size: 9px; letter-spacing: 2.5px; color: #c28f8b; margin-bottom: 12px; }
.redeem-intro h1 { font-size: 34px; letter-spacing: -.7px; font-weight: 700; }
.redeem-intro .heading-dot { color: var(--red); margin-left: 2px; }
.redeem-intro > p { font-size: 13px; color: var(--muted); margin-top: 10px; }
.redeem-card { padding: 29px 30px 25px; background: #fff; border: 1px solid #ede9e8; border-radius: 17px; box-shadow: 0 12px 38px #3d273006; }
.redeem-steps { list-style: none; display: flex; gap: 10px; justify-content: space-between; border-bottom: 1px solid var(--line); margin: 0 0 25px; padding: 0 0 22px; }
.redeem-steps li { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #a4a6b0; white-space: nowrap; line-height: 1.5; }
.redeem-steps li > span { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #e7e9ee; border-radius: 50%; font-size: 10px; }
.redeem-steps li.active { color: var(--red); font-weight: 600; }
.redeem-steps li.active > span { color: #fff; background: var(--red); border-color: var(--red); }
.redeem-steps li.done { color: #339b75; }
.redeem-steps li.done > span { background: #ecf7f2; border-color: #d9eee5; }
.redeem-card h2 { font-size: 18px; font-weight: 700; }
.redeem-help { font-size: 12px; color: var(--muted); line-height: 1.85; margin-top: 8px; }
.redeem-card label { display: block; font-size: 12px; color: #545969; margin: 20px 0 7px; }
.redeem-card input { height: 46px; font-size: 14px; margin-top: 0; border: 1px solid #dfe2e9; border-radius: 7px; padding: 0 12px; }
.redeem-card input:focus { border-color: var(--red); box-shadow: 0 0 0 3px #e9474610; }
.redeem-card input#redeemCode { font-family: Consolas, monospace; letter-spacing: 1px; font-size: 15px; }
.redeem-page .button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 7px 13px; border-radius: 7px; font-size: 12px; line-height: 1.5; }
.redeem-page .button.primary { background: var(--red); box-shadow: 0 3px 6px #e9474615; }
.redeem-page .button.primary:hover:not(:disabled) { background: #d83738; }
.redeem-page .button.secondary { color: #535969; border-color: #e0e3e9; background: #fff; }
.redeem-page .redeem-wide { width: 100%; min-height: 44px; margin-top: 18px; font-size: 13px; }
.redeem-page .text-button { border: 0; background: transparent; color: var(--red); padding: 3px 0; font-size: 12px; line-height: 1.7; }
.redeem-status { font-size: 12px; line-height: 1.85; color: #c9504d; white-space: pre-wrap; overflow-wrap: anywhere; }
.redeem-status:not(:empty) { margin-top: 17px; border-radius: 7px; background: #fff3f1; padding: 11px 13px; }
.redeem-status.success { color: #287959; background: #eff8f3; }
.redeem-status.pending { color: #8e6d31; background: #fff8e8; }
.redeem-package { padding: 16px; border: 1px solid #f3deda; background: #fff8f6; border-radius: 9px; margin-bottom: 24px; }
.redeem-package-head { display: flex; justify-content: space-between; gap: 10px; color: #ac7771; font-size: 11px; margin-bottom: 12px; }
.redeem-package-head .mono { font-size: 10px; }
.redeem-plan-row { display: flex; justify-content: space-between; gap: 10px; margin: 7px 0; font-size: 13px; overflow-wrap: anywhere; }
.redeem-plan-row > span { color: #9b8c8a; white-space: nowrap; font-size: 12px; }
.redeem-package-total { border-top: 1px dashed #ead7d3; margin-top: 13px; padding-top: 11px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.redeem-package-total strong { color: var(--red); font-size: 21px; font-weight: 650; }
.redeem-package-total > span { color: #ac8c87; font-size: 11px; }
.redeem-qr-frame { width: 224px; height: 224px; border: 1px solid var(--line); border-radius: 9px; display: grid; place-items: center; padding: 10px; margin: 22px auto 12px; background: #fff; }
.redeem-qr-frame img { display: block; width: 202px; height: 202px; object-fit: contain; }
.redeem-qr-frame span { padding: 15px; font-size: 12px; color: var(--muted); line-height: 1.8; text-align: center; }
.redeem-qr-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 14px 0; }
#redeemQrStatus { text-align: center; min-height: 40px; overflow-wrap: anywhere; }
.redeem-account { border: 1px solid var(--line); background: #fafbfc; border-radius: 8px; padding: 14px; margin: 16px 0; color: var(--muted); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.redeem-account strong { font-size: 14px; color: var(--text); }
.redeem-account p { margin: 5px 0; }
.redeem-account-identity { display: flex; align-items: center; gap: 13px; }
.redeem-account-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.redeem-account-initial { display: grid; place-items: center; color: var(--red); background: #ffebe6; font-size: 22px; font-weight: 650; }
.redeem-account-details { min-width: 0; }
.redeem-account-details strong { display: block; overflow-wrap: anywhere; }
.redeem-account-ready { color: var(--green); font-size: 11px; }
.redeem-profile-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-top: 9px; font-size: 11px; }
.redeem-profile-actions .text-button { margin-left: auto; white-space: nowrap; font-size: 11px; }
#redeemProfileStatus { flex: 1 1 160px; }
.redeem-confirm-note { font-size: 12px; line-height: 1.85; color: #626979; }
#redeemChangeAccount { margin-top: 10px; }
.redeem-change { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 17px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.redeem-change > span { font-size: 10px; color: #a3a6af; }
.redeem-result-heading { display: flex; align-items: center; gap: 13px; }
.redeem-result-icon { height: 43px; width: 43px; border-radius: 50%; display: grid; place-items: center; background: #fff0eb; color: var(--red); font-size: 24px; flex-shrink: 0; }
.redeem-result-icon.done { background: #edf8f2; color: #2b956e; }
.redeem-result-icon.problem { background: #fff5df; color: #ae8439; }
.redeem-order-progress { font-size: 12px; line-height: 1.9; color: #757d8c; padding: 17px 0; }
.redeem-progress-track { height: 6px; background: #f1f2f5; border-radius: 4px; margin-top: 9px; overflow: hidden; }
.redeem-progress-track > div { height: 100%; background: #e96359; border-radius: 4px; transition: width .25s; }
.redeem-balance-states { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.redeem-balance-state { border: 1px solid var(--line); border-radius: 8px; padding: 13px; line-height: 1.8; }
.redeem-balance-state > span { font-size: 10px; color: var(--muted); display: block; margin-bottom: 5px; }
.redeem-balance-state > strong { font-size: 13px; }
.redeem-balance-state p { font-size: 11px; color: #969ba6; margin-top: 4px; }
.redeem-delta { font-size: 13px; font-weight: 600; color: var(--green); padding: 10px 0 0; }
.redeem-balance-note { font-size: 10px; }
.redeem-order-meta { font-size: 11px; line-height: 1.9; color: #a4a8b1; margin-top: 15px; overflow-wrap: anywhere; }
.redeem-footnote { font-size: 11px; line-height: 1.9; text-align: center; color: #a0a2ac; margin: 22px 0; }
.redeem-footer { color: #b2b3bb; text-align: center; font-size: 10px; letter-spacing: 1px; padding: 15px 15px 25px; }
.redeem-fixture { padding: 12px 15px; font-size: 12px; line-height: 1.8; color: #987b36; background: #fff6db; border: 1px solid #f0dfaf; border-radius: 9px; margin-bottom: 15px; }
.redeem-fixture strong { display: block; }
@media (max-width: 520px) {
  .redeem-header { padding: 20px; gap: 10px; }
  .redeem-header .brand { font-size: 20px; }
  .redeem-header-note { font-size: 8px; letter-spacing: 1px; }
  .redeem-page .redeem-main { margin-top: 18px; padding: 0 14px; }
  .redeem-intro h1 { font-size: 30px; }
  .redeem-intro .eyebrow { font-size: 8px; letter-spacing: 1.7px; }
  .redeem-card { padding: 24px 20px 21px; border-radius: 13px; }
  .redeem-steps { gap: 5px; }
  .redeem-steps li { gap: 5px; font-size: 10px; }
  .redeem-balance-states { grid-template-columns: 1fr; }
  .redeem-balance-state { padding: 12px; }
  .redeem-plan-row { font-size: 12px; }
  .redeem-change { flex-wrap: wrap; }
  .redeem-change > span { font-size: 10px; }
  .redeem-page .button { min-height: 42px; }
  .redeem-qr-frame { width: 220px; height: 220px; }
  .redeem-qr-frame img { width: 198px; height: 198px; }
}
@media (prefers-reduced-motion: reduce) { .redeem-page * { scroll-behavior: auto; transition: none !important; } }
