:root {
    --warm: #fcf6f5;
    --red: #990011;
    --red-2: #bd0018;
    --text: #1e1e1e;
    --muted: #6f6a6a;
    --surface: #ffffff;
    --border: #e9dedd;
    --green: #168a4a;
    --amber: #c47a00;
    --danger: #b42318;
    --shadow: 0 18px 50px rgba(79, 21, 26, .12);
    --soft-shadow: 0 12px 28px rgba(35, 19, 20, .08);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
    min-height: 100%;
    background: var(--warm);
    color: var(--text);
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.marketing-body {
    background:
        radial-gradient(circle at 20% 12%, rgba(153, 0, 17, .08), transparent 32%),
        linear-gradient(180deg, #fffaf9 0%, var(--warm) 46%, #ffffff 100%);
}

.site-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1160px;
    padding: 24px;
    width: 100%;
}

.brand-lockup {
    align-items: center;
    display: inline-flex;
    font-weight: 800;
    gap: 10px;
}

.brand-lockup img {
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(153, 0, 17, .2);
}

.header-link {
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--red);
    font-weight: 800;
    padding: 10px 16px;
}

.hero {
    align-items: center;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .75fr);
    margin: 0 auto;
    max-width: 1160px;
    min-height: calc(100vh - 220px);
    padding: 24px 24px 70px;
}

.eyebrow {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 60px;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
    max-width: 780px;
}

.hero-text {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.6;
    margin: 22px 0 0;
    max-width: 690px;
}

.hero-actions,
.auth-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.primary-button,
.secondary-button {
    align-items: center;
    border: 0;
    border-radius: 16px;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    text-align: center;
}

.primary-button {
    background: var(--red);
    box-shadow: 0 12px 28px rgba(153, 0, 17, .2);
    color: #fff;
}

.secondary-button {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--red);
}

/* ---- Instant tap feedback (mobile-first) ----
 * Without an immediate response a tap feels "dead", so users tap again and
 * sometimes hit a neighbouring control. These rules give every interactive
 * element a physical press response plus clean touch handling. */
.primary-button,
.secondary-button,
.wallet-action,
.wallet-eye,
.icon-button,
.filter-button,
.notification-button,
.nav-item,
.profile-row,
.segment-control button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: transform .12s ease, opacity .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.primary-button:active,
.secondary-button:active,
.wallet-action:active {
    transform: scale(.97);
    box-shadow: 0 6px 16px rgba(153, 0, 17, .18);
}

.profile-row:active,
.nav-item:active {
    transform: scale(.98);
    background: rgba(153, 0, 17, .05);
}

.icon-button:active,
.filter-button:active,
.notification-button:active,
.wallet-eye:active {
    transform: scale(.92);
    opacity: .85;
}

/* Disabled + busy (set by loading-feedback.js on submit) */
.primary-button:disabled,
.secondary-button:disabled,
.primary-button.is-busy,
.secondary-button.is-busy,
.wallet-action.is-busy {
    opacity: .65;
    cursor: not-allowed;
}

.is-busy {
    pointer-events: none;
    position: relative;
}

/* Inline spinner on the pressed button so the action is obviously registered.
 * Reuses the `sb-spin` keyframe defined in loading-feedback.css. */
.primary-button.is-busy::after,
.secondary-button.is-busy::after,
.wallet-action.is-busy::after {
    content: "";
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    animation: sb-spin .7s linear infinite;
}

.secondary-button.is-busy::after {
    border-color: rgba(153, 0, 17, .25);
    border-top-color: var(--red);
}

@media (prefers-reduced-motion: reduce) {
    .primary-button,
    .secondary-button,
    .wallet-action,
    .wallet-eye,
    .icon-button,
    .filter-button,
    .notification-button,
    .nav-item,
    .profile-row,
    .segment-control button {
        transition: none;
    }

    .primary-button:active,
    .secondary-button:active,
    .wallet-action:active,
    .profile-row:active,
    .nav-item:active,
    .icon-button:active,
    .filter-button:active,
    .notification-button:active,
    .wallet-eye:active {
        transform: none;
    }
}

.full { width: 100%; }

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.dmca-trust-badge {
    align-items: center;
    display: flex;
    margin-top: 18px;
}

.dmca-trust-badge a {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--soft-shadow);
    display: inline-flex;
    padding: 8px;
}

.dmca-trust-badge img {
    display: block;
    height: auto;
    max-width: 150px;
}

.auth-card .dmca-trust-badge,
.bottom-sheet .dmca-trust-badge {
    justify-content: center;
}

.bottom-sheet .dmca-trust-badge {
    margin-top: 14px;
}

.trust-strip span,
.badge-row span,
.status-pill,
.filter-chip,
.chip-cloud button {
    align-items: center;
    background: rgba(153, 0, 17, .07);
    border: 1px solid rgba(153, 0, 17, .09);
    border-radius: 999px;
    color: var(--red);
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    min-height: 28px;
    padding: 5px 10px;
}

.hero-phone { display: flex; justify-content: center; }

.mini-phone {
    aspect-ratio: 9 / 18;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--border);
    border-radius: 42px;
    box-shadow: var(--shadow);
    max-width: 330px;
    overflow: hidden;
    padding: 28px 20px;
    position: relative;
    width: 100%;
}

.mini-status {
    background: #171717;
    border-radius: 999px;
    height: 7px;
    margin: 0 auto 28px;
    width: 82px;
}

.mini-wallet {
    background: linear-gradient(135deg, #bd0018, #76000d);
    border-radius: 24px;
    color: #fff;
    min-height: 138px;
    padding: 22px;
}

.mini-wallet span,
.mini-card span {
    color: rgba(255, 255, 255, .78);
    display: block;
    font-size: 13px;
}

.mini-wallet strong {
    display: block;
    font-size: 34px;
    margin-top: 16px;
}

.mini-platforms {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
    margin: 16px 0;
}

.mini-platforms span {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--soft-shadow);
    display: flex;
    font-size: 12px;
    font-weight: 900;
    height: 54px;
    justify-content: center;
}

.mini-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    margin-top: 12px;
    padding: 14px;
}

.mini-card span {
    color: var(--red);
    margin-top: 6px;
}

.mini-progress {
    background: #f0e4e2;
    border-radius: 999px;
    height: 8px;
    margin-top: 18px;
    overflow: hidden;
}

.mini-progress span {
    background: var(--red);
    display: block;
    height: 100%;
    width: 66%;
}

.feature-band {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1160px;
    padding: 12px 24px 82px;
}

.feature-band article {
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
}

.feature-band h2 {
    font-size: 19px;
    line-height: 1.25;
    margin: 14px 0 8px;
}

.feature-band p,
.africa-copy p {
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.feature-icon {
    align-items: center;
    background: var(--red);
    border-radius: 14px;
    color: #fff;
    display: flex;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.africa-copy {
    align-items: center;
    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 18px;
    justify-content: center;
    padding: 34px 24px;
    text-align: center;
}

.splash-screen,
.auth-wrap {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.splash-screen {
    flex-direction: column;
    text-align: center;
}

.splash-icon,
.auth-logo {
    border-radius: 26px;
    box-shadow: 0 20px 46px rgba(153, 0, 17, .28);
    height: 104px;
    width: 104px;
}

.splash-screen h1,
.auth-card h1 {
    font-size: 38px;
    margin: 22px 0 8px;
}

.splash-screen p,
.auth-card p {
    color: var(--muted);
    margin: 0;
}

.loader-bar {
    background: #eadad8;
    border-radius: 999px;
    height: 8px;
    margin: 32px 0 26px;
    max-width: 260px;
    overflow: hidden;
    width: 100%;
}

.loader-bar span {
    animation: loading 1.4s ease-in-out infinite;
    background: var(--red);
    border-radius: inherit;
    display: block;
    height: 100%;
    width: 46%;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(230%); }
}

.auth-card {
    background: rgba(255, 255, 255, .88);
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow);
    max-width: 430px;
    padding: 30px;
    width: 100%;
}

.auth-logo {
    height: 72px;
    margin-bottom: 20px;
    width: 72px;
}

.auth-alert {
    background: rgba(180, 35, 24, .08);
    border: 1px solid rgba(180, 35, 24, .14);
    border-radius: 14px;
    color: var(--danger);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    margin-top: 18px;
    padding: 12px 14px;
}

.auth-alert.success {
    background: rgba(22, 138, 74, .08);
    border-color: rgba(22, 138, 74, .16);
    color: var(--green);
}

.auth-tabs {
    background: rgba(153, 0, 17, .06);
    border: 1px solid rgba(153, 0, 17, .1);
    border-radius: 18px;
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 22px;
    padding: 6px;
}

.auth-tabs a {
    align-items: center;
    border-radius: 13px;
    color: var(--muted);
    display: flex;
    font-weight: 900;
    justify-content: center;
    min-height: 40px;
}

.auth-tabs a.is-active {
    background: #fff;
    box-shadow: var(--soft-shadow);
    color: var(--red);
}

.auth-form,
.order-form,
.sheet-form { margin-top: 24px; }

.order-form .primary-button,
.sheet-form .primary-button { margin-top: 16px; }

.field-label {
    color: var(--muted);
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin: 14px 0 8px;
}

.input {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text);
    min-height: 50px;
    outline: none;
    padding: 0 14px;
    width: 100%;
}

.smart-select-native {
    height: 1px !important;
    margin: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    width: 1px !important;
}

.smart-select-trigger {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-height: 52px;
    padding: 9px 14px;
    text-align: left;
    width: 100%;
}

.smart-select-trigger span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.smart-select-trigger strong,
.smart-select-trigger small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.smart-select-trigger strong {
    font-size: 14px;
    font-weight: 800;
}

.smart-select-trigger small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.smart-select-trigger > em {
    color: var(--text);
    flex: 0 0 auto;
    font-size: 20px;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}

.smart-select-trigger:focus-visible {
    box-shadow: 0 0 0 3px rgba(153, 0, 17, .12);
    outline: none;
}

.smart-select-trigger.is-disabled {
    color: var(--muted);
    cursor: not-allowed;
    opacity: .7;
}

.textarea {
    min-height: 104px;
    padding: 14px;
    resize: vertical;
}

.auth-links { justify-content: space-between; }
.auth-links a { color: var(--red); font-weight: 800; }

.auth-check {
    align-items: center;
    color: var(--muted);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
    margin: 14px 0 18px;
}

.auth-check input {
    accent-color: var(--red);
    height: 16px;
    width: 16px;
}

.otp-input {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .2em;
    text-align: center;
}

.auth-inline-form {
    margin: 14px 0 0;
    text-align: center;
}

.auth-inline-form button {
    background: transparent;
    border: 0;
    color: var(--red);
    font-weight: 900;
}

.profile-logout-form { margin: 0; }
.profile-logout-form .profile-row { width: 100%; }

.app-body {
    align-items: stretch;
    background:
        radial-gradient(circle at 12% 0%, rgba(153, 0, 17, .08), transparent 34%),
        linear-gradient(180deg, #fff 0%, var(--warm) 100%);
    display: flex;
    justify-content: center;
}

.phone-shell {
    background: rgba(252, 246, 245, .96);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 28px 70px rgba(61, 30, 33, .14);
    min-height: 100vh;
    max-width: 430px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.status-bar {
    align-items: center;
    display: flex;
    font-weight: 900;
    justify-content: space-between;
    min-height: 42px;
    padding: 10px 22px 2px;
}

.status-icons {
    font-size: 13px;
    word-spacing: 5px;
}

.screen-content {
    height: calc(100vh - 42px);
    overflow-y: auto;
    padding: 18px 18px 108px;
    scrollbar-width: none;
}

.screen-content::-webkit-scrollbar { display: none; }

.app-alert {
    background: rgba(180, 35, 24, .08);
    border: 1px solid rgba(180, 35, 24, .14);
    border-radius: 16px;
    color: var(--danger);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    margin: 8px 0 16px;
    padding: 12px 14px;
}

.app-alert.success {
    background: rgba(22, 138, 74, .08);
    border-color: rgba(22, 138, 74, .16);
    color: var(--green);
}

.app-header,
.compact-header,
.profile-head,
.detail-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.app-header h1,
.compact-header h1,
.profile-head h1 {
    font-size: 30px;
    line-height: 1.1;
    margin: 0;
}

.app-header p,
.compact-header p,
.profile-head p,
.listing-hero p,
.order-detail-head p {
    color: var(--muted);
    margin: 6px 0 0;
}

.header-actions {
    align-items: center;
    display: flex;
    gap: 12px;
}

.notification-button,
.filter-button,
.icon-button {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text);
    display: flex;
    font-weight: 900;
    height: 48px;
    justify-content: center;
    position: relative;
    width: 48px;
}

.notification-button span {
    align-items: center;
    background: var(--red);
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-size: 11px;
    height: 20px;
    justify-content: center;
    position: absolute;
    right: 5px;
    top: 4px;
    width: 20px;
}

.avatar {
    align-items: center;
    background: linear-gradient(135deg, #fff, #eadad8);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--red);
    display: flex;
    font-weight: 900;
    height: 50px;
    justify-content: center;
    width: 50px;
}

.avatar.large {
    flex: 0 0 auto;
    height: 70px;
    width: 70px;
}

.search-row {
    align-items: center;
    display: flex;
    gap: 10px;
    margin: 18px 0;
}

.search-box {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    display: flex;
    flex: 1;
    gap: 10px;
    min-height: 54px;
    padding: 0 14px;
}

.search-box span {
    color: var(--muted);
    font-size: 22px;
}

.search-box input {
    border: 0;
    color: var(--text);
    min-width: 0;
    outline: 0;
    width: 100%;
}

.wallet-card {
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, .18), transparent 30%),
        linear-gradient(135deg, #c40017 0%, #8d0010 55%, #6b000d 100%);
    border-radius: 24px;
    box-shadow: 0 18px 38px rgba(153, 0, 17, .24);
    color: #fff;
    min-height: 252px;
    overflow: hidden;
    padding: 22px;
    position: relative;
}

.wallet-lines {
    background:
        repeating-radial-gradient(ellipse at 92% 72%, rgba(255, 255, 255, .13) 0 1px, transparent 1px 22px);
    inset: 34px -70px -88px 120px;
    opacity: .45;
    position: absolute;
}

.wallet-top,
.wallet-actions,
.listing-foot,
.section-title,
.price-row,
.large-progress,
.chat-input {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.wallet-top,
.wallet-card p,
.wallet-card h2,
.wallet-actions { position: relative; }

.wallet-top strong {
    align-items: center;
    display: flex;
    font-size: 18px;
    gap: 9px;
}

.wallet-top button {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    min-height: 42px;
    padding: 0 15px;
}

.wallet-card p {
    color: rgba(255, 255, 255, .76);
    margin: 28px 0 4px;
}

.wallet-card h2 {
    font-size: 42px;
    line-height: 1;
    margin: 0 0 22px;
}

.wallet-action {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .55);
    flex: 1;
    font-weight: 900;
    min-height: 58px;
}

.wallet-action.primary {
    background: #fff;
    color: var(--text);
}

.wallet-action.ghost {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.platform-row {
    display: grid;
    gap: 10px;
    grid-auto-columns: 75px;
    grid-auto-flow: column;
    margin: 16px -18px 0;
    overflow-x: auto;
    padding: 2px 18px 14px;
    scrollbar-width: none;
}

.platform-row::-webkit-scrollbar,
.related-row::-webkit-scrollbar,
.chip-row::-webkit-scrollbar { display: none; }

.platform-shortcut {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 92px;
    justify-content: center;
    padding: 10px;
}

.platform-shortcut span,
.listing-icon,
.asset-thumb,
.hero-thumb {
    align-items: center;
    background: var(--platform-color, var(--red));
    color: #fff;
    display: flex;
    font-weight: 900;
    justify-content: center;
}

.platform-shortcut span {
    border-radius: 16px;
    height: 38px;
    width: 38px;
}

.platform-shortcut small {
    color: var(--text);
    font-size: 12px;
}

.section-block { margin-top: 22px; }
.section-title { margin-bottom: 10px; }

.section-title h2,
.detail-card h2 {
    font-size: 19px;
    margin: 0;
}

.section-title a,
.section-title button {
    background: transparent;
    border: 0;
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
}

.card-grid {
    display: grid;
    gap: 12px;
}

.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.listing-card,
.asset-card,
.order-card,
.portfolio-card,
.detail-card,
.wallet-summary,
.profile-row,
.market-card,
.related-card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
}

.listing-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 160px;
    padding: 16px;
}

