:root {
    --rq-bg: #07110c;
    --rq-surface: #0d1b14;
    --rq-surface-2: #13251c;
    --rq-border: rgba(255,255,255,0.09);
    --rq-text: #f8fafc;
    --rq-muted: #9ca3af;
    --rq-accent: #22c55e;
    --rq-accent-2: #86efac;
    --rq-danger: #fb7185;
}

.rq-theme-light {
    --rq-bg: #f8fafc;
    --rq-surface: #ffffff;
    --rq-surface-2: #eef2f7;
    --rq-border: rgba(15,23,42,0.12);
    --rq-text: #0f172a;
    --rq-muted: #64748b;
    --rq-accent-2: color-mix(in srgb, var(--rq-accent) 58%, #0f172a);
    --rq-danger: #e11d48;
}

.rq-theme-light .rq-card,
.rq-theme-light .rq-legal-section,
.rq-theme-light .rq-empty-state {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 18px 50px rgba(15,23,42,0.08);
}

.rq-theme-light .rq-hero {
    background: linear-gradient(135deg, rgba(34,197,94,0.16), rgba(14,165,233,0.10)), #ffffff;
}

.rq-theme-light .rq-hero-sub,
.rq-theme-light .rq-legal-section p,
.rq-theme-light .rq-legal-section li,
.rq-theme-light .rq-install-text {
    color: #475569;
}

.rq-theme-light .rq-app-shell {
    background: radial-gradient(circle at top left, rgba(34,197,94,0.12), transparent 30rem), radial-gradient(circle at bottom right, rgba(14,165,233,0.10), transparent 28rem), var(--rq-bg);
}

.rq-theme-light .rq-tenant-logo {
    background: #ffffff;
}

.rq-theme-light .rq-hero-eyebrow,
.rq-theme-light .rq-price,
.rq-theme-light .rq-check-row a,
.rq-theme-light .rq-legal-section a {
    color: #047857;
}

.rq-theme-light .rq-pill,
.rq-theme-light .rq-input,
.rq-theme-light .rq-button-secondary,
.rq-theme-light .rq-icon-button,
.rq-theme-light .rq-small-action,
.rq-theme-light .rq-profile-value,
.rq-theme-light .rq-consent-row,
.rq-theme-light .rq-code-box,
.rq-theme-light .rq-used-box {
    background: rgba(15,23,42,0.045);
}

.rq-theme-light .rq-input::placeholder {
    color: #64748b;
}

.rq-theme-light .rq-icon-button:hover,
.rq-theme-light .rq-small-action:hover {
    background: rgba(15,23,42,0.08);
}

.rq-theme-light .rq-small-action-danger {
    color: #9f1239;
    border-color: rgba(225,29,72,0.26);
    background: rgba(225,29,72,0.08);
}

.rq-theme-light .rq-alert,
.rq-theme-light .rq-activation-feedback-bad {
    color: #9f1239;
    background: rgba(225,29,72,0.10);
    border-color: rgba(225,29,72,0.26);
}

.rq-theme-light .rq-success,
.rq-theme-light .rq-legal-notice,
.rq-theme-light .rq-activation-feedback-ok,
.rq-theme-light .rq-activated-pill {
    color: #166534;
    background: rgba(34,197,94,0.11);
    border-color: rgba(22,101,52,0.24);
}

.rq-theme-light .rq-bottom-nav {
    background: rgba(255,255,255,0.94);
    box-shadow: 0 18px 50px rgba(15,23,42,0.14);
}

.rq-theme-light .rq-bottom-nav a.active {
    background: rgba(34,197,94,0.13);
}

.rq-theme-light .rq-nav-icon {
    background: rgba(15,23,42,0.06);
}

.rq-theme-light .rq-bottom-nav a.active .rq-nav-icon {
    background: rgba(34,197,94,0.18);
    color: #166534;
}

.rq-theme-light .rq-image,
.rq-theme-light .rq-ad-image {
    background: rgba(15,23,42,0.06);
}

.rq-theme-light .rq-image-placeholder {
    background: radial-gradient(circle at top left, rgba(34,197,94,0.14), transparent 14rem), rgba(15,23,42,0.045);
}

.rq-theme-light .rq-ad-slot {
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15,23,42,0.10);
}

.rq-theme-light .rq-status-badge {
    color: #075985;
    background: rgba(14,165,233,0.12);
    border-color: rgba(14,165,233,0.24);
}

.rq-theme-light .rq-status-badge-active {
    color: #166534;
    background: rgba(34,197,94,0.12);
    border-color: rgba(22,101,52,0.24);
}

.rq-theme-light .rq-status-badge-muted {
    color: #475569;
    background: rgba(15,23,42,0.045);
    border-color: var(--rq-border);
}

.rq-theme-light .rq-status-badge-expired {
    color: #9f1239;
    background: rgba(225,29,72,0.09);
    border-color: rgba(225,29,72,0.24);
}

.rq-theme-light .rq-status-badge-offer,
.rq-theme-light .rq-empty-icon {
    color: #3f6212;
    background: rgba(132,204,22,0.12);
    border-color: rgba(63,98,18,0.20);
}

.rq-theme-light .rq-empty-state {
    border-color: rgba(15,23,42,0.16);
}

.rq-theme-light .rq-skeleton {
    background: rgba(15,23,42,0.08);
}

.rq-theme-light .rq-skeleton::after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
}

.rq-theme-light .rq-floating-card-badge {
    border-color: #f8fafc;
}

.rq-theme-light .rq-fly-clone {
    box-shadow: 0 28px 80px rgba(15,23,42,0.22);
}

.rq-theme-light .rq-loyalty-card {
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(15,23,42,0.10);
}

.rq-theme-light .rq-loyalty-card-media {
    background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--rq-accent) 20%, white), transparent 58%), linear-gradient(145deg, #f8fafc, #e2e8f0);
}

.rq-theme-light .rq-loyalty-card-title {
    color: #0f172a;
}

.rq-theme-light .rq-loyalty-card-subtitle,
.rq-theme-light .rq-loyalty-card-validity,
.rq-theme-light .rq-loyalty-store-badge,
.rq-theme-light .rq-loyalty-old-price {
    color: #475569;
}

.rq-theme-light .rq-loyalty-store-badge,
.rq-theme-light .rq-loyalty-status-badge {
    background: rgba(15,23,42,0.045);
}

html, body {
    margin: 0;
    min-height: 100%;
    background: var(--rq-bg);
    color: var(--rq-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.rq-mobile-container {
    max-width: 520px;
    margin: 0 auto;
    padding: 20px 20px calc(164px + env(safe-area-inset-bottom));
}

.rq-app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0 22px;
}

.rq-logo {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.rq-logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--rq-accent), #38bdf8);
    color: #03130a;
    font-weight: 950;
    font-size: 22px;
}

