/* LoyaltyHub — front-account.css
   Pages compte / programme (landing.tpl, account_bar.tpl et blocs associes).
   Genere depuis front.css — ne pas editer a la main. */
.loyaltyhub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.loyaltyhub-balance-value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}
.lh-card-reward.is-redeemed .lh-card-reward__footer {
    align-items: stretch;
    flex-wrap: wrap;
}
.lh-landing {
    --lh-brand: #6366f1;
    --lh-brand-soft: color-mix(in srgb, var(--lh-brand) 12%, white);
    --lh-fg: #0f172a;
    --lh-fg-muted: #64748b;
    --lh-bg: #ffffff;
    --lh-surface: #f8fafc;
    --lh-border: #e2e8f0;
    --lh-radius: 18px;
    --lh-radius-sm: 12px;

    color: var(--lh-fg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0;
}
.lh-hero {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--lh-brand) 0%, color-mix(in srgb, var(--lh-brand) 65%, #000) 100%);
    color: #fff;
    padding: 0;
    box-shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.35);
    isolation: isolate;
}
.lh-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
.lh-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
}
.lh-hero__blob--a {
    width: 400px; height: 400px;
    top: -120px; right: -100px;
    background: rgba(255, 255, 255, 0.4);
}
.lh-hero__blob--b {
    width: 320px; height: 320px;
    bottom: -100px; left: 20%;
    background: color-mix(in srgb, var(--lh-brand) 60%, white);
}
.lh-hero__inner {
    position: relative;
    z-index: 1;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.lh-hero__head { display: flex; flex-direction: column; gap: 8px; }
.lh-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    align-self: flex-start;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lh-hero__eyebrow svg { width: 14px; height: 14px; }
.lh-hero__title {
    color: #fff !important;
    margin: 0;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.lh-hero__wave {
    display: inline-block;
    animation: lh-wave 1.6s ease-in-out infinite;
    transform-origin: 70% 70%;
}
.lh-hero__stats {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.lh-hero__balance {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.lh-hero__balance-value {
    font-size: clamp(56px, 9vw, 84px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.9;
    color: #fff !important;
    font-variant-numeric: tabular-nums;
}
.lh-hero__balance-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.85;
    margin-top: 6px;
    font-weight: 600;
    color: #fff;
}
.lh-hero__meta {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.lh-hero__meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lh-hero__meta-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
    font-weight: 600;
    color: #fff;
}
.lh-hero__meta-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff !important;
    font-variant-numeric: tabular-nums;
}
.lh-hero__meta-tier {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.lh-hero__tier-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lh-tier-color, #fff);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--lh-tier-color, white) 30%, transparent);
}
.lh-hero__progress {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 14px 18px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lh-hero__progress--max {
    text-align: center;
    font-weight: 600;
}
.lh-hero__progress-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    gap: 12px;
    color: #fff;
}
.lh-hero__progress-row strong { font-weight: 700; }
.lh-hero__progress-pct {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}
.lh-hero__progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    overflow: hidden;
}
.lh-hero__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #fff, color-mix(in srgb, var(--lh-tier-color, white) 80%, white));
    border-radius: 999px;
    transition: width 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lh-hero__guest {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.lh-hero__guest p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
    max-width: 540px;
    opacity: 0.95;
}
.lh-section { display: flex; flex-direction: column; gap: 18px; }
.lh-section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}
.lh-section__title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--lh-fg);
    line-height: 1.2;
}
.lh-section__sub {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--lh-fg-muted);
}
.lh-card-reward {
    display: flex;
    flex-direction: column;
    background: var(--lh-bg);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius);
    overflow: hidden;
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms ease, border-color 200ms ease;
    position: relative;
}
.lh-card-reward:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.18);
    border-color: var(--lh-brand);
}
.lh-card-reward.is-locked { opacity: 0.7; }
.lh-card-reward__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--lh-brand-soft);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lh-card-reward__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 400ms ease;
}
.lh-card-reward:hover .lh-card-reward__media img { transform: scale(1.05); }
.lh-card-reward__media-fallback {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    color: var(--lh-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.lh-card-reward__media-fallback svg { width: 28px; height: 28px; }
.lh-card-reward__type {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.lh-card-reward__lock-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.lh-card-reward__lock-icon svg { width: 14px; height: 14px; }
.lh-card-reward__body {
    padding: 16px 18px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.lh-card-reward__title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--lh-fg);
    letter-spacing: -0.01em;
}
.lh-card-reward__desc {
    margin: 0;
    font-size: 13px;
    color: var(--lh-fg-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lh-card-reward__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px 18px;
    border-top: 1px solid var(--lh-border);
}
.lh-card-reward__cost {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: var(--lh-brand);
}
.lh-card-reward__cost strong {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.lh-card-reward__cost span {
    font-size: 12px;
    color: var(--lh-fg-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.lh-card-mission {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px;
    background: var(--lh-bg);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius);
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms ease, border-color 200ms ease;
    position: relative;
}
.lh-card-mission:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -18px rgba(15, 23, 42, 0.18);
    border-color: var(--lh-brand);
}
.lh-card-mission__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--lh-brand-soft);
    color: var(--lh-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.lh-card-mission__icon svg { width: 22px; height: 22px; }
.lh-card-mission__body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.lh-card-mission__title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--lh-fg);
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.lh-card-mission__desc {
    margin: 0;
    font-size: 13px;
    color: var(--lh-fg-muted);
    line-height: 1.45;
}
.lh-card-mission__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--lh-border);
}
.lh-card-mission.is-completed { opacity: 0.85; }
.lh-card-mission.is-completed:hover { transform: none; }
.lh-btn--dark {
    background: var(--lh-fg);
    color: #fff !important;
}
.lh-btn--dark:hover:not(:disabled) {
    background: color-mix(in srgb, var(--lh-fg) 85%, #000);
    color: #fff !important;
}
.lh-btn--sm { padding: 8px 14px; font-size: 13px; }
.lh-referral-card {
    position: relative;
    border-radius: var(--lh-radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--lh-fg) 0%, #1e293b 100%);
    color: #fff;
    isolation: isolate;
}
.lh-referral-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    color: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    pointer-events: none;
}
.lh-referral-card__bg svg {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 320px;
    height: 320px;
}
.lh-referral-card__inner {
    position: relative;
    z-index: 1;
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.lh-referral-card__head { display: flex; flex-direction: column; gap: 8px; max-width: 600px; }
.lh-referral-card__eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lh-brand);
}
.lh-referral-card__title {
    margin: 0;
    color: #fff !important;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.lh-referral-card__sub {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}
.lh-referral-card__sub strong { color: #fff; }
.lh-referral-card__row {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--lh-radius-sm);
    padding: 5px;
    max-width: 600px;
}
.lh-referral-card__input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: 13px;
    color: #fff;
    outline: none;
    min-width: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
}
.lh-referral-card__input::selection { background: var(--lh-brand); color: #fff; }
.lh-activity {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--lh-bg);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius);
    overflow: hidden;
}
.lh-activity__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--lh-border);
}
.lh-activity__item:last-child { border-bottom: none; }
.lh-activity__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lh-activity__icon svg { width: 14px; height: 14px; }
.lh-activity__icon.is-credit { background: rgba(16, 185, 129, 0.12); color: #047857; }
.lh-activity__icon.is-debit { background: rgba(244, 63, 94, 0.12); color: #be123c; }
.lh-activity__main { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lh-activity__type {
    font-size: 13px;
    font-weight: 600;
    color: var(--lh-fg);
    text-transform: capitalize;
}
.lh-activity__date {
    font-size: 12px;
    color: var(--lh-fg-muted);
}
.lh-activity__delta {
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.lh-activity__delta.is-credit { color: #047857; }
.lh-activity__delta.is-debit { color: #be123c; }
.lh-slider {
    position: relative;
    
}
.lh-slider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding: 4px;
    padding: 4px 4px 14px 4px; 
    scroll-behavior: smooth;
    
    scrollbar-width: thin;
    scrollbar-color: var(--lh-border) transparent;
}
.lh-slider__track::-webkit-scrollbar { height: 6px; }
.lh-slider__track::-webkit-scrollbar-thumb { background: var(--lh-border); border-radius: 999px; }
.lh-slider__track::-webkit-scrollbar-track { background: transparent; }
.lh-slider__track > * {
    scroll-snap-align: start;
    
    min-width: 0;
}
.lh-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--lh-border);
    background: #fff;
    color: var(--lh-fg);
    cursor: pointer;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.18), 0 2px 4px rgba(15, 23, 42, 0.06);
    transition: background 150ms ease, color 150ms ease, transform 100ms ease, opacity 200ms ease;
    padding: 0;
}
.lh-slider__arrow:hover { background: var(--lh-brand); color: #fff; border-color: var(--lh-brand); }
.lh-slider__arrow:active { transform: translateY(-50%) scale(0.92); }
.lh-slider__arrow:focus-visible { outline: 3px solid color-mix(in srgb, var(--lh-brand) 50%, white); outline-offset: 2px; }
.lh-slider__arrow svg { width: 18px; height: 18px; }
.lh-slider__arrow--prev { left: -8px; }
.lh-slider__arrow--next { right: -8px; }
.lh-slider__arrow[hidden],
.lh-slider__arrow.is-disabled { opacity: 0; pointer-events: none; }
.lh-card-unlocked {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 18px 16px;
    background: var(--lh-bg);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius);
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms ease, border-color 200ms ease, opacity 200ms ease;
    position: relative;
}
.lh-card-unlocked:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -18px rgba(15, 23, 42, 0.18);
    border-color: var(--lh-brand);
}
.lh-card-unlocked.is-used {
    opacity: 0.55;
    background: var(--lh-surface);
}
.lh-card-unlocked.is-used:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--lh-border);
}
.lh-card-unlocked.is-expired {
    opacity: 0.7;
    background: rgba(244, 63, 94, 0.04);
    border-color: rgba(244, 63, 94, 0.18);
}
.lh-card-unlocked__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.lh-card-unlocked__type {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lh-fg-muted);
}
.lh-card-unlocked__status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.lh-card-unlocked__status svg { width: 12px; height: 12px; }
.lh-card-unlocked__status--active {
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
}
.lh-card-unlocked__status--used {
    background: rgba(15, 23, 42, 0.08);
    color: var(--lh-fg-muted);
}
.lh-card-unlocked__status--expired {
    background: rgba(244, 63, 94, 0.14);
    color: #be123c;
}
.lh-card-unlocked__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    animation: lh-pulse-dot 2s ease-in-out infinite;
}
.lh-card-unlocked__title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--lh-fg);
    letter-spacing: -0.01em;
    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lh-card-unlocked__code-row {
    display: flex;
    align-items: stretch;
    gap: 6px;
    background: var(--lh-surface);
    border: 1px dashed rgba(99, 102, 241, 0.4);
    border-radius: var(--lh-radius-sm);
    padding: 4px;
}
.lh-card-unlocked.is-used .lh-card-unlocked__code-row {
    border-style: solid;
    border-color: var(--lh-border);
}
.lh-card-unlocked__code {
    flex: 1;
    min-width: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--lh-fg);
    background: #fff;
    border-radius: 6px;
    padding: 8px 10px;
    user-select: all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.lh-card-unlocked.is-used .lh-card-unlocked__code {
    text-decoration: line-through;
    color: var(--lh-fg-muted);
}
.lh-card-unlocked__copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    background: var(--lh-fg);
    color: #fff !important;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: background 150ms ease, transform 100ms ease;
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1;
}
.lh-card-unlocked__copy:hover { background: #000; }
.lh-card-unlocked__copy:active { transform: scale(0.96); }
.lh-card-unlocked__copy.is-copied { background: #10b981 !important; }
.lh-card-unlocked__copy svg { width: 13px; height: 13px; flex-shrink: 0; }
.lh-card-unlocked__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--lh-border);
    font-size: 12px;
    color: var(--lh-fg-muted);
    flex-wrap: wrap;
}
.lh-card-unlocked__meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.lh-card-unlocked__meta svg { width: 13px; height: 13px; flex-shrink: 0; }
.lh-card-unlocked__cost {
    font-weight: 700;
    color: var(--lh-fg);
    font-variant-numeric: tabular-nums;
}
.lh-card-reward__usage {
    margin: 6px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #047857;
    background: rgba(16, 185, 129, 0.10);
    padding: 4px 9px;
    border-radius: 999px;
    align-self: flex-start;
    line-height: 1.3;
}
.lh-card-reward__usage svg { width: 12px; height: 12px; flex-shrink: 0; }
.lh-referral-recap__stats {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.lh-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 12px;
    min-width: 90px;
}
.lh-stat strong {
    font-size: 22px;
    line-height: 1;
    color: #0f172a;
    font-weight: 800;
}
.lh-stat span {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.lh-stat.lh-stat--success { background: rgba(16, 185, 129, 0.12); }
.lh-stat.lh-stat--success strong { color: #047857; }
.lh-stat.lh-stat--accent { background: rgba(99, 102, 241, 0.12); }
.lh-stat.lh-stat--accent strong { color: var(--lh-brand, #4338ca); }
.lh-referral-recap {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.lh-referral-recap__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    transition: border-color 200ms ease, transform 200ms ease;
}
.lh-referral-recap__item:hover { transform: translateY(-1px); }
.lh-referral-recap__item.is-success { border-color: rgba(16, 185, 129, 0.35); }
.lh-referral-recap__item.is-rejected { opacity: 0.65; }
.lh-referral-recap__avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.12);
    color: var(--lh-brand, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lh-referral-recap__avatar svg { width: 22px; height: 22px; }
.lh-referral-recap__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lh-referral-recap__name {
    font-weight: 600;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lh-referral-recap__date,
.lh-referral-recap__hint {
    font-size: 12px;
    color: #64748b;
}
.lh-referral-recap__hint { color: #b45309; }
.lh-referral-recap__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}
.lh-referral-recap__status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}
.lh-referral-recap__status svg { width: 14px; height: 14px; }
.lh-referral-recap__status.is-success { background: rgba(16, 185, 129, 0.14); color: #047857; }
.lh-referral-recap__status.is-progress { background: rgba(99, 102, 241, 0.14); color: #4338ca; }
.lh-referral-recap__status.is-rejected { background: rgba(239, 68, 68, 0.14); color: #b91c1c; }
.lh-referral-recap__points {
    font-size: 14px;
    font-weight: 700;
    color: #047857;
}
.lh-medal {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 3;
    pointer-events: none;
}
.lh-medal__disc {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(
        circle at 30% 28%,
        color-mix(in srgb, var(--lh-medal-color, #6366f1) 25%, white) 0%,
        var(--lh-medal-color, #6366f1) 55%,
        color-mix(in srgb, var(--lh-medal-color, #6366f1) 70%, black 30%) 100%
    );
    
    background-color: var(--lh-medal-color, #6366f1);
    box-shadow:
        0 6px 14px rgba(0,0,0,0.22),
        inset 0 1px 1px rgba(255,255,255,0.55),
        inset 0 -2px 4px rgba(0,0,0,0.18);
    color: #fff;
}
.lh-medal__disc::before {
    
    content: '';
    position: absolute;
    inset: 3px 3px 50% 3px;
    border-radius: 50% 50% 40% 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.45), transparent);
    pointer-events: none;
}
.lh-medal__disc svg {
    position: relative;
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25));
}
.lh-medal__ribbon {
    position: absolute;
    top: -2px;
    width: 0;
    height: 0;
    z-index: -1;
    
    border-style: solid;
}
.lh-medal__ribbon--left {
    left: 4px;
    border-width: 24px 0 0 12px;
    border-color: transparent transparent transparent var(--lh-medal-color, #6366f1);
    filter: brightness(0.85);
    transform: rotate(8deg);
}
.lh-medal__ribbon--right {
    right: 4px;
    border-width: 24px 12px 0 0;
    border-color: transparent var(--lh-medal-color, #6366f1) transparent transparent;
    filter: brightness(0.85);
    transform: rotate(-8deg);
}
.lh-medal__label {
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    margin-top: 2px;
    white-space: nowrap;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lh-medal.is-locked .lh-medal__disc {
    background: radial-gradient(
        circle at 30% 28%,
        rgba(255,255,255,0.85) 0%,
        rgba(241, 245, 249, 0.95) 55%,
        rgba(203, 213, 225, 1) 100%
    );
    background-color: #e2e8f0;
    box-shadow:
        0 4px 10px rgba(0,0,0,0.10),
        inset 0 1px 1px rgba(255,255,255,0.7);
    color: var(--lh-medal-color, #6366f1);
    border: 2px dashed color-mix(in srgb, var(--lh-medal-color, #6366f1) 50%, #94a3b8);
}
.lh-medal.is-locked .lh-medal__disc::before { opacity: 0.4; }
.lh-medal.is-locked .lh-medal__disc svg { opacity: 0.65; }
.lh-medal.is-locked .lh-medal__ribbon { opacity: 0.35; filter: grayscale(0.6); }
.lh-medal.is-locked .lh-medal__label { background: rgba(71, 85, 105, 0.85); }
.lh-card-reward.is-tier-locked {
    
    filter: saturate(0.85);
}
.lh-card-reward.is-tier-locked .lh-card-reward__media {
    opacity: 0.75;
}
.lh-card-reward.is-tier-locked .lh-card-reward__media img,
.lh-card-reward.is-tier-locked .lh-card-reward__media-fallback {
    filter: grayscale(0.35);
}
.lh-card-reward__tier-gate {
    margin-top: 10px;
    padding: 10px 12px;
    background: color-mix(in srgb, var(--lh-medal-color, #6366f1) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--lh-medal-color, #6366f1) 25%, transparent);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    
    gap: 0;
    
    background-color: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.25);
}
.lh-card-reward__tier-gate-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--lh-medal-color, #6366f1);
}
.lh-card-reward__tier-gate-title svg { width: 14px; height: 14px; }
.lh-card-reward__tier-gate-hint {
    font-size: 12px;
    color: #475569;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    overflow: hidden;
    pointer-events: none;
    transition:
        max-height 260ms cubic-bezier(0.16, 1, 0.3, 1),
        opacity 200ms ease 60ms,
        margin-top 220ms ease;
}
.lh-card-reward:hover .lh-card-reward__tier-gate-hint,
.lh-card-reward:focus-within .lh-card-reward__tier-gate-hint,
.lh-card-reward__tier-gate:hover .lh-card-reward__tier-gate-hint {
    max-height: 42px;
    opacity: 1;
    margin-top: 6px;
    pointer-events: auto;
}
.lh-card-reward__tier-gate-hint strong {
    color: #0f172a;
    font-weight: 700;
}
.lh-card-reward.is-oos {
    filter: saturate(0.6);
    opacity: 0.78;
}
.lh-card-reward.is-oos:hover {
    
    transform: none;
    box-shadow: none;
    border-color: var(--lh-border);
}
.lh-card-reward.is-oos .lh-card-reward__media {
    opacity: 0.65;
}
.lh-card-reward.is-oos .lh-card-reward__media img,
.lh-card-reward.is-oos .lh-card-reward__media-fallback {
    filter: grayscale(0.55);
}
.lh-card-reward__oos {
    margin-top: 10px;
    padding: 10px 12px;
    background: rgba(100, 116, 139, 0.10);
    border: 1px solid rgba(100, 116, 139, 0.25);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lh-card-reward__oos-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
}
.lh-card-reward__oos-title svg { width: 14px; height: 14px; flex-shrink: 0; }
.lh-card-reward__oos-hint {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}
.lh-card-mission__counter {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: #047857;
    background: rgba(16, 185, 129, 0.10);
    border: 1px solid rgba(16, 185, 129, 0.22);
    font-weight: 500;
    line-height: 1.3;
}
.lh-card-mission__counter svg { width: 12px; height: 12px; flex-shrink: 0; }
.lh-card-mission__counter strong {
    color: #065f46;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.lh-hero__wallet {
    margin-top: 24px;
    text-align: center;
}
.lh-hero__wallet-hint {
    margin: 0 0 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.lh-hero__wallet-error {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin: 0 0 12px;
    font-size: 13px;
    color: #fff;
    background: rgba(220, 38, 38, 0.85);
    border-radius: 8px;
}
.lh-hero__wallet-error svg {
    width: 18px; height: 18px;
    flex-shrink: 0;
}
.lh-wallet-btn.lh-wallet-btn--google,
.lh-wallet-btn.lh-wallet-btn--google:link,
.lh-wallet-btn.lh-wallet-btn--google:visited {
    
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 8px 22px !important;
    min-width: 220px;
    min-height: 56px;
    box-sizing: border-box !important;

    
    background: #000 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 1px solid #000 !important;
    border-radius: 999px !important;
    outline: none;

    
    font-family: 'Google Sans', 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-align: left;
    white-space: nowrap;

    
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);

    
    opacity: 1 !important;
    transform: none;
    text-shadow: none !important;
}
.lh-wallet-btn.lh-wallet-btn--google:hover,
.lh-wallet-btn.lh-wallet-btn--google:focus,
.lh-wallet-btn.lh-wallet-btn--google:focus-visible {
    
    background: #000 !important;
    color: #FFFFFF !important;
    border-color: #000 !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
    outline: none;
}
.lh-wallet-btn.lh-wallet-btn--google:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.20);
}
.lh-wallet-btn.lh-wallet-btn--google:focus-visible {
    
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(0, 0, 0, 0.32);
}
.lh-wallet-btn .lh-wallet-btn__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: 32px;
    height: 32px;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}
.lh-wallet-btn .lh-wallet-btn__icon svg {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    max-width: none !important;
    max-height: none !important;
}
.lh-wallet-btn .lh-wallet-btn__text {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
}
.lh-wallet-btn .lh-wallet-btn__text-top {
    display: block !important;
    font-family: inherit !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    line-height: 1.2 !important;
    color: #FFFFFF !important;
    opacity: 0.85;
    margin: 0 !important;
    padding: 0 !important;
}
.lh-wallet-btn .lh-wallet-btn__text-bottom {
    display: block !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    line-height: 1.2 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    padding: 0 !important;
    text-transform: none !important;
}
.lh-hero__wallet + .lh-hero__wallet,
.lh-hero__wallet.lh-hero__wallet--apple {
    margin-top: 14px;
}
.lh-wallet-btn.lh-wallet-btn--apple,
.lh-wallet-btn.lh-wallet-btn--apple:link,
.lh-wallet-btn.lh-wallet-btn--apple:visited {
    
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 8px 22px !important;
    min-width: 220px;
    min-height: 56px;
    box-sizing: border-box !important;

    
    background: #000 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 1px solid #000 !important;
    border-radius: 999px !important;
    outline: none;

    
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, 'Segoe UI', Arial, sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-align: left;
    white-space: nowrap;

    
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);

    opacity: 1 !important;
    transform: none;
    text-shadow: none !important;
}
.lh-wallet-btn.lh-wallet-btn--apple:hover,
.lh-wallet-btn.lh-wallet-btn--apple:focus,
.lh-wallet-btn.lh-wallet-btn--apple:focus-visible {
    background: #000 !important;
    color: #FFFFFF !important;
    border-color: #000 !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
    outline: none;
}
.lh-wallet-btn.lh-wallet-btn--apple:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.20);
}
.lh-wallet-btn.lh-wallet-btn--apple:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(0, 0, 0, 0.32);
}
.lh-wallet-btn.lh-wallet-btn--apple .lh-wallet-btn__text-bottom {
    letter-spacing: -0.2px !important;
}
.lh-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 8px;
}
.lh-tier__status {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 999px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
}
.lh-tier__status svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}
.lh-tier__status strong {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.lh-tier__head {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.lh-tier__badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    color: var(--lh-tier-color);
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--lh-tier-color) 22%, #fff) 0%,
        color-mix(in srgb, var(--lh-tier-color) 10%, #fff) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 2px 4px rgba(15, 23, 42, 0.05);
}
.lh-tier__badge svg {
    width: 28px;
    height: 28px;
}
.lh-tier__heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lh-tier__name {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
    
}
.lh-tier__threshold {
    display: block;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}
.lh-tier__threshold strong {
    color: #0f172a;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.lh-tier__desc {
    margin: 0;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.55;
}
.lh-tier__perks {
    list-style: none;
    margin: 0;
    padding: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
    border-top: 1px solid #f1f5f9;
}
.lh-tier__perk {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 0.88rem;
    color: #0f172a;
    line-height: 1.4;
}
.lh-tier__perk-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    color: var(--lh-tier-color);
    background: color-mix(in srgb, var(--lh-tier-color) 11%, #fff);
}
.lh-tier__perk-icon svg {
    width: 16px;
    height: 16px;
}
.lh-tier__perk-label {
    flex: 1;
    min-width: 0;
}
.lh-tier__benefits {
    margin: 0;
    padding-top: 14px;
    border-top: 1px dashed #e5e7eb;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.55;
    white-space: pre-wrap;
}
.lh-account-bar {
    
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px 18px;
    border-radius: 16px;
    background: linear-gradient(95deg, #15082a 0%, #3a154f 55%, #2b1042 100%);
    color: #ffffff;
    box-shadow: 0 18px 40px -22px rgba(15, 8, 30, 0.45);
    overflow: hidden;
    isolation: isolate;
    min-height: 64px;
    box-sizing: border-box;
}
.lh-account-bar::before {
    content: '';
    position: absolute;
    inset: -100% 30% auto auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, rgba(168, 85, 247, 0) 70%);
    pointer-events: none;
    z-index: -1;
}
.lh-account-bar__left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}
.lh-account-bar__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.22) 0%, rgba(245, 200, 66, 0.10) 100%);
    border: 1px solid rgba(245, 200, 66, 0.18);
    color: #f5c842;
    flex-shrink: 0;
}
.lh-account-bar__icon svg {
    width: 22px;
    height: 22px;
}
.lh-account-bar__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.lh-account-bar__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f5c842;
    line-height: 1.2;
}
.lh-account-bar__value {
    font-size: 1.18rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    white-space: nowrap;
}
.lh-account-bar__value-unit {
    font-weight: 600;
    margin-left: 1px;
}
.lh-account-bar__middle {
    
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}
.lh-account-bar__tier-label {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}
.lh-account-bar__tier-label strong {
    color: #ffffff;
    font-weight: 700;
    margin-left: 4px;
}
.lh-account-bar__progress {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    overflow: hidden;
}
.lh-account-bar__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ec5d1 0%, #a855f7 100%);
    border-radius: 999px;
    transition: width 1200ms cubic-bezier(0.2, 0.8, 0.3, 1);
    will-change: width;
}
.lh-account-bar__next {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lh-account-bar__next strong {
    color: #ffffff;
    font-weight: 700;
}
.lh-account-bar__next-arrow {
    color: rgba(255, 255, 255, 0.55);
}
.lh-account-bar__next--max {
    color: #ffffff;
    font-weight: 600;
}
.lh-account-bar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}
.lh-account-bar .lh-account-bar__btn,
.lh-account-bar a.lh-account-bar__btn,
.lh-account-bar button.lh-account-bar__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 9px 18px !important;
    border-radius: 999px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 150ms ease, background-color 150ms ease, color 150ms ease, border-color 150ms ease;
    box-sizing: border-box;
}
.lh-account-bar .lh-account-bar__btn--primary,
.lh-account-bar a.lh-account-bar__btn--primary {
    background: #ffffff !important;
    color: #15082a !important;
    border: 1px solid #ffffff !important;
}
.lh-account-bar .lh-account-bar__btn--primary:hover,
.lh-account-bar .lh-account-bar__btn--primary:focus,
.lh-account-bar a.lh-account-bar__btn--primary:hover,
.lh-account-bar a.lh-account-bar__btn--primary:focus {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #15082a !important;
    transform: translateY(-1px);
    outline: none;
}
.lh-account-bar .lh-account-bar__btn--ghost,
.lh-account-bar button.lh-account-bar__btn--ghost {
    background: transparent !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
}
.lh-account-bar .lh-account-bar__btn--ghost:hover,
.lh-account-bar .lh-account-bar__btn--ghost:focus,
.lh-account-bar button.lh-account-bar__btn--ghost:hover,
.lh-account-bar button.lh-account-bar__btn--ghost:focus {
    background: rgba(255, 255, 255, 0.10) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    outline: none;
}
.lh-acc-ref-row {
    display: flex;
    gap: 8px;
    margin: 14px 0 4px;
    width: 100%;
}
.lh-acc-ref-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #0f172a;
    background: #f8fafc;
    font-family: inherit;
    
    outline: none;
    transition: border-color 150ms ease;
}
.lh-acc-ref-input:focus {
    border-color: #6366f1;
    background: #ffffff;
}
.lh-acc-ref-copy {
    flex: 0 0 auto;
    gap: 6px;
}
.lh-acc-ref-copy.is-copied {
    background: #10b981 !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
}
.lh-acc-ref-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0 6px;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 12px;
}
.lh-acc-ref-stat {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}
.lh-acc-ref-stat strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}
.lh-acc-ref-stat span {
    font-size: 0.78rem;
    color: #64748b;
}
.lh-acc-ref-stat--ok strong {
    color: #10b981;
}
.lh-acc-ref-stat--accent strong {
    color: #8b5cf6;
}