.listing-main {
    display: flex;
    gap: 12px;
    min-width: 0;
}

.listing-icon {
    border-radius: 14px;
    flex: 0 0 auto;
    height: 48px;
    width: 48px;
}

.listing-icon.dark { background: #111; }

.listing-icon img,
.hero-thumb img {
    border-radius: inherit;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.listing-main h3,
.asset-card h3,
.order-info h3,
.order-info h2,
.market-title h2 {
    font-size: 15px;
    line-height: 1.2;
    margin: 0;
}

.listing-main p,
.asset-card p,
.order-info p,
.market-body p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
    margin: 4px 0 0;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge-row span {
    background: #fbefee;
    border: 0;
    font-size: 11px;
    min-height: 24px;
    padding: 4px 8px;
}

.badge-row.prominent span {
    background: rgba(153, 0, 17, .08);
    min-height: 30px;
}

.listing-foot { margin-top: auto; }

.listing-foot strong,
.asset-card strong,
.price-stack strong {
    color: var(--red);
    font-size: 20px;
}

.listing-foot small,
.price-stack small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.listing-foot span {
    color: var(--muted);
    font-size: 12px;
}

.order-card {
    align-items: center;
    display: flex;
    gap: 12px;
    padding: 14px;
}

.order-card.tall {
    align-items: stretch;
    display: block;
    margin-bottom: 12px;
}

.order-card-link {
    align-items: center;
    display: flex;
    gap: 12px;
}

.order-info {
    flex: 1;
    min-width: 0;
}

.progress-bar {
    background: #eee1df;
    border-radius: 999px;
    height: 8px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar span,
.large-progress span {
    background: var(--red);
    border-radius: inherit;
    display: block;
    height: 100%;
}

.order-meta {
    color: var(--muted);
    display: flex;
    flex-direction: column;
    font-size: 12px;
    gap: 8px;
    text-align: right;
}

.status-pill {
    align-self: flex-end;
    background: #ffeeee;
}

.asset-card {
    display: grid;
    gap: 12px;
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 16px;
}

.asset-thumb {
    align-self: start;
    border-radius: 22px;
    height: 58px;
    width: 58px;
}

.portfolio-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-card {
    align-items: center;
    display: flex;
    gap: 12px;
    padding: 16px;
    text-align: left;
}

.portfolio-card span {
    align-items: center;
    background: #f7dddd;
    border-radius: 999px;
    color: var(--red);
    display: flex;
    flex: 0 0 auto;
    font-weight: 900;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.portfolio-card p {
    color: var(--muted);
    margin: 0;
}

.portfolio-card h3 {
    font-size: 22px;
    margin: 2px 0;
}

.portfolio-card small {
    color: var(--green);
    font-size: 12px;
}

.button-card {
    border: 1px solid var(--border);
    color: inherit;
}

.bottom-nav {
    align-items: center;
    background: rgba(255, 255, 255, .94);
    border-top: 1px solid var(--border);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 86px;
    left: 0;
    padding: 8px 18px 18px;
    position: absolute;
    right: 0;
    z-index: 20;
}

.nav-item {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    font-size: 12px;
    font-weight: 800;
    gap: 5px;
}

.nav-icon {
    align-items: center;
    border-radius: 14px;
    display: flex;
    font-size: 23px;
    height: 34px;
    justify-content: center;
    width: 38px;
}

.nav-item.is-active { color: var(--red); }
.nav-item.is-active .nav-icon { background: var(--red); color: #fff; }

.compact-header { margin-bottom: 6px; }

.segment-control {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 12px 0;
    padding: 4px;
}

.segment-control button {
    background: transparent;
    border: 0;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 900;
    min-height: 42px;
}

.segment-control button.is-active {
    background: var(--red);
    color: #fff;
}

.chip-row {
    display: flex;
    gap: 8px;
    margin: 0 -18px 16px;
    overflow-x: auto;
    padding: 0 18px 4px;
}

.filter-chip {
    background: #fff;
    color: var(--muted);
    flex: 0 0 auto;
}

.filter-chip.is-active {
    background: var(--red);
    color: #fff;
}

.market-list {
    display: grid;
    gap: 12px;
}

.market-card {
    display: flex;
    gap: 13px;
    padding: 14px;
}

.market-body {
    flex: 1;
    min-width: 0;
}

.market-title {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.market-title button {
    background: transparent;
    border: 0;
    color: var(--red);
    font-size: 20px;
    line-height: 1;
}

.empty-state {
    align-items: center;
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    margin-top: 18px;
    padding: 26px 20px;
    text-align: center;
}

.empty-state.compact { padding: 20px; }

.empty-state span {
    align-items: center;
    background: #fbefee;
    border-radius: 999px;
    color: var(--red);
    display: flex;
    font-size: 22px;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.empty-state h2 {
    font-size: 20px;
    margin: 14px 0 6px;
}

.empty-state p {
    color: var(--muted);
    line-height: 1.45;
    margin: 0 0 18px;
}

.detail-header { margin-bottom: 18px; }
.detail-header .icon-button { font-size: 26px; }

.listing-hero,
.order-detail-head {
    align-items: center;
    display: flex;
    gap: 16px;
}

.hero-thumb {
    border-radius: 30px;
    box-shadow: var(--soft-shadow);
    flex: 0 0 auto;
    font-size: 26px;
    height: 102px;
    width: 102px;
}

.listing-hero h1,
.order-detail-head h1 {
    font-size: 28px;
    line-height: 1.08;
    margin: 0;
}

.detail-card {
    margin-top: 16px;
    padding: 18px;
}

.price-stack { margin-bottom: 12px; }

.price-stack span {
    color: var(--muted);
    display: block;
    font-weight: 800;
    margin-bottom: 4px;
}

.detail-card p {
    color: var(--muted);
    line-height: 1.48;
}

.detail-list {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr auto;
    margin-top: 14px;
}

.detail-list span { color: var(--muted); }

.proof-preview {
    align-items: center;
    display: flex;
    gap: 14px;
}

.proof-preview > span {
    background: linear-gradient(135deg, var(--red), #111);
    border-radius: 18px;
    display: block;
    flex: 0 0 auto;
    height: 70px;
    width: 70px;
}

.related-row {
    display: grid;
    gap: 10px;
    grid-auto-columns: 132px;
    grid-auto-flow: column;
    margin: 0 -18px;
    overflow-x: auto;
    padding: 0 18px 4px;
}

.related-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
}

.related-card .listing-icon {
    height: 42px;
    width: 42px;
}

.related-card small {
    color: var(--red);
    font-weight: 900;
}

.sticky-cta {
    align-items: center;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--border);
    border-radius: 22px;
    bottom: 100px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    left: 18px;
    padding: 12px;
    position: sticky;
    right: 18px;
    z-index: 10;
}

.sticky-cta span {
    color: var(--muted);
    display: block;
    font-size: 12px;
    font-weight: 800;
}

.sticky-cta strong {
    color: var(--red);
    font-size: 20px;
}

.sticky-cta.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-segments { margin-top: 14px; }

.quick-actions {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
}

.quick-actions a,
.quick-actions button {
    align-items: center;
    background: #fbefee;
    border: 0;
    border-radius: 12px;
    color: var(--red);
    display: flex;
    font-size: 12px;
    font-weight: 900;
    justify-content: center;
    min-height: 38px;
    padding: 0 8px;
}

.large-progress > div {
    background: #eee1df;
    border-radius: 999px;
    flex: 1;
    height: 12px;
    overflow: hidden;
}

.large-progress strong { color: var(--red); }

.timeline { margin-top: 16px; }

.timeline-item {
    display: grid;
    gap: 12px;
    grid-template-columns: 22px minmax(0, 1fr);
    min-height: 42px;
}

.timeline-item span {
    background: #eadad8;
    border-radius: 999px;
    height: 14px;
    margin-top: 3px;
    width: 14px;
}

.timeline-item.done span,
.timeline-item.active span { background: var(--red); }
.timeline-item p { margin: 0; }

.profile-head {
    justify-content: flex-start;
    margin-bottom: 18px;
}

.wallet-summary {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 18px;
}

.wallet-summary span,
.wallet-summary small {
    color: var(--muted);
    display: block;
}

.wallet-summary strong {
    color: var(--red);
    display: block;
    font-size: 28px;
    margin: 4px 0;
}

.wallet-summary .private-ledger {
    display: inline;
}

.wallet-summary-actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.profile-list {
    display: grid;
    gap: 10px;
}

.profile-row {
    align-items: center;
    border-radius: 18px;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    padding: 16px;
    text-align: left;
}

.profile-row span { font-weight: 900; }

.profile-row small {
    color: var(--muted);
    display: block;
    font-weight: 600;
    margin-top: 4px;
}

.profile-row strong { color: var(--red); }
.profile-row.danger strong,
.profile-row.danger span { color: var(--danger); }

.crypto-hero-panel {
    background: linear-gradient(145deg, #8f0011 0%, #4f1018 100%);
    border-radius: 22px;
    box-shadow: 0 16px 32px rgba(87, 3, 13, .18);
    color: #fff;
    display: grid;
    gap: 10px;
    overflow: hidden;
    padding: 12px;
    position: relative;
}

.crypto-hero-panel::after {
    background: rgba(255, 255, 255, .12);
    border-radius: 999px;
    content: "";
    height: 132px;
    position: absolute;
    right: -52px;
    top: -48px;
    width: 132px;
}

.crypto-hero-top,
.crypto-hero-metrics,
.crypto-address-head,
.crypto-address-body,
.crypto-confirmation-card {
    position: relative;
    z-index: 1;
}

.crypto-hero-top {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.crypto-hero-panel .filter-button {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
}

.crypto-live-pill,
.crypto-ready-pill {
    align-items: center;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    min-height: 26px;
    padding: 6px 9px;
}

.crypto-hero-copy h1 {
    font-size: 25px;
    letter-spacing: 0;
    line-height: 1;
    margin: 5px 0;
}

.crypto-hero-copy p:not(.eyebrow) {
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.32;
    margin: 0;
}

.crypto-hero-metrics {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.crypto-hero-metrics span {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 11px;
}

.crypto-hero-metrics strong {
    font-size: 13px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.crypto-hero-metrics small {
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
    font-weight: 800;
}

.crypto-trust-band {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.crypto-trust-band span {
    background: rgba(22, 138, 74, .08);
    border: 1px solid rgba(22, 138, 74, .12);
    border-radius: 999px;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    min-height: 28px;
    padding: 7px 10px;
}

.crypto-currency-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 10px 0;
}

.crypto-currency-card,
.crypto-address-panel {
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--soft-shadow);
}

.crypto-currency-card {
    align-content: center;
    display: grid;
    gap: 6px;
    min-height: 92px;
    padding: 10px;
    position: relative;
}

.crypto-currency-card.is-active {
    border-color: rgba(153, 0, 17, .34);
    box-shadow: 0 10px 24px rgba(153, 0, 17, .1);
}

.crypto-currency-card a {
    display: grid;
    gap: 4px;
}

.crypto-card-code {
    background: #f5e7e9;
    border-radius: 999px;
    color: var(--red);
    font-size: 9px;
    font-weight: 950;
    justify-self: start;
    letter-spacing: 0;
    padding: 4px 7px;
}

.crypto-currency-card strong,
.crypto-currency-card span,
.crypto-currency-card small {
    display: block;
}

.crypto-currency-card strong {
    color: var(--text);
    font-size: 15px;
    line-height: 1.12;
}

.crypto-currency-card small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.crypto-currency-card form {
    align-self: end;
}

.crypto-currency-card button {
    background: var(--red);
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    min-height: 28px;
    width: 100%;
}

.crypto-network-toggle {
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(42, 16, 18, .06);
    display: flex;
    gap: 10px;
    margin: 8px 0;
    padding: 8px;
    align-items: center;
}

.crypto-network-toggle h2 {
    font-size: 13px;
    margin: 0;
}

.crypto-network-toggle > div:first-child {
    flex: 0 0 92px;
}

.crypto-network-options {
    background: #f7f0f1;
    border: 1px solid var(--border);
    border-radius: 15px;
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 5px;
    flex: 1;
    min-width: 0;
}

.crypto-network-options a {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    display: grid;
    gap: 2px;
    min-height: 48px;
    padding: 7px;
}

.crypto-network-options a.is-active {
    background: #fff;
    border-color: rgba(153, 0, 17, .18);
    box-shadow: 0 10px 22px rgba(42, 16, 18, .08);
}

.crypto-network-options strong {
    color: var(--text);
    font-size: 14px;
}

.crypto-network-options span,
.crypto-network-options small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
}

.crypto-ready-pill {
    background: rgba(22, 138, 74, .08);
    border: 0;
    border-color: transparent;
    color: transparent;
    font-size: 0;
    height: 10px;
    min-height: 10px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 10px;
}

.crypto-ready-pill::after {
    background: var(--green);
    border-radius: 999px;
    content: "";
    display: block;
    height: 10px;
    width: 10px;
}

.crypto-ready-pill.muted {
    background: transparent;
}

.crypto-ready-pill.muted::after {
    background: #c9babc;
}

.crypto-address-panel {
    margin-top: 8px;
    padding: 12px;
}

.crypto-address-head {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.crypto-address-head h2 {
    font-size: 18px;
    line-height: 1.15;
    margin: 0;
}

.crypto-address-body {
    align-items: stretch;
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.crypto-qr-card {
    align-items: center;
    background: #faf6f6;
    border: 1px solid var(--border);
    border-radius: 18px;
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 8px;
}

.crypto-qr-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.crypto-qr {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    height: 166px;
    padding: 10px;
    width: 166px;
}

.crypto-address-copy {
    display: grid;
    gap: 8px;
    justify-items: stretch;
    min-width: 0;
}

.crypto-address-copy span,
.crypto-warning {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.crypto-address-copy code {
    background: #fcf8f6;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    display: block;
    font-size: 12px;
    line-break: anywhere;
    min-height: 48px;
    padding: 10px;
    text-align: center;
}

.crypto-warning {
    background: rgba(196, 122, 0, .08);
    border: 1px solid rgba(196, 122, 0, .16);
    border-radius: 14px;
    color: var(--amber);
    margin-top: 10px;
    padding: 10px;
}

.crypto-confirmation-card {
    align-items: center;
    background: #fbf7f7;
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 10px;
    padding: 10px;
}

.crypto-confirmation-card div {
    display: grid;
    gap: 3px;
}

.crypto-confirmation-card strong {
    color: var(--text);
    font-size: 14px;
}

.crypto-confirmation-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.crypto-confirmation-card b {
    color: var(--red);
    font-size: 14px;
    white-space: nowrap;
}

.crypto-timeline {
    margin-top: 12px;
}

.crypto-empty {
    box-shadow: none;
    min-height: 260px;
}

.crypto-history-panel {
    margin-top: 22px;
}

.sheet-backdrop {
    background: rgba(31, 20, 21, .32);
    inset: 0;
    position: fixed;
    /* Must sit above the mobile bottom nav (z-index 100) so the nav is dimmed
       and never covers an open sheet's action button. */
    z-index: 1000;
}

.bottom-sheet {
    background: #fff;
    border-radius: 28px 28px 0 0;
    bottom: 0;
    box-shadow: 0 -24px 60px rgba(37, 18, 20, .22);
    left: 50%;
    max-width: 430px;
    /* Cap the height and scroll internally so tall forms (e.g. manual funding)
       never push their submit button off-screen. */
    max-height: 92vh;
    max-height: min(92dvh, 760px);
    overflow-y: auto;
    overscroll-behavior: contain;
    /* Extra bottom room clears the device home indicator / safe area so the
       last button is always reachable. */
    padding: 10px 18px max(22px, calc(env(safe-area-inset-bottom) + 18px));
    position: fixed;
    transform: translate(-50%, 110%);
    transition: transform .22s ease;
    width: 100%;
    z-index: 1010;
}

.bottom-sheet.is-open { transform: translate(-50%, 0); }

.smart-select-open {
    overflow: hidden;
    padding-right: var(--scrollbar-compensation, 0);
}

.smart-select-popup {
    inset: 0;
    position: fixed;
    /* Above bottom sheets (1010) and the mobile nav (100). */
    z-index: 1100;
}

.smart-select-backdrop {
    background: rgba(31, 20, 21, .38);
    inset: 0;
    position: absolute;
}

.smart-select-panel {
    background: #fff;
    border-radius: 28px 28px 0 0;
    bottom: 0;
    box-shadow: 0 -24px 60px rgba(37, 18, 20, .24);
    display: grid;
    gap: 12px;
    left: 50%;
    max-height: min(74vh, 680px);
    max-width: 430px;
    padding: 10px 18px 18px;
    position: absolute;
    transform: translateX(-50%);
    width: 100%;
}

.smart-select-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.smart-select-head h2 {
    font-size: 22px;
    margin: 0;
}

.smart-select-search {
    align-items: center;
    background: #fbf7f7;
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    gap: 8px;
    min-height: 48px;
    padding: 0 12px;
}

.smart-select-search span {
    color: var(--red);
    font-size: 22px;
    font-weight: 900;
}

.smart-select-search input {
    background: transparent;
    border: 0;
    color: var(--text);
    flex: 1;
    min-width: 0;
    outline: none;
}

.smart-select-list {
    display: grid;
    gap: 8px;
    max-height: min(52vh, 430px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 2px 2px 8px;
}

.smart-select-option {
    align-items: center;
    background: #fffafa;
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-height: 54px;
    padding: 10px 12px;
    text-align: left;
    width: 100%;
}

.smart-select-option span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.smart-select-option strong,
.smart-select-option small {
    overflow: hidden;
    text-overflow: ellipsis;
}

.smart-select-option strong {
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
}

.smart-select-option small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.smart-select-option em {
    align-items: center;
    background: #fbefee;
    border-radius: 999px;
    color: var(--red);
    display: none;
    flex: 0 0 auto;
    font-style: normal;
    font-weight: 900;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.smart-select-option[aria-selected="true"] {
    background: #fbefee;
    border-color: rgba(153, 0, 17, .24);
}

.smart-select-option[aria-selected="true"] em {
    display: flex;
}

.smart-select-option:focus-visible {
    box-shadow: 0 0 0 3px rgba(153, 0, 17, .12);
    outline: none;
}

.smart-select-empty {
    background: #fffafa;
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--muted);
    font-weight: 800;
    padding: 16px;
    text-align: center;
}

@media (min-width: 769px) {
    .smart-select-popup {
        display: grid;
        overflow-y: auto;
        padding: 32px;
        place-items: center;
    }

    .smart-select-backdrop {
        position: fixed;
    }

    .smart-select-panel {
        border-radius: 24px;
        bottom: auto;
        box-shadow: 0 24px 70px rgba(37, 18, 20, .2);
        grid-template-rows: auto auto minmax(0, 1fr) auto;
        left: auto;
        max-height: calc(100vh - 64px);
        max-width: 560px;
        min-height: 360px;
        padding: 18px;
        position: relative;
        transform: none;
        width: min(560px, 100%);
    }

    .smart-select-list {
        max-height: none;
        min-height: 0;
        padding-right: 6px;
    }
}

.sheet-handle {
    background: #dacac9;
    border-radius: 999px;
    height: 5px;
    margin: 0 auto 16px;
    width: 46px;
}

.sheet-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.sheet-head h2 { margin: 0; }

.sheet-head-actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.notification-readall {
    align-items: center;
    background: rgba(153, 0, 17, .08);
    border: 0;
    border-radius: 999px;
    color: var(--red);
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    gap: 6px;
    padding: 8px 14px;
    white-space: nowrap;
}

.notification-readall .icon {
    height: 15px;
    width: 15px;
}

.amount-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.amount-grid button {
    background: #fbefee;
    border: 0;
    border-radius: 14px;
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
    min-height: 46px;
}

.manual-usd-preview {
    background: #f3faf4;
    border: 1px solid #cdeccf;
    border-radius: 12px;
    color: #1f7a33;
    font-size: 13px;
    font-weight: 700;
    margin: 10px 0 0;
    padding: 10px 12px;
}

.funding-action-card {
    background: #fff7ed;
    border: 1px solid #f6d39a;
    border-radius: 18px;
    margin-bottom: 16px;
    padding: 16px 18px;
}

.funding-action-head {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.funding-action-head strong {
    font-size: 16px;
}

.funding-action-badge {
    background: #b45309;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    padding: 4px 10px;
    text-transform: uppercase;
}

.funding-action-text {
    color: #7c5410;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 8px;
}

.funding-action-note {
    background: #fff;
    border: 1px solid #f0dcb6;
    border-radius: 12px;
    color: #92400e;
    font-style: italic;
    margin: 0 0 12px;
    padding: 8px 12px;
}

.funding-action-form {
    display: grid;
    gap: 10px;
}

/* ===== Campaign pop-up (dashboard promo) ===== */
.campaign-popup-open {
    overflow: hidden;
}

.campaign-popup-overlay {
    align-items: center;
    background: rgba(24, 16, 17, .58);
    backdrop-filter: blur(4px);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 1200;
}

.campaign-popup-overlay[hidden] {
    display: none;
}

.campaign-popup {
    animation: campaignPop .26s cubic-bezier(.2, .8, .25, 1);
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(60, 10, 16, .34);
    max-width: 460px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

@keyframes campaignPop {
    from { transform: translateY(18px) scale(.97); opacity: 0; }
    to { transform: none; opacity: 1; }
}

.campaign-popup-close {
    align-items: center;
    background: rgba(20, 12, 13, .42);
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 22px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 36px;
    z-index: 2;
}

.campaign-popup-media {
    display: block;
}

.campaign-popup-image {
    aspect-ratio: 16 / 9;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.campaign-popup-body {
    display: grid;
    gap: 12px;
    padding: 22px 22px 24px;
}

.campaign-popup-title {
    color: #1f1415;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin: 0;
}

.campaign-popup-text {
    color: #6c6062;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

.campaign-popup-code {
    align-items: center;
    background: linear-gradient(135deg, #fff0f1, #ffe4e6);
    border: 1px dashed rgba(153, 0, 17, .4);
    border-radius: 14px;
    color: var(--red);
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 12px 14px;
}

.campaign-popup-code span {
    font-size: 13px;
    font-weight: 700;
}

.campaign-popup-code strong {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .04em;
}

.campaign-popup-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.campaign-popup-btn {
    border-radius: 14px;
    cursor: pointer;
    flex: 1;
    font-size: 15px;
    font-weight: 800;
    min-height: 50px;
    padding: 13px 16px;
    text-align: center;
}

.campaign-popup-btn.primary {
    background: var(--red);
    border: 0;
    box-shadow: 0 12px 28px rgba(153, 0, 17, .28);
    color: #fff;
}

.campaign-popup-btn.ghost {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--muted);
}

@media (max-width: 640px) {
    .campaign-popup-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .campaign-popup {
        border-radius: 26px 26px 0 0;
        max-height: 92dvh;
        max-width: 100%;
        overflow-y: auto;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .campaign-popup-image {
        aspect-ratio: 3 / 2;
    }

    .campaign-popup-body {
        padding: 20px 18px calc(22px + env(safe-area-inset-bottom));
    }

    .campaign-popup-actions {
        flex-direction: column-reverse;
    }
}

.method-list {
    display: grid;
    gap: 10px;
}

.payment-method-list {
    display: grid;
    gap: 10px;
}

.payment-method-row {
    align-items: center;
    background: #fffafa;
    border: 1px solid var(--border);
    border-radius: 18px;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    min-height: 52px;
    padding: 13px 16px;
    text-align: left;
    width: 100%;
}

.payment-method-row span,
.payment-method-row small,
.payment-method-row strong {
    display: block;
}

.payment-method-row span {
    font-weight: 800;
}

.payment-method-row small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 3px;
    max-width: 230px;
}

.payment-method-row strong {
    color: var(--red);
    flex: 0 0 auto;
    font-size: 15px;
    margin-left: 12px;
}

.payment-method-row.is-unavailable {
    opacity: .68;
}

.payment-method-row.is-unavailable strong {
    color: var(--muted);
}

.method-card,
.review-card,
.bank-box {
    align-items: center;
    background: var(--warm);
    border: 1px solid var(--border);
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    text-align: left;
}

.method-card strong,
.price-row strong { color: var(--red); }

.bank-box {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.bank-box strong { font-size: 24px; }

.manual-bank-box {
    margin-top: 14px;
}

.manual-bank-box span,
.manual-bank-box small,
.manual-bank-box p {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
}

.manual-bank-box code {
    color: var(--red);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .04em;
}

.trust-line {
    background: #f3fbf5;
    border-radius: 14px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    margin: 14px 0;
    padding: 12px;
}

.chip-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.chat-window {
    background: var(--warm);
    border: 1px solid var(--border);
    border-radius: 18px;
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
    padding: 14px;
}

.chat-window p { margin: 0; }

.icon {
    display: block;
    height: 20px;
    width: 20px;
}

.listing-icon .catalog-icon-image,
.hero-thumb .catalog-icon-image {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.splash-stage {
    align-items: center;
    background: #f7f1ef;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 14px;
}

.splash-phone {
    align-items: center;
    background: #fcf8f6;
    border: 1px solid #eee4e2;
    border-radius: 28px;
    box-shadow: 0 34px 80px rgba(31, 25, 24, .14);
    display: flex;
    justify-content: center;
    max-width: 445px;
    min-height: calc(100vh - 28px);
    width: 100%;
}

.splash-center {
    align-items: center;
    display: flex;
    flex-direction: column;
    transform: translateY(-8px);
}

.splash-mark {
    align-items: center;
    background: linear-gradient(145deg, #b60017, #8c0010);
    border-radius: 24px;
    box-shadow: 0 18px 38px rgba(153, 0, 17, .28);
    color: #fff;
    display: flex;
    height: 82px;
    justify-content: center;
    width: 82px;
}

.splash-mark .icon {
    height: 38px;
    width: 38px;
}

.splash-center h1 {
    font-size: 28px;
    line-height: 1;
    margin: 22px 0 8px;
}

.splash-center p {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

.splash-dots {
    display: flex;
    gap: 8px;
    margin-top: 32px;
}

.splash-dots span {
    animation: pulseDot 1.2s ease-in-out infinite;
    background: var(--red);
    border-radius: 999px;
    height: 8px;
    width: 8px;
}

.splash-dots span:nth-child(2) { animation-delay: .14s; }
.splash-dots span:nth-child(3) { animation-delay: .28s; }

@keyframes pulseDot {
    0%, 100% { opacity: .45; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-2px); }
}

.app-body {
    background: #f7f1ef;
    padding: 14px;
}

.phone-shell {
    border: 1px solid #eee4e2;
    border-radius: 28px;
    min-height: calc(100vh - 28px);
    max-height: calc(100vh - 28px);
}

.status-bar {
    display: none;
}

.screen-content {
    height: 100%;
    padding: 22px 20px 106px;
}

.home-header {
    justify-content: flex-start;
}

.home-header .avatar-photo {
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(31, 25, 24, .12);
    flex: 0 0 auto;
    height: 44px;
    width: 44px;
}

.home-header div {
    flex: 1;
    min-width: 0;
}

.home-header p {
    color: #756d6c;
    font-size: 12px;
    line-height: 1.2;
    margin: 0 0 2px;
}

.home-header h1 {
    font-size: 20px;
    line-height: 1.15;
}

.home-header .notification-button {
    border-radius: 999px;
    color: #111;
    height: 48px;
    margin-left: auto;
    width: 48px;
}

.home-header .notification-button .icon {
    height: 21px;
    width: 21px;
}

.search-row {
    margin: 14px 0 22px;
}

.search-box {
    border-radius: 22px;
    box-shadow: 0 8px 20px rgba(31, 25, 24, .04);
    min-height: 46px;
}

.search-box .icon {
    color: #96a0ae;
    height: 18px;
    width: 18px;
}

.search-box input::placeholder {
    color: #98a1b0;
}

.wallet-card {
    border-radius: 22px;
    min-height: 214px;
    padding: 22px;
}

.wallet-lines {
    background:
        radial-gradient(circle at 78% 17%, rgba(255, 255, 255, .18) 0 70px, transparent 72px),
        radial-gradient(circle at 95% 96%, rgba(255, 255, 255, .11) 0 130px, transparent 132px);
    inset: 0;
    opacity: 1;
}

.home-wallet-top {
    align-items: flex-start;
}

.home-wallet-top strong {
    display: block;
    font-size: 12px;
    letter-spacing: .02em;
}

.wallet-card .home-wallet-top p {
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
    margin: 6px 0 0;
}

.wallet-eye {
    align-items: center;
    background: rgba(255, 255, 255, .18);
    border: 0;
    border-radius: 999px;
    color: #fff;
    display: flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.wallet-eye.light {
    background: #fbefee;
    color: var(--red);
}

.balance-eye-open,
.balance-eye-closed {
    align-items: center;
    display: flex;
}

.balance-eye-closed,
.balance-privacy-hidden .balance-eye-open {
    display: none;
}

.balance-privacy-hidden .balance-eye-closed {
    display: flex;
}

.wallet-eye .icon {
    height: 18px;
    width: 18px;
}

.wallet-card h2 {
    font-size: 38px;
    margin: 22px 0 12px;
}

.wallet-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    position: relative;
}

.wallet-card-meta span {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: rgba(255, 255, 255, .86);
    font-size: 11px;
    font-weight: 800;
    padding: 7px 10px;
}

.is-balance-hidden {
    letter-spacing: .08em;
}

.wallet-action {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    min-height: 50px;
}

.wallet-action .icon {
    height: 18px;
    width: 18px;
}

.wallet-action.primary {
    color: var(--red);
}

.wallet-action.ghost {
    background: rgba(255, 255, 255, .15);
}

.quick-boost {
    margin-top: 28px;
}

.section-title h2 {
    font-size: 18px;
    letter-spacing: 0;
}

.section-title a {
    font-size: 13px;
}

.platform-row {
    display: grid;
    gap: 16px;
    grid-auto-columns: 52px;
    margin: 0 -2px;
    padding: 0 2px 4px;
}

.platform-shortcut {
    background: transparent;
    border: 0;
    box-shadow: none;
    gap: 8px;
    min-height: auto;
    padding: 0;
}

.platform-shortcut span {
    border-radius: 15px;
    color: #fff;
    height: 48px;
    width: 48px;
}

.platform-shortcut .icon {
    height: 23px;
    width: 23px;
}

.platform-shortcut small {
    color: #4a5363;
    font-size: 11px;
    line-height: 1;
    text-align: center;
}

.service-strip {
    display: grid;
    gap: 14px;
    grid-auto-columns: minmax(214px, 1fr);
    grid-auto-flow: column;
    margin: 0 -20px;
    overflow-x: auto;
    padding: 0 20px 8px;
    scrollbar-width: none;
}

.service-strip::-webkit-scrollbar {
    display: none;
}

.service-card {
    background: #fff;
    border: 1px solid #efe6e4;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(31, 25, 24, .08);
    min-height: 260px;
    overflow: hidden;
}

.service-art {
    background: #f4edeb;
    display: block;
    height: 128px;
    object-fit: cover;
    width: 100%;
}

.service-card-body {
    padding: 12px;
}

.service-badges span {
    background: #dff8ec;
    color: #148052;
    gap: 4px;
}

.service-badges .icon {
    height: 13px;
    width: 13px;
}

.service-card h3 {
    font-size: 14px;
    line-height: 1.35;
    margin: 10px 0 12px;
}

.service-price-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.service-price-row strong {
    color: var(--red);
    font-size: 16px;
}

.service-price-row span {
    align-items: center;
    color: #8b93a1;
    display: flex;
    font-size: 12px;
    gap: 4px;
}

.service-price-row .icon {
    color: #f6b21a;
    height: 14px;
    width: 14px;
}

.featured-shelf {
    overflow: hidden;
}

.featured-title-row {
    align-items: flex-start;
}

.featured-title-row p {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    margin: 3px 0 0;
}

.featured-strip {
    display: grid;
    gap: 12px;
    grid-auto-columns: minmax(226px, 78vw);
    grid-auto-flow: column;
    margin: 0 -20px;
    overflow-x: auto;
    padding: 0 20px 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.featured-strip::-webkit-scrollbar {
    display: none;
}

.featured-card {
    background: #fff;
    border: 1px solid #eadfdd;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(31, 25, 24, .07);
    color: var(--text);
    display: flex;
    flex-direction: column;
    font: inherit;
    min-height: 286px;
    overflow: hidden;
    scroll-snap-align: start;
    text-align: left;
    width: 100%;
}

button.featured-card {
    cursor: pointer;
}

.featured-media {
    background: #f6eeee;
    display: block;
    height: 104px;
    overflow: hidden;
    position: relative;
}

.featured-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.asset-media {
    align-items: center;
    background: #fff7f6;
    display: flex;
    justify-content: center;
}

.featured-asset-icon {
    align-items: center;
    background: var(--red);
    border-radius: 20px;
    color: #fff;
    display: flex;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.featured-asset-icon .icon {
    height: 30px;
    width: 30px;
}

.featured-card-body {
    display: grid;
    flex: 1;
    gap: 8px;
    padding: 12px;
}

.featured-meta,
.featured-foot {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    min-width: 0;
}

.featured-badge {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 10px;
    font-weight: 900;
    gap: 4px;
    min-height: 24px;
    padding: 4px 8px;
    white-space: nowrap;
}

.featured-badge .icon {
    height: 12px;
    width: 12px;
}

.featured-badge.verified {
    background: #e2f8ee;
    color: #12764c;
}

.featured-badge.asset {
    background: #fbefee;
    color: var(--red);
}

.featured-platform {
    color: #7a6f70;
    flex: 1;
    font-size: 11px;
    font-weight: 900;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured-name,
.featured-description {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.featured-name {
    -webkit-line-clamp: 2;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.22;
    min-height: 34px;
}

.featured-description {
    -webkit-line-clamp: 2;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 32px;
}

.featured-foot {
    align-self: end;
    margin-top: auto;
}

.featured-price {
    color: var(--red);
    flex: 1;
    font-size: 15px;
    font-weight: 900;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured-price small {
    color: var(--muted);
    font-size: 11px;
}

.featured-action {
    background: #fbefee;
    border-radius: 999px;
    color: var(--red);
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 900;
    min-height: 28px;
    padding: 7px 10px;
}

.quick-boost .section-title h2 {
    font-size: 22px;
}

.quick-boost .platform-row {
    gap: 18px;
    grid-auto-columns: 66px;
    margin: 0 -20px;
    overflow-x: auto;
    padding: 0 20px 8px;
}

.quick-boost .platform-shortcut {
    gap: 10px;
}

.quick-boost .platform-shortcut span {
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(31, 25, 24, .08);
    height: 62px;
    width: 62px;
}

.quick-boost .platform-shortcut .icon {
    height: 31px;
    width: 31px;
}

.quick-boost .platform-shortcut small {
    font-size: 12px;
    font-weight: 800;
}

.home-catalog-panel {
    background: rgba(255, 255, 255, .9);
    border: 1px solid #eadfdd;
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(31, 25, 24, .06);
    padding: 16px;
}

.panel-title-row {
    align-items: flex-start;
    margin-bottom: 14px;
}

.panel-title-row h2 {
    font-size: 22px;
    line-height: 1.1;
}

.panel-title-row p {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 6px 0 0;
}

.home-service-grid,
.home-asset-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-service-card,
.home-asset-card {
    background: #fff;
    border: 1px solid #eadfdd;
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(31, 25, 24, .05);
    color: var(--text);
    overflow: hidden;
}

.home-service-card {
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.home-service-art {
    background: #f5eeee;
    display: block;
    height: 104px;
    overflow: hidden;
}

.home-service-art img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.home-card-body {
    display: grid;
    flex: 1;
    gap: 9px;
    padding: 12px;
}

.home-badge {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    gap: 5px;
    justify-self: start;
    min-height: 26px;
    padding: 5px 9px;
    white-space: nowrap;
}

.home-badge .icon {
    height: 13px;
    width: 13px;
}

.home-badge.verified {
    background: #e1f8ee;
    color: #11764b;
}

.home-badge.asset {
    background: #fbefee;
    color: var(--red);
}

.home-card-title,
.home-card-copy {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.home-card-title {
    -webkit-line-clamp: 2;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    min-height: 36px;
}

.home-card-copy {
    -webkit-line-clamp: 3;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 52px;
}

.home-card-foot {
    align-items: end;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: auto;
    min-width: 0;
}

.home-card-foot small {
    color: var(--muted);
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 2px;
}

.home-card-foot > span:first-child {
    min-width: 0;
}

.home-card-foot strong {
    color: var(--red);
    display: block;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-card-action {
    background: #fbefee;
    border-radius: 999px;
    color: var(--red);
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 900;
    min-height: 34px;
    padding: 9px 12px;
}

.home-asset-card {
    cursor: pointer;
    display: grid;
    font: inherit;
    gap: 8px;
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 174px;
    padding: 12px;
    text-align: left;
    width: 100%;
}

.home-asset-icon {
    align-items: center;
    align-self: start;
    background: var(--red);
    border-radius: 15px;
    color: #fff;
    display: flex;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.home-asset-icon .icon {
    height: 26px;
    width: 26px;
}

.home-asset-body {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.home-asset-card .home-badge {
    font-size: 10px;
    justify-self: end;
    padding: 4px 7px;
}

.home-asset-card .home-card-title {
    min-height: 0;
}

.home-asset-card .home-card-copy {
    -webkit-line-clamp: 3;
    min-height: 0;
}

.asset-foot {
    grid-column: 1 / -1;
}

.order-empty {
    background: #fff;
    border: 0;
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    min-height: 242px;
    justify-content: center;
}

.order-empty span {
    background: #f7e7e9;
}

.order-empty .icon {
    height: 28px;
    width: 28px;
}

.order-empty .primary-button {
    min-height: 42px;
}

.bottom-nav {
    border-radius: 0 0 28px 28px;
    height: 76px;
    padding: 8px 20px 12px;
}

.nav-item {
    font-size: 11px;
    gap: 4px;
}

.nav-icon {
    background: transparent;
    height: 28px;
    width: 34px;
}

.nav-icon .icon {
    height: 22px;
    width: 22px;
}

.nav-item.is-active .nav-icon {
    background: transparent;
    color: var(--red);
}

.nav-item.is-active {
    color: var(--red);
}

.currency-selector {
    align-items: end;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr auto;
    padding: 14px;
}

.currency-selector label {
    display: grid;
    gap: 8px;
}

.currency-selector span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.currency-selector select {
    background: #fbf7f7;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--ink);
    font: inherit;
    min-height: 46px;
    padding: 0 12px;
}

@media (min-width: 700px) {
    .app-body {
        align-items: center;
        min-height: 100vh;
        padding: 24px;
    }

    .phone-shell {
        border-radius: 32px;
        max-height: calc(100vh - 48px);
        max-width: 760px;
        min-height: calc(100vh - 48px);
    }

    .screen-content {
        padding: 30px 30px 112px;
    }

    .home-header .avatar-photo {
        height: 52px;
        width: 52px;
    }

    .home-header h1,
    .compact-header h1,
    .profile-head h1 {
        font-size: 28px;
    }

    .home-header p {
        font-size: 13px;
    }

    .search-box {
        min-height: 54px;
    }

    .wallet-card {
        min-height: 224px;
        padding: 26px;
    }

    .wallet-card h2 {
        font-size: 46px;
    }

    .platform-row {
        gap: 18px;
        grid-auto-flow: initial;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        margin: 0;
        overflow: visible;
        padding: 0;
    }

    .platform-shortcut {
        align-items: center;
    }

    .platform-shortcut span {
        height: 54px;
        width: 54px;
    }

    .platform-shortcut .icon {
        height: 25px;
        width: 25px;
    }

    .service-strip {
        grid-auto-flow: initial;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0;
        overflow: visible;
        padding: 0;
    }

    .featured-strip {
        grid-auto-flow: initial;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0;
        overflow: visible;
        padding: 0;
    }

    .service-card {
        min-height: 282px;
    }

    .featured-card {
        min-height: 286px;
    }

    .service-art {
        height: 150px;
    }

    .card-grid.two,
    .portfolio-grid,
    .market-list,
    .order-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-list,
    .order-list {
        gap: 14px;
    }

    .order-card.tall {
        margin-bottom: 0;
    }

    .detail-card,
    .listing-hero,
    .order-detail-head,
    .timeline,
    .related-row,
    .sticky-cta {
        margin-left: auto;
        margin-right: auto;
        max-width: 680px;
        width: 100%;
    }

    .related-row {
        grid-auto-columns: 180px;
        margin-left: auto;
        margin-right: auto;
        overflow-x: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .bottom-sheet {
        max-width: 520px;
    }

    .bottom-nav {
        border-radius: 0 0 32px 32px;
        padding-left: 44px;
        padding-right: 44px;
    }
}

@media (min-width: 1024px) {
    .app-body {
        background:
            linear-gradient(120deg, rgba(153, 0, 17, .05), transparent 36%),
            linear-gradient(180deg, #f8f2f0 0%, #fbf8f6 100%);
        padding: 28px;
    }

    .phone-shell {
        border-radius: 34px;
        max-height: calc(100vh - 56px);
        max-width: 1160px;
        min-height: calc(100vh - 56px);
    }

    .screen-content {
        height: 100%;
        padding: 36px 36px 36px 132px;
    }

    .bottom-nav {
        align-content: start;
        border-radius: 34px 0 0 34px;
        border-right: 1px solid var(--border);
        border-top: 0;
        bottom: 0;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 86px);
        height: 100%;
        justify-items: center;
        left: 0;
        padding: 28px 14px;
        right: auto;
        top: 0;
        width: 96px;
    }

    .nav-item {
        border-radius: 18px;
        height: 76px;
        justify-content: center;
        width: 68px;
    }

    .nav-item.is-active {
        background: #fbefee;
    }

    .app-screen-home .screen-content {
        align-content: start;
        column-gap: 28px;
        display: grid;
        grid-template-columns: minmax(360px, .9fr) minmax(390px, 1.1fr);
        row-gap: 22px;
    }

    .app-screen-home .home-header,
    .app-screen-home .search-row,
    .app-screen-home .section-block:not(.quick-boost) {
        grid-column: 1 / -1;
    }

    .app-screen-home .search-row {
        margin: 0;
        max-width: none;
        width: auto;
    }

    .app-screen-home .wallet-card {
        grid-column: 1;
        margin-top: 0;
        min-height: 248px;
    }

.app-screen-home .quick-boost {
        align-self: stretch;
        background: rgba(255, 255, 255, .72);
        border: 1px solid var(--border);
        border-radius: 24px;
        box-shadow: var(--soft-shadow);
        grid-column: 2;
        margin-top: 0;
        padding: 22px;
    }

    .app-screen-home .quick-boost .platform-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 18px;
    }

    .app-screen-home .quick-boost .section-title {
        margin-bottom: 18px;
    }

    .app-screen-home .service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-screen-home .featured-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .app-screen-home .order-empty {
        min-height: 280px;
    }

    .compact-header,
    .profile-head,
    .detail-header,
    .search-row,
    .segment-control,
    .chip-row,
    .market-list,
    .order-list,
    .wallet-summary,
    .profile-list,
    .empty-state {
        margin-left: auto;
        margin-right: auto;
        max-width: 940px;
        width: 100%;
    }

    .market-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .market-card {
        align-content: start;
        flex-direction: column;
        min-height: 214px;
    }

    .market-card .listing-icon {
        height: 54px;
        width: 54px;
    }

    .order-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wallet-summary {
        min-height: 150px;
    }

    .detail-card,
    .listing-hero,
    .order-detail-head,
    .timeline,
    .related-row,
    .sticky-cta {
        max-width: 820px;
    }

    .listing-hero,
    .order-detail-head {
        background: rgba(255, 255, 255, .72);
        border: 1px solid var(--border);
        border-radius: 26px;
        box-shadow: var(--soft-shadow);
        padding: 22px;
    }

    .sticky-cta {
        bottom: 20px;
    }
}

.order-workspace,
.new-order-form,
.notification-list {
    display: grid;
    gap: 14px;
}

.order-platforms {
    margin-top: 8px;
}

.order-platforms .platform-shortcut {
    border-radius: 18px;
}

.order-platforms .platform-shortcut.is-active span {
    box-shadow: 0 0 0 3px rgba(153, 0, 17, .16);
}

.field-grid {
    display: grid;
    gap: 12px;
}

.field-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid .field-label {
    margin: 0;
}

.service-detail-panel,
.checkout-total,
.rank-card,
.notification-row,
.toggle-row,
.input-action-row {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--soft-shadow);
}

.service-detail-panel {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 16px;
}

.service-detail-panel h2,
.rank-card h2 {
    font-size: 18px;
    line-height: 1.2;
    margin: 4px 0;
}

.service-detail-panel p,
.rank-card p,
.notification-row p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

.service-detail-panel span,
.checkout-total span,
.rank-card span,
.notification-row small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.service-detail-panel strong,
.checkout-total strong {
    color: var(--red);
    flex: 0 0 auto;
}

.input-action-row {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 48px;
    padding: 6px;
}

.input-action-row .input {
    border: 0;
}

.quantity-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.quantity-head span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.quick-quantity {
    margin-top: 10px;
}

.toggle-row {
    align-items: center;
    display: flex;
    font-weight: 900;
    justify-content: space-between;
    padding: 14px 16px;
}

.toggle-row input {
    accent-color: var(--red);
    height: 20px;
    width: 20px;
}

.checkout-total {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 15px;
}

.checkout-total div,
.rank-card div:first-child {
    min-width: 0;
}

.rank-card {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding: 16px;
}

.rank-card > span,
.rank-card small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.rank-progress {
    background: #eee1df;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.rank-progress span {
    background: var(--red);
    border-radius: inherit;
    display: block;
    height: 100%;
}

.profile-rank {
    margin-top: 14px;
}

.notification-row {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 14px;
}

.notification-row.is-unread {
    border-color: rgba(153, 0, 17, .3);
}

.notification-row strong {
    display: block;
    font-size: 14px;
}

.notification-row a {
    color: var(--red);
    flex: 0 0 auto;
    font-weight: 900;
}

.notification-empty {
    border: 0;
    box-shadow: none;
}

.explore-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.explore-header h1 {
    font-size: 34px;
    line-height: 1.05;
    margin: 0;
}

.explore-header p {
    color: var(--muted);
    font-size: 17px;
    margin: 8px 0 0;
}

.explore-tabs {
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--border);
    border-radius: 18px;
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
    padding: 6px;
}

.explore-tabs button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 14px;
    color: var(--text);
    display: flex;
    font-size: 16px;
    font-weight: 900;
    gap: 10px;
    justify-content: center;
    min-height: 58px;
}

.explore-tabs button.is-active {
    background: var(--red);
    box-shadow: 0 12px 24px rgba(153, 0, 17, .2);
    color: #fff;
}

.explore-tabs .icon {
    height: 22px;
    width: 22px;
}

.explore-trust-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 16px;
}

.explore-trust-grid article {
    align-items: center;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--border);
    border-radius: 18px;
    display: flex;
    gap: 12px;
    min-height: 96px;
    padding: 14px;
}

.explore-trust-grid article > span {
    align-items: center;
    background: #fbefee;
    border-radius: 16px;
    color: var(--red);
    display: flex;
    flex: 0 0 auto;
    height: 50px;
    justify-content: center;
    width: 50px;
}

.explore-trust-grid .icon {
    height: 26px;
    width: 26px;
}

.explore-trust-grid strong {
    display: block;
    font-size: 16px;
    line-height: 1.15;
}

.explore-trust-grid p,
.explore-panel-head p,
.service-eta {
    color: var(--muted);
    line-height: 1.35;
    margin: 4px 0 0;
}

.explore-panel {
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    padding: 18px;
}

.explore-panel-head {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.explore-panel-head h2 {
    font-size: 21px;
    line-height: 1.2;
    margin: 0;
}

.help-pill {
    align-items: center;
    background: #fbefee;
    border: 0;
    border-radius: 16px;
    color: var(--red);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 900;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
}

.help-pill span {
    align-items: center;
    border: 2px solid currentColor;
    border-radius: 999px;
    display: flex;
    font-size: 12px;
    height: 20px;
    justify-content: center;
    width: 20px;
}

.explore-panel .order-workspace,
.explore-panel .new-order-form {
    gap: 14px;
}

.explore-panel .order-platforms {
    margin-bottom: 2px;
    margin-top: 0;
}

.explore-panel .platform-shortcut.is-active span {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--red);
}

.explore-panel .field-label {
    color: var(--text);
    font-size: 15px;
    margin: 0 0 4px;
}

.explore-panel .field-label .input {
    margin-top: 8px;
}

.quantity-input-wrap {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: hidden;
}

.quantity-input-wrap .input {
    border: 0;
    border-radius: 0;
}

.quantity-input-wrap > span {
    align-items: center;
    background: #fbefee;
    color: var(--text);
    display: flex;
    font-weight: 900;
    min-height: 50px;
    padding: 0 18px;
}

.toggle-row span small {
    color: var(--muted);
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-top: 3px;
}

.checkout-dock {
    border-top: 1px solid #f0e5e3;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    margin: 4px -18px -18px;
    padding: 16px 18px 18px;
}

.wallet-checkout {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(31, 25, 24, .06);
    display: grid;
    gap: 10px;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    min-height: 62px;
    padding: 10px 12px;
}

.wallet-checkout .icon {
    color: var(--muted);
    height: 23px;
    width: 23px;
}

.wallet-checkout span {
    color: var(--muted);
    display: block;
    font-size: 12px;
    font-weight: 800;
    min-width: 0;
}

.wallet-checkout strong {
    color: var(--red);
    display: block;
    font-size: 17px;
    line-height: 1.15;
}

.wallet-checkout em {
    color: var(--muted);
    font-style: normal;
    font-size: 24px;
}

.checkout-dock .primary-button {
    border-radius: 16px;
    gap: 12px;
    min-height: 62px;
}

.checkout-dock .primary-button .icon {
    height: 22px;
    width: 22px;
}

.service-eta {
    font-size: 12px;
    font-weight: 800;
}

.service-eta strong {
    color: var(--red);
}

.custom-comment-card,
.order-risk-note {
    background: #fbefee;
    border: 1px solid rgba(153, 0, 17, .12);
    border-radius: 16px;
    display: grid;
    gap: 5px;
    padding: 12px 14px;
}

.custom-comment-card strong,
.order-risk-note strong {
    color: var(--red);
    display: block;
    font-size: 14px;
}

.custom-comment-card p,
.custom-comment-card span,
.order-risk-note span,
.input-help {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    margin: 0;
}

.custom-comment-card span {
    font-weight: 900;
}

.comments-textarea {
    min-height: 180px;
}

.input-help {
    margin-top: 6px;
}

.info-sheet {
    max-height: min(86vh, 760px);
    overflow-y: auto;
}

.how-order-content {
    display: grid;
    gap: 14px;
    padding-bottom: 8px;
}

.how-order-content section {
    background: #fffafa;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
}

.how-order-content h3 {
    font-size: 16px;
    line-height: 1.2;
    margin: 0 0 10px;
}

.how-order-content p,
.how-order-content dd,
.how-order-content li {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.how-order-content p {
    margin: 8px 0 0;
}

.how-order-content dl,
.how-order-content ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.how-order-content dl div {
    display: grid;
    gap: 3px;
}

.how-order-content dt {
    color: var(--text);
    font-size: 13px;
    font-weight: 900;
}

.how-order-content dd {
    margin: 0;
}

.how-order-content ul {
    list-style: none;
}

.service-color-list li,
.how-order-content li {
    align-items: flex-start;
    display: flex;
    gap: 8px;
}

.how-order-content li::before {
    background: var(--red);
    border-radius: 999px;
    content: "";
    flex: 0 0 auto;
    height: 6px;
    margin-top: 7px;
    width: 6px;
}

.service-color-list li::before {
    display: none;
}

.service-color-list strong {
    color: var(--text);
    min-width: 54px;
}

.service-dot {
    border-radius: 999px;
    flex: 0 0 auto;
    height: 12px;
    margin-top: 3px;
    width: 12px;
}

.service-dot.basic {
    background: #f7c948;
}

.service-dot.medium {
    background: #22a06b;
}

.service-dot.elite {
    background: #2f80ed;
}

.fraud-disclaimer {
    border-color: rgba(180, 35, 24, .2) !important;
}

.fraud-disclaimer h3,
.fraud-disclaimer p {
    color: var(--danger);
}

.marketplace-grid {
    display: grid;
    gap: 12px;
}

.marketplace-asset-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(31, 25, 24, .06);
    display: grid;
    gap: 12px;
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 14px;
}

.marketplace-asset-card > div,
.marketplace-asset-card footer,
.marketplace-asset-card button {
    grid-column: 2;
}

.marketplace-asset-card h3 {
    font-size: 17px;
    line-height: 1.2;
    margin: 4px 0;
}

.marketplace-asset-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.marketplace-asset-card small {
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.marketplace-asset-card footer {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.marketplace-asset-card footer strong {
    color: var(--red);
    font-size: 19px;
}

.marketplace-asset-card footer span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.support-card .section-title {
    margin-bottom: 12px;
}

.campaign-card .section-title {
    align-items: center;
    margin-bottom: 12px;
}

.campaign-batch-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.campaign-batch-row {
    align-items: center;
    background: #fffafa;
    border: 1px solid var(--border);
    border-radius: 14px;
    display: grid;
    gap: 4px 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px 12px;
}

.campaign-batch-row span,
.campaign-batch-row strong {
    font-size: 13px;
    font-weight: 900;
}

.campaign-batch-row strong {
    color: var(--red);
}

.campaign-batch-row small {
    color: var(--muted);
    grid-column: 1 / -1;
    font-size: 12px;
}

.campaign-refund-note strong {
    color: var(--red);
}

.support-ticket {
    border-top: 1px solid var(--border);
    display: grid;
    gap: 12px;
    padding-top: 14px;
}

.support-ticket + .support-ticket {
    margin-top: 16px;
}

.support-ticket-head {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.support-ticket-head strong,
.support-ticket-head span {
    display: block;
}

.support-ticket-head span,
.support-ticket-head small,
.support-bubble small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.support-thread {
    display: grid;
    gap: 10px;
}

.support-bubble {
    background: #f7f1ef;
    border-radius: 16px;
    max-width: 88%;
    padding: 12px;
}

.support-bubble.is-customer {
    justify-self: end;
}

.support-bubble.is-admin {
    background: #fbefee;
}

.support-bubble strong {
    display: block;
    font-size: 13px;
}

.support-bubble p {
    color: var(--text);
    margin: 6px 0;
}

.support-reply-form {
    display: grid;
    gap: 10px;
}

.support-reply-form .secondary-button {
    width: 100%;
}

.order-detail-actions {
    bottom: auto;
    left: auto;
    margin-top: 16px;
    position: static;
    right: auto;
}

.order-detail-actions .primary-button,
.order-detail-actions .secondary-button {
    border-radius: 16px;
    min-width: 0;
    width: 100%;
}

@media (max-width: 520px) {
    .field-grid.two,
    .checkout-total {
        grid-template-columns: 1fr;
    }

    .service-detail-panel {
        display: grid;
    }

    .explore-trust-grid,
    .checkout-dock {
        grid-template-columns: 1fr;
    }

    .explore-panel-head {
        display: grid;
    }
}

@media (min-width: 1280px) {
    .phone-shell {
        max-width: 1240px;
    }

    .app-screen-home .screen-content {
        grid-template-columns: minmax(400px, .85fr) minmax(460px, 1.15fr);
    }

    .market-list {
        max-width: 1040px;
    }
}

@media (max-width: 920px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 18px;
    }

    .hero h1 { font-size: 44px; }

    .feature-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .site-header { padding: 18px; }

    .hero {
        gap: 30px;
        padding: 12px 18px 48px;
    }

    .hero h1 { font-size: 38px; }
    .hero-text { font-size: 17px; }

    .feature-band {
        grid-template-columns: 1fr;
        padding: 0 18px 46px;
    }

    .africa-copy {
        align-items: stretch;
        flex-direction: column;
    }

    .phone-shell {
        border-left: 0;
        border-right: 0;
        max-width: none;
    }

    .card-grid.two,
    .portfolio-grid { grid-template-columns: 1fr; }

    .crypto-address-body {
        grid-template-columns: 1fr;
    }

    .crypto-hero-metrics {
        grid-template-columns: 1fr;
    }

    .crypto-currency-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .crypto-hero-copy h1 {
        font-size: 25px;
    }

    .crypto-qr {
        justify-self: center;
    }

.listing-card { min-height: 0; }
}

/* Shared customer app shell and Explore polish */
.app-body {
    min-height: 100dvh;
    overflow: hidden;
}

.phone-shell {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    min-height: 0;
}

.status-bar {
    flex: 0 0 auto;
}

.screen-content {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    overscroll-behavior-y: contain;
    scrollbar-color: rgba(153, 0, 17, .35) transparent;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.screen-content::-webkit-scrollbar {
    display: block;
    width: 8px;
}

.screen-content::-webkit-scrollbar-thumb {
    background: rgba(153, 0, 17, .28);
    border-radius: 999px;
}

.bottom-sheet {
    max-height: min(88dvh, 760px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.smart-select-popup {
    height: 100dvh;
    overflow: hidden;
}

.smart-select-panel {
    max-height: min(78dvh, 680px);
    overflow: hidden;
}

.smart-select-list {
    min-height: 0;
}

.explore-header,
.explore-search-row,
.explore-tabs,
.explore-trust-grid,
.explore-panel,
.compact-header,
.profile-head,
.detail-header,
.segment-control,
.order-list,
.wallet-summary,
.profile-list,
.section-block,
.empty-state {
    min-width: 0;
}

.explore-search-row {
    margin-bottom: 14px;
}

.explore-panel,
.detail-card,
.wallet-summary,
.profile-row,
.order-card,
.marketplace-asset-card,
.service-detail-panel,
.rank-card {
    border-color: rgba(233, 222, 221, .88);
    box-shadow: 0 14px 34px rgba(31, 25, 24, .055);
}

.explore-panel {
    overflow: hidden;
}

.explore-panel-head {
    align-items: center;
}

.explore-panel .platform-row {
    scroll-padding-inline: 2px;
}

.explore-panel .platform-shortcut {
    min-width: 72px;
}

.explore-panel .smart-select-trigger,
.explore-panel .input,
.quantity-input-wrap,
.input-action-row,
.toggle-row {
    border-color: rgba(233, 222, 221, .92);
}

.service-detail-panel {
    background:
        linear-gradient(180deg, #fff 0%, #fffafa 100%);
}

.marketplace-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.marketplace-asset-card {
    align-content: start;
    min-width: 0;
}

.marketplace-asset-card h3,
.marketplace-asset-card p {
    overflow-wrap: anywhere;
}

.order-card-link {
    min-width: 0;
}

.order-card .listing-icon,
.order-detail-head .listing-icon {
    align-items: center;
    display: inline-flex;
    justify-content: center;
}

.order-meta {
    flex: 0 0 auto;
    text-align: right;
}

.order-meta small {
    color: var(--muted);
    display: block;
    font-size: 12px;
    margin-top: 6px;
}

.profile-row {
    min-width: 0;
}

.profile-row span {
    min-width: 0;
}

.profile-row strong {
    flex: 0 0 auto;
}

@media (max-width: 699px) {
    .phone-shell {
        border-left: 0;
        border-right: 0;
        max-width: none;
    }

    .screen-content {
        padding-bottom: max(108px, calc(108px + env(safe-area-inset-bottom)));
    }

    .screen-content::-webkit-scrollbar {
        width: 0;
    }
}

@media (min-width: 700px) {
    .phone-shell {
        height: calc(100dvh - 48px);
        max-height: none;
        min-height: 0;
    }

    .screen-content {
        height: auto;
        min-height: 0;
        overflow-y: auto;
    }
}

@media (min-width: 769px) {
    .smart-select-popup {
        overflow: hidden;
    }

    .smart-select-panel {
        max-height: min(760px, calc(100dvh - 64px));
    }

    .bottom-sheet {
        max-height: min(760px, calc(100dvh - 64px));
    }
}

@media (min-width: 1024px) {
    .phone-shell {
        height: calc(100dvh - 56px);
        max-height: none;
        min-height: 0;
    }

    .app-screen-explore .phone-shell,
    .app-screen-orders .phone-shell,
    .app-screen-profile .phone-shell,
    .app-screen-default .phone-shell {
        max-width: 1240px;
    }

    .app-screen-explore .screen-content {
        align-content: start;
        display: grid;
        gap: 18px 22px;
        grid-template-columns: minmax(280px, .42fr) minmax(0, .58fr);
    }

    .app-screen-explore .explore-header {
        align-self: center;
        grid-column: 1;
        margin: 0;
    }

    .app-screen-explore .explore-search-row {
        align-self: center;
        grid-column: 2;
        margin: 0;
    }

    .app-screen-explore .explore-tabs,
    .app-screen-explore .explore-trust-grid,
    .app-screen-explore .explore-panel {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    .app-screen-explore .explore-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-screen-explore .explore-panel {
        border-radius: 26px;
        padding: 24px;
    }

    .app-screen-explore .explore-panel-head {
        margin-bottom: 22px;
    }

    .app-screen-explore .marketplace-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .app-screen-orders .order-list {
        max-width: none;
    }

    .app-screen-profile .profile-list {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .explore-header h1 {
        font-size: 30px;
    }

    .explore-header p {
        font-size: 15px;
    }

    .explore-tabs button {
        font-size: 14px;
        min-height: 52px;
    }

    .explore-trust-grid article {
        min-height: 86px;
        padding: 12px;
    }

    .explore-panel {
        border-radius: 20px;
        padding: 16px;
    }

    .checkout-dock {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .order-card-link {
        align-items: flex-start;
    }

    .order-meta {
        text-align: right;
    }
}

/* ---- Legal documents ---- */
.legal-page {
    background:
        radial-gradient(circle at 16% 0%, rgba(153, 0, 17, .06), transparent 36%),
        linear-gradient(180deg, #fff 0%, var(--warm) 100%);
    min-height: 100vh;
    padding: 28px 18px 80px;
}

.legal-shell {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--soft-shadow);
    margin: 0 auto;
    max-width: 860px;
    padding: clamp(22px, 4vw, 48px);
}

.legal-back {
    align-items: center;
    color: var(--red);
    display: inline-flex;
    font-weight: 800;
    font-size: 14px;
    gap: 4px;
    margin-bottom: 18px;
}

.legal-eyebrow {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.legal-head h1 {
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
    margin: 0 0 8px;
}

.legal-updated {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 8px;
}

.legal-body {
    color: #2c2626;
    font-size: 15px;
    line-height: 1.72;
}

.legal-body h2 {
    font-size: 20px;
    margin: 34px 0 10px;
    scroll-margin-top: 20px;
}

.legal-body h3 {
    font-size: 16px;
    margin: 22px 0 8px;
}

.legal-body p { margin: 0 0 14px; }

.legal-body ul,
.legal-body ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.legal-body li { margin: 0 0 8px; }

.legal-body strong { color: var(--text); }

.legal-body a { color: var(--red); text-decoration: underline; }

.legal-intro {
    background: #fcf6f5;
    border: 1px solid rgba(153, 0, 17, .12);
    border-radius: 14px;
    padding: 14px 16px;
    margin: 0 0 22px;
}

.legal-callout {
    background: rgba(196, 122, 0, .08);
    border: 1px solid rgba(196, 122, 0, .25);
    border-radius: 14px;
    padding: 14px 16px;
    margin: 18px 0;
}

.legal-callout strong { color: var(--amber); }

.legal-toc {
    background: #fbfbfb;
    border: 1px solid var(--border);
    border-radius: 14px;
    margin: 0 0 24px;
    padding: 14px 18px;
}

.legal-toc ol { margin: 8px 0 0; padding-left: 20px; }
.legal-toc li { margin: 4px 0; }

.legal-nav {
    border-top: 1px solid var(--border);
    margin-top: 40px;
    padding-top: 22px;
}

.legal-nav-title {
    color: var(--muted);
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.legal-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.legal-nav-link {
    background: #fcf6f5;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    padding: 8px 14px;
}

.legal-nav-link.is-current {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.legal-nav-contact {
    color: var(--muted);
    font-size: 13px;
    margin-top: 16px;
}

/* Landing legal footer */
.landing-footer {
    border-top: 1px solid var(--border);
    margin-top: 10px;
    padding: 28px 20px 40px;
    text-align: center;
}

.landing-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: center;
    margin-bottom: 12px;
}

.landing-footer-links a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.landing-footer-links a:hover { color: var(--red); }

.landing-footer-copy {
    color: var(--muted);
    font-size: 12px;
    margin: 0;
}

.auth-agreement-check {
    align-items: flex-start;
    color: var(--muted);
    display: flex;
    font-size: 12px;
    gap: 9px;
    line-height: 1.5;
    margin: 4px 0 14px;
    text-align: left;
}

.auth-agreement-check input {
    accent-color: var(--red);
    flex: 0 0 auto;
    height: 18px;
    margin-top: 1px;
    width: 18px;
}

.auth-agreement-check a {
    color: var(--red);
    text-decoration: underline;
}

/* ===== Gift card: Buy (3D) + video help, and redeem result modal ===== */
.giftcard-cta-row {
    align-items: center;
    display: flex;
    gap: 12px;
    margin: 6px 0 14px;
    perspective: 700px;
}

.giftcard-buy-3d {
    flex: 1;
    text-decoration: none;
    transform-style: preserve-3d;
    animation: giftFloat 3.2s ease-in-out infinite;
}

.giftcard-buy-3d-face {
    align-items: center;
    background: linear-gradient(135deg, #ff5a5f 0%, #990011 100%);
    border-radius: 16px;
    box-shadow: 0 14px 26px rgba(153, 0, 17, .34), inset 0 1px 0 rgba(255, 255, 255, .35);
    color: #fff;
    display: flex;
    font-weight: 900;
    gap: 10px;
    justify-content: center;
    padding: 14px 16px;
    transform: rotateX(8deg);
    transition: transform .25s ease, box-shadow .25s ease;
}

.giftcard-buy-3d:hover .giftcard-buy-3d-face,
.giftcard-buy-3d:focus-visible .giftcard-buy-3d-face {
    transform: rotateX(0) translateY(-2px) scale(1.02);
    box-shadow: 0 20px 34px rgba(153, 0, 17, .42);
}

.giftcard-buy-3d-icon .icon {
    height: 22px;
    width: 22px;
}

.giftcard-help-3d {
    align-items: center;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    height: 52px;
    justify-content: center;
    position: relative;
    width: 52px;
}

.giftcard-help-3d-face {
    align-items: center;
    background: linear-gradient(145deg, #1f1415, #4a2a2d);
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(31, 20, 21, .4), inset 0 1px 0 rgba(255, 255, 255, .25);
    display: flex;
    height: 100%;
    justify-content: center;
    padding-left: 2px;
    transform: rotateY(0);
    transition: transform .3s ease;
    width: 100%;
    z-index: 1;
}

.giftcard-help-3d:hover .giftcard-help-3d-face {
    transform: rotateY(18deg) scale(1.05);
}

.giftcard-help-3d-pulse {
    border: 2px solid rgba(153, 0, 17, .6);
    border-radius: 50%;
    inset: -4px;
    position: absolute;
    animation: giftPulse 2s ease-out infinite;
}

@keyframes giftFloat {
    0%, 100% { transform: translateY(0) rotateZ(-.4deg); }
    50% { transform: translateY(-5px) rotateZ(.4deg); }
}

@keyframes giftPulse {
    0% { opacity: .7; transform: scale(.9); }
    100% { opacity: 0; transform: scale(1.35); }
}

@media (prefers-reduced-motion: reduce) {
    .giftcard-buy-3d { animation: none; }
    .giftcard-help-3d-pulse { animation: none; }
}

.redeem-result-open { overflow: hidden; }

.redeem-result-overlay {
    align-items: center;
    background: rgba(24, 16, 17, .58);
    backdrop-filter: blur(4px);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 1300;
}

.redeem-result-modal {
    animation: campaignPop .26s cubic-bezier(.2, .8, .25, 1);
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(60, 10, 16, .34);
    max-width: 380px;
    padding: 30px 24px 24px;
    position: relative;
    text-align: center;
    width: 100%;
}

.redeem-result-close {
    background: transparent;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    position: absolute;
    right: 14px;
    top: 12px;
}

.redeem-result-emblem {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    height: 76px;
    justify-content: center;
    margin-bottom: 14px;
    width: 76px;
    animation: redeemEmblemPop .4s cubic-bezier(.2, .9, .25, 1.2);
}

.redeem-result-modal.is-success .redeem-result-emblem {
    background: #e9f9ee;
    color: #1f9d50;
}

.redeem-result-modal.is-error .redeem-result-emblem {
    background: #fdecec;
    color: #c0182a;
}

.redeem-result-modal.is-pending .redeem-result-emblem {
    background: #fff4e0;
    color: #b9760a;
}

@keyframes redeemEmblemPop {
    from { transform: scale(.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.redeem-result-title {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 6px;
}

.redeem-result-amount {
    color: #1f9d50;
    font-size: 30px;
    font-weight: 900;
    margin: 4px 0;
}

.redeem-result-text {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 12px;
}

.redeem-result-balance {
    background: #f7f3f3;
    border-radius: 12px;
    font-size: 14px;
    margin: 0 0 16px;
    padding: 10px 12px;
}

.redeem-result-warning {
    background: #fff7ed;
    border: 1px solid #f6d39a;
    border-radius: 12px;
    color: #b45309;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 16px;
    padding: 10px 12px;
}

/* =========================================================================
   Landing v2 — premium, animated, mobile-first homepage
   ========================================================================= */

/* ---- Sticky glass header ---- */
.lp-header {
    align-items: center;
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    background: rgba(255, 250, 249, .72);
    border-bottom: 1px solid transparent;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    left: 0;
    margin: 0 auto;
    padding: 14px 24px;
    position: sticky;
    right: 0;
    top: 0;
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
    z-index: 50;
}

.lp-header.is-stuck {
    border-bottom-color: var(--border);
    box-shadow: 0 8px 24px rgba(79, 21, 26, .06);
}

.lp-header .brand-lockup { font-size: 18px; }

.lp-nav {
    display: flex;
    gap: 26px;
}

.lp-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    position: relative;
    transition: color .15s ease;
}

.lp-nav a::after {
    background: var(--red);
    border-radius: 2px;
    bottom: -6px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
    width: 100%;
}

.lp-nav a:hover { color: var(--text); }
.lp-nav a:hover::after { transform: scaleX(1); }

.lp-header-actions {
    align-items: center;
    display: flex;
    gap: 14px;
}

.lp-link {
    color: var(--text);
    font-weight: 800;
    font-size: 14px;
}

.lp-link:hover { color: var(--red); }
.lp-header-cta { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* ---- Hero (cinematic 3D slider) ---- */
.lp-hero {
    margin: 0 auto;
    max-width: 1160px;
    overflow: hidden;
    padding: 48px 24px 56px;
    position: relative;
}

.lp-hero-track {
    display: grid;          /* stack every slide in the same cell so height is stable */
    perspective: 1600px;
    position: relative;
    z-index: 1;
}

.lp-slide {
    align-items: center;
    display: grid;
    gap: 56px;
    grid-area: 1 / 1;       /* all slides overlap; tallest sets the height */
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .8fr);
    opacity: 0;
    pointer-events: none;
    transform: rotateY(-10deg) scale(.92);
    transition: transform .9s cubic-bezier(.22, .61, .36, 1), opacity .7s ease;
    will-change: transform, opacity;
}

.lp-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    z-index: 2;
}

.lp-slide.is-left {
    opacity: 0;
    transform: translateX(-8%) rotateY(16deg) translateZ(-160px) scale(.9);
}

.lp-slide.is-right {
    opacity: 0;
    transform: translateX(8%) rotateY(-16deg) translateZ(-160px) scale(.9);
}

.lp-slide-title {
    font-size: 60px;
    letter-spacing: -.02em;
    line-height: 1.02;
    margin: 0;
    max-width: 640px;
}

/* ---- Hero slider controls ---- */
.lp-hero-controls {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
    position: relative;
    z-index: 3;
}

.lp-hero-dots { display: flex; gap: 8px; }

.lp-hero-dot {
    background: rgba(153, 0, 17, .22);
    border: 0;
    border-radius: 999px;
    height: 9px;
    padding: 0;
    transition: width .3s ease, background-color .3s ease;
    width: 9px;
}

.lp-hero-dot.is-on { background: var(--red); width: 28px; }

.lp-hero-arrow {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    box-shadow: var(--soft-shadow);
    color: var(--red);
    display: inline-flex;
    font-size: 22px;
    font-weight: 700;
    height: 42px;
    justify-content: center;
    line-height: 1;
    transition: transform .15s ease, box-shadow .15s ease;
    width: 42px;
}

.lp-hero-arrow:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.lp-hero-arrow:active { transform: scale(.94); }

.lp-hero-badge {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: relative;
    z-index: 3;
}

.lp-hero-bg {
    inset: -10% -10% auto -10%;
    pointer-events: none;
    position: absolute;
    top: -10%;
    z-index: 0;
}

.lp-orb {
    border-radius: 50%;
    filter: blur(8px);
    opacity: .5;
    position: absolute;
    will-change: transform;
}

.lp-orb-1 {
    background: radial-gradient(circle at 30% 30%, rgba(189, 0, 24, .5), rgba(189, 0, 24, 0) 70%);
    height: 360px; width: 360px; left: 8%; top: 0;
    animation: lpFloat 9s ease-in-out infinite;
}
.lp-orb-2 {
    background: radial-gradient(circle at 30% 30%, rgba(255, 153, 0, .28), rgba(255, 153, 0, 0) 70%);
    height: 280px; width: 280px; right: 18%; top: 30%;
    animation: lpFloat 11s ease-in-out infinite reverse;
}
.lp-orb-3 {
    background: radial-gradient(circle at 30% 30%, rgba(22, 138, 74, .22), rgba(22, 138, 74, 0) 70%);
    height: 220px; width: 220px; left: 42%; top: 46%;
    animation: lpDrift 13s ease-in-out infinite;
}
.lp-orb-4 {
    background: radial-gradient(circle at 30% 30%, rgba(118, 0, 13, .32), rgba(118, 0, 13, 0) 70%);
    height: 200px; width: 200px; right: 4%; top: 4%;
    animation: lpFloat 10s ease-in-out infinite;
}

.lp-hero-copy { position: relative; z-index: 1; }
.lp-hero-copy h1 {
    font-size: 60px;
    letter-spacing: -.02em;
    line-height: 1.02;
    margin: 0;
    max-width: 640px;
}

.lp-hero-text {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.6;
    margin: 22px 0 0;
    max-width: 600px;
}

/* ---- Hero 3D device ---- */
.lp-hero-stage {
    align-items: center;
    display: flex;
    justify-content: center;
    perspective: 1200px;
    position: relative;
    z-index: 1;
}

.lp-device {
    position: relative;
    transform-style: preserve-3d;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}

.lp-device-inner {
    animation: lpDeviceFloat 7s ease-in-out infinite;
    transform-style: preserve-3d;
}

.lp-device .mini-phone {
    box-shadow: 0 40px 80px rgba(79, 21, 26, .28), 0 8px 20px rgba(79, 21, 26, .12);
}

.lp-float-chip {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    padding: 10px 14px;
    position: absolute;
    white-space: nowrap;
    will-change: transform;
}

.lp-float-chip-1 {
    color: var(--green);
    left: -38px; top: 18%;
    animation: lpFloat 6s ease-in-out infinite;
}
.lp-float-chip-2 {
    right: -30px; top: 44%;
    animation: lpFloat 7.5s ease-in-out infinite reverse;
}
.lp-float-chip-3 {
    color: var(--red);
    bottom: 10%; left: -22px;
    animation: lpFloat 8s ease-in-out infinite;
}

/* ---- Slide 2 visual: social proof ---- */
.lp-proof,
.lp-trust3d {
    animation: lpDeviceFloat 7s ease-in-out infinite;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--border);
    border-radius: 32px;
    box-shadow: var(--shadow);
    margin: 0 auto;
    max-width: 340px;
    padding: 32px;
    text-align: center;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}

.lp-proof-avatars { display: flex; justify-content: center; margin-bottom: 18px; }
.lp-proof-avatars span {
    align-items: center;
    background: linear-gradient(135deg, #bd0018, #76000d);
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 13px;
    font-weight: 800;
    height: 46px;
    justify-content: center;
    margin-left: -12px;
    width: 46px;
}
.lp-proof-avatars span:first-child { margin-left: 0; }
.lp-proof-more { background: rgba(153, 0, 17, .12) !important; color: var(--red) !important; }

.lp-proof-count {
    display: block;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1;
}
.lp-proof-label { color: var(--muted); display: block; font-size: 14px; font-weight: 700; margin-top: 6px; }

.lp-proof-bars {
    align-items: flex-end;
    display: flex;
    gap: 8px;
    height: 72px;
    justify-content: center;
    margin: 24px 0 16px;
}
.lp-proof-bars i {
    background: linear-gradient(180deg, var(--red-2), #76000d);
    border-radius: 6px;
    transform-origin: bottom;
    width: 16px;
    animation: lpBarGrow 2.8s ease-in-out infinite;
}
.lp-proof-bars i:nth-child(1) { height: 38%; animation-delay: 0s; }
.lp-proof-bars i:nth-child(2) { height: 56%; animation-delay: .15s; }
.lp-proof-bars i:nth-child(3) { height: 46%; animation-delay: .3s; }
.lp-proof-bars i:nth-child(4) { height: 72%; animation-delay: .45s; }
.lp-proof-bars i:nth-child(5) { height: 60%; animation-delay: .6s; }
.lp-proof-bars i:nth-child(6) { height: 88%; animation-delay: .75s; }
.lp-proof-bars i:nth-child(7) { height: 100%; animation-delay: .9s; }

.lp-proof-row span { color: var(--amber); font-size: 14px; font-weight: 800; }

/* ---- Slide 3 visual: trust ---- */
.lp-trust-emblem {
    align-items: center;
    background: linear-gradient(135deg, #bd0018, #76000d);
    border-radius: 24px;
    box-shadow: 0 16px 32px rgba(153, 0, 17, .3);
    display: inline-flex;
    font-size: 34px;
    height: 76px;
    justify-content: center;
    width: 76px;
}
.lp-trust3d strong { display: block; font-size: 19px; margin-top: 16px; }
.lp-trust-list { list-style: none; margin: 18px 0 0; padding: 0; text-align: left; }
.lp-trust-list li {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}
.lp-trust-list li::before {
    align-items: center;
    background: rgba(22, 138, 74, .12);
    border-radius: 50%;
    color: var(--green);
    content: "✓";
    display: flex;
    font-size: 12px;
    font-weight: 900;
    height: 21px;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 1px;
    width: 21px;
}

/* ---- Stats bar ---- */
.lp-stats {
    margin: 0 auto;
    max-width: 1160px;
    padding: 8px 24px 40px;
}

.lp-stats-grid {
    background: linear-gradient(135deg, #76000d, var(--red-2));
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(153, 0, 17, .22);
    color: #fff;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    padding: 30px 18px;
    text-align: center;
}

.lp-stat strong {
    display: block;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1;
}

.lp-stat span {
    color: rgba(255, 255, 255, .82);
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
}

.lp-stat strong.is-bumped {
    animation: lpBump .6s ease;
    color: #ffe2b0;
}

/* ---- Generic section scaffolding ---- */
.lp-section {
    margin: 0 auto;
    max-width: 1160px;
    padding: 64px 24px;
}

.lp-section-head { margin: 0 auto 40px; max-width: 680px; text-align: center; }
.lp-section-head h2 {
    font-size: 38px;
    letter-spacing: -.02em;
    line-height: 1.08;
    margin: 6px 0 0;
}

.lp-section-sub {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
    margin: 14px 0 0;
}

/* ---- How it works ---- */
.lp-steps {
    counter-reset: step;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.lp-step {
    background: rgba(255, 255, 255, .78);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 26px 22px;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}

.lp-step:hover { box-shadow: var(--shadow); transform: translateY(-6px); }

.lp-step-num {
    align-items: center;
    background: var(--red);
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(153, 0, 17, .26);
    color: #fff;
    display: flex;
    font-size: 18px;
    font-weight: 900;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.lp-step h3 { font-size: 18px; margin: 16px 0 8px; }
.lp-step p { color: var(--muted); line-height: 1.55; margin: 0; }

/* ---- Platforms ---- */
.lp-platforms {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(7, 1fr);
    margin: 0 0 40px;
}

.lp-platform {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 10px;
    text-align: center;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
    will-change: transform;
}

.lp-platform:hover { box-shadow: var(--shadow); }

.lp-platform-icon {
    align-items: center;
    background: #fff;                 /* fallback for browsers without color-mix() */
    background:
        radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--p, var(--red)) 16%, #fff), #fff 78%);
    border: 1px solid var(--border); /* fallback for browsers without color-mix() */
    border-color: color-mix(in srgb, var(--p, var(--red)) 22%, var(--border));
    border-radius: 16px;
    display: flex;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.lp-platform-icon img { display: block; height: 28px; width: 28px; }
.lp-platform strong { font-size: 13px; }

/* ---- Service cards ---- */
.lp-services {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, 1fr);
}

.lp-service-card {
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 24px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.lp-service-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.lp-service-card h3 { font-size: 18px; margin: 14px 0 8px; }
.lp-service-card p { color: var(--muted); line-height: 1.55; margin: 0; }

/* ---- Payments ---- */
.lp-pay-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
}

.lp-pay-card {
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px 24px;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
    will-change: transform;
}

.lp-pay-card:hover { box-shadow: var(--shadow); }

.lp-pay-icons {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    min-height: 48px;
}

.lp-pay-icons img { display: block; }

.lp-pay-glyph { font-size: 30px; line-height: 1; }
.lp-pay-gift {
    align-items: center;
    background: linear-gradient(135deg, #bd0018, #76000d);
    border-radius: 16px;
    display: flex;
    font-size: 26px;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.lp-pay-card h3 { font-size: 19px; margin: 0 0 8px; }
.lp-pay-card p { color: var(--muted); line-height: 1.55; margin: 0 0 16px; }

.lp-pay-tag {
    background: rgba(153, 0, 17, .07);
    border: 1px solid rgba(153, 0, 17, .1);
    border-radius: 999px;
    color: var(--red);
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
}

.lp-pay-note {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    margin: 26px 0 0;
    text-align: center;
}

/* ---- Audience / who it's for ---- */
.lp-audience-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, 1fr);
}

.lp-aud-card {
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 26px 22px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.lp-aud-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }

.lp-aud-emoji {
    align-items: center;
    background: rgba(153, 0, 17, .07);
    border-radius: 18px;
    display: inline-flex;
    font-size: 26px;
    height: 56px;
    justify-content: center;
    margin-bottom: 14px;
    width: 56px;
}

.lp-aud-card h3 { font-size: 17px; margin: 0 0 8px; }
.lp-aud-card p { color: var(--muted); line-height: 1.55; margin: 0; }

/* ---- Marketplace ---- */
.lp-marketplace { padding-top: 24px; }
.lp-market-grid {
    align-items: center;
    display: grid;
    gap: 56px;
    grid-template-columns: 1.05fr .95fr;
}

.lp-check-list {
    list-style: none;
    margin: 22px 0 28px;
    padding: 0;
}

.lp-check-list li {
    color: var(--text);
    font-weight: 600;
    margin: 0 0 12px;
    padding-left: 32px;
    position: relative;
}

.lp-check-list li::before {
    align-items: center;
    background: rgba(22, 138, 74, .12);
    border-radius: 50%;
    color: var(--green);
    content: "✓";
    display: flex;
    font-size: 12px;
    font-weight: 900;
    height: 22px;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0;
    width: 22px;
}

.lp-market-visual { perspective: 1100px; }
.lp-market-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow);
    margin: 0 auto;
    max-width: 360px;
    padding: 22px;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}

.lp-market-row, .lp-market-foot {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.lp-market-row span { color: var(--muted); font-size: 13px; font-weight: 700; }
.lp-market-row b {
    background: rgba(153, 0, 17, .08);
    border-radius: 999px;
    color: var(--red);
    font-size: 12px;
    padding: 4px 10px;
}

.lp-market-thumb {
    background: linear-gradient(135deg, #bd0018, #76000d);
    border-radius: 18px;
    height: 150px;
    margin: 16px 0;
}

.lp-market-meta strong { display: block; font-size: 16px; }
.lp-market-meta span { color: var(--amber); font-size: 13px; font-weight: 700; }
.lp-market-foot { margin-top: 16px; }
.lp-market-foot span { color: var(--green); font-size: 13px; font-weight: 800; }
.lp-market-foot b { font-size: 22px; }

/* ---- Testimonials ---- */
.lp-test-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
}

.lp-test-card {
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--border);
    border-radius: 22px;
    margin: 0;
    padding: 26px;
}

.lp-test-card blockquote {
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.lp-test-card figcaption strong { display: block; }
.lp-test-card figcaption span { color: var(--muted); font-size: 13px; }

/* ---- FAQ ---- */
.lp-faq-list {
    margin: 0 auto;
    max-width: 760px;
}

.lp-faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    padding: 0 20px;
}

.lp-faq-item summary {
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    list-style: none;
    padding: 18px 32px 18px 0;
    position: relative;
}

.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after {
    color: var(--red);
    content: "+";
    font-size: 22px;
    font-weight: 700;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform .2s ease;
}

.lp-faq-item[open] summary::after { content: "−"; }
.lp-faq-item p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
    padding: 0 0 18px;
}

/* ---- Final CTA ---- */
.lp-cta {
    margin: 24px auto 0;
    max-width: 1160px;
    padding: 24px 24px 72px;
}

.lp-cta-inner {
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 153, 0, .18), transparent 40%),
        linear-gradient(135deg, #76000d, var(--red-2));
    border-radius: 32px;
    box-shadow: 0 40px 80px rgba(153, 0, 17, .26);
    color: #fff;
    padding: 56px 32px;
    text-align: center;
}

.lp-cta-inner h2 { font-size: 36px; letter-spacing: -.02em; margin: 0; }
.lp-cta-inner p {
    color: rgba(255, 255, 255, .9);
    font-size: 17px;
    line-height: 1.6;
    margin: 14px auto 0;
    max-width: 560px;
}

.lp-cta-actions { justify-content: center; }
.lp-cta-actions .secondary-button {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

/* ---- Footer ---- */
.lp-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 56px 24px 36px;
}

.lp-footer-top {
    display: grid;
    gap: 48px;
    grid-template-columns: 1.2fr 2fr;
    margin: 0 auto 36px;
    max-width: 1160px;
}

.lp-footer-brand p {
    color: var(--muted);
    line-height: 1.6;
    margin: 14px 0 0;
    max-width: 320px;
}

.lp-footer-cols {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.lp-footer-col h3 {
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.lp-footer-col a {
    color: var(--muted);
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

.lp-footer-col a:hover { color: var(--red); }

.lp-footer .landing-footer-copy {
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
    margin: 0 auto;
    max-width: 1160px;
    padding-top: 24px;
    text-align: center;
}

/* ---- Scroll-reveal ---- */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}

[data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ---- Keyframes ---- */
@keyframes lpFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

@keyframes lpDrift {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(14px, -12px); }
    66% { transform: translate(-12px, 10px); }
}

@keyframes lpDeviceFloat {
    0%, 100% { transform: translateY(0) rotateZ(0); }
    50% { transform: translateY(-14px) rotateZ(.4deg); }
}

@keyframes lpBump {
    0% { transform: translateY(0); }
    35% { transform: translateY(-6px) scale(1.06); }
    100% { transform: translateY(0); }
}

@keyframes lpBarGrow {
    0%, 100% { transform: scaleY(.6); }
    50% { transform: scaleY(1); }
}

/* ---- Landing v2 responsive ---- */
@media (max-width: 1000px) {
    .lp-hero { padding-top: 28px; }
    .lp-slide { gap: 32px; grid-template-columns: 1fr; }
    .lp-hero-copy h1,
    .lp-slide-title { font-size: 46px; }
    .lp-hero-stage { order: -1; }
    .lp-platforms { grid-template-columns: repeat(4, 1fr); }
    .lp-services { grid-template-columns: repeat(2, 1fr); }
    .lp-steps { grid-template-columns: repeat(2, 1fr); }
    .lp-pay-grid { grid-template-columns: 1fr; }
    .lp-audience-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-market-grid { gap: 36px; grid-template-columns: 1fr; }
    .lp-test-grid { grid-template-columns: 1fr; }
    .lp-footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .lp-nav { display: none; }
}

@media (max-width: 560px) {
    .lp-header { padding: 12px 16px; }
    .lp-header .lp-link { display: none; }
    .lp-hero { padding: 20px 18px 44px; }
    .lp-hero-copy h1,
    .lp-slide-title { font-size: 34px; }
    .lp-hero-text { font-size: 16px; }
    .lp-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 8px; padding: 26px 14px; }
    .lp-stat strong { font-size: 30px; }
    .lp-section { padding: 44px 18px; }
    .lp-section-head h2, .lp-cta-inner h2 { font-size: 28px; }
    .lp-platforms { grid-template-columns: repeat(3, 1fr); }
    .lp-services { grid-template-columns: 1fr; }
    .lp-steps { grid-template-columns: 1fr; }
    .lp-audience-grid { grid-template-columns: 1fr; }
    .lp-cta-inner { padding: 40px 22px; }
    .lp-footer-cols { grid-template-columns: 1fr; }
    .lp-float-chip { font-size: 11px; padding: 8px 10px; }
    .lp-float-chip-1 { left: -10px; }
    .lp-float-chip-2 { right: -8px; }
    .lp-float-chip-3 { left: -6px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .lp-orb,
    .lp-device-inner,
    .lp-float-chip,
    .lp-proof,
    .lp-trust3d,
    .lp-proof-bars i,
    .lp-stat strong.is-bumped { animation: none !important; }

    .lp-device,
    .lp-market-card,
    .lp-platform,
    .lp-pay-card { transform: none !important; transition: none; }

    .lp-slide {
        transition: opacity .3s ease !important;
        transform: none !important;
    }

    .lp-slide.is-left,
    .lp-slide.is-right { transform: none !important; }

    [data-reveal] { opacity: 1; transform: none; transition: none; }

    .lp-step:hover,
    .lp-service-card:hover { transform: none; }

    a[href^="#"] { scroll-behavior: auto; }
}

/* =====================================================================
   LAUNCH WELCOME — premium 3D "we just launched" intro overlay.
   Toggle in config/sureboost.php (launch.welcome). See landing partial.
   ===================================================================== */
html.sb-welcome-lock { overflow: hidden; }

.sb-welcome {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 32px 22px;
    overflow: hidden;
    color: #fff;
    perspective: 1500px;
    background:
        radial-gradient(120% 88% at 50% -12%, rgba(189, 0, 24, .58), transparent 60%),
        radial-gradient(140% 120% at 50% 122%, rgba(153, 0, 17, .55), transparent 56%),
        linear-gradient(158deg, #270206 0%, #4d0009 44%, #720010 100%);
    opacity: 1;
    transition: opacity .6s ease, visibility .6s ease;
}

.sb-welcome.is-leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ---- backdrop fx ---- */
.sb-welcome-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.sb-welcome-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(46px);
    opacity: .55;
    will-change: transform;
}
.sb-welcome-orb-1 { width: 360px; height: 360px; top: -90px; left: -60px; background: radial-gradient(circle, rgba(255, 124, 132, .95), transparent 70%); animation: sbWelcomeDrift 15s ease-in-out infinite; }
.sb-welcome-orb-2 { width: 440px; height: 440px; bottom: -140px; right: -90px; background: radial-gradient(circle, rgba(255, 90, 95, .8), transparent 70%); animation: sbWelcomeDrift 19s ease-in-out infinite reverse; }
.sb-welcome-orb-3 { width: 260px; height: 260px; top: 38%; left: 58%; background: radial-gradient(circle, rgba(252, 246, 245, .4), transparent 70%); animation: sbWelcomeDrift 13s ease-in-out infinite; }

.sb-welcome-grid {
    position: absolute;
    inset: -2px;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 46px 46px;
    transform: perspective(620px) rotateX(58deg) translateY(22%) scale(1.5);
    transform-origin: 50% 100%;
    opacity: .55;
    -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 72%);
}

.sb-welcome-spark {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, .9);
    opacity: 0;
    animation: sbWelcomeSpark 3.4s ease-in-out infinite;
}

/* ---- stage ---- */
.sb-welcome-stage {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    text-align: center;
    transform-style: preserve-3d;
}

.sb-welcome-scene {
    position: relative;
    width: 196px;
    height: 196px;
    margin: 0 auto 30px;
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(14px) scale(.9);
    transition: opacity .8s ease, transform 1s cubic-bezier(.2, .7, .2, 1.2);
}
.sb-welcome.is-on .sb-welcome-scene { opacity: 1; transform: none; }

.sb-welcome-ring {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 196px;
    height: 196px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .3);
    opacity: 0;
}
.sb-welcome.is-on .sb-welcome-ring { animation: sbWelcomeRing 3s ease-out infinite; }
.sb-welcome-ring-2 { width: 156px; height: 156px; }
.sb-welcome.is-on .sb-welcome-ring-2 { animation-delay: 1.3s; }

.sb-welcome-badge {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 132px;
    height: 132px;
    transform-style: preserve-3d;
}

.sb-welcome-medallion {
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
    border-radius: 32px;
    background: linear-gradient(160deg, #fff 0%, #ffe7e9 100%);
    box-shadow: 0 28px 64px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -10px 24px rgba(189, 0, 24, .1);
    animation: sbWelcomeFloat 6.5s ease-in-out infinite;
}
.sb-welcome-medallion img { width: 76px; height: 76px; filter: drop-shadow(0 8px 16px rgba(153, 0, 17, .3)); }

.sb-welcome-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
    color: #4d0009;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .32);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.sb-welcome-chip i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(22, 138, 74, .25);
    animation: sbWelcomePulse 1.8s ease-in-out infinite;
}
.sb-welcome-chip-1 { top: 6%; left: -14%; animation: sbWelcomeFloat 5.5s ease-in-out infinite; }
.sb-welcome-chip-2 { top: 34%; right: -22%; color: var(--red); animation: sbWelcomeFloat 6.8s ease-in-out infinite reverse; }
.sb-welcome-chip-3 { bottom: 2%; left: -2%; animation: sbWelcomeFloat 6.1s ease-in-out .4s infinite; }

/* ---- copy (staggered rise) ---- */
.sb-welcome-eyebrow,
.sb-welcome-title,
.sb-welcome-sub,
.sb-welcome-actions,
.sb-welcome-progress {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.sb-welcome.is-on .sb-welcome-eyebrow { opacity: 1; transform: none; transition-delay: .2s; }
.sb-welcome.is-on .sb-welcome-title { opacity: 1; transform: none; transition-delay: .32s; }
.sb-welcome.is-on .sb-welcome-sub { opacity: 1; transform: none; transition-delay: .44s; }
.sb-welcome.is-on .sb-welcome-actions { opacity: 1; transform: none; transition-delay: .58s; }
.sb-welcome.is-on .sb-welcome-progress { opacity: 1; transform: none; transition-delay: .72s; }

.sb-welcome-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #ffd9dc;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
}
.sb-welcome-eyebrow i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .2);
    animation: sbWelcomePulse 1.6s ease-in-out infinite;
}

.sb-welcome-title {
    margin: 0 0 14px;
    font-size: clamp(30px, 7vw, 52px);
    line-height: 1.04;
    letter-spacing: -.025em;
    font-weight: 800;
}
.sb-welcome-title span {
    background: linear-gradient(100deg, #fff 0%, #ffc4c8 55%, #ff8f96 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sb-welcome-sub {
    margin: 0 auto 26px;
    max-width: 460px;
    font-size: clamp(15px, 2.6vw, 17px);
    line-height: 1.6;
    color: rgba(255, 245, 245, .82);
}

.sb-welcome-actions { display: flex; justify-content: center; }

.sb-welcome-enter {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    color: var(--red);
    background: #fff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .35);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.sb-welcome-enter svg { transition: transform .2s ease; }
.sb-welcome-enter:hover { transform: translateY(-2px); box-shadow: 0 24px 54px rgba(0, 0, 0, .42); background: #fff6f6; }
.sb-welcome-enter:hover svg { transform: translateX(4px); }
.sb-welcome-enter:active { transform: scale(.97); }

.sb-welcome-progress {
    width: 168px;
    height: 4px;
    margin: 26px auto 0;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, .2);
}
.sb-welcome-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #fff, #ffc4c8);
}
.sb-welcome.is-on .sb-welcome-progress span {
    animation: sbWelcomeFill var(--sb-welcome-dur, 5400ms) linear forwards;
}

@keyframes sbWelcomeDrift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(26px, -22px, 0) scale(1.08); }
}
@keyframes sbWelcomeSpark {
    0%, 100% { opacity: 0; transform: scale(.5); }
    50% { opacity: 1; transform: scale(1); }
}
@keyframes sbWelcomeRing {
    0% { opacity: .6; transform: scale(.7); }
    100% { opacity: 0; transform: scale(1.35); }
}
@keyframes sbWelcomeFloat {
    0%, 100% { transform: translateY(0) rotateX(0) rotateZ(0); }
    50% { transform: translateY(-10px) rotateX(6deg) rotateZ(-1.5deg); }
}
@keyframes sbWelcomePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .35); }
    50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}
@keyframes sbWelcomeFill {
    from { width: 0; }
    to { width: 100%; }
}

@media (max-width: 600px) {
    .sb-welcome-chip-1 { left: -2%; }
    .sb-welcome-chip-2 { right: -6%; }
    .sb-welcome-chip-3 { left: 4%; }
}

@media (prefers-reduced-motion: reduce) {
    .sb-welcome-orb,
    .sb-welcome-spark,
    .sb-welcome-medallion,
    .sb-welcome-chip,
    .sb-welcome.is-on .sb-welcome-ring,
    .sb-welcome.is-on .sb-welcome-ring-2 { animation: none !important; }

    .sb-welcome-ring { display: none; }

    .sb-welcome-scene,
    .sb-welcome-eyebrow,
    .sb-welcome-title,
    .sb-welcome-sub,
    .sb-welcome-actions,
    .sb-welcome-progress { transition-duration: .35s !important; transition-delay: 0s !important; }
}