.rq-tenant-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    object-fit: contain;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--rq-border);
    padding: 4px;
    box-sizing: border-box;
}

.rq-logo-title {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.18;
}

.rq-logo-sub {
    color: var(--rq-muted);
    font-size: 12px;
    margin-top: 2px;
}

.rq-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.rq-points-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 34px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid rgba(134,239,172,0.28);
    background: rgba(34,197,94,0.12);
    color: var(--rq-text);
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
}

.rq-points-value {
    font-size: 13px;
}

.rq-points-label {
    color: var(--rq-muted);
    font-size: 11px;
    font-weight: 850;
}

.rq-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035));
    border: 1px solid var(--rq-border);
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 22px 70px rgba(0,0,0,0.28);
}

.rq-hero {
    padding: 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(34,197,94,0.22), rgba(56,189,248,0.12)), rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.rq-hero-eyebrow {
    color: var(--rq-accent-2);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 850;
}

.rq-hero-title {
    font-size: 32px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: 0;
    margin-top: 10px;
}

.rq-hero-sub {
    color: #d1d5db;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.rq-grid {
    display: grid;
    gap: 14px;
}

.rq-loyalty-card-list {
    display: grid;
    gap: 14px;
}

.rq-loyalty-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(152px, 0.92fr);
    min-height: 186px;
    overflow: hidden;
    border: 1px solid var(--rq-border);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
    box-shadow: 0 18px 52px rgba(0,0,0,0.22);
    color: var(--rq-text);
    isolation: isolate;
}

.rq-loyalty-card::before,
.rq-loyalty-card::after {
    content: "";
    position: absolute;
    left: calc(57.5% - 10px);
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--rq-bg);
    border: 1px solid var(--rq-border);
    z-index: 2;
}

.rq-loyalty-card::before {
    top: -11px;
}

.rq-loyalty-card::after {
    bottom: -11px;
}

.rq-loyalty-card-media {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 186px;
    padding: 14px;
    background: radial-gradient(circle at 35% 28%, color-mix(in srgb, var(--rq-accent) 28%, transparent), transparent 56%), linear-gradient(145deg, rgba(34,197,94,0.18), rgba(56,189,248,0.13)), rgba(255,255,255,0.055);
}

.rq-loyalty-card-media::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 0;
    bottom: 18px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.18), transparent);
}

.rq-loyalty-card-media img {
    width: 100%;
    height: 100%;
    max-width: 92%;
    max-height: 156px;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: drop-shadow(0 16px 24px rgba(0,0,0,0.20));
}

.rq-loyalty-card-validity-overlay,
.rq-loyalty-status-badge-overlay {
    position: absolute;
    left: 12px;
    z-index: 3;
    max-width: calc(100% - 24px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.rq-loyalty-card-validity-overlay {
    top: 12px;
    background: rgba(6,24,16,0.78);
    color: #e5fff0;
    border-color: rgba(255,255,255,0.20);
}

.rq-loyalty-status-badge-overlay {
    bottom: 12px;
}

.rq-loyalty-card-placeholder {
    display: grid;
    place-items: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 138px;
    border-radius: 18px;
    border: 1px dashed rgba(255,255,255,0.18);
    background: radial-gradient(circle at top left, color-mix(in srgb, var(--rq-accent) 22%, transparent), transparent 11rem), rgba(255,255,255,0.055);
    color: var(--rq-muted);
}

.rq-loyalty-card-placeholder span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--rq-accent), #38bdf8);
    color: #03130a;
    font-weight: 950;
    font-size: 24px;
}

.rq-loyalty-card-placeholder small {
    font-size: 12px;
    font-weight: 900;
}

.rq-loyalty-card-no-image {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
}

.rq-loyalty-card-no-image::before,
.rq-loyalty-card-no-image::after,
.rq-loyalty-card-no-image .rq-loyalty-card-media::after {
    display: none;
}

.rq-loyalty-card-no-image .rq-loyalty-card-media {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 0;
    padding: 12px 14px 0;
    background: transparent;
}

.rq-loyalty-card-no-image .rq-loyalty-card-validity-overlay,
.rq-loyalty-card-no-image .rq-loyalty-status-badge-overlay {
    position: static;
    max-width: none;
    box-shadow: none;
}

.rq-loyalty-card-no-image .rq-loyalty-card-validity-overlay {
    background: rgba(6,24,16,0.48);
}

.rq-loyalty-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    padding: 14px 14px 14px 13px;
}

.rq-loyalty-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 7px;
    min-width: 0;
}

.rq-loyalty-discount-badge,
.rq-loyalty-status-badge,
.rq-loyalty-store-badge {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    border-radius: 999px;
    border: 1px solid var(--rq-border);
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}

.rq-loyalty-discount-badge {
    min-height: 34px;
    justify-content: center;
    padding: 0 12px;
    background: var(--rq-accent);
    color: #03130a;
    font-size: 18px;
}

.rq-loyalty-price-badge {
    width: 100%;
    min-width: 122px;
    font-size: 16px;
    letter-spacing: 0;
}

.rq-loyalty-status-badge {
    min-height: 26px;
    padding: 0 8px;
    color: #bae6fd;
    background: rgba(56,189,248,0.12);
    border-color: rgba(56,189,248,0.24);
    font-size: 11px;
}

.rq-loyalty-status-badge-active {
    color: #bbf7d0;
    background: rgba(34,197,94,0.13);
    border-color: rgba(34,197,94,0.30);
}

.rq-loyalty-status-badge-muted {
    color: var(--rq-muted);
    background: rgba(255,255,255,0.07);
    border-color: var(--rq-border);
}

.rq-loyalty-status-badge-reward {
    color: #fef3c7;
    background: rgba(245,158,11,0.13);
    border-color: rgba(245,158,11,0.28);
}

.rq-loyalty-status-badge-offer {
    color: #d9f99d;
    background: rgba(132,204,22,0.12);
    border-color: rgba(132,204,22,0.28);
}

