/* The shop's own look, on top of the shared autobonus.css (its colours are set there). Phone first. */

/* Rounder panels and bolder titles than the back office's; the panels stack down the page. */
:root {
    --ab-panel-radius: 1rem;
    --ab-panel-padding: 1.125rem 1.25rem;
    --ab-title-weight: 700;
}

.panel {
    margin-bottom: 1rem;
}

/* Blazor's error strip clears the tabs along a phone's foot. */
@media (max-width: 575.98px) {
    #blazor-error-ui {
        bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
    }
}

/* --- My points ----------------------------------------------------------------------------- */

/* The balance as a member's card: the brand's blue, the figure large, a faint star in the corner,
   and the way to the rewards in the amber. */
.balance-card {
    position: relative;
    margin-bottom: 1.25rem;
    padding: 1.375rem 1.375rem 1.25rem;
    overflow: hidden;
    border-radius: 1.25rem;
    background:
        radial-gradient(28rem 14rem at 110% -20%, rgba(255, 255, 255, 0.16), transparent 60%),
        linear-gradient(140deg, var(--ab-brand), var(--ab-brand-deep));
    box-shadow: var(--ab-shadow-lg);
    color: var(--ab-brand-ink);
}

.balance-mark {
    position: absolute;
    right: -1.75rem;
    bottom: -2.25rem;
    width: 10rem;
    height: 10rem;
    color: rgba(255, 255, 255, 0.07);
    transform: rotate(-14deg);
    pointer-events: none;
}

.balance-top {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.25rem 1rem;
}

.balance-label {
    opacity: 0.85;
    font-size: 0.9375rem;
    font-weight: 500;
}

.balance-member {
    padding: 0.125rem 0.625rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.8125rem;
    letter-spacing: 0.03em;
}

.balance-figure {
    position: relative;
    margin: 0.375rem 0 1rem;
    font-family: var(--ab-font-display);
    font-size: 3.25rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    line-height: 1;
}

.balance-figure small {
    margin-left: 0.375rem;
    opacity: 0.75;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0;
}

.balance-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5625rem 1rem 0.5625rem 1.125rem;
    border-radius: 999px;
    background: var(--ab-accent);
    box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.5);
    color: var(--ab-accent-ink);
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--ab-slow) var(--ab-ease), box-shadow var(--ab-slow) var(--ab-ease);
}

.balance-cta:hover {
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.6);
    color: var(--ab-accent-ink);
    transform: translateY(-1px);
}

.balance-cta svg {
    transition: transform var(--ab-slow) var(--ab-ease);
}

.balance-cta:hover svg {
    transform: translateX(3px);
}

/* A line for a page with nothing in it yet (an empty cart, no orders, no reward found). */
.panel-quiet {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ab-muted);
    font-size: 0.9375rem;
}

.panel-quiet svg {
    flex-shrink: 0;
    color: var(--ab-accent);
}

/* My points reads best narrow, under the wider rewards. */
.shop-narrow {
    max-width: 44rem;
    margin: 0 auto;
}

.panel-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.panel-link svg:first-child {
    color: var(--ab-accent);
}

.panel-link svg:last-child {
    margin-left: auto;
    color: var(--ab-muted);
}

/* --- The rewards ------------------------------------------------------------------------- */

.rewards-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}

/* What the member has, as a pill beside the title. */
.rewards-balance {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3125rem 0.875rem 0.3125rem 0.625rem;
    border: 1px solid color-mix(in srgb, var(--ab-brand) 25%, var(--ab-border));
    border-radius: 999px;
    background: var(--ab-brand-tint);
    color: var(--ab-muted);
    font-size: 0.9375rem;
}

.rewards-balance svg {
    color: var(--ab-accent);
}

.rewards-balance strong {
    color: var(--ab-brand);
    font-family: var(--ab-font-display);
    font-size: 1.0625rem;
}

.rewards-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.rewards-search {
    position: relative;
    flex: 1 1 18rem;
}

.rewards-search svg {
    position: absolute;
    top: 50%;
    left: 0.875rem;
    transform: translateY(-50%);
    color: var(--ab-muted);
    pointer-events: none;
}

.rewards-search input {
    height: 2.75rem;
    padding-left: 2.5rem;
    border-radius: 999px;
}

/* The order and "within my points" on one line under the search on a phone. */
.rewards-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
}

.rewards-sort {
    width: auto;
    height: 2.75rem;
    border-radius: 999px;
}

.rewards-filters .form-check {
    margin-bottom: 0;
}

/* The shelves scroll sideways on a phone rather than wrapping into a wall of chips; the right
   edge fades to say there are more. */
