:root {
    color-scheme: light;
    --navy: #081426;
    --mint: #20bdab;
    --mint-dark: #087f73;
    --cream: #f7f3e8;
    --ink: #101828;
    --muted: #667085;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: #edf0eb; }
body { margin: 0; }
button, input { font: inherit; }

.rewards-body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background: linear-gradient(165deg, #07111f 0%, #102a35 32%, #d9e3df 72%, #edf0eb 100%);
    background-repeat: no-repeat;
    padding: max(18px, env(safe-area-inset-top)) clamp(10px, 3.5vw, 15px) max(28px, env(safe-area-inset-bottom));
    overflow-x: hidden;
}

.rewards-shell { position: relative; isolation: isolate; width: min(100%, 490px); margin: auto; flex: 0 0 auto; }
.rewards-shell::before { content: ""; position: absolute; z-index: -1; inset-block: -8%; inset-inline: 0; background: radial-gradient(ellipse at center, rgba(48,215,195,.32) 0%, rgba(48,215,195,.12) 48%, transparent 78%); pointer-events: none; }
.rewards-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: white; padding: 8px 3px 25px; }
.rewards-brand-title { min-width: 0; color: inherit; font-size: clamp(1.55rem, 7vw, 2rem); font-weight: 950; letter-spacing: -.045em; line-height: 1; text-decoration: none; transition: opacity .16s ease; }
.rewards-brand-title:hover { opacity: .86; }
.rewards-brand-title:focus-visible { outline: 3px solid rgba(184,238,231,.55); outline-offset: 4px; border-radius: 4px; }
.rewards-brand-name { flex: 0 0 auto; color: #b8eee7; font-size: clamp(.9rem, 4vw, 1.05rem); font-weight: 850; letter-spacing: -.025em; line-height: 1; }

.public-card { min-width: 0; background: rgba(255,255,255,.97); border: 1px solid rgba(255,255,255,.64); border-radius: 26px; padding: clamp(22px, 6vw, 36px); box-shadow: 0 28px 80px rgba(1, 8, 18, .24); }
.hero-card { overflow: hidden; position: relative; padding-top: 72px; padding-inline: clamp(20px, 5.5vw, 36px); }
.gift-orbit { position: absolute; width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; right: -44px; top: -50px; color: var(--mint-dark); font-size: 2.2rem; background: #d8f7ef; box-shadow: inset 0 0 0 17px rgba(255,255,255,.4); }
.public-eyebrow { margin: 0 0 7px; color: var(--mint-dark) !important; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 950; }
.public-card h1 { margin: 0; font-size: clamp(1.65rem, 7vw, 2.65rem); letter-spacing: -.055em; line-height: 1.04; }
.hero-card h1 { font-size: clamp(2rem, 9vw, 3.1rem); line-height: 1.01; text-wrap: balance; }
.public-card > p { color: var(--muted); line-height: 1.55; }

.public-form { display: grid; gap: 9px; margin-top: 26px; }
.public-form label { font-size: .78rem; font-weight: 850; }
.field-label-row { position: relative; width: 100%; display: flex; align-items: center; gap: 6px; }
.code-help-trigger {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    color: #475467;
    font-size: .68rem;
    font-weight: 900;
    line-height: 1;
    cursor: help;
}
.info-icon { display: inline-block; flex: 0 0 16px; width: 16px; height: 16px; background: currentColor; -webkit-mask: url('info.svg') center / contain no-repeat; mask: url('info.svg') center / contain no-repeat; vertical-align: middle; pointer-events: none; }
.code-help-trigger:hover { color: var(--mint-dark); }
.code-help-trigger:focus-visible { outline: 3px solid rgba(32,189,171,.35); outline-offset: 2px; }
.public-tooltip-layer { position: fixed; z-index: 40; inset: 0; pointer-events: none; }
.code-help-tooltip {
    position: fixed;
    width: min(260px, calc(100vw - 32px));
    padding: 9px 11px;
    border-radius: 9px;
    background: var(--navy);
    color: #fff;
    box-shadow: 0 10px 26px rgba(8,20,38,.2);
    font-size: .72rem;
    font-weight: 650;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-3px);
    transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}
.code-help-tooltip[data-placement="top"] { transform: translateY(3px); }
.code-help-tooltip[data-visible] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.public-form input { width: 100%; min-width: 0; min-height: 54px; border: 1px solid #d0d5dd; border-radius: 13px; padding: 0 15px; font-size: 1.05rem; outline: none; background: #fafbfa; }
.public-form input:focus { border-color: var(--mint-dark); box-shadow: 0 0 0 4px rgba(32,189,171,.14); background: white; }
.public-form input[name="manual_code"] { text-transform: uppercase; letter-spacing: .08em; font-weight: 850; }
.public-form .code-input-group { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 54px; border: 1px solid #d0d5dd; border-radius: 13px; padding: 0 15px; background: #fafbfa; }
.public-form .code-input-prefix { flex: 0 0 auto; font-weight: 850; }
.public-form .code-input-group > input { flex: 1 1 auto; min-width: 0; border: 0; border-radius: 0; padding: 0; background: transparent; }
.public-form .code-input-group > input:focus { box-shadow: none; background: transparent; }
.public-form .code-input-group:focus-within { border-color: var(--mint-dark); box-shadow: 0 0 0 4px rgba(32,189,171,.14); background: white; }
.public-form .code-input-group:has(input:focus-visible) { outline: 2px solid var(--mint-dark); outline-offset: 2px; }
.public-form .code-input-group.is-invalid { border-color: #b42318; }
.code-input-help { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.code-input-feedback { min-height: 1.15rem; margin: -1px 2px 0; color: #667085; font-size: .75rem; font-weight: 700; line-height: 1.4; }
.code-input-feedback:empty { visibility: hidden; }
.code-input-feedback.is-error { color: #b42318; }
.field-hint { margin: -1px 0 5px; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.root-progress-entry { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 10px; }
.root-progress-entry .code-help-trigger { cursor: help; }

.public-button, .secondary-button { width: 100%; min-width: 0; min-height: 52px; border: 0; border-radius: 13px; padding: 12px clamp(12px, 4vw, 16px); font-size: clamp(.9rem, 4vw, 1rem); font-weight: 900; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; white-space: nowrap; }
.public-button { background: var(--navy); color: white; box-shadow: 0 12px 28px rgba(8,20,38,.2); }
.public-button:hover { background: #123052; }
.public-button:focus-visible, .secondary-button:focus-visible, .text-link:focus-visible, .text-button:focus-visible, .registration-close:focus-visible { outline: 3px solid rgba(32,189,171,.5); outline-offset: 3px; }
.public-button:disabled, .secondary-button:disabled, .text-button:disabled { cursor: not-allowed; opacity: .48; }
.is-loading { pointer-events: none; opacity: .72; }
.secondary-button { background: #e6f8f4; color: #06766b; }
.secondary-button.full { margin-top: 9px; }
.text-link, .text-button { color: var(--mint-dark); font-weight: 850; font-size: .82rem; text-underline-offset: 3px; white-space: nowrap; }
.text-button { border: 0; background: none; padding: 0; }

.valid-code { padding-bottom: 17px; border-bottom: 1px solid #eaecf0; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.valid-code span { color: #067647; font-size: clamp(.76rem, 3.4vw, .82rem); font-weight: 900; white-space: nowrap; }
.valid-code strong { min-width: 0; font-size: clamp(.88rem, 4vw, 1rem); letter-spacing: .09em; white-space: nowrap; }
.benefit-public { background: linear-gradient(145deg, #fbf8f0, var(--cream)); margin: 20px -12px; padding: 20px; border: 1px solid rgba(215, 207, 185, .55); border-radius: 18px; }
.reward-type-context { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; color: #475467; font-size: .7rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.reward-type-icon { width: 25px; height: 25px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; background: var(--navy); color: white; font-size: .78rem; font-weight: 950; }
.benefit-public .benefit-eyebrow { display: block; color: var(--muted); font-size: .72rem; font-weight: 800; }
.benefit-public .benefit-eyebrow.is-first-claim { color: #b42318; font-size: .82rem; font-weight: 900; line-height: 1.4; }
.benefit-public h1 { font-size: clamp(1.45rem, 7vw, 2rem); margin-top: 15px; overflow-wrap: break-word; }
.reward-visual { position: relative; min-width: 0; margin: 16px auto 0; }
.reward-visual.is-image-free { display: flex; justify-content: flex-end; }
.reward-value { position: absolute; top: 10px; right: 10px; max-width: calc(100% - 20px); min-height: 36px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 4px 3px 12px; border-radius: 999px; background: rgba(8,20,38,.95); color: white; box-shadow: 0 4px 14px rgba(8,20,38,.22); font-size: .76rem; font-weight: 850; line-height: 1.25; overflow-wrap: anywhere; }
.reward-visual.is-image-free .reward-value { position: static; max-width: 100%; }
.reward-value .reward-value-help { width: 30px; height: 30px; flex-basis: 30px; color: white; cursor: pointer; }
.reward-value .reward-value-help:hover { color: #b8eee7; }
.benefit-public .reward-description { margin: 14px 0 0; color: #344054; font-size: .9rem; font-weight: 650; line-height: 1.55; overflow-wrap: anywhere; }
.benefit-public .reward-type-hint { margin: 9px 0 0; color: #667085; font-size: .75rem; line-height: 1.45; }
.reward-conditions { margin-top: 17px; padding-top: 15px; border-top: 1px solid rgba(102,112,133,.18); }
.reward-conditions h2 { margin: 0 0 9px; color: #344054; font-size: .74rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.reward-conditions ul { margin: 0; padding-left: 18px; color: #475467; font-size: .78rem; line-height: 1.55; overflow-wrap: anywhere; }
.reward-conditions li + li { margin-top: 5px; }
.benefit-public .progress-preview { margin-top: 16px; padding-top: 15px; border-top: 1px solid rgba(102,112,133,.18); }
.benefit-public .progress-contribution { margin: 0; color: #344054; font-size: .84rem; font-weight: 900; line-height: 1.45; }
.progress-help { margin: 5px 0 0; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.reward-validity { margin-top: 17px; padding-top: 14px; border-top: 1px solid rgba(102,112,133,.18); }
.reward-date + .reward-date { margin-top: 12px; }
.reward-date span { display: block; color: #667085; font-size: .65rem; font-weight: 850; letter-spacing: .055em; line-height: 1.35; text-transform: uppercase; }
.reward-date strong { display: block; margin-top: 3px; color: #344054; font-size: .81rem; font-weight: 850; line-height: 1.4; overflow-wrap: anywhere; }

.progress-summary { margin-top: 15px; text-align: left; }
.progress-copy { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.progress-copy strong { color: var(--navy); font-size: 1rem; font-weight: 950; letter-spacing: -.02em; white-space: nowrap; }
.progress-copy span { color: var(--mint-dark); font-size: clamp(.72rem, 2.8vw, .76rem); font-weight: 850; text-align: right; white-space: nowrap; }
.progress-track { width: 100%; height: 12px; overflow: hidden; border: 1px solid #cad5d2; border-radius: 999px; background: #e8eeec; }
.progress-track span { display: block; height: 100%; max-width: 100%; border-radius: inherit; background: var(--mint-dark); }
.delivery-status { margin-top: 20px; padding: 14px 15px; display: grid; gap: 4px; border: 1px solid #cfe8e2; border-radius: 14px; background: #f0faf7; text-align: left; }
.delivery-status strong { color: #067647; font-size: clamp(.76rem, 3.2vw, .82rem); }
.delivery-status span { color: #475467; font-size: .78rem; line-height: 1.45; }
.delivery-status.is-review { border-color: #fedf89; background: #fffaeb; }
.delivery-status.is-review strong { color: #b54708; }
.delivery-status.is-cancelled { border-color: #e4e7ec; background: #f8f9fa; }
.delivery-status.is-cancelled strong { color: #475467; }
.delivery-status.is-expired { border-color: #e4e7ec; background: #f8f9fa; }
.delivery-status.is-expired strong { color: #475467; }
.reward-operation { min-width: 0; margin-top: 22px; text-align: left; }
.reward-operation .delivery-status { margin-top: 0; }
.reward-operation-details { min-width: 0; margin: 17px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid #e1e7e5; border-radius: 15px; background: rgba(255,255,255,.74); overflow: hidden; }
.reward-operation-details > div { min-width: 0; padding: 13px 14px; }
.reward-operation-details > div:nth-child(even) { border-left: 1px solid #e1e7e5; }
.reward-operation-details > div:nth-child(n+3) { border-top: 1px solid #e1e7e5; }
.reward-operation-details dt { margin: 0 0 4px; color: #667085; font-size: .64rem; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
.reward-operation-details dd { min-width: 0; margin: 0; color: #243247; font-size: .8rem; font-weight: 760; line-height: 1.45; overflow-wrap: anywhere; }
.reward-operation-details .operation-conditions, .reward-operation-details .redemption-code-row { grid-column: 1 / -1; border-left: 0; }
.operation-conditions ul { margin: 0; padding-left: 17px; }
.operation-conditions li + li { margin-top: 4px; }
.redemption-code-row dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.redemption-code-row code { min-width: 0; flex: 1 1 auto; color: var(--navy); font-family: inherit; font-size: 1.05rem; font-weight: 950; letter-spacing: .09em; white-space: nowrap; }
.copy-redemption-button { flex: 0 0 auto; min-height: 36px; border: 1px solid #9dd8cf; border-radius: 10px; padding: 7px 11px; background: #e6f8f4; color: #06766b; font-size: .72rem; font-weight: 900; line-height: 1; white-space: nowrap; cursor: pointer; }
.copy-redemption-button:hover { background: #d6f3ed; }
.copy-redemption-button:focus-visible { outline: 3px solid rgba(32,189,171,.45); outline-offset: 2px; }
.redemption-instruction { margin: 11px 2px 0; color: #475467; font-size: .74rem; line-height: 1.45; }
.copy-redemption-status { min-height: 1.1em; margin: 4px 2px 0; color: #067647; font-size: .7rem; font-weight: 850; }
.next-cycle { margin-top: 19px; padding-top: 17px; border-top: 1px solid #dce8e4; }
.next-cycle > p { margin: 0; color: #344054; font-size: .8rem; font-weight: 800; }

.account-result { display: flex; gap: 10px; padding: 14px; border: 1px solid #e4e7ec; background: #f8f9f8; border-radius: 15px; margin: 18px 0; }
.account-result.is-found { border-color: #a9ead6; background: #edfbf6; }
.account-result > div:last-child { min-width: 0; }
.result-check { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: #12b76a; color: white; font-weight: 950; }
.result-check.is-muted { background: #e4e7ec; color: #667085; }
.account-result h2 { margin: 0; font-size: clamp(.84rem, 3.55vw, .98rem); line-height: 1.35; }
.account-result p { margin: 5px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.inline-error { background: #fff1f0; color: #b42318 !important; border: 1px solid #fecdc8; padding: 11px 12px; border-radius: 11px; font-size: .8rem; font-weight: 700; }

.help-block { border-top: 1px solid #eaecf0; padding-top: 20px; margin-top: 22px; display: grid; gap: 8px; }
.help-block strong { font-size: .82rem; }
.help-block span { color: var(--muted); font-size: .78rem; }
.help-block.compact { justify-items: center; text-align: center; }
.state-card { text-align: center; padding-top: 42px; }
.state-card h1 { font-size: clamp(1.65rem, 7vw, 2.2rem); }
.state-card .state-reward-title { margin: 12px 0 0; color: var(--ink); font-weight: 900; }
.state-card .secondary-button { margin-top: 16px; }
.eligibility-summary { max-width: 360px; min-width: 0; margin: 26px auto 0; text-align: center; }
.eligibility-current strong { display: block; color: var(--navy); font-size: clamp(3.4rem, 15vw, 4.6rem); font-weight: 950; letter-spacing: -.065em; line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.eligibility-current span { display: block; margin-top: 7px; color: #475467; font-size: .72rem; font-weight: 850; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
.eligibility-details { margin-top: 23px; padding-top: 17px; border-top: 1px solid #dce8e4; }
.eligibility-details p { margin: 0; color: #475467; font-size: .86rem; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.eligibility-details p + p { margin-top: 8px; }
.eligibility-details .eligibility-remaining { color: #087f73; font-weight: 850; }
.state-icon { width: 65px; height: 65px; margin: 0 auto 20px; border-radius: 21px; display: grid; place-items: center; font-size: 1.55rem; font-weight: 950; }
.state-icon.is-success { background: #dff8ef; color: #067647; }
.state-icon.is-warning { background: #fff1d6; color: #b54708; }
.state-icon.is-neutral { background: #f2f4f7; color: #475467; }
.celebration { background: linear-gradient(160deg, white 0 68%, #e0f8f2 100%); }
.progress-result-card h1 { font-size: clamp(1.7rem, 7vw, 2.3rem); }
.progress-result-card .progress-summary { margin-top: 20px; }

.user-progress-card { padding: clamp(22px, 5.5vw, 32px); }
.user-progress-heading { margin-bottom: 25px; }
.user-progress-heading h1 { font-size: clamp(1.85rem, 8vw, 2.5rem); }
.user-progress-heading > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.progress-access-state { padding: 18px 2px 4px; text-align: center; }
.progress-access-state .state-icon { width: 56px; height: 56px; margin-bottom: 16px; border-radius: 18px; }
.progress-access-state h2 { margin: 0; font-size: clamp(1.18rem, 5vw, 1.45rem); letter-spacing: -.035em; line-height: 1.15; }
.progress-access-state p { margin: 9px auto 20px; max-width: 34ch; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.progress-access-state .text-link { display: inline-block; margin-top: 16px; }
.progress-access-state .inline-error { margin: 13px auto 18px; max-width: 38ch; }
.user-progress-card.is-verification .user-progress-heading { margin-bottom: 18px; }
.user-progress-card.is-verification .progress-access-state { padding: clamp(18px, 5vw, 24px); border: 1px solid #dce7e3; border-radius: 20px; background: linear-gradient(160deg, #fbfdfc 0%, #f4f9f7 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.user-progress-card.is-verification .progress-access-state h2 { max-width: 20ch; margin-inline: auto; }
.progress-identity-steps { position: relative; isolation: isolate; width: min(100%, 312px); margin: 0 auto 24px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; color: #667085; font-size: clamp(.67rem, 3vw, .76rem); font-weight: 800; line-height: 1.25; }
.progress-identity-steps::before, .progress-identity-steps::after { content: ""; position: absolute; z-index: 0; top: 14px; left: 25%; width: 50%; height: 2px; border-radius: 999px; }
.progress-identity-steps::before { background: #d0d9d6; }
.progress-identity-steps::after { background: var(--mint-dark); transform: scaleX(0); transform-origin: left center; transition: transform .2s ease; }
.progress-identity-steps.is-step-two::after { transform: scaleX(1); }
.progress-identity-step { position: relative; z-index: 1; min-width: 0; display: grid; justify-items: center; gap: 9px; padding-inline: 4px; text-align: center; }
.progress-step-marker { width: 30px; height: 30px; display: grid; place-items: center; border: 1.5px solid #c8d1ce; border-radius: 50%; background: #fff; color: #667085; font-size: .72rem; font-weight: 900; transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease; }
.progress-step-label { min-width: 0; color: inherit; overflow-wrap: anywhere; }
.progress-identity-step.is-current { color: var(--navy); }
.progress-identity-step.is-current .progress-step-marker { border-color: var(--navy); background: var(--navy); color: white; box-shadow: 0 0 0 4px rgba(32,189,171,.16), 0 6px 15px rgba(8,20,38,.16); }
.progress-identity-step.is-complete { color: #087f73; }
.progress-identity-step.is-complete .progress-step-marker { border-color: #20bdab; background: #dff8ef; color: #067647; }
.progress-identity-step.is-pending { color: #98a2b3; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.progress-identity-form { margin-top: 19px; text-align: left; }
.progress-reset-form { display: flex; justify-content: center; margin: 17px 0 0; }
.contextual-support strong { line-height: 1.4; }
.user-progress-group + .user-progress-group { margin-top: 27px; }
.user-progress-group > h2 { margin: 0 0 11px; color: #344054; font-size: .77rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.user-progress-list { display: grid; gap: 12px; }
.user-progress-item { min-width: 0; padding: 17px; border: 1px solid #d8e2df; border-radius: 17px; background: #f8faf9; }
.user-progress-item.is-active { border-color: #b6ddd5; background: #f2fbf8; }
.user-progress-item.is-finished { background: #f7f7f7; }
.user-progress-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.progress-status { flex: 0 0 auto; color: #067647; font-size: clamp(.64rem, 2.6vw, .67rem); font-weight: 950; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.is-finished .progress-status { color: #667085; }
.progress-cycles { min-width: 0; color: #475467; font-size: .68rem; font-weight: 750; text-align: right; }
.user-progress-item h3 { margin: 12px 0 0; color: var(--ink); font-size: 1.08rem; letter-spacing: -.025em; line-height: 1.2; overflow-wrap: anywhere; }
.progress-final-reward { display: grid; gap: 2px; margin: 10px 0 0; }
.progress-final-reward span { color: var(--muted); font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.progress-final-reward strong { color: #344054; font-size: .84rem; line-height: 1.35; }
.progress-reward-description { margin: 4px 0 0; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.user-progress-item .progress-summary { margin-top: 14px; }
.user-progress-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 9px; color: #667085; font-size: .68rem; line-height: 1.4; }
.user-progress-meta span:first-child { white-space: nowrap; }
.user-progress-meta span:last-child { text-align: right; }
.progress-add-code { margin-top: 24px; }
.progress-awards { margin-top: 16px; padding: 16px; border: 1px solid #aadfd4; border-radius: 15px; background: linear-gradient(155deg, #fff 0%, #ecfaf6 100%); }
.progress-awards > .public-eyebrow { margin-bottom: 11px; }
.progress-award-item + .progress-award-item { margin-top: 15px; padding-top: 15px; border-top: 1px solid #cde7e1; }
.progress-award-item h4 { margin: 0; color: var(--navy); font-size: .98rem; line-height: 1.3; }
.progress-award-item .reward-operation { margin-top: 12px; }
.progress-award-item .delivery-status { padding: 11px 12px; }
.progress-award-item .reward-operation-details { grid-template-columns: 1fr; }
.progress-award-item .reward-operation-details > div { border-left: 0; }
.progress-award-item .reward-operation-details > div:nth-child(n+2) { border-top: 1px solid #e1e7e5; }
.progress-current-cycle { margin-top: 17px; padding-top: 17px; border-top: 1px solid #dce8e4; }
.progress-current-cycle > .public-eyebrow { margin-bottom: 8px; }
.progress-current-cycle .progress-summary { margin-top: 0; }
.progress-context-empty { margin: 0 0 20px; padding: 12px 14px; border-left: 3px solid var(--mint-dark); color: #475467; font-size: .82rem; line-height: 1.45; }
.user-progress-item.is-contextual { border-color: #20bdab; box-shadow: 0 0 0 2px rgba(32,189,171,.12); }
.progress-prize-link { display: inline-block; margin-top: 16px; }

.not-found-card h1 { font-size: clamp(1.35rem, 6.5vw, 2.2rem); text-wrap: balance; }
.not-found-card .public-button { margin-top: 22px; }

.public-footer { color: #344054; text-align: center; font-size: .67rem; padding: 20px 8px 0; }
.terms-notice { font-size: .76rem; line-height: 1.5; color: #475467; margin: 8px 0 0; text-align: left; }
.terms-notice a { color: #096b60; text-decoration: underline; text-underline-offset: 3px; }
.terms-notice a:focus-visible, .terms-close:focus-visible, .terms-scroll:focus-visible { outline: 3px solid #20bdab; outline-offset: 3px; }
html.terms-open { overflow: hidden; }
.terms-page { width: min(100%, 800px); }
.terms-document { padding-inline: clamp(22px, 6vw, 48px); }
.terms-document > h1 { margin-bottom: 18px; }
.terms-modal { width: min(760px, calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right))); max-width: 100%; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding: 0; border: 0; border-radius: 20px; color: #102a35; background: #fff; overflow: hidden; }
.terms-modal[open] { display: flex; flex-direction: column; }
.terms-modal::backdrop { background: rgba(2,9,18,.75); }
.terms-modal-header { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-bottom: 1px solid #e4e7ec; flex-shrink: 0; }
.terms-modal-header h2 { margin: 0; font-size: 1.2rem; }
.terms-close { margin-left: auto; flex: 0 0 40px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f2f4f7; color: #344054; font-size: 1.5rem; cursor: pointer; }
.terms-scroll-shell { position: relative; display: flex; min-height: 0; flex: 1 1 auto; overflow: hidden; }
.terms-scroll { width: 100%; overflow-y: auto; overscroll-behavior: contain; min-height: 0; padding: 8px 22px 64px; scroll-behavior: smooth; }
.terms-scroll-cue { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: center; gap: 6px; min-height: 58px; padding: 24px 18px 10px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 58%); color: #087f73; font-size: .72rem; font-weight: 850; letter-spacing: .01em; pointer-events: none; transition: opacity .18s ease; }
.terms-scroll-cue[hidden] { display: none; }
.terms-scroll-cue b { font-size: .92rem; line-height: 1; }
.terms-content { text-align: left; overflow-wrap: anywhere; }
.terms-content h2 { padding-top: 23px; border-top: 1px solid #e8eceb; font-size: 1.04rem; line-height: 1.4; margin: 25px 0 8px; scroll-margin-top: 18px; }
.terms-content p { font-size: .9rem; line-height: 1.65; color: #475467; max-width: none; margin: 10px 0; }
.terms-index { position: sticky; z-index: 2; top: 10px; margin: 20px 0 30px; padding: 14px; border: 1px solid #dce8e4; border-radius: 14px; background: rgba(247,251,249,.97); box-shadow: 0 8px 24px rgba(8,20,38,.07); }
.terms-modal .terms-index { position: static; box-shadow: none; }
.terms-index strong { display: block; margin-bottom: 9px; color: #344054; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.terms-index div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.terms-index a, .terms-back-top { color: #087f73; font-size: .78rem; font-weight: 800; text-underline-offset: 3px; }
.terms-back-top { display: inline-flex; margin: 24px 0 8px; }
.terms-home-link { display: inline-flex; margin-top: 24px; }
.registration-modal {
    width: min(450px, calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)));
    max-width: calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right));
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    border: 0;
    background: transparent;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.registration-modal::backdrop { background: rgba(2,9,18,.75); backdrop-filter: blur(6px); }
.registration-card { position: relative; width: 100%; min-width: 0; background: white; border-radius: 24px; padding: 28px; }
.registration-card h2 { margin: 3px 0 18px; font-size: 1.6rem; letter-spacing: -.04em; }
.registration-card ol { padding-left: 23px; color: #475467; line-height: 1.6; font-size: .87rem; margin-bottom: 22px; }
.registration-card li { padding-left: 4px; margin-bottom: 7px; }
.registration-close { position: absolute; right: 14px; top: 14px; width: 35px; height: 35px; border-radius: 50%; border: 0; background: #f2f4f7; font-size: 1.25rem; color: #475467; }

@media (min-width: 360px) {
    .account-result.is-found h2,
    .public-eyebrow,
    .help-block strong {
        white-space: nowrap;
    }
}

@media (min-width: 600px) {
    .rewards-body { padding-top: max(34px, env(safe-area-inset-top)); }
}

@media (max-width: 599px) {
    .public-form input,
    [data-open-registration],
    .registration-modal .public-button,
    .registration-modal .secondary-button {
        font-size: 16px;
    }
}

@media (max-width: 359px) {
    .public-card { border-radius: 22px; }
    .benefit-public { margin-inline: -8px; padding-inline: 16px; }
    .progress-copy { align-items: flex-start; flex-direction: column; gap: 2px; }
    .progress-copy span { text-align: left; }
    .user-progress-topline { align-items: flex-start; flex-direction: column; gap: 4px; }
    .progress-cycles { text-align: left; }
}

@media (max-width: 430px) {
    .reward-operation-details { grid-template-columns: 1fr; }
    .reward-operation-details > div { border-left: 0 !important; }
    .reward-operation-details > div:nth-child(n+2) { border-top: 1px solid #e1e7e5; }
    .user-progress-meta { grid-template-columns: minmax(0, 1fr); display: grid; gap: 2px; }
    .user-progress-meta span:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}

/* Optional visuals only: absent snapshots add no box or spacing. */
.claim-reward-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; border-radius: 16px; }
.progress-reward-image { display: block; width: 88px; max-width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; border-radius: 10px; margin: 10px 0; }

.prize-shell { width: min(100%, 760px); }
.prize-card { overflow: hidden; padding: 0; }
.prize-hero-image, .prize-hero-fallback { display: block; width: 100%; aspect-ratio: 16 / 9; }
.prize-hero-image { height: auto; object-fit: cover; }
.prize-hero-fallback { display: grid; place-items: center; background: linear-gradient(145deg, #102a35, #087f73); color: #e6f8f4; }
.prize-hero-fallback span { font-size: clamp(3.5rem, 18vw, 7rem); line-height: 1; }
.prize-content { min-width: 0; padding: clamp(22px, 5vw, 42px); }
.prize-content h1 { overflow-wrap: anywhere; text-wrap: balance; }
.prize-description { margin: 14px 0 0; color: #475467; font-size: clamp(.95rem, 2.8vw, 1.08rem); line-height: 1.6; overflow-wrap: anywhere; }
.prize-value { margin: 15px 0 0; color: #087f73; font-size: .86rem; font-weight: 850; }
.prize-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 28px 0 0; border-block: 1px solid #e4e7ec; }
.prize-facts > div { min-width: 0; padding: 15px 12px 15px 0; }
.prize-facts dt { color: #667085; font-size: .72rem; font-weight: 800; }
.prize-facts dd { margin: 5px 0 0; color: #101828; font-size: clamp(.9rem, 3vw, 1.02rem); font-weight: 780; line-height: 1.35; overflow-wrap: anywhere; }
.prize-summary { margin: 25px 0 0; color: #344054; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.prize-section { margin-top: 25px; padding-top: 21px; border-top: 1px solid #e4e7ec; }
.prize-section h2 { margin: 0 0 10px; color: #101828; font-size: 1rem; letter-spacing: -.02em; }
.prize-section p { margin: 6px 0 0; color: #475467; line-height: 1.55; overflow-wrap: anywhere; }
.prize-section ul { margin: 0; padding-left: 20px; color: #475467; line-height: 1.55; }
.prize-section li { padding-left: 2px; overflow-wrap: anywhere; }
.prize-section li + li { margin-top: 7px; }
.prize-progress-cta { margin-top: 28px; }
.prize-shell .public-footer a { color: #084e49; text-underline-offset: 3px; }
.prize-shell .public-footer a:focus-visible { outline: 3px solid #087f73; outline-offset: 3px; }
@media (max-width: 359px) {
    .prize-facts { grid-template-columns: 1fr; }
    .prize-facts > div { padding-block: 10px; }
}
.user-progress-item .program-own-image { width: 100%; }

/* Quiz is a mandatory server-owned gate, presented as a focused modal moment. */
html.quiz-open { overflow: hidden; }
.quiz-modal {
    width: min(630px, calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)));
    max-width: 100%;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 26px;
    background: transparent;
    color: var(--ink);
    overflow: visible;
}
.quiz-modal[open] { display: block; }
.quiz-modal::backdrop { background: rgba(2, 9, 18, .78); backdrop-filter: blur(8px); }
.quiz-card {
    position: relative;
    width: 100%;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: clamp(28px, 4vw, 38px);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 26px;
    background: linear-gradient(155deg, #fff 0%, #f8fbfa 72%, #e9faf6 100%);
    box-shadow: 0 30px 90px rgba(2, 9, 18, .36);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.quiz-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 2px 4px 0 0; }
.quiz-eyebrow { margin: 0; color: var(--mint-dark); font-size: .62rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.quiz-heading h2 { margin: 0; color: #344054; font-size: clamp(1rem, 2.4vw, 1.18rem); font-weight: 850; line-height: 1.2; letter-spacing: -.025em; }
.quiz-heading h2:focus { outline: 0; }
.quiz-intro { max-width: 44ch; margin: 11px 0 0; color: #667085; font-size: .84rem; line-height: 1.55; }
.quiz-feedback:empty { display: none; }
.quiz-feedback-message { margin: 20px 0 0; padding: 11px 13px; border-radius: 12px; font-size: .82rem; font-weight: 850; line-height: 1.4; }
.quiz-feedback-message.is-wrong { border: 1px solid #fecdc8; background: #fff1f0; color: #b42318; }
.quiz-form { margin-top: 26px; }
.quiz-options { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
.quiz-options legend { width: 100%; margin-bottom: 21px; color: var(--navy); font-size: clamp(1.3rem, 4vw, 1.6rem); font-weight: 920; line-height: 1.28; letter-spacing: -.03em; overflow-wrap: anywhere; }
.quiz-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 60px;
    margin-block: 0 12px;
    padding: 14px 16px;
    border: 1px solid #d6dce5;
    border-radius: 15px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 4px 13px rgba(8,20,38,.045);
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.quiz-option:last-of-type { margin-bottom: 0; }
.quiz-option:hover { border-color: #87cfc5; background: #f7fffc; }
.quiz-option input[type="radio"] { width: 21px; height: 21px; min-height: 0; margin: 0; padding: 0; flex: 0 0 21px; accent-color: var(--mint-dark); }
.quiz-option span { min-width: 0; color: #243247; font-size: .94rem; font-weight: 720; line-height: 1.45; overflow-wrap: anywhere; }
.quiz-option:has(input:checked) { border-color: var(--mint-dark); background: #e9faf6; box-shadow: 0 0 0 3px rgba(32,189,171,.13), 0 8px 20px rgba(8,20,38,.08); transform: translateY(-1px); }
.quiz-option:focus-within { outline: 3px solid rgba(32,189,171,.42); outline-offset: 2px; }
.quiz-options:disabled .quiz-option { opacity: .64; cursor: not-allowed; box-shadow: none; }
.quiz-options:disabled .quiz-option:hover { border-color: #d6dce5; background: rgba(255,255,255,.88); }
.quiz-submit { min-height: 56px; transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, opacity .2s ease; }
.quiz-submit[data-quiz-cooldown]:disabled {
    gap: 10px;
    border: 1px solid #9dd8cf;
    background: #e5f7f3;
    color: #0b5c52;
    box-shadow: 0 8px 20px rgba(11,92,82,.1), inset 0 0 0 1px rgba(255,255,255,.52);
    opacity: 1;
}
.quiz-submit[data-quiz-cooldown]::before {
    width: 14px;
    height: 14px;
    border: 2px solid #69bfb3;
    border-top-color: transparent;
    border-radius: 50%;
    content: "";
    flex: 0 0 14px;
    animation: quiz-cooldown-spin .9s linear infinite;
}
.quiz-submit.is-retry-ready { background: var(--navy); color: #fff; box-shadow: 0 12px 28px rgba(8,20,38,.2), 0 0 0 4px rgba(32,189,171,.12); }
.quiz-live-status { margin: 0; }
.quiz-modal.is-success .quiz-card { min-height: 340px; display: grid; place-items: center; text-align: center; overflow: hidden; }
.quiz-success { position: relative; z-index: 2; display: grid; justify-items: center; padding-block: 8px; }
.quiz-success-icon { position: relative; width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 24px; background: #dff8ef; color: #067647; font-size: 2rem; font-weight: 950; box-shadow: 0 14px 34px rgba(6,118,71,.17), 0 0 0 9px rgba(32,189,171,.09); }
.quiz-success .quiz-eyebrow { margin-bottom: 9px; }
.quiz-success h2 { margin: 0; color: var(--navy); font-size: clamp(2.15rem, 10vw, 3.2rem); letter-spacing: -.055em; }
.quiz-confetti { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.quiz-confetti-piece { position: absolute; top: -22px; left: var(--x); width: 8px; height: 16px; border-radius: 3px; background: var(--color); opacity: 0; transform: rotate(var(--rotation)); animation: quiz-confetti-fall 1.05s cubic-bezier(.2,.75,.35,1) var(--delay) forwards; }
@keyframes quiz-cooldown-spin { to { transform: rotate(360deg); } }
@keyframes quiz-confetti-fall {
    0% { opacity: 0; transform: translate3d(0,-15px,0) rotate(var(--rotation)); }
    12% { opacity: 1; }
    100% { opacity: 0; transform: translate3d(var(--drift),390px,0) rotate(calc(var(--rotation) + 240deg)); }
}

@media (max-width: 599px) {
    .quiz-modal { width: calc(100vw - 20px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
    .quiz-card { padding: 26px 20px 22px; border-radius: 23px; }
    .quiz-heading { gap: 18px; margin-right: 3px; }
    .quiz-option { min-height: 56px; padding: 13px 14px; }
    .quiz-option span { font-size: .9rem; }
}

@media (max-width: 359px) {
    .terms-index div { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .quiz-confetti-piece { display: none !important; animation: none !important; }
    .quiz-option:has(input:checked) { transform: none; }
    .quiz-submit, .quiz-submit[data-quiz-cooldown]::before { transition: none !important; animation: none !important; }
}