.rq-loyalty-card-main {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.rq-loyalty-card-title {
    margin: 0;
    color: var(--rq-text);
    font-size: 17px;
    line-height: 1.13;
    font-weight: 950;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.rq-loyalty-card-subtitle {
    margin: 0;
    color: var(--rq-muted);
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rq-loyalty-card-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.rq-loyalty-card-validity,
.rq-loyalty-store-badge {
    min-height: 24px;
    padding: 0 8px;
    color: var(--rq-muted);
    background: rgba(255,255,255,0.06);
    font-size: 11px;
    font-weight: 900;
}

.rq-loyalty-card-validity {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid var(--rq-border);
}

.rq-loyalty-old-price {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    color: var(--rq-muted);
    font-size: 12px;
    font-weight: 850;
    text-decoration: line-through;
}

.rq-loyalty-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 0 12px;
    background: var(--rq-accent);
    color: #03130a;
    font-size: 14px;
    font-weight: 950;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.rq-loyalty-card-actions {
    display: grid;
    gap: 8px;
}

.rq-loyalty-card-actions:has(.rq-loyalty-card-action-list + .rq-loyalty-card-action-secondary) {
    grid-template-columns: 1fr;
}

.rq-loyalty-card-action:disabled {
    cursor: default;
    opacity: 0.72;
}

.rq-loyalty-card-action-list {
    background: color-mix(in srgb, var(--rq-accent) 88%, #ffffff);
}

.rq-loyalty-card-action-secondary,
.rq-loyalty-card-action-muted {
    border: 1px solid var(--rq-border);
    background: rgba(255,255,255,0.075);
    color: var(--rq-text);
}

.rq-loyalty-card-action:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--rq-accent) 42%, transparent);
    outline-offset: 2px;
}

.rq-loyalty-card-active {
    border-color: rgba(34,197,94,0.45);
    box-shadow: 0 18px 52px rgba(0,0,0,0.22), 0 0 0 3px rgba(34,197,94,0.11);
}

.rq-toast-inline {
    margin: 12px 0 16px;
    border: 1px solid color-mix(in srgb, var(--rq-accent) 35%, transparent);
    border-radius: 16px;
    padding: 12px 14px;
    background: var(--rq-accent-soft);
    color: var(--rq-text);
    font-size: 13px;
    font-weight: 850;
}

.rq-loyalty-card-locked .rq-loyalty-card-media img {
    filter: saturate(0.75) drop-shadow(0 16px 24px rgba(0,0,0,0.18));
}

.rq-loyalty-progress {
    overflow: hidden;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--rq-border);
}

.rq-loyalty-progress > div {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rq-accent), #38bdf8);
}

@media (max-width: 390px) {
    .rq-loyalty-card {
        grid-template-columns: minmax(0, 1fr) minmax(152px, 0.82fr);
        min-height: 178px;
    }

    .rq-loyalty-card-media {
        min-height: 178px;
        padding: 11px;
    }

    .rq-loyalty-card-media img {
        max-height: 148px;
    }

    .rq-loyalty-card-body {
        gap: 7px;
        padding: 12px;
    }

    .rq-loyalty-card-title {
        font-size: 15px;
    }

    .rq-loyalty-card-subtitle {
        -webkit-line-clamp: 1;
    }

    .rq-loyalty-discount-badge {
        min-height: 31px;
        font-size: 16px;
    }

    .rq-loyalty-price-badge {
        min-width: 118px;
        font-size: 15px;
        padding-inline: 10px;
    }
}

/* Mobile application shell polish */
.rq-app-shell {
    padding-bottom: 0;
}

.rq-mobile-container {
    box-sizing: border-box;
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
}

.rq-bottom-nav {
    bottom: 0;
    width: min(520px, 100%);
    box-sizing: border-box;
    gap: 2px;
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    border-width: 1px 1px 0;
    border-radius: 22px 22px 0 0;
    background: #06100b;
    box-shadow: 0 -14px 36px rgba(0, 0, 0, 0.38);
    backdrop-filter: none;
}

.rq-bottom-nav a {
    min-width: 0;
    min-height: 62px;
    grid-template-rows: 28px auto;
    align-content: center;
    gap: 3px;
    border-radius: 15px;
    font-size: 11px;
    line-height: 1;
}

.rq-bottom-nav a.active {
    background: color-mix(in srgb, var(--rq-accent) 18%, transparent);
    color: var(--rq-text);
}

.rq-nav-icon {
    width: 28px;
    height: 28px;
    background: transparent;
}

.rq-nav-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rq-bottom-nav a.active .rq-nav-icon {
    background: color-mix(in srgb, var(--rq-accent) 28%, transparent);
    color: var(--rq-accent-2);
}

.rq-app-shell.rq-theme-light .rq-bottom-nav {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 -14px 36px rgba(15, 23, 42, 0.14);
}

.rq-app-shell.rq-theme-light .rq-nav-icon {
    background: transparent;
}

.rql-filter-row {
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-right: 14px;
}

.rql-filter-row::-webkit-scrollbar {
    display: none;
}

.rql-chip {
    scroll-snap-align: start;
}