.rewards-shelves {
    display: flex;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    padding: 0.125rem 0 0.375rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.rewards-shelves::-webkit-scrollbar {
    display: none;
}

@media (max-width: 767.98px) {
    .rewards-shelves {
        margin-right: calc(-1 * max(1rem, env(safe-area-inset-right, 0px)));
        padding-right: 2rem;
        mask-image: linear-gradient(to right, black calc(100% - 2.5rem), transparent);
    }
}

.rewards-subshelves {
    margin-top: -0.25rem;
}

.shelf-chip {
    flex-shrink: 0;
    padding: 0.4375rem 0.9375rem;
    border: 1px solid var(--ab-border-strong);
    border-radius: 999px;
    background: var(--ab-surface);
    color: var(--ab-ink);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--ab-fast) ease, border-color var(--ab-fast) ease, color var(--ab-fast) ease;
}

.shelf-chip:hover {
    border-color: var(--ab-brand);
    color: var(--ab-brand);
}

.rewards-subshelves .shelf-chip {
    padding: 0.3125rem 0.8125rem;
    font-size: 0.875rem;
}

.shelf-chip.active {
    border-color: var(--ab-brand);
    background: var(--ab-brand);
    color: var(--ab-brand-ink);
}

.rewards-count {
    margin: 0.25rem 0 0.75rem;
    color: var(--ab-muted);
    font-size: 0.875rem;
}

.reward-grid {
    display: grid;
    /* Two to a row on a 360 px phone: two cards and the gap need 302 px, and it leaves 328. */
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: 0.875rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .reward-grid {
        grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
        gap: 1.125rem;
    }
}

.reward-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.625rem 0.625rem 0.875rem;
    border-radius: 1rem;
}

.reward-picture {
    position: relative;
    aspect-ratio: 1;
    margin-bottom: 0.75rem;
    border-radius: 0.75rem;
}

.reward-picture img {
    transition: transform 0.4s var(--ab-ease);
}

.reward-card:hover .reward-picture img {
    transform: scale(1.04);
}

.reward-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.1875rem 0.5625rem;
    border-radius: 999px;
    background: var(--ab-ink);
    color: var(--ab-surface);
    font-size: 0.75rem;
    font-weight: 600;
}

.reward-name {
    display: -webkit-box;
    margin: 0 0.25rem 0.5rem;
    overflow: hidden;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.reward-price {
    margin: auto 0.25rem 0;
    color: var(--ab-brand);
    font-family: var(--ab-font-display);
    font-size: 1.125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* How far the member's points go toward a reward they cannot have yet. */
.reward-progress {
    height: 0.25rem;
    margin: 0.5rem 0.25rem 0.3125rem;
    overflow: hidden;
    border-radius: 999px;
    background: var(--ab-surface-sunk);
    box-shadow: inset 0 0 0 1px var(--ab-border);
}

.reward-progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ab-accent), color-mix(in srgb, var(--ab-accent) 70%, var(--ab-brand)));
}

.reward-short {
    margin: 0 0.25rem;
    color: var(--ab-muted);
    font-size: 0.8125rem;
}

.reward-can {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0.375rem 0.25rem 0;
    color: var(--ab-plus);
    font-size: 0.8125rem;
    font-weight: 500;
}

/* --- One reward -------------------------------------------------------------------------- */

.reward-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 767.98px) {
    .reward-page {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }
}

.reward-gallery-main {
    aspect-ratio: 1;
    border: 1px solid var(--ab-border);
    border-radius: 1.25rem;
    box-shadow: var(--ab-shadow-sm);
}

/* A picture chosen arrives as a fade (keyed by the picture). */
.reward-gallery-main img {
    animation: reward-picture-in var(--ab-slow) ease backwards;
}

@keyframes reward-picture-in {
    from {
        opacity: 0;
    }
}

.reward-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
}

.reward-thumb {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    padding: 0.125rem;
    border: 2px solid var(--ab-border);
    border-radius: 0.625rem;
    transition: border-color var(--ab-fast) ease;
}

.reward-thumb:hover {
    border-color: var(--ab-border-strong);
}

.reward-thumb.active {
    border-color: var(--ab-brand);
}

.reward-shelf-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
}

.reward-shelf-links a {
    padding: 0.125rem 0.625rem;
    border-radius: 999px;
    background: var(--ab-surface-sunk);
    box-shadow: inset 0 0 0 1px var(--ab-border);
    color: var(--ab-muted);
    text-decoration: none;
}

.reward-shelf-links a:hover {
    color: var(--ab-brand);
}

.reward-title {
    margin-bottom: 0.5rem;
    font-family: var(--ab-font-display);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.15;
}

.reward-points {
    margin-bottom: 1.25rem;
    color: var(--ab-brand);
    font-family: var(--ab-font-display);
    font-size: 2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.reward-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
}

.reward-choices legend {
    width: 100%;
    margin-bottom: 0.375rem;
    font-size: 0.9375rem;
}

