/* account.css — customer dashboard (_account_page.twig, filled by account.js).
 * Compact one-screen layout: a hero band with identity + inline stats, then
 * three side-by-side cards (tier & coupon · purchases · badges), then one
 * row of recommendations. Same glass language as checkout.css /
 * cms-page.css: near-black blue panels, one red accent, GTA Art Deco
 * headings, Barlow body. Loaded by cms-page.html only for the account page. */

/* ──────────── BACKDROP ──────────── */
.account-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.account-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}
.account-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(250, 64, 57, 0.18) 0%, rgba(250, 64, 57, 0) 60%),
        linear-gradient(180deg, rgba(15, 18, 27, 0.55) 0%, rgba(15, 18, 27, 0.92) 55%, #0f121b 100%);
}

/* ──────────── PAGE ──────────── */
.account {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 128px clamp(16px, 4vw, 48px) 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-family: "Barlow", "Inter", sans-serif;
}
.account a { color: inherit; }

.account-panel {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background:
        radial-gradient(ellipse 100% 100% at 50% 50%, rgba(217, 217, 217, 0.10) 0%, rgba(115, 115, 115, 0) 100%),
        rgba(15, 18, 27, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    box-sizing: border-box;
}
.account-card {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.account-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
.account-card__title {
    margin: 0;
    font-family: "GTA Art Deco", sans-serif;
    font-weight: 500;
    font-size: 21px;
    line-height: 1.1;
    color: #fff;
    letter-spacing: 0.005em;
}
.account-card__count, .account-card__sub {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
}

/* ──────────── HERO BAND ──────────── */
.account-hero {
    display: grid;
    grid-template-columns: auto auto max-content minmax(0, 1fr) auto;   /* the name column never shrinks; the stats reflow instead */
    align-items: center;
    gap: 22px;
    padding: 18px 24px;
}
.account-hero__tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 92px;
}
.account-hero__tier-art {
    position: relative;
    width: 84px;
    height: 84px;
    display: block;
    filter: drop-shadow(0 10px 22px rgba(250, 64, 57, 0.45));
}
.account-hero__tier-art.is-inactive { filter: grayscale(0.6) opacity(0.6); }
.account-hero__tier-art svg, .account-hero__tier-art img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; }
.account-hero__tier-art img { z-index: 1; }
.account-hero__tier-name {
    font-family: "GTA Art Deco", sans-serif;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fa4039;
}
.account-hero__glow {
    position: absolute;
    top: -140px;
    left: 0;
    width: 380px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(250, 64, 57, 0.32) 0%, rgba(250, 64, 57, 0) 70%);
    pointer-events: none;
}
.account-hero__avatar {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.06) center / cover no-repeat;
    box-shadow: 0 0 0 3px #0f121b, 0 0 0 5px #fa4039, 0 10px 30px rgba(250, 64, 57, 0.35);
}
.account-hero__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.account-hero__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.account-hero__eyebrow {
    margin: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #fa4039;
    font-weight: 600;
}
.account-hero__title {
    margin: 0;
    font-family: "GTA Art Deco", sans-serif;
    font-weight: 500;
    font-size: clamp(26px, 2.8vw, 34px);
    line-height: 1.02;
    color: #fff;
    white-space: nowrap;   /* a Cfx name is never broken across lines */
}
.account-hero__title--long { font-size: clamp(20px, 2vw, 26px); }   /* names over 16 characters (set by account.js) */
.account-hero__meta {
    margin: 2px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}
.account-hero__meta b { color: rgba(255, 255, 255, 0.85); font-weight: 600; }

.account-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.account-hero__stats li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 84px;   /* wrapped tiles fill their row two by two instead of stacking */
    min-width: 84px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.account-hero__stats b {
    font-family: "GTA Art Deco", sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
}
.account-hero__stats b small { font-size: 0.55em; color: rgba(255, 255, 255, 0.55); }
.account-hero__stats span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}
.account-hero__stats span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fa4039;
    box-shadow: 0 0 8px rgba(250, 64, 57, 0.8);
}
.account-hero__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;   /* the icon button is exactly as tall as "Browse scripts" */
    gap: 8px;
}