.rq-profile-value,
.rq-input,
.rq-loyalty-store-badge {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rq-profile-value {
    overflow-wrap: anywhere;
}

@media (max-width: 540px) {
    .rq-mobile-container {
        padding: 14px 14px calc(104px + env(safe-area-inset-bottom));
    }

    .rq-app-header {
        gap: 8px;
        padding: 4px 0 16px;
    }

    .rq-logo {
        gap: 8px;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .rq-logo-mark,
    .rq-tenant-logo {
        flex: 0 0 auto;
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .rq-logo-title {
        display: -webkit-box;
        overflow: hidden;
        font-size: 15px;
        line-height: 1.12;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .rq-logo-sub {
        display: none;
    }

    .rq-header-actions {
        gap: 5px;
    }

    .rq-points-badge {
        min-height: 34px;
        padding-inline: 9px;
    }

    .rq-points-label {
        display: none;
    }

    .rq-icon-button {
        min-height: 34px;
        padding: 8px 10px;
        font-size: 11px;
    }

    .rq-hero {
        padding: 18px;
        margin-bottom: 16px;
        border-radius: 22px;
    }

    .rq-hero-title {
        margin-top: 7px;
        font-size: 27px;
    }

    .rq-section-header {
        margin: 20px 0 10px;
    }

    .rq-section-title {
        font-size: 21px;
    }

    .rq-loyalty-card:not(.rq-loyalty-card-no-image) {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .rq-loyalty-card:not(.rq-loyalty-card-no-image)::before,
    .rq-loyalty-card:not(.rq-loyalty-card-no-image)::after,
    .rq-loyalty-card:not(.rq-loyalty-card-no-image) .rq-loyalty-card-media::after {
        display: none;
    }

    .rq-loyalty-card:not(.rq-loyalty-card-no-image) .rq-loyalty-card-media {
        min-height: 154px;
        aspect-ratio: 16 / 8.5;
        padding: 16px;
    }

    .rq-loyalty-card:not(.rq-loyalty-card-no-image) .rq-loyalty-card-media img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 170px;
    }

    .rq-loyalty-card-body {
        justify-content: flex-start;
        gap: 10px;
        padding: 15px;
    }

    .rq-loyalty-card-title {
        font-size: 18px;
    }

    .rq-loyalty-card-subtitle {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .rq-loyalty-price-badge {
        width: auto;
        min-width: 132px;
    }

    .rq-loyalty-card-actions {
        grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    }

    .rq-loyalty-card-actions:has(.rq-loyalty-card-action-list + .rq-loyalty-card-action-secondary) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rql-page-head {
        gap: 10px;
    }

    .rql-page-head h1 {
        font-size: 26px;
    }

    .rql-card-shortcut {
        min-height: 42px;
        padding-inline: 15px;
    }

    .rq-legal-footer {
        gap: 8px 12px;
        margin-top: 22px;
        font-size: 11px;
    }
}

@media (min-width: 768px) {
    .rq-loyalty-card {
        min-height: 204px;
    }

    .rq-loyalty-card-media {
        min-height: 204px;
        padding: 18px;
    }

    .rq-loyalty-card-media img {
        max-height: 172px;
    }

    .rq-loyalty-card-body {
        padding: 18px;
    }
}

.rq-offer-card,
.rq-coupon-card {
    overflow: hidden;
    padding: 0;
}

.rq-image {
    width: 100%;
    height: 170px;
    object-fit: cover;
    background: rgba(255,255,255,0.06);
    display: block;
}

.rq-item-body {
    padding: 16px;
}

.rq-item-title {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 0;
}

.rq-item-sub {
    color: var(--rq-muted);
    font-size: 13px;
    line-height: 1.45;
    margin-top: 7px;
}

.rq-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 12px;
}

.rq-price {
    font-size: 26px;
    font-weight: 950;
    color: var(--rq-accent-2);
}

.rq-old-price {
    color: var(--rq-muted);
    text-decoration: line-through;
    font-size: 14px;
}

.rq-pill-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.rq-pill {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    border: 1px solid var(--rq-border);
    color: var(--rq-muted);
    font-size: 12px;
    font-weight: 800;
}

.rq-button {
    border: 0;
    border-radius: 16px;
    padding: 12px 15px;
    background: var(--rq-accent);
    color: #03130a;
    font-weight: 950;
    cursor: pointer;
    width: 100%;
}

.rq-button-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--rq-text);
    border: 1px solid var(--rq-border);
}

.rq-input {
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
    border: 1px solid var(--rq-border);
    background: rgba(255,255,255,0.07);
    color: var(--rq-text);
    padding: 13px 14px;
    outline: none;
}

.rq-consent-row {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    padding: 12px;
    border: 1px solid var(--rq-border);
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
}

    .rq-consent-row input {
        margin-top: 3px;
    }

    .rq-consent-row span {
        display: grid;
        gap: 4px;
    }

    .rq-consent-row small {
        color: var(--rq-muted);
        line-height: 1.4;
    }

.rq-section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: 24px 0 12px;
}

.rq-section-title {
    font-size: 22px;
    font-weight: 950;
    letter-spacing: 0;
}

.rq-section-sub {
    color: var(--rq-muted);
    font-size: 13px;
    margin-top: 4px;
}

.rq-alert {
    border: 1px solid rgba(251,113,133,0.3);
    background: rgba(251,113,133,0.09);
    color: #fecdd3;
    padding: 14px 16px;
    border-radius: 18px;
    margin-bottom: 14px;
}

.rq-success {
    border: 1px solid rgba(34,197,94,0.3);
    background: rgba(34,197,94,0.09);
    color: #bbf7d0;
    padding: 14px 16px;
    border-radius: 18px;
    margin-bottom: 14px;
}

.rq-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(520px, calc(100% - 28px));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 8px;
    border-radius: 24px;
    background: #06100b;
    border: 1px solid var(--rq-border);
    backdrop-filter: blur(20px);
    z-index: 50;
}

    .rq-bottom-nav a {
        display: grid;
        place-items: center;
        min-height: 44px;
        border-radius: 16px;
        color: var(--rq-muted);
        font-size: 12px;
        font-weight: 850;
    }

        .rq-bottom-nav a.active {
            background: rgba(34,197,94,0.16);
            color: var(--rq-text);
        }

.rq-code-box {
    text-align: center;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255,255,255,0.07);
    border: 1px dashed rgba(255,255,255,0.16);
    margin-top: 14px;
}

.rq-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.rq-card-token-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
    color: var(--rq-muted);
    font-size: 13px;
    font-weight: 800;
}

label {
    display: block;
    color: var(--rq-muted);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
}

.rq-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--rq-border);
    border-radius: 999px;
    padding: 9px 12px;
    min-height: 38px;
    background: rgba(255,255,255,0.07);
    color: var(--rq-text);
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    cursor: pointer;
}

    .rq-icon-button:hover {
        background: rgba(255,255,255,0.12);
    }

.rq-check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--rq-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

    .rq-check-row input {
        margin-top: 3px;
    }

    .rq-check-row a {
        color: var(--rq-accent-2);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.rq-bottom-nav-5 {
    grid-template-columns: repeat(5, 1fr);
}

.rq-profile-value {
    border-radius: 16px;
    border: 1px solid var(--rq-border);
    background: rgba(255,255,255,0.06);
    padding: 13px 14px;
    color: var(--rq-text);
    font-weight: 750;
}

.rq-small-action {
    border: 1px solid var(--rq-border);
    border-radius: 999px;
    padding: 8px 11px;
    background: rgba(255,255,255,0.07);
    color: var(--rq-text);
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

    .rq-small-action:hover {
        background: rgba(255,255,255,0.12);
    }

.rq-small-action-danger {
    color: #fecdd3;
    border-color: rgba(251,113,133,0.32);
    background: rgba(251,113,133,0.08);
}

.rq-profile-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.rq-legal-footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 26px 0 8px;
    color: var(--rq-muted);
    font-size: 12px;
    font-weight: 800;
}

    .rq-legal-footer a {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.rq-legal-page {
    display: grid;
    gap: 14px;
}

.rq-legal-notice {
    border: 1px solid rgba(134,239,172,0.28);
    background: rgba(34,197,94,0.08);
    color: #d1fae5;
    border-radius: 18px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.5;
}

.rq-legal-section {
    border: 1px solid var(--rq-border);
    border-radius: 20px;
    background: rgba(255,255,255,0.045);
    padding: 17px;
}

    .rq-legal-section h2 {
        margin: 0 0 10px;
        font-size: 17px;
        line-height: 1.25;
    }

    .rq-legal-section p,
    .rq-legal-section li {
        color: #d1d5db;
        font-size: 14px;
        line-height: 1.58;
    }

    .rq-legal-section p {
        margin: 0 0 10px;
    }

        .rq-legal-section p:last-child {
            margin-bottom: 0;
        }

    .rq-legal-section ul {
        margin: 0;
        padding-left: 19px;
    }

    .rq-legal-section a {
        color: var(--rq-accent-2);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.rq-qr-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
}

.rq-qr-box {
    box-sizing: border-box;
    width: min(220px, 100%);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 20px;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0,0,0,0.24);
}

    .rq-qr-box img,
    .rq-qr-box canvas {
        display: block;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 0;
    }

.rq-qr-wrap-large {
    margin-top: 18px;
}

.rq-qr-box-large {
    width: min(320px, 100%);
    padding: 20px;
}

.rq-fullscreen-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(14px);
}