.reward-choice {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 7.5rem;
    padding: 0.5rem 0.875rem;
    border-radius: 0.75rem;
    text-align: left;
}

.reward-choice span {
    font-weight: 600;
}

.reward-choice small {
    opacity: 0.85;
}

.reward-state {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.625rem 0.875rem;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
}

.reward-state.is-ok {
    background: color-mix(in srgb, var(--ab-plus) 9%, var(--ab-surface));
    color: var(--ab-plus);
}

.reward-state.is-short {
    flex-wrap: wrap;
    background: var(--ab-surface-sunk);
    color: var(--ab-muted);
}

.reward-state.is-short .reward-progress {
    flex-basis: 100%;
    margin: 0.25rem 0 0;
}

.reward-state.is-out {
    background: color-mix(in srgb, var(--ab-minus) 8%, var(--ab-surface));
    color: var(--ab-minus);
}

/* The description is the Api's safe HTML from the old editor: tables and lists kept readable. */
.reward-description {
    overflow-wrap: anywhere;
}

.reward-description table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.reward-description td,
.reward-description th {
    padding: 0.375rem 0.5rem;
    border: 1px solid var(--ab-border);
    vertical-align: top;
}

.reward-description ul,
.reward-description ol {
    padding-left: 1.25rem;
}

.reward-description h3,
.reward-description h4,
.reward-description h5,
.reward-description h6 {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.reward-summary {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ab-border);
    color: var(--ab-muted);
    font-size: 0.9375rem;
}

.reward-summary h5,
.reward-summary h6 {
    margin-top: 0.75rem;
    color: var(--ab-ink);
}

/* --- Ordering ---------------------------------------------------------------------------- */

.reward-order {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.reward-add {
    flex: 1 1 10rem;
    border-radius: 999px;
}

.quantity {
    display: inline-flex;
    align-items: stretch;
}

.quantity input {
    width: 3.5rem;
    border-radius: 0;
    text-align: center;
}

.quantity > .btn:first-child {
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.quantity > .btn:last-child {
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.quantity-sm {
    align-items: center;
    gap: 0.25rem;
}

.quantity-sm > .btn {
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 999px !important;
}

.quantity-figure {
    min-width: 2rem;
    font-weight: 600;
    text-align: center;
}

.cart-lines {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

/* The cart's lines in a panel of their own: the lines' own spacing is the panel's top and foot,
   and the panel's sides stay (.cart-lines above clears all four). */
.cart-lines.panel {
    padding: 0.125rem 1.25rem;
}

.cart-line {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    gap: 0.875rem;
    align-items: start;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--ab-border);
}

.cart-line:last-child {
    border-bottom: 0;
}

.cart-line-picture {
    width: 4.5rem;
    height: 4.5rem;
    border: 1px solid var(--ab-border);
    border-radius: 0.75rem;
}

.cart-line-name {
    color: var(--ab-ink);
    font-weight: 600;
    text-decoration: none;
}

a.cart-line-name:hover {
    color: var(--ab-brand);
    text-decoration: underline;
}

.cart-line-problem {
    margin-top: 0.25rem;
    color: var(--ab-minus);
    font-size: 0.875rem;
}

.cart-line-tools {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.cart-line-remove {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ab-muted);
    font-size: 0.875rem;
    transition: color var(--ab-fast) ease;
}

.cart-line-remove:hover:not(:disabled) {
    color: var(--ab-minus);
}

.cart-line-points {
    font-family: var(--ab-font-display);
    font-size: 1.125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.1875rem 0;
}

/* The total: the figure that matters, larger. */
.cart-summary-total {
    align-items: baseline;
    padding-bottom: 0.5rem;
}

.cart-summary-total strong {
    font-family: var(--ab-font-display);
    font-size: 1.5rem;
}

.cart-short {
    margin-top: 0.5rem;
    color: var(--ab-minus);
}

.checkout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 767.98px) {
    .checkout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
}

.checkout-summary {
    position: sticky;
    top: 5rem;
}

.checkout-lines {
    margin: 0 0 0.75rem;
    padding: 0 0 0.5rem;
    border-bottom: 1px solid var(--ab-border);
    list-style: none;
    font-size: 0.9375rem;
}

.checkout-lines li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 1rem;
    padding: 0.25rem 0;
}

.checkout-lines .cart-line-problem {
    width: 100%;
}

.order-list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.25rem 1rem;
    align-items: center;
    padding: 1rem 1.125rem;
    border-radius: 1rem;
}

.order-card-head,
.order-card-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem 1rem;
}

.order-card-no {
    font-family: var(--ab-font-display);
    font-size: 1.125rem;
    font-weight: 700;
}