@supports not (background: color-mix(in srgb, red 10%, white)) {
.lh-landing { --lh-brand-soft: rgba(99, 102, 241, 0.12); }
}

@media (max-width: 640px) {
.lh-landing { gap: 28px; }
.lh-hero__inner { padding: 28px 22px; }
.lh-hero__stats { flex-direction: column; align-items: flex-start; gap: 16px; }
.lh-hero__meta { gap: 18px; }
.lh-section__title { font-size: 20px; }
.lh-referral-card__inner { padding: 24px 20px; }
.lh-referral-card__title { font-size: 22px; }
.lh-referral-card__row { flex-direction: column; }
}

@media (max-width: 760px) {
.lh-slider__arrow { display: none; }
.lh-slider__track {
        grid-auto-columns: minmax(78%, 78%);
        scroll-padding-left: 4px;
        padding-right: 22%;
    }
.lh-tiers {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(78%, 78%);
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 4px;
        scroll-behavior: smooth;
        padding: 6px 22% 18px 4px;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
    }
.lh-tiers::-webkit-scrollbar { height: 6px; }
.lh-tiers::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 999px;
    }
.lh-tiers::-webkit-scrollbar-track { background: transparent; }
}

@media (min-width: 720px) {
.lh-referral-recap { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
.lh-card-reward:hover .lh-medal.is-earned .lh-medal__disc {
        animation: lh-medal-shine 1.2s ease-out;
    }
}

@media (prefers-reduced-motion: reduce) {
.lh-card-reward__tier-gate-hint {
        transition: none;
    }
.lh-account-bar__progress-fill {
        transition: none;
    }
}

@media (max-width: 360px) {
.lh-wallet-btn.lh-wallet-btn--google {
        min-width: 0;
        padding: 8px 14px !important;
    }
.lh-wallet-btn .lh-wallet-btn__text-bottom {
        font-size: 14px !important;
    }
.lh-wallet-btn.lh-wallet-btn--apple {
        min-width: 0;
        padding: 8px 14px !important;
    }
}

@media (max-width: 480px) {
.lh-tier__head {
        gap: 12px;
    }
.lh-tier__badge {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }
.lh-tier__badge svg {
        width: 24px;
        height: 24px;
    }
.lh-tier__name {
        font-size: 1.2rem;
    }
.lh-acc-ref-row {
        flex-direction: column;
    }
.lh-acc-ref-copy {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 960px) {
.lh-account-bar {
        flex-wrap: wrap;
        gap: 14px;
        padding: 14px 16px;
    }
.lh-account-bar__left,
    .lh-account-bar__actions {
        flex: 1 1 auto;
    }
.lh-account-bar__actions {
        justify-content: flex-end;
    }
.lh-account-bar__middle {
        flex: 1 1 100%;
        order: 3;
        padding-top: 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 560px) {
.lh-account-bar {
        padding: 12px 14px;
        gap: 12px;
        border-radius: 14px;
    }
.lh-account-bar__icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
.lh-account-bar__icon svg {
        width: 18px;
        height: 18px;
    }
.lh-account-bar__value {
        font-size: 1.05rem;
    }
.lh-account-bar__eyebrow {
        font-size: 0.62rem;
    }
.lh-account-bar__middle {
        grid-template-columns: 1fr;
        gap: 6px;
        text-align: left;
    }
.lh-account-bar__next {
        font-size: 0.78rem;
    }
.lh-account-bar .lh-account-bar__btn,
    .lh-account-bar a.lh-account-bar__btn,
    .lh-account-bar button.lh-account-bar__btn {
        padding: 8px 14px !important;
        font-size: 0.84rem !important;
    }
.lh-account-bar__actions {
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
    }
}