.rq-fullscreen-panel {
    box-sizing: border-box;
    width: min(100%, 520px);
    max-height: calc(100vh - 44px);
    overflow: auto;
    border: 1px solid var(--rq-border);
    border-radius: 28px;
    background: var(--rq-card);
    color: var(--rq-text);
    padding: 22px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.rq-used-box {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    color: var(--rq-muted);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--rq-border);
    font-size: 13px;
    font-weight: 750;
}

/*.rq-app-shell {
    padding-top: env(safe-area-inset-top);
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
}*/

.rq-app-shell {
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(34,197,94,0.18), transparent 30rem), radial-gradient(circle at bottom right, rgba(59,130,246,0.14), transparent 28rem), var(--rq-bg);
    padding-bottom: calc(250px + env(safe-area-inset-bottom));
}

.rq-bottom-nav {
    bottom: calc(18px + env(safe-area-inset-bottom));
}

.rq-image-placeholder {
    height: 170px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at top left, rgba(34,197,94,0.18), transparent 14rem), rgba(255,255,255,0.06);
    color: var(--rq-muted);
    font-size: 13px;
    font-weight: 850;
}

.rq-bottom-nav-4 {
    grid-template-columns: repeat(4, 1fr);
}

.rq-floating-card {
    position: fixed;
    right: max(18px, calc((100vw - 520px) / 2 - 76px));
    bottom: calc(84px + env(safe-area-inset-bottom));
    z-index: 70;
    text-decoration: none;
}

.rq-ad-slot {
    position: relative;
    overflow: hidden;
    margin: 0 0 20px;
    border-radius: 22px;
    border: 1px solid var(--rq-border);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 18px 50px rgba(0,0,0,0.18);
    cursor: pointer;
}

.rq-ad-label {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 1;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 11px;
    font-weight: 850;
}

.rq-ad-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    background: rgba(255,255,255,0.06);
}

.rq-flyer-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(170px, 62%);
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 10px;
    margin-bottom: 10px;
    scrollbar-width: thin;
}

.rq-flyer-card {
    scroll-snap-align: start;
    display: grid;
    grid-template-rows: 118px 1fr;
    overflow: hidden;
    min-height: 230px;
    border: 1px solid var(--rq-border);
    border-radius: 22px;
    padding: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035));
    color: var(--rq-text);
    text-align: left;
    box-shadow: 0 18px 50px rgba(0,0,0,0.16);
    cursor: pointer;
}

.rq-flyer-thumb,
.rq-flyer-placeholder {
    width: 100%;
    height: 118px;
    display: grid;
    place-items: center;
    object-fit: cover;
    background: radial-gradient(circle at top left, rgba(34,197,94,0.20), transparent 12rem), rgba(255,255,255,0.06);
}

.rq-flyer-placeholder span {
    width: 58px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.10);
    border: 1px solid var(--rq-border);
    color: var(--rq-accent-2);
    font-weight: 950;
}

.rq-flyer-body {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 13px;
}

.rq-flyer-title {
    color: var(--rq-text);
    font-size: 15px;
    line-height: 1.25;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.rq-flyer-meta {
    color: var(--rq-muted);
    font-size: 12px;
    font-weight: 800;
}

.rq-pdf-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: stretch;
    background: rgba(2,6,23,0.86);
    backdrop-filter: blur(14px);
}

.rq-pdf-viewer {
    display: grid;
    grid-template-rows: auto minmax(0,1fr) auto;
    width: 100%;
    height: 100%;
    background: var(--rq-bg);
    color: var(--rq-text);
}

.rq-pdf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: calc(14px + env(safe-area-inset-top)) 16px 14px;
    border-bottom: 1px solid var(--rq-border);
    background: var(--rq-surface);
}

.rq-pdf-title {
    font-weight: 950;
    line-height: 1.25;
}

.rq-pdf-meta {
    color: var(--rq-muted);
    font-size: 12px;
    margin-top: 3px;
}

.rq-pdf-frame {
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.rq-pdf-fallback {
    display: none;
    width: auto;
    margin: 12px;
    text-align: center;
}

.rq-floating-card-inner {
    position: relative;
    width: 62px;
    height: 46px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(34,197,94,0.95), rgba(56,189,248,0.88));
    color: #03130a;
    box-shadow: 0 18px 45px rgba(0,0,0,0.34), 0 0 0 1px rgba(255,255,255,0.16) inset;
    transform: translateZ(0);
}

    .rq-floating-card-inner::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 10px;
        right: 10px;
        height: 5px;
        border-radius: 999px;
        background: rgba(3,19,10,0.24);
    }

.rq-floating-card-symbol {
    font-size: 24px;
    font-weight: 950;
    letter-spacing: 0;
    margin-top: 5px;
}

.rq-floating-card-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #fb7185;
    color: #fff;
    font-size: 11px;
    font-weight: 950;
    border: 2px solid #07110c;
}

.rq-floating-card:hover .rq-floating-card-inner {
    transform: translateY(-2px);
}

.rq-floating-card-pulse .rq-floating-card-inner {
    animation: rq-card-pulse 520ms ease;
}

@keyframes rq-card-pulse {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.12) rotate(-2deg);
    }

    100% {
        transform: scale(1);
    }
}

.rq-fly-clone {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 28px 80px rgba(0,0,0,0.42);
}

.rq-coupon-card {
    position: relative;
}

.rq-coupon-card-activated {
    border-color: rgba(34,197,94,0.5);
    box-shadow: 0 22px 70px rgba(0,0,0,0.28), 0 0 0 3px rgba(34,197,94,0.12);
}

.rq-activation-feedback {
    margin-top: 14px;
    padding: 12px 13px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 800;
}

.rq-activation-feedback-ok {
    color: #bbf7d0;
    background: rgba(34,197,94,0.11);
    border: 1px solid rgba(34,197,94,0.28);
}

.rq-activation-feedback-bad {
    color: #fecdd3;
    background: rgba(251,113,133,0.11);
    border: 1px solid rgba(251,113,133,0.28);
}

