.redeem-page { max-width: 970px; margin: 0 auto; padding: 18px 12px 0; }
.redeem-page h1 { margin: 0 0 18px; padding: 0; font-size: clamp(24px, 3.2vw, 32px); }
.redeem-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.redeem-instructions { padding-inline-end: 14px; }
.redeem-instructions h2 { margin: 0 0 4px; padding: 0; font-size: 16px; }
.redeem-instructions p { margin: 0 0 12px; }
.redeem-entry { padding: 24px 16px 10px; border-inline-start: 1px solid #bdbebe; }
.dark-theme .redeem-entry { border-inline-start-color: #656668; }
.redeem-entry form, .redeem-login { max-width: 336px; margin-inline: auto; }
.redeem-entry label { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 600; }
.redeem-controls { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 6px; align-items: center; }
.redeem-controls input { height: 36px; margin: 0; font-size: 16px; }
.redeem-controls button { min-height: 36px; white-space: nowrap; }
.redeem-login { display: block; margin-top: 12px; }
.redeem-entry .redeem-challenge { margin-top: 12px; }
#redeem-feedback { scroll-margin-top: 106px; }
.redeem-entry .redeem-feedback {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 3px 8px;
    margin: 16px 0 0;
    color: inherit;
    border: 1px solid;
    overflow-wrap: anywhere;
}
.redeem-feedback img { flex: none; }
.light-theme .redeem-feedback img { mix-blend-mode: multiply; }
.dark-theme .redeem-feedback img { border-radius: 50%; }
.redeem-entry .redeem-error { border-color: #d34b55; }
.redeem-entry .redeem-success { border-color: #6ea869; }
.redeem-error-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-inline: 5px;
    border: 2px solid currentColor;
    border-radius: 50%;
    color: #ba293b;
    font-weight: 700;
}
.dark-theme .redeem-error-icon { color: #ff8e97; }
.redeem-history { margin-top: 24px; }
.redeem-history h2 { margin: 0 0 8px; padding: 0; font-size: 22px; }
.redeem-history ul { margin: 0; padding: 0; list-style: none; }
.redeem-history li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 12px; align-items: baseline; padding-block: 10px; border-top: 1px solid #bdbebe; overflow-wrap: anywhere; }
.dark-theme .redeem-history li { border-top-color: #656668; }
@media (max-width: 767px) {
    .redeem-columns { grid-template-columns: minmax(0, 1fr); }
    .redeem-instructions { width: min(100%, 37ch); border-inline-end: 1px solid #bdbebe; }
    .dark-theme .redeem-instructions { border-inline-end-color: #656668; }
    .redeem-entry { padding: 20px 0 0; border: 0; }
    .redeem-entry form, .redeem-login { max-width: 300px; }
    .redeem-controls :is(input, button) { min-height: 44px; }
    .redeem-history li { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; }
    .redeem-history li > :nth-child(2) { grid-row: 2; grid-column: 1 / -1; }
}