.order-card-what {
    margin: 0.125rem 0;
    overflow: hidden;
    color: var(--ab-muted);
    font-size: 0.9375rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-card-foot {
    color: var(--ab-muted);
    font-size: 0.875rem;
}

.order-card-foot .tabular {
    color: var(--ab-ink);
    font-weight: 600;
}

.order-card-go {
    grid-row: 1 / span 3;
    grid-column: 2;
    color: var(--ab-border-strong);
    transition: color var(--ab-fast) ease, transform var(--ab-slow) var(--ab-ease);
}

.order-card:hover .order-card-go {
    color: var(--ab-brand);
    transform: translateX(3px);
}

.order-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.25rem;
}

/* Where an order stands: placed, then sent, as a line with a dot for each. */
.order-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 1.25rem;
    padding: 1rem 1.25rem 0.875rem;
    border: 1px solid var(--ab-border);
    border-radius: var(--ab-panel-radius);
    background: var(--ab-surface);
    box-shadow: var(--ab-shadow-sm);
    list-style: none;
}

.order-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    color: var(--ab-muted);
    font-size: 0.8125rem;
    text-align: center;
}

/* The line to the step before. */
.order-step + .order-step::before {
    content: "";
    position: absolute;
    top: 0.6875rem;
    right: 50%;
    width: 100%;
    height: 2px;
    background: var(--ab-border);
}

.order-step.is-done + .order-step.is-done::before {
    background: var(--ab-plus);
}

.order-step-dot {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--ab-border-strong);
    border-radius: 50%;
    background: var(--ab-surface);
    color: var(--ab-surface);
    font-size: 0.75rem;
}

.order-step.is-done .order-step-dot {
    border-color: var(--ab-plus);
    background: var(--ab-plus);
}

.order-step.is-now .order-step-dot {
    border-color: var(--ab-accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--ab-accent) 25%, transparent);
}

.order-step.is-done,
.order-step.is-now {
    color: var(--ab-ink);
    font-weight: 600;
}

.order-step-when {
    color: var(--ab-muted);
    font-weight: 400;
}

.order-note {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--ab-border);
}

.order-note:last-child {
    border-bottom: 0;
}

/* My account: the member's details as label and value, two columns from a tablet up. */
.account-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 1rem;
    margin: 0;
}

.account-facts dt {
    color: var(--ab-muted);
    font-size: 0.875rem;
    font-weight: 400;
}

.account-facts dd {
    margin: 0 0 0.625rem;
    overflow-wrap: anywhere;
}

@media (min-width: 576px) {
    .account-facts {
        grid-template-columns: 9rem 1fr;
    }

    .account-facts dt {
        padding-top: 0.125rem;
    }
}

.account-hint {
    margin: 0.75rem 0 0;
    color: var(--ab-muted);
    font-size: 0.875rem;
}

.account-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.account-initial {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: var(--ab-brand);
    color: var(--ab-brand-ink);
    font-family: var(--ab-font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.account-head .page-title {
    margin-bottom: 0;
}

/* --- The pages anyone may read: terms, privacy, contact (Razor Pages, in the sign-in frame) ----- */

.site-text {
    line-height: 1.6;
}

.site-text h2 {
    margin: 1.5rem 0 0.5rem;
    font-family: var(--ab-font-display);
    font-size: 1.25rem;
    font-weight: 600;
}

.site-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.125rem 1rem;
    margin-bottom: 0;
}

.site-facts dt {
    color: var(--ab-muted);
    font-weight: 500;
}

.site-facts dd {
    margin-bottom: 0.5rem;
}

@media (min-width: 576px) {
    .site-facts {
        grid-template-columns: 13rem 1fr;
    }

    .site-facts dd {
        margin-bottom: 0.25rem;
    }
}

.site-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ab-border);
    color: var(--ab-muted);
    font-size: 0.875rem;
}

/* A page OSK has yet to approve says so above its words (_DraftForOsk): one line, opening on
   asking to what OSK is asked to settle. */
.draft-note {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
}

.draft-note summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    list-style: none;
}

.draft-note summary::-webkit-details-marker {
    display: none;
}

/* A chevron that turns as the note opens. */
.draft-note summary::after {
    content: "";
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    margin-left: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform var(--ab-fast) ease;
}

.draft-note[open] summary::after {
    transform: translateY(2px) rotate(-135deg);
}

.draft-note ul {
    margin: 0.625rem 0 0;
    padding-left: 1.25rem;
}

.draft-note li + li {
    margin-top: 0.25rem;
}

/* --- A phone ------------------------------------------------------------------------------ */

@media (max-width: 575.98px) {
    .page-title {
        font-size: 1.625rem;
    }

    .balance-figure {
        font-size: 2.875rem;
    }

    .reward-title {
        font-size: 1.5rem;
    }

    /* "From 2,300 points" on one line of a card two to a row. */
    .reward-price {
        font-size: 1rem;
    }

    .reward-points {
        font-size: 1.75rem;
    }

    .rewards-filters {
        width: 100%;
        justify-content: space-between;
    }
}