.rq-activated-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    width: 100%;
    min-height: 44px;
    border-radius: 16px;
    color: #bbf7d0;
    background: rgba(34,197,94,0.11);
    border: 1px solid rgba(34,197,94,0.28);
    font-size: 14px;
    font-weight: 950;
}

#blazor-error-ui {
    background: rgba(251,113,133,0.95);
    color: white;
    bottom: 0;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.35);
    display: none;
    left: 0;
    padding: 14px 18px;
    position: fixed;
    width: 100%;
    z-index: 10000;
    font-weight: 800;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 18px;
        top: 12px;
        color: white;
    }

    #blazor-error-ui .reload {
        color: white;
        text-decoration: underline;
        margin-left: 12px;
    }

button:disabled,
.rq-button:disabled,
.rq-small-action:disabled {
    opacity: 0.58;
    cursor: not-allowed;
}

.rq-item-title {
    overflow-wrap: anywhere;
}

.rq-error-state {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.rq-error-title {
    font-weight: 950;
    margin-bottom: 4px;
}

.rq-error-text {
    font-size: 13px;
    line-height: 1.45;
}

.rq-bottom-nav a {
    gap: 2px;
    font-size: 11px;
    line-height: 1.1;
}

.rq-nav-icon {
    width: 22px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    font-size: 11px;
    font-weight: 950;
}

.rq-bottom-nav a.active .rq-nav-icon {
    background: rgba(34,197,94,0.22);
    color: var(--rq-accent-2);
}

.rq-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.rq-card-date {
    color: var(--rq-muted);
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.rq-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(56,189,248,0.12);
    border: 1px solid rgba(56,189,248,0.24);
    color: #bae6fd;
    font-size: 12px;
    font-weight: 950;
}

.rq-status-badge-active {
    background: rgba(34,197,94,0.13);
    border-color: rgba(34,197,94,0.32);
    color: #bbf7d0;
}

.rq-status-badge-muted {
    background: rgba(255,255,255,0.07);
    border-color: var(--rq-border);
    color: var(--rq-muted);
}

.rq-status-badge-expired {
    background: rgba(251,113,133,0.1);
    border-color: rgba(251,113,133,0.28);
    color: #fecdd3;
}

.rq-status-badge-offer {
    background: rgba(134,239,172,0.11);
    border-color: rgba(134,239,172,0.28);
    color: #d9f99d;
}

.rq-empty-state {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 10px;
    padding: 28px 20px;
    border-radius: 24px;
    border: 1px dashed rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.045);
}

.rq-empty-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(34,197,94,0.13);
    color: var(--rq-accent-2);
    font-weight: 950;
}

.rq-empty-title {
    font-size: 18px;
    font-weight: 950;
}

.rq-empty-text {
    color: var(--rq-muted);
    font-size: 13px;
    line-height: 1.5;
    max-width: 340px;
}

.rq-empty-action {
    width: auto;
    min-width: 170px;
    margin-top: 4px;
}

.rq-skeleton-card {
    overflow: hidden;
    padding: 0;
}

.rq-skeleton {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
}

    .rq-skeleton::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.11), transparent);
        animation: rq-skeleton-shimmer 1.25s infinite;
    }

.rq-skeleton-image {
    height: 170px;
}

.rq-skeleton-title {
    width: 72%;
    height: 22px;
    border-radius: 999px;
}

.rq-skeleton-line {
    width: 100%;
    height: 13px;
    border-radius: 999px;
    margin-top: 12px;
}

.rq-skeleton-line-short {
    width: 58%;
}

.rq-skeleton-pill-row {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.rq-skeleton-pill {
    width: 80px;
    height: 28px;
    border-radius: 999px;
}

@keyframes rq-skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

.rq-network-banner {
    position: sticky;
    top: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
    background: rgba(251,113,133,0.95);
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    text-align: center;
}

.rq-network-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.18);
}

.rq-install-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(134,239,172,0.24);
    background: rgba(34,197,94,0.08);
}

.rq-install-title {
    font-weight: 950;
}

.rq-install-text {
    color: #d1d5db;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 3px;
}

.rq-install-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.rq-activated-pill {
    text-decoration: none;
}

.rq-points-hero {
    background: linear-gradient(135deg, rgba(34,197,94,0.20), rgba(56,189,248,0.12)), rgba(255,255,255,0.04);
}

.rq-points-hero-label {
    color: var(--rq-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rq-points-hero-value {
    font-size: 46px;
    line-height: 1;
    font-weight: 950;
    margin-top: 8px;
}

.rq-points-hero-sub {
    color: var(--rq-muted);
    font-size: 13px;
    font-weight: 800;
    margin-top: 10px;
}

.rq-ledger-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.rq-ledger-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--rq-border);
    border-radius: 16px;
    background: rgba(255,255,255,0.045);
}

.rq-ledger-points {
    text-align: right;
    font-weight: 950;
    color: var(--rq-danger);
}

.rq-ledger-points-plus {
    color: var(--rq-accent-2);
}

.rq-reward-progress {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--rq-border);
    margin-top: 12px;
}

.rq-reward-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rq-accent), #38bdf8);
}

.rq-theme-light .rq-reward-progress,
.rq-app-shell.rq-theme-light .rq-reward-progress {
    background: rgba(15,23,42,0.08);
}

@media (max-width: 420px) {
    .rq-mobile-container {
        padding: 16px 14px calc(122px + env(safe-area-inset-bottom));
    }

    .rq-hero {
        padding: 20px;
        border-radius: 24px;
    }

    .rq-hero-title {
        font-size: 28px;
    }

    .rq-section-header {
        align-items: flex-start;
        gap: 10px;
    }

    .rq-bottom-nav {
        width: calc(100% - 18px);
        bottom: calc(10px + env(safe-area-inset-bottom));
        gap: 5px;
        padding: 7px;
        border-radius: 20px;
    }

    .rq-floating-card {
        right: 18px;
    }

        .rq-bottom-nav a {
            min-height: 48px;
            border-radius: 14px;
        }

    .rq-error-state,
    .rq-install-card {
        grid-template-columns: 1fr;
    }

    .rq-install-actions {
        justify-content: stretch;
    }

        .rq-install-actions .rq-small-action {
            flex: 1;
    }

    .rq-flyer-strip {
        grid-auto-columns: minmax(158px, 72%);
    }

    .rq-pdf-header {
        align-items: flex-start;
    }
}

