body { background: var(--surface); font-size: 15px; }
.redeem-header, .redeem-footer { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.redeem-header { min-height: 88px; border-bottom: 1px solid var(--border); }
.redeem-brand { font-size: 20px; font-weight: 650; }
.redeem-header nav { color: var(--muted); font-size: 14px; }
.redeem-header a:hover, .redeem-legacy a:hover { color: var(--accent); }
.redeem-environment { padding: 10px 20px; text-align: center; background: var(--accent-light); color: #315642; font-size: 13px; }
.redeem-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; max-width: 1120px; margin: 0 auto; padding: 60px 0 80px; min-height: calc(100dvh - 166px); align-items: start; }
.redeem-intro { padding-top: 34px; }
.redeem-intro h1 { font-size: 30px; letter-spacing: -.025em; line-height: 1.4; text-wrap: balance; }
.redeem-intro > p { color: var(--muted); margin-top: 18px; max-width: 30ch; line-height: 1.9; }
.redeem-help { margin-top: 72px; }
.redeem-help h2 { font-size: 14px; color: var(--muted); margin-bottom: 15px; }
.redeem-help details { border-bottom: 1px solid var(--border); }
.redeem-help summary { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font-size: 14px; list-style: none; }
.redeem-help summary::-webkit-details-marker { display: none; }
.redeem-help summary::after { content: '+'; color: var(--muted); font-size: 20px; }
.redeem-help details[open] summary::after { content: '−'; }
.redeem-help details p { color: var(--muted); padding-bottom: 18px; line-height: 1.8; font-size: 13px; }
.redeem-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--canvas); border-radius: 10px; padding: 5px; max-width: 320px; margin-bottom: 24px; }
.redeem-tabs button { border: 0; background: transparent; min-height: 42px; color: var(--muted); border-radius: 7px; }
.redeem-tabs button[aria-pressed="true"] { color: var(--ink); background: var(--surface); font-weight: 600; }
.redeem-panel { border: 1px solid var(--border); border-radius: 14px; padding: 32px; min-width: 0; }
.redeem-steps { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.redeem-steps span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.redeem-steps b { display: grid; place-items: center; border-radius: 50%; background: var(--canvas); width: 27px; height: 27px; font-weight: 500; }
.redeem-steps .current { color: var(--ink); font-weight: 600; }
.redeem-steps .current b { background: var(--accent); color: white; }
.redeem-steps i { flex: 1; height: 1px; background: var(--border); }
.redeem-panel h2 { font-size: 23px; line-height: 1.4; margin-bottom: 10px; }
.redeem-description { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 27px; }
.redeem-panel .field { margin-bottom: 20px; }
.redeem-panel input, .redeem-panel textarea { font-size: 15px; width: 100%; min-height: 48px; }
.redeem-panel textarea { min-height: 180px; resize: vertical; font-size: 13px; }
.redeem-panel .button { min-height: 46px; padding: 12px 16px; font-size: 14px; }
.redeem-panel .notice { margin: 18px 0; }
.redeem-error { color: var(--danger); font-size: 14px; margin: 14px 0; overflow-wrap: anywhere; }
.redeem-error:empty { display: none; }
.redeem-guide { background: var(--surface-subtle); border-radius: 8px; padding: 18px 18px 18px 36px; margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.redeem-guide a, .redeem-legacy a { text-decoration: underline; }
.redeem-disclosure { color: var(--muted); line-height: 1.8; font-size: 12px; margin: 14px 0 22px; }
.redeem-actions { display: flex; gap: 12px; margin-top: 26px; }
.redeem-actions > * { flex: 1; }
.redeem-account { margin: 28px 0; }
.redeem-account div { display: flex; gap: 18px; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); }
.redeem-account dt { color: var(--muted); flex-shrink: 0; }
.redeem-account dd { margin: 0; text-align: right; font-weight: 550; overflow-wrap: anywhere; min-width: 0; }
.redeem-legacy { color: var(--muted); font-size: 12px; margin-top: 20px; text-align: center; }
.redeem-result { padding: 20px 0 0; text-align: center; }
.redeem-result .redeem-description { margin-bottom: 20px; }
.redeem-result-status { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 13px; margin-bottom: 20px; }
.redeem-result-status[data-tone="review"] { color: var(--review); }
.redeem-result-status[data-tone="danger"] { color: var(--danger); }
.redeem-spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: turn 1s linear infinite; }
.redeem-order-id { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; margin-top: 20px; }
.redeem-footer { border-top: 1px solid var(--border); min-height: 78px; color: var(--muted); font-size: 12px; }
@keyframes turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .redeem-spinner { animation: none; } }
@media (max-width: 1200px) { .redeem-header, .redeem-layout, .redeem-footer { margin-left: 28px; margin-right: 28px; } .redeem-layout { gap: 48px; } }
@media (max-width: 760px) {
  .redeem-header, .redeem-layout, .redeem-footer { margin-left: 20px; margin-right: 20px; }
  .redeem-header { min-height: 72px; }
  .redeem-layout { display: flex; flex-direction: column; gap: 28px; padding: 30px 0 40px; min-height: 0; }
  .redeem-intro { display: contents; }
  .redeem-intro h1 { font-size: 26px; order: 0; }
  .redeem-intro > p { margin: -16px 0 0; max-width: none; order: 1; font-size: 14px; }
  .redeem-work { width: 100%; order: 2; }
  .redeem-help { order: 3; width: 100%; margin-top: 18px; }
  .redeem-panel { padding: 24px 20px; }
  .redeem-tabs { max-width: none; }
  .redeem-account div { gap: 12px; font-size: 14px; }
  .redeem-footer { min-height: 92px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; }
}