/* ──────────── CHIPS + BUTTONS ──────────── */
.account-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}
.account-chip--tier {
    color: #fff;
    background: linear-gradient(135deg, #fa4039 0%, #942622 100%);
    box-shadow: 0 6px 18px rgba(250, 64, 57, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.account-chip--ok { background: rgba(72, 199, 116, 0.15); color: #6fe09a; }
.account-chip--warn { background: rgba(250, 64, 57, 0.15); color: #fa4039; }
.account-chip--local { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.5); }

.account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 18px;
    border-radius: 11px;
    font-family: "GTA Art Deco", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: 0;
    transition: translate 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease, background 0.2s ease;
    translate: 0 0;
}
.account-btn:hover { translate: 0 -2px; filter: brightness(1.08); }
.account-btn--primary {
    color: #fff;
    background: radial-gradient(ellipse 77.46% 320.85% at 50% 50%, #fa4039 0%, #942622 100%);
    box-shadow: 0 6px 28px rgba(250, 64, 57, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}
.account-btn--ghost {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.account-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.account-btn--small { min-height: 34px; padding: 6px 12px; font-size: 14px; border-radius: 9px; }
.account-btn--icon { min-width: 42px; padding: 0 12px; }
.account-btn--icon svg { display: block; }
.account-btn--icon:hover { color: #fff; border-color: rgba(250, 64, 57, 0.55); background: rgba(250, 64, 57, 0.14); }

/* ──────────── NOTICE ──────────── */
.account-notice {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(250, 64, 57, 0.12);
    border: 1px solid rgba(250, 64, 57, 0.35);
}

/* ──────────── THREE-CARD ROW ──────────── */
.account-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: stretch;
}
.account-grid > .account-card { flex: 1 1 280px; }
.account-grid > .account-card--orders { flex: 1.6 1 340px; }

/* ──────────── TIER + COUPON ──────────── */
.account-tier {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}
.account-tier__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.account-tier__head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.account-tier__art {
    position: relative;
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(250, 64, 57, 0.4));
}
.account-tier__art svg, .account-tier__art img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; }
.account-tier__art img { z-index: 1; }
.account-chip__art { position: relative; width: 14px; height: 14px; display: inline-block; }
.account-chip__art svg, .account-chip__art img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; }
.account-tier__name {
    margin: 0;
    font-family: "GTA Art Deco", sans-serif;
    font-weight: 500;
    font-size: 21px;
    color: #fff;
}
.account-tier__name span { color: #fa4039; }
.account-tier__next {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.6);
}
.account-tier__next b { color: #fff; font-weight: 600; }
.account-progress {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.account-progress__fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #942622 0%, #fa4039 100%);
    box-shadow: 0 0 16px rgba(250, 64, 57, 0.6);
    transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.account-progress--thin { height: 4px; }
.account-tier__steps {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
}
.account-tier__steps li.is-done { color: rgba(255, 255, 255, 0.8); }
.account-tier__steps li.is-current { color: #fa4039; }

.account-coupon {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
}
.account-coupon__label {
    margin: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.5);
}
.account-coupon__code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 2px dashed rgba(250, 64, 57, 0.6);
    background: rgba(250, 64, 57, 0.08);
}
.account-coupon__code code {
    font-family: "GTA Art Deco", sans-serif;
    font-size: 20px;
    letter-spacing: 0.08em;
    color: #fff;
}
.account-coupon__perk { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.account-coupon__code--locked {
    position: relative;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    justify-content: center;
    overflow: hidden;
}
.account-coupon__blur {
    filter: blur(6px);
    opacity: 0.55;
    user-select: none;
    pointer-events: none;
    letter-spacing: 0.2em;
}
.account-coupon__lock {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fa4039;
}
.account-coupon__lock svg { width: 22px; height: 22px; filter: drop-shadow(0 0 10px rgba(250, 64, 57, 0.6)); }
.account-coupon__locked {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.4;
}
.account-coupon__locked svg { width: 20px; height: 20px; flex: 0 0 auto; color: rgba(255, 255, 255, 0.45); }
.account-coupon__locked b { color: #fff; }

/* ──────────── PURCHASES (compact, scrolls inside the card) ──────────── */
.account-orders {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(250, 64, 57, 0.5) transparent;
}
.account-orders::-webkit-scrollbar { width: 6px; }
.account-orders::-webkit-scrollbar-thumb { background: rgba(250, 64, 57, 0.5); border-radius: 999px; }
.account-orders__filter {
    width: 100%;
    box-sizing: border-box;
    height: 36px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font: inherit;
    font-size: 13px;
}
.account-orders__filter::placeholder { color: rgba(255, 255, 255, 0.4); }
.account-orders__filter:focus { outline: none; border-color: rgba(250, 64, 57, 0.6); }
.account-orders__more { align-self: center; margin-top: 2px; flex: 0 0 auto; }
.account-orders > .account-empty { flex: 0 0 auto; }
.account-order {
    flex: 0 0 auto;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}
.account-order__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}
.account-order__head b { color: #fff; font-weight: 600; }
.account-order__head > span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.account-order__ref { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-order__total {
    font-family: "GTA Art Deco", sans-serif;
    font-size: 17px;
    color: #fa4039;
    white-space: nowrap;
}
.account-order__items { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.account-order__item {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: background 0.2s ease;
}
.account-order__item:hover { background: rgba(255, 255, 255, 0.04); }
.account-order__thumb {
    width: 52px;
    height: 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05) center / cover no-repeat;
}
.account-order__name {
    font-family: "GTA Art Deco", sans-serif;
    font-size: 14px;
    color: #fff;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.account-order__item:hover .account-order__name { color: #fa4039; }
.account-order__price { font-size: 13px; color: rgba(255, 255, 255, 0.65); white-space: nowrap; }

.account-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.5;
}
.account-empty b { color: #fff; }

/* ──────────── BADGES (3×3 tiles) ──────────── */
.account-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.account-badge {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 8px 4px 7px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.account-badge:hover, .account-badge:focus-visible { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.16); outline: none; }
.account-badge.is-pinned { border-color: rgba(250, 64, 57, 0.6); background: rgba(250, 64, 57, 0.06); }
.account-badge__art {
    position: relative;
    width: 62px;
    height: 62px;
    display: block;
}
.account-badge__art svg, .account-badge__art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.account-badge__art img { z-index: 1; }
.account-badge--earned .account-badge__art { filter: drop-shadow(0 6px 14px rgba(250, 64, 57, 0.45)); }
.account-badge--locked .account-badge__art { opacity: 0.8; }
.account-badge--locked .account-badge__art img { filter: grayscale(1) brightness(0.55); }
.account-badge__title {
    margin: 0;
    font-family: "GTA Art Deco", sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.1;
    color: #fff;
}
.account-badge--locked .account-badge__title { color: rgba(255, 255, 255, 0.55); }
.account-badge__bar { display: block; width: 100%; margin-top: 1px; }
.account-badge__bar .account-progress__fill { display: block; }
.account-badges__detail {
    margin: auto 0 0;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.6);
    min-height: 2.9em;
}
.account-badges__detail b { color: #fff; }
.account-badges__detail .account-chip { vertical-align: middle; margin-left: 4px; }

/* ──────────── RECOMMENDATIONS (one row) ──────────── */
.account-reco {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.account-reco-card {
    position: relative;
    display: grid;
    grid-template-columns: 96px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 6px;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.account-reco-card:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.16); }
.account-reco-card .card-image {
    grid-row: 1 / span 2;
    width: 96px;
    height: 60px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05) center / cover no-repeat;
}
.account-reco-card__top { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.account-reco-card__why {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fa4039;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.account-reco-card__name {
    font-family: "GTA Art Deco", sans-serif;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.account-reco-card__name:hover { color: #fa4039; }
.account-reco-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.account-reco-card__price { font-size: 14px; font-weight: 600; color: #fa4039; white-space: nowrap; }
.account-reco-card .card-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    text-decoration: none;
    font-family: "GTA Art Deco", sans-serif;
    font-size: 13px;
    color: #fff;
    background: radial-gradient(ellipse 77.46% 320.85% at 50% 50%, #fa4039 0%, #942622 100%);
    box-shadow: 0 4px 14px rgba(250, 64, 57, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: translate 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
    translate: 0 0;
    white-space: nowrap;
}
.account-reco-card .card-add-btn svg { width: 14px; height: 14px; }
.account-reco-card .card-add-btn:hover { translate: 0 -2px; filter: brightness(1.08); }
.account-reco-card .card-add-btn[aria-busy="true"] { opacity: 0.6; pointer-events: none; }

/* ──────────── SKELETONS ──────────── */
.account-skeleton {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}
.account-skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    animation: account-shimmer 1.4s infinite;
}
.account-skeleton--text { display: block; height: 12px; width: 60%; }
.account-skeleton--num { display: block; height: 22px; width: 48px; }
@keyframes account-shimmer {
    from { transform: translateX(-100%); }
    to   { transform: translateX(100%); }
}
.account [aria-busy="false"] .account-skeleton { background: transparent; }
.account [aria-busy="false"] .account-skeleton::after { display: none; }

/* ──────────── RESPONSIVE ──────────── */
@media (max-width: 1100px) {
    .account-hero { grid-template-columns: auto auto max-content auto; }
    .account-hero__stats { grid-column: 1 / -1; }
    .account-reco { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .account { padding-top: 112px; gap: 12px; }
    .account-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 20px 16px; }
    .account-hero__body { max-width: 100%; }
    .account-hero__title { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: clamp(22px, 8vw, 30px); }
    .account-hero__meta { justify-content: center; }
    .account-hero__stats { justify-content: center; }
    .account-hero__stats li { min-width: 0; flex: 1 1 40%; }
    .account-hero__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .account-grid > .account-card { flex-basis: 100%; }
    .account-orders { max-height: 320px; }
    .account-reco { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .account-skeleton::after { animation: none; }
    .account-progress__fill { transition: none; }
}

/* ──────────── THEME LABELS ────────────
   Small uppercase labels use the theme's display face, exactly like the
   navbar badges and footer labels, so the page reads as one design. */
.account-hero__eyebrow,
.account-hero__stats span,
.account-card__count,
.account-card__sub,
.account-chip,
.account-coupon__label,
.account-tier__steps,
.account-reco-card__why {
    font-family: "GTA Art Deco", sans-serif;
}