.rq-app-shell.rq-theme-light {
    --rq-bg: #f8fafc;
    --rq-surface: #ffffff;
    --rq-surface-2: #eef2f7;
    --rq-border: rgba(15,23,42,0.12);
    --rq-text: #0f172a;
    --rq-muted: #64748b;
    --rq-accent-2: color-mix(in srgb, var(--rq-accent) 58%, #0f172a);
    --rq-danger: #e11d48;
    background: radial-gradient(circle at top left, rgba(34,197,94,0.12), transparent 30rem), radial-gradient(circle at bottom right, rgba(14,165,233,0.10), transparent 28rem), var(--rq-bg);
}

.rq-app-shell.rq-theme-light .rq-logo-title,
.rq-app-shell.rq-theme-light .rq-hero-title,
.rq-app-shell.rq-theme-light .rq-section-title,
.rq-app-shell.rq-theme-light .rq-item-title,
.rq-app-shell.rq-theme-light .rq-empty-title,
.rq-app-shell.rq-theme-light .rq-install-title,
.rq-app-shell.rq-theme-light .rq-code,
.rq-app-shell.rq-theme-light .rq-error-title {
    color: #0f172a;
}

.rq-app-shell.rq-theme-light .rq-logo-sub,
.rq-app-shell.rq-theme-light .rq-section-sub,
.rq-app-shell.rq-theme-light .rq-item-sub,
.rq-app-shell.rq-theme-light .rq-empty-text,
.rq-app-shell.rq-theme-light .rq-card-date,
.rq-app-shell.rq-theme-light .rq-bottom-nav a,
.rq-app-shell.rq-theme-light .rq-used-box,
.rq-app-shell.rq-theme-light .rq-check-row {
    color: #64748b;
}

.rq-app-shell.rq-theme-light .rq-card,
.rq-app-shell.rq-theme-light .rq-legal-section,
.rq-app-shell.rq-theme-light .rq-empty-state,
.rq-app-shell.rq-theme-light .rq-flyer-card {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 18px 50px rgba(15,23,42,0.08);
}

.rq-app-shell.rq-theme-light .rq-flyer-placeholder {
    background: radial-gradient(circle at top left, rgba(34,197,94,0.14), transparent 12rem), rgba(15,23,42,0.045);
}

.rq-app-shell.rq-theme-light .rq-flyer-placeholder span {
    background: rgba(15,23,42,0.045);
    color: #047857;
}

.rq-app-shell.rq-theme-light .rq-pdf-viewer {
    background: #f8fafc;
}

.rq-app-shell.rq-theme-light .rq-pdf-header {
    background: #ffffff;
}

.rq-app-shell.rq-theme-light .rq-hero {
    background: linear-gradient(135deg, rgba(34,197,94,0.16), rgba(14,165,233,0.10)), #ffffff;
    border-color: rgba(15,23,42,0.10);
}

.rq-app-shell.rq-theme-light .rq-hero-sub,
.rq-app-shell.rq-theme-light .rq-legal-section p,
.rq-app-shell.rq-theme-light .rq-legal-section li,
.rq-app-shell.rq-theme-light .rq-install-text {
    color: #475569;
}

.rq-app-shell.rq-theme-light .rq-button-secondary {
    color: #0f172a;
}

.rq-app-shell.rq-theme-light .rq-bottom-nav a.active {
    color: #0f172a;
}

.rq-app-shell.rq-theme-light .rq-loyalty-card-validity-overlay {
    color: #0f172a;
    background: rgba(255,255,255,0.88);
    border-color: rgba(15,23,42,0.12);
}

.rq-app-shell.rq-theme-light .rq-loyalty-status-badge-overlay {
    background: rgba(236,252,203,0.92);
    color: #365314;
    border-color: rgba(132,204,22,0.34);
}

.rq-shopping-shell {
    display: grid;
    gap: 16px;
}

.rq-shopping-add-card {
    display: grid;
    gap: 10px;
    border: 1px solid var(--rq-border);
    border-radius: 20px;
    padding: 14px;
    background: var(--rq-card, var(--rq-surface));
}

.rq-shopping-add-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 10px;
}

.rq-shopping-add-button {
    min-height: 48px;
    padding: 0;
    font-size: 24px;
}

.rq-shopping-add-meta,
.rq-shopping-edit-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 10px;
}

.rq-shopping-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rq-chip-button {
    border: 1px solid var(--rq-border);
    border-radius: 999px;
    min-height: 38px;
    padding: 0 14px;
    background: rgba(255,255,255,0.07);
    color: var(--rq-text);
    font-size: 12px;
    font-weight: 900;
}

.rq-chip-button:disabled {
    opacity: 0.5;
}

.rq-chip-button-danger,
.rq-danger-text {
    color: var(--rq-danger);
}

.rq-shopping-list {
    display: grid;
    gap: 12px;
}

.rq-shopping-item {
    display: grid;
    grid-template-columns: 44px 66px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    border: 1px solid var(--rq-border);
    border-radius: 20px;
    padding: 12px;
    background: var(--rq-card, var(--rq-surface));
}

.rq-shopping-item.is-checked {
    opacity: 0.68;
}

.rq-shopping-item.is-checked .rq-shopping-title {
    text-decoration: line-through;
}

.rq-shopping-check {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 2px solid color-mix(in srgb, var(--rq-accent) 60%, var(--rq-border));
    border-radius: 14px;
    background: transparent;
    color: var(--rq-accent);
    font-size: 22px;
    font-weight: 950;
}

.rq-shopping-thumb {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    overflow: hidden;
    border-radius: 16px;
    background: radial-gradient(circle at top left, var(--rq-accent-soft), transparent 70%), rgba(255,255,255,0.06);
    color: var(--rq-accent);
    font-weight: 950;
}

.rq-shopping-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
}

.rq-shopping-content {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.rq-shopping-title {
    color: var(--rq-text);
    font-size: 15px;
    font-weight: 950;
    line-height: 1.25;
}

.rq-shopping-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rq-shopping-meta span,
.rq-shopping-validity {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    border: 1px solid var(--rq-border);
    border-radius: 999px;
    padding: 0 8px;
    color: var(--rq-muted);
    font-size: 11px;
    font-weight: 850;
}

.rq-shopping-note {
    color: var(--rq-muted);
    font-size: 12px;
}

.rq-shopping-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rq-icon-text-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--rq-accent);
    font-size: 12px;
    font-weight: 900;
}

.rq-app-shell.rq-theme-light .rq-shopping-add-card,
.rq-app-shell.rq-theme-light .rq-shopping-item {
    background: rgba(255,255,255,0.93);
    box-shadow: 0 16px 40px rgba(15,23,42,0.07);
}
.rq-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--rq-card-border);
    border-radius: 16px;
    background: var(--rq-card);
    color: var(--rq-text);
    text-decoration: none;
}

.rq-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(37, 211, 102, .35);
    color: var(--rq-accent);
    background: rgba(37, 211, 102, .12);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.rq-support-message {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--rq-card-border);
    background: rgba(255, 255, 255, .045);
}

