/* ===== 兑换码弹窗 ===== */
.redeem-modal { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; }
.redeem-modal[hidden] { display: none; }
.redeem-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.45); backdrop-filter: blur(2px); }
.redeem-box { position: relative; width: 86%; max-width: 340px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 60px rgba(0,0,0,0.25); animation: redeemPop .22s ease; }
@keyframes redeemPop { from { transform: translateY(12px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.redeem-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: linear-gradient(135deg, #ff7a62, #ee5a3f); color: #fff; font-size: 16px; font-weight: 600; }
.redeem-close { background: transparent; border: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }
.redeem-body { padding: 18px 18px 16px; }
.redeem-hint { margin: 0 0 12px; color: #666; font-size: 13px; line-height: 1.5; }
.redeem-body input { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #e3e3e3; border-radius: 8px; font-size: 15px; letter-spacing: 1px; outline: none; transition: border-color .15s; }
.redeem-body input:focus { border-color: #ee5a3f; }
.redeem-msg { min-height: 20px; margin: 10px 2px 0; font-size: 13px; }
.redeem-msg.ok  { color: #2a9d8f; }
.redeem-msg.err { color: #e63946; }
.redeem-actions { display: flex; gap: 10px; margin-top: 14px; }
.redeem-actions button { flex: 1; padding: 10px 0; border: none; border-radius: 8px; font-size: 15px; cursor: pointer; transition: opacity .15s, transform .1s; }
.redeem-actions button:active { transform: scale(0.98); }
.redeem-cancel { background: #f2f2f2; color: #555; }
.redeem-submit { background: linear-gradient(135deg, #ff7a62, #ee5a3f); color: #fff; font-weight: 600; }
.redeem-submit:disabled { opacity: .6; cursor: not-allowed; }