.rq-support-message-own {
    border-color: rgba(37, 211, 102, .35);
    background: rgba(37, 211, 102, .10);
}

.rq-empty {
    padding: 16px 0 2px;
    color: var(--rq-muted);
}

/* Customer coupon experience */
.rql-customer-page {
    width: min(100%, 720px);
    margin: 0 auto;
    padding: 6px 0 calc(132px + env(safe-area-inset-bottom));
}

.rql-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.rql-page-head h1 {
    margin: 0;
    color: var(--rq-text);
    font-size: 28px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.rql-page-head p {
    margin: 7px 0 0;
    color: var(--rq-muted);
    font-size: 14px;
}

.rql-card-shortcut {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 0;
    padding: 0 18px;
    background: var(--rq-accent);
    color: #04150b;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.rql-filter-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 14px;
    scrollbar-width: none;
}

.rql-chip {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--rq-border);
    background: var(--rq-card);
    color: var(--rq-text);
    font-weight: 850;
}

.rql-chip-active {
    background: var(--rq-accent);
    color: #04150b;
}

.rq-coupon-products {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.rq-coupon-product-pill {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid var(--rq-border);
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: var(--rq-text);
    font-size: 11px;
    font-weight: 850;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rq-customer-card-active-coupons {
    margin-top: 18px;
}

.rq-coupon-detail {
    display: grid;
    gap: 16px;
}

.rq-coupon-detail-hero,
.rq-coupon-detail-section,
.rq-coupon-detail-actions {
    display: grid;
    gap: 14px;
}

.rq-coupon-detail-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    border: 1px solid var(--rq-border);
    border-radius: 22px;
    padding: 16px;
    background: rgba(255,255,255,0.055);
}

.rq-coupon-detail-image {
    min-height: 220px;
    display: grid;
    place-items: center;
}

.rq-coupon-detail-image-empty {
    display: grid;
    place-items: center;
    width: min(100%, 180px);
    min-height: 96px;
    border: 1px dashed var(--rq-border);
    border-radius: 18px;
    color: var(--rq-muted);
    font-size: 13px;
    font-weight: 850;
}

.rq-coupon-detail-image:has(.rq-coupon-detail-image-empty) {
    min-height: 120px;
}

.rq-coupon-detail-image img {
    width: 100%;
    max-height: 240px;
    object-fit: contain;
}

.rq-coupon-detail-copy {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.rq-coupon-detail-copy h2,
.rq-coupon-detail-section h2 {
    margin: 0;
    color: var(--rq-text);
    font-size: 18px;
    line-height: 1.2;
}

.rq-coupon-detail-copy p,
.rq-coupon-terms {
    margin: 0;
    color: var(--rq-muted);
    line-height: 1.45;
}

.rq-coupon-product-list {
    display: grid;
    gap: 10px;
}

.rq-coupon-product-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--rq-border);
    border-radius: 16px;
    background: rgba(255,255,255,0.045);
}

.rq-coupon-product-row strong,
.rq-coupon-product-row span {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.rq-coupon-product-row span {
    color: var(--rq-muted);
    font-size: 12px;
    margin-top: 3px;
}

.rq-coupon-product-image {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
}

.rq-coupon-product-image-empty {
    display: grid;
    place-items: center;
    color: var(--rq-muted);
    font-weight: 950;
}

.rq-coupon-steps {
    margin: 0;
    padding-left: 22px;
    color: var(--rq-muted);
    display: grid;
    gap: 8px;
}

.rq-coupon-detail-actions {
    position: sticky;
    bottom: calc(90px + env(safe-area-inset-bottom));
    padding: 10px 0;
    background: linear-gradient(180deg, transparent, var(--rq-bg) 18%);
}

@media (max-width: 390px) {
    .rq-coupon-detail-hero {
        grid-template-columns: 1fr;
    }

    .rq-coupon-detail-image {
        min-height: 172px;
    }

    .rq-coupon-detail-actions {
        bottom: calc(82px + env(safe-area-inset-bottom));
    }
}

/* Keep the final mobile dock authoritative over legacy shell rules above. */
.rq-app-shell {
    padding-bottom: 0;
}

.rq-mobile-container {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
}

.rq-bottom-nav {
    bottom: 0;
    width: min(520px, 100%);
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    border-width: 1px 1px 0;
    border-radius: 22px 22px 0 0;
    background: #06100b;
    backdrop-filter: none;
}

@media (max-width: 540px) {
    .rq-mobile-container {
        padding-bottom: calc(104px + env(safe-area-inset-bottom));
    }

    .rq-bottom-nav {
        bottom: 0;
        width: 100%;
        gap: 2px;
        padding: 9px 8px calc(9px + env(safe-area-inset-bottom));
        border-radius: 22px 22px 0 0;
    }

    .rq-bottom-nav a {
        min-height: 62px;
        border-radius: 15px;
    }

    .rq-loyalty-card:not(.rq-loyalty-card-no-image) .rq-loyalty-card-media {
        aspect-ratio: 16 / 7.5;
    }

    .rq-points-label {
        display: inline;
        font-size: 9px;
    }

    .rql-filter-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
        padding: 2px 0 14px;
    }

    .rql-chip {
        width: 100%;
        min-width: 0;
        padding-inline: 10px;
        white-space: normal;
        line-height: 1.15;
        text-align: center;
    }

    .rql-filter-row > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* RETAILQ-UX-DEMO-01: meaningful coupon-activation feedback */
.rq-demo-notice{display:flex;align-items:center;gap:12px;padding:14px 16px;margin:14px 0 18px;border:1px solid color-mix(in srgb,var(--rq-accent-2) 40%,transparent);border-radius:14px;background:color-mix(in srgb,var(--rq-accent-2) 8%,var(--rq-card,#fff));box-shadow:0 10px 28px rgba(0,0,0,.07);animation:rq-demo-enter .22s ease-out}
.rq-demo-notice-icon{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:50%;background:var(--rq-accent-2);color:#092b22;font-size:20px;font-weight:900}
.rq-demo-notice>div{display:grid;gap:3px;flex:1;min-width:0}.rq-demo-notice strong{font-weight:800}.rq-demo-notice>div>span{font-size:.86rem;line-height:1.35;color:var(--rq-muted)}
.rq-demo-notice>a{font-size:.86rem;font-weight:800;color:var(--rq-accent-2);white-space:nowrap}
.rq-demo-notice-dismiss{border:0;background:transparent;color:var(--rq-muted);font-size:22px;cursor:pointer;min-width:30px;min-height:36px}
@keyframes rq-demo-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:500px){.rq-demo-notice{flex-wrap:wrap}.rq-demo-notice>a{margin-left:48px}}
@media(prefers-reduced-motion:reduce){.rq-demo-notice{animation:none}}
