:root {
    --gx-blue: #1168ff;
    --gx-blue-2: #004ee9;
    --gx-ink: #071436;
    --gx-muted: #6f7893;
    --gx-line: #dce6f7;
    --gx-soft: #f6f9ff;
    --gx-card: #ffffff;
    --gx-shadow: 0 12px 34px rgba(37, 90, 180, 0.10);
}

/* Tailwind declares cascade layers; important declarations in its first layer
   outrank unlayered overrides. Keep the reference geometry in that same layer. */
@layer theme {
    .rn-quick-currency,
    .rn-dashboard-currency {
        display: none !important;
    }

    @media (max-width: 760px) {
        html body.rn-account-body main.rn-main section#rn-dashboard-shell {
            width: 100% !important;
            max-width: 100% !important;
            min-height: 911px !important;
            height: auto !important;
            margin: 0 !important;
            padding: 0 !important;
            overflow: hidden !important;
        }

        html body.rn-account-body main.rn-main section#rn-dashboard-shell > .kd-mobile-head,
        html body.rn-account-body main.rn-main section#rn-dashboard-shell > .kd-content > .gx-dashboard,
        html body.rn-account-body main.rn-main section#rn-dashboard-shell > .kd-content > .kd-account-topbar {
            display: none !important;
        }

        html body.rn-account-body main.rn-main section#rn-dashboard-shell > .kd-content {
            display: block !important;
            width: 100% !important;
            max-width: 100% !important;
            min-height: 911px !important;
            height: auto !important;
            margin: 0 !important;
            padding: 0 !important;
            overflow: visible !important;
        }

        html body.rn-account-body main.rn-main section#rn-dashboard-shell .rn-mobile-dashboard {
            display: block !important;
            width: 100% !important;
            max-width: 432px !important;
            min-height: 911px !important;
            margin: 0 auto !important;
            padding: 0 !important;
        }

        html body.rn-account-body nav#rn-dashboard-bottom-nav {
            display: grid !important;
            visibility: visible !important;
            opacity: 1 !important;
            position: fixed !important;
            z-index: 90 !important;
            right: max(17px, calc((100vw - 398px) / 2)) !important;
            bottom: 10px !important;
            left: max(17px, calc((100vw - 398px) / 2)) !important;
            width: auto !important;
            height: 52px !important;
            min-height: 52px !important;
            grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
            align-items: center !important;
            padding: 4px 8px !important;
            border: 0 !important;
            border-radius: 18px !important;
            background: rgba(255, 255, 255, .98) !important;
            direction: rtl !important;
            box-shadow: 0 9px 26px rgba(28, 69, 146, .15) !important;
        }

        html body.rn-account-body nav#rn-dashboard-bottom-nav > a,
        html body.rn-account-body nav#rn-dashboard-bottom-nav > a:nth-child(n) {
            position: relative !important;
            inset: auto !important;
            display: grid !important;
            width: 100% !important;
            height: 44px !important;
            min-height: 44px !important;
            grid-template-rows: 24px 12px !important;
            place-items: center !important;
            gap: 2px !important;
            margin: 0 !important;
            padding: 0 !important;
            border-radius: 0 !important;
            background: transparent !important;
            color: #7a879f !important;
            box-shadow: none !important;
            transform: none !important;
        }

        html body.rn-account-body nav#rn-dashboard-bottom-nav > a > span,
        html body.rn-account-body nav#rn-dashboard-bottom-nav > a:last-child > span {
            position: static !important;
            inset: auto !important;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            transform: none !important;
        }

        html body.rn-account-body nav#rn-dashboard-bottom-nav > a.kd-charge-now {
            position: relative !important;
            width: 52px !important;
            height: 52px !important;
            min-height: 52px !important;
            justify-self: center !important;
            margin-top: -23px !important;
            border-radius: 50% !important;
            background: transparent !important;
            color: #fff !important;
            box-shadow: none !important;
            isolation: isolate !important;
        }

        html body.rn-account-body nav#rn-dashboard-bottom-nav > a.kd-charge-now::before {
            content: "" !important;
            position: absolute !important;
            z-index: 0 !important;
            top: 2px !important;
            left: 4px !important;
            width: 44px !important;
            height: 44px !important;
            border-radius: 50% !important;
            background: linear-gradient(145deg, #267aff, #0757ed) !important;
            box-shadow: 0 8px 20px rgba(18, 104, 255, .28) !important;
        }

        html body.rn-account-body nav#rn-dashboard-bottom-nav > a.kd-charge-now > svg {
            position: absolute !important;
            z-index: 1 !important;
            top: 12px !important;
            left: 14px !important;
            width: 24px !important;
            height: 24px !important;
        }

        html body.rn-account-body nav#rn-dashboard-bottom-nav > a.kd-charge-now > span {
            position: absolute !important;
            z-index: 1 !important;
            top: 47px !important;
            color: #1268ff !important;
            -webkit-text-fill-color: #1268ff !important;
        }

        html body.rn-account-body .rn-mobile-dashboard-head {
            height: 110px !important;
        }

        html body.rn-account-body .rn-mobile-menu,
        html body.rn-account-body .rn-mobile-user-tools {
            top: 12px !important;
        }

        html body.rn-account-body .rn-mobile-balance {
            top: 51px !important;
        }

        html body.rn-account-body .rn-mobile-greeting-copy {
            top: 52px !important;
            width: calc(100% - 183px) !important;
            max-width: 249px !important;
        }

        html body.rn-account-body .rn-mobile-greeting-copy h1 {
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }

        html body.rn-account-body .rn-mobile-greeting-copy p {
            white-space: normal !important;
        }

        html body.rn-account-body .rn-mobile-hero > img {
            transform: scale(1.075) !important;
        }

        html body.rn-account-body .rn-mobile-promo > img {
            inset: -6px !important;
            width: calc(100% + 12px) !important;
            height: calc(100% + 12px) !important;
            max-width: none !important;
            object-fit: cover !important;
            object-position: center !important;
            transform: scale(1.1) !important;
        }

        html body.rn-account-body .rn-mobile-weekly > img {
            transform: scaleX(-1) scale(1.055) !important;
        }

        html body.rn-account-body .rn-mobile-hero > div {
            top: 19px !important;
            right: 18px !important;
            width: 146px !important;
        }

        html body.rn-account-body .rn-mobile-hero h2 {
            margin-bottom: 5px !important;
        }

        html body.rn-account-body .rn-mobile-hero p {
            margin-bottom: 6px !important;
            line-height: 1.42 !important;
        }

        html body.rn-account-body .rn-mobile-hero a {
            width: 120px !important;
            height: 27px !important;
            gap: 7px !important;
        }

        /* Inner account pages: one compact responsive system. */
        html body.rn-account-body main.rn-main section.kd-shell:not(.is-dashboard) {
            width: 100% !important;
            max-width: 100% !important;
            min-height: 100dvh !important;
            margin: 0 !important;
            padding: 0 0 84px !important;
            overflow: clip !important;
            background: #f5f8ff !important;
        }

        html body.rn-account-body main.rn-main section.kd-shell:not(.is-dashboard) > .kd-mobile-head {
            position: sticky !important;
            top: 0 !important;
            z-index: 42 !important;
            display: grid !important;
            width: 100% !important;
            height: 72px !important;
            grid-template-columns: 44px minmax(126px, 1fr) 42px 42px !important;
            grid-template-areas: "menu balance notify avatar" !important;
            align-items: center !important;
            gap: 8px !important;
            margin: 0 !important;
            padding: 10px 14px !important;
            border-bottom: 1px solid #e4ebf8 !important;
            background: rgba(248, 250, 255, .96) !important;
            backdrop-filter: blur(16px) !important;
            box-shadow: 0 5px 20px rgba(28, 69, 146, .05) !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-mobile-head > button {
            grid-area: menu !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-mobile-head > .kd-mobile-brand {
            grid-area: balance !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-mobile-head > .kd-mobile-notify {
            grid-area: notify !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-mobile-head > .kd-avatar {
            grid-area: avatar !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-mobile-brand {
            display: flex !important;
            width: 100% !important;
            height: 48px !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 5px 12px !important;
            border: 1px solid #e0e8f6 !important;
            border-radius: 14px !important;
            background: #fff !important;
            box-shadow: 0 6px 16px rgba(28,69,146,.06) !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-mobile-brand img {
            width: min(100%, 122px) !important;
            height: 34px !important;
            object-fit: contain !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-mobile-head > button,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-mobile-notify,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-avatar {
            position: relative !important;
            inset: auto !important;
            display: grid !important;
            width: 42px !important;
            height: 42px !important;
            min-width: 42px !important;
            place-items: center !important;
            margin: 0 !important;
            padding: 0 !important;
            border: 1px solid #e0e8f6 !important;
            border-radius: 13px !important;
            background: #fff !important;
            color: #0e61ef !important;
            box-shadow: 0 6px 16px rgba(28, 69, 146, .07) !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-balance-pill {
            position: relative !important;
            inset: auto !important;
            display: grid !important;
            min-width: 0 !important;
            width: 100% !important;
            height: 46px !important;
            grid-template-columns: 1fr 30px !important;
            grid-template-rows: 16px 20px !important;
            align-items: center !important;
            gap: 0 8px !important;
            margin: 0 !important;
            padding: 5px 10px !important;
            overflow: hidden !important;
            border: 1px solid #dce7fa !important;
            border-radius: 14px !important;
            background: #fff !important;
            color: #0a1a42 !important;
            box-shadow: 0 6px 16px rgba(28, 69, 146, .06) !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-balance-pill span,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-balance-pill strong {
            grid-column: 1 !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-balance-pill span {
            color: #7b879e !important;
            font-size: 9px !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-balance-pill strong {
            font-size: 14px !important;
            line-height: 1 !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-balance-pill b {
            grid-column: 2 !important;
            grid-row: 1 / 3 !important;
            width: 28px !important;
            height: 28px !important;
            border-radius: 9px !important;
            background: #1268ff !important;
            color: #fff !important;
        }

        html body.rn-account-body main.rn-main section.kd-shell:not(.is-dashboard) > .kd-content {
            display: grid !important;
            width: 100% !important;
            max-width: 680px !important;
            gap: 14px !important;
            align-content: start !important;
            grid-auto-rows: max-content !important;
            margin: 0 auto !important;
            padding: 14px 14px 98px !important;
            background: transparent !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-account-topbar {
            display: none !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-page-head,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-page-head.has-action {
            display: flex !important;
            min-height: 52px !important;
            flex-flow: row nowrap !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 12px !important;
            margin: 0 !important;
            padding: 2px 2px !important;
            text-align: right !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-page-head h1 {
            margin: 0 !important;
            color: #071943 !important;
            font-size: clamp(26px, 8vw, 32px) !important;
            line-height: 1.15 !important;
            font-weight: 850 !important;
            letter-spacing: -.035em !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-primary,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-secondary,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-empty a {
            min-height: 42px !important;
            padding: 0 16px !important;
            border-radius: 12px !important;
            font-size: 13px !important;
            font-weight: 800 !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-primary {
            border: 0 !important;
            background: linear-gradient(135deg, #267aff, #0757ed) !important;
            color: #fff !important;
            box-shadow: 0 7px 18px rgba(18, 104, 255, .2) !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-card {
            width: 100% !important;
            min-width: 0 !important;
            overflow: hidden !important;
            border: 1px solid #e0e8f5 !important;
            border-radius: 18px !important;
            background: #fff !important;
            padding: 0 !important;
            box-shadow: 0 9px 25px rgba(28, 69, 146, .07) !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-card-head {
            display: flex !important;
            min-height: 58px !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 10px !important;
            padding: 12px 14px !important;
            border-bottom: 1px solid #edf2fa !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-card-head h2 {
            margin: 0 !important;
            color: #0a1a42 !important;
            font-size: 18px !important;
            line-height: 1.3 !important;
            font-weight: 850 !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-card-head p {
            margin: 5px 0 0 !important;
            color: #75819a !important;
            font-size: 12px !important;
            line-height: 1.55 !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-filter-form select {
            width: 132px !important;
            min-height: 42px !important;
            border: 1px solid #dce6f5 !important;
            border-radius: 12px !important;
            padding: 0 10px !important;
            background: #f8faff !important;
            font-size: 12px !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-order-row,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-list-row {
            display: grid !important;
            width: 100% !important;
            min-width: 0 !important;
            grid-template-columns: minmax(0, 1fr) auto !important;
            gap: 7px 12px !important;
            align-items: center !important;
            padding: 15px 14px !important;
            border-bottom: 1px solid #edf2fa !important;
            color: #0a1a42 !important;
            text-align: right !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-order-row > div:first-child,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-list-row > div:first-child {
            min-width: 0 !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-order-row > div:nth-child(2) {
            grid-column: 1 / -1 !important;
            grid-row: 2 !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-order-row > strong,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-list-row > strong {
            grid-column: 2 !important;
            grid-row: 1 !important;
            white-space: nowrap !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-order-row > em,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-list-row > em {
            grid-column: 2 !important;
            grid-row: 2 !important;
            justify-self: end !important;
            max-width: 145px !important;
            overflow: hidden !important;
            padding: 6px 9px !important;
            border-radius: 999px !important;
            background: #eef4ff !important;
            color: #1268ff !important;
            font-size: 10px !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-list-row.stacked {
            grid-template-columns: 1fr auto !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-list-row.stacked > strong,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-list-row.stacked > span {
            grid-column: 1 / -1 !important;
            grid-row: auto !important;
            white-space: normal !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-list-row.stacked > em {
            grid-column: 1 !important;
            grid-row: auto !important;
            justify-self: start !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-stats-grid,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-stats-grid.four {
            display: grid !important;
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 10px !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-stat-card {
            display: grid !important;
            min-height: 92px !important;
            place-content: center !important;
            gap: 7px !important;
            padding: 14px 10px !important;
            border: 1px solid #e0e8f5 !important;
            border-radius: 16px !important;
            background: #fff !important;
            color: #0a1a42 !important;
            box-shadow: 0 7px 20px rgba(28, 69, 146, .06) !important;
            text-align: center !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-stat-card span {
            color: #75819a !important;
            font-size: 12px !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-stat-card strong {
            font-size: 24px !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-two-col {
            display: grid !important;
            grid-template-columns: minmax(0, 1fr) !important;
            gap: 14px !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-form {
            display: grid !important;
            grid-template-columns: minmax(0, 1fr) !important;
            gap: 14px !important;
            padding: 16px 14px !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-form label {
            min-width: 0 !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-form input,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-form select,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-form textarea {
            width: 100% !important;
            max-width: 100% !important;
            min-height: 48px !important;
            border: 1px solid #dce6f5 !important;
            border-radius: 13px !important;
            background: #f8faff !important;
            color: #0a1a42 !important;
            font-size: 16px !important;
            outline: none !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-wallet-hero {
            display: grid !important;
            gap: 8px !important;
            min-height: 154px !important;
            padding: 22px !important;
            border: 0 !important;
            border-radius: 20px !important;
            background: linear-gradient(145deg, #1268ff, #063dc4) !important;
            color: #fff !important;
            box-shadow: 0 14px 30px rgba(18, 104, 255, .2) !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-wallet-hero strong {
            font-size: clamp(28px, 9vw, 38px) !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-favorites-grid {
            display: grid !important;
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 12px !important;
            padding: 14px !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-favorite-card {
            min-width: 0 !important;
            padding: 10px !important;
            border: 1px solid #e7edf7 !important;
            border-radius: 15px !important;
            background: #fafcff !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-favorite-card img {
            width: 100% !important;
            height: auto !important;
            aspect-ratio: 1 !important;
            border-radius: 12px !important;
            object-fit: cover !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-tabs {
            display: flex !important;
            flex-wrap: wrap !important;
            gap: 6px !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-tabs a {
            padding: 8px 12px !important;
            border-radius: 999px !important;
            font-size: 12px !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-modal {
            padding: 10px !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) .kd-modal-card {
            width: 100% !important;
            max-height: calc(100dvh - 20px) !important;
            border-radius: 20px !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) > aside.kd-side-nav {
            position: fixed !important;
            z-index: 110 !important;
            top: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            left: auto !important;
            display: flex !important;
            width: min(82vw, 310px) !important;
            height: 100dvh !important;
            overflow-y: auto !important;
            flex-direction: column !important;
            align-items: stretch !important;
            justify-content: flex-start !important;
            gap: 5px !important;
            padding: 16px !important;
            background: #fff !important;
            transform: translate3d(105%, 0, 0) !important;
            transition: transform .1s cubic-bezier(.2,.8,.2,1) !important;
            will-change: transform !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) > aside.kd-side-nav > .kd-side-brand {
            display: flex !important;
            min-height: 64px !important;
            align-items: center !important;
            justify-content: center !important;
            margin: 0 0 8px !important;
            padding: 0 !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) > aside.kd-side-nav > .kd-side-brand img {
            width: 126px !important;
            height: auto !important;
            max-height: 42px !important;
            object-fit: contain !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) > aside.kd-side-nav > a,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) > aside.kd-side-nav > form > button {
            position: relative !important;
            display: flex !important;
            width: 100% !important;
            height: 46px !important;
            min-height: 46px !important;
            align-items: center !important;
            justify-content: flex-start !important;
            gap: 12px !important;
            margin: 0 !important;
            padding: 0 13px !important;
            border: 0 !important;
            border-radius: 13px !important;
            background: transparent !important;
            color: #26334d !important;
            font-size: 14px !important;
            font-weight: 750 !important;
            text-align: right !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) > aside.kd-side-nav > a.is-active {
            background: #edf4ff !important;
            color: #1268ff !important;
            box-shadow: inset -3px 0 #1268ff !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) > aside.kd-side-nav > a > svg,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) > aside.kd-side-nav > form > button > svg {
            position: static !important;
            flex: 0 0 23px !important;
            width: 23px !important;
            height: 23px !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) > aside.kd-side-nav > a > span,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) > aside.kd-side-nav > form > button > span {
            position: static !important;
            display: inline-block !important;
            width: auto !important;
            height: auto !important;
            overflow: visible !important;
            clip: auto !important;
            clip-path: none !important;
            color: inherit !important;
            opacity: 1 !important;
            visibility: visible !important;
            transform: none !important;
            white-space: nowrap !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) > aside.kd-side-nav > form {
            margin: 5px 0 0 !important;
            padding: 8px 0 0 !important;
            border-top: 1px solid #edf1f7 !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) > aside.kd-side-nav > .kd-side-promo,
        html body.rn-account-body section.kd-shell:not(.is-dashboard) > aside.kd-side-nav > .kd-side-help {
            display: none !important;
        }

        html body.rn-account-body.rn-sidebar-open section.kd-shell:not(.is-dashboard) > aside.kd-side-nav {
            transform: translate3d(0, 0, 0) !important;
        }

        html body.rn-account-body section.kd-shell:not(.is-dashboard) > .kd-drawer-backdrop {
            position: fixed !important;
            z-index: 105 !important;
            inset: 0 !important;
            display: block !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
            background: rgba(5, 16, 42, .38) !important;
            transition: opacity .09s ease, visibility 0s linear .09s !important;
        }

        html body.rn-account-body.rn-sidebar-open section.kd-shell:not(.is-dashboard) > .kd-drawer-backdrop {
            visibility: visible !important;
            opacity: 1 !important;
            pointer-events: auto !important;
            transition-delay: 0s !important;
        }

        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav {
            position: fixed !important;
            z-index: 95 !important;
            right: 12px !important;
            bottom: 10px !important;
            left: 12px !important;
            display: grid !important;
            visibility: visible !important;
            width: auto !important;
            height: 64px !important;
            min-height: 64px !important;
            grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
            align-items: center !important;
            gap: 3px !important;
            padding: 6px !important;
            border: 1px solid rgba(222, 231, 246, .9) !important;
            border-radius: 20px !important;
            background: rgba(255, 255, 255, .97) !important;
            box-shadow: 0 12px 30px rgba(28, 69, 146, .14) !important;
            backdrop-filter: blur(18px) !important;
            direction: rtl !important;
        }

        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a,
        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a:nth-child(n) {
            position: relative !important;
            inset: auto !important;
            display: grid !important;
            width: 100% !important;
            height: 50px !important;
            min-height: 50px !important;
            grid-template-rows: 25px 14px !important;
            place-items: center !important;
            gap: 2px !important;
            margin: 0 !important;
            padding: 4px 2px !important;
            border-radius: 14px !important;
            background: transparent !important;
            color: #7c899f !important;
            box-shadow: none !important;
            transform: none !important;
        }

        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a > svg {
            position: static !important;
            width: 23px !important;
            height: 23px !important;
        }

        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a > span,
        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a:last-child > span {
            position: static !important;
            inset: auto !important;
            display: block !important;
            visibility: visible !important;
            color: inherit !important;
            -webkit-text-fill-color: currentColor !important;
            font-size: 9px !important;
            line-height: 1 !important;
            opacity: 1 !important;
            transform: none !important;
            white-space: nowrap !important;
        }

        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a.is-active {
            background: #edf4ff !important;
            color: #1268ff !important;
        }

        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a.kd-charge-now {
            position: relative !important;
            width: 100% !important;
            height: 50px !important;
            min-height: 50px !important;
            margin: 0 !important;
            border-radius: 14px !important;
            background: linear-gradient(145deg, #267aff, #0757ed) !important;
            color: #fff !important;
            box-shadow: 0 7px 16px rgba(18, 104, 255, .22) !important;
        }

        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a.kd-charge-now::before {
            content: none !important;
        }

        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a.kd-charge-now > svg,
        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a.kd-charge-now > span {
            position: static !important;
            inset: auto !important;
            color: #fff !important;
            -webkit-text-fill-color: #fff !important;
        }

        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav .kd-nav-badge {
            top: 2px !important;
            right: calc(50% - 19px) !important;
        }

        /* Use the same floating center action on every account page. */
        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav {
            right: max(17px, calc((100vw - 398px) / 2)) !important;
            bottom: 10px !important;
            left: max(17px, calc((100vw - 398px) / 2)) !important;
            height: 52px !important;
            min-height: 52px !important;
            gap: 0 !important;
            padding: 4px 8px !important;
            border: 0 !important;
            border-radius: 18px !important;
        }

        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a,
        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a:nth-child(n) {
            height: 44px !important;
            min-height: 44px !important;
            grid-template-rows: 24px 12px !important;
            gap: 2px !important;
            padding: 0 !important;
            border-radius: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
        }

        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a.is-active {
            background: transparent !important;
            color: #1268ff !important;
        }

        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a.kd-charge-now {
            width: 52px !important;
            height: 52px !important;
            min-height: 52px !important;
            justify-self: center !important;
            margin-top: -23px !important;
            border-radius: 50% !important;
            background: transparent !important;
            box-shadow: none !important;
            isolation: isolate !important;
        }

        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a.kd-charge-now::before {
            content: "" !important;
            position: absolute !important;
            z-index: 0 !important;
            top: 2px !important;
            left: 4px !important;
            width: 44px !important;
            height: 44px !important;
            border-radius: 50% !important;
            background: linear-gradient(145deg, #267aff, #0757ed) !important;
            box-shadow: 0 8px 20px rgba(18,104,255,.28) !important;
        }

        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a.kd-charge-now > svg {
            position: absolute !important;
            z-index: 1 !important;
            top: 12px !important;
            left: 14px !important;
            width: 24px !important;
            height: 24px !important;
        }

        html body.rn-account-body nav.kd-bottom-nav.is-inner-nav > a.kd-charge-now > span {
            position: absolute !important;
            z-index: 1 !important;
            top: 47px !important;
            color: #1268ff !important;
            -webkit-text-fill-color: #1268ff !important;
        }

        html body.rn-account-body .kd-side-currency {
            display: grid !important;
            gap: 8px !important;
            margin-top: 8px !important;
            padding-top: 12px !important;
            border-top: 1px solid #edf1f7 !important;
        }

        html body.rn-account-body .kd-side-currency > span {
            color: #75819a !important;
            font-size: 11px !important;
            font-weight: 800 !important;
        }

        html body.rn-account-body .kd-side-currency > div {
            display: grid !important;
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            gap: 6px !important;
        }

        html body.rn-account-body .kd-side-currency form {
            margin: 0 !important;
            padding: 0 !important;
            border: 0 !important;
        }

        html body.rn-account-body .kd-side-currency button {
            display: grid !important;
            width: 100% !important;
            min-height: 54px !important;
            grid-template-columns: 22px 1fr !important;
            grid-template-rows: auto auto !important;
            align-items: center !important;
            gap: 0 5px !important;
            padding: 7px !important;
            border: 1px solid #e1e8f4 !important;
            border-radius: 11px !important;
            background: #f8faff !important;
            color: #26334d !important;
            font-size: 10px !important;
        }

        html body.rn-account-body .kd-side-currency button.is-active {
            border-color: #b9d1ff !important;
            background: #edf4ff !important;
            color: #1268ff !important;
        }

        html body.rn-account-body .kd-side-currency button img {
            grid-row: 1 / 3 !important;
            width: 21px !important;
            height: 21px !important;
            border-radius: 50% !important;
            object-fit: cover !important;
        }

        html body.rn-account-body .kd-side-currency button b,
        html body.rn-account-body .kd-side-currency button small {
            line-height: 1 !important;
        }

        .rn-dashboard-currency {
            position: absolute !important;
            z-index: 25 !important;
            top: 12px !important;
            left: 56px !important;
            display: block !important;
        }

        html body:not(.rn-account-body) .ks-topbar {
            position: relative !important;
        }

        html body:not(.rn-account-body) header.ks-header .ks-topbar > .ks-brand {
            position: absolute !important;
            top: 50% !important;
            right: auto !important;
            left: 50% !important;
            z-index: 3 !important;
            width: auto !important;
            max-width: 118px !important;
            transform: translate(-50%, -50%) !important;
        }

        html body:not(.rn-account-body) header.ks-header .ks-topbar > .ks-brand .ks-brand-logo {
            width: 108px !important;
            max-width: 108px !important;
            height: auto !important;
        }

        html body:not(.rn-account-body) .rn-quick-currency {
            position: absolute !important;
            z-index: 55 !important;
            top: 12px !important;
            inset-inline-start: 62px !important;
            display: block !important;
        }

        .rn-quick-currency > summary,
        .rn-dashboard-currency > summary {
            display: flex !important;
            width: 96px !important;
            min-width: 96px !important;
            height: 42px !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 6px !important;
            padding: 0 9px !important;
            border: 1px solid #e0e8f6 !important;
            border-radius: 14px !important;
            background: linear-gradient(180deg, #fff, #f8faff) !important;
            color: #0a1a42 !important;
            box-shadow: 0 8px 20px rgba(28,69,146,.1) !important;
            cursor: pointer !important;
            list-style: none !important;
        }

        .rn-quick-currency > summary::-webkit-details-marker,
        .rn-dashboard-currency > summary::-webkit-details-marker {
            display: none !important;
        }

        .rn-quick-currency > summary img,
        .rn-dashboard-currency > summary img,
        .rn-quick-currency > div button img,
        .rn-dashboard-currency > div button img {
            width: 20px !important;
            height: 20px !important;
            border-radius: 50% !important;
            object-fit: cover !important;
        }

        .rn-quick-currency > summary b,
        .rn-dashboard-currency > summary b {
            font-size: 11px !important;
            font-weight: 850 !important;
            white-space: nowrap !important;
        }

        .rn-quick-currency > summary svg {
            width: 12px !important;
            height: 12px !important;
        }

        .rn-quick-currency > div,
        .rn-dashboard-currency > div {
            position: absolute !important;
            top: calc(100% + 7px) !important;
            left: 0 !important;
            display: grid !important;
            width: 180px !important;
            gap: 4px !important;
            padding: 8px !important;
            border: 1px solid #e0e8f6 !important;
            border-radius: 16px !important;
            background: #fff !important;
            box-shadow: 0 18px 40px rgba(20,55,115,.18) !important;
        }

        .rn-quick-currency > div button,
        .rn-dashboard-currency > div button {
            display: grid !important;
            width: 100% !important;
            min-height: 44px !important;
            grid-template-columns: 22px 1fr auto !important;
            align-items: center !important;
            gap: 7px !important;
            padding: 0 8px !important;
            border: 0 !important;
            border: 1px solid transparent !important;
            border-radius: 11px !important;
            background: transparent !important;
            color: #263650 !important;
            font-size: 11px !important;
            text-align: start !important;
        }

        .rn-quick-currency > div button.is-active,
        .rn-dashboard-currency > div button.is-active {
            border-color: #c9dcff !important;
            background: #edf4ff !important;
            color: #1268ff !important;
        }
    }
}

/* --------------------------------------------------------------------------
   2026-07 mobile customer dashboard reference implementation
   -------------------------------------------------------------------------- */
.rn-mobile-dashboard {
    display: none;
}

@media (min-width: 1025px) {
    html body.rn-account-body main.rn-main section.kd-shell > aside.kd-side-nav {
        right: 0 !important;
        left: auto !important;
        width: 254px !important;
        padding: 24px 18px 18px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell > aside.kd-side-nav > a,
    html body.rn-account-body main.rn-main section.kd-shell > aside.kd-side-nav > form > button {
        position: relative !important;
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        min-height: 54px !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 14px !important;
        padding: 0 18px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell > aside.kd-side-nav > a > span,
    html body.rn-account-body main.rn-main section.kd-shell > aside.kd-side-nav > form > button > span {
        position: static !important;
        display: inline-block !important;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        background: transparent !important;
        color: inherit !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        white-space: nowrap !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 760px) {
    html,
    body.rn-account-body,
    body.rn-account-body main.rn-main {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 100% !important;
        margin: 0 !important;
        overflow-x: hidden !important;
        background: #f7f9ff !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell.is-dashboard {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 911px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background:
            radial-gradient(circle at 82% 3%, rgba(217, 226, 255, .55), transparent 26%),
            linear-gradient(180deg, #f9fbff 0%, #f6f9ff 100%) !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell.is-dashboard > .kd-mobile-head,
    html body.rn-account-body main.rn-main section.kd-shell.is-dashboard > .kd-content > .gx-dashboard,
    html body.rn-account-body main.rn-main section.kd-shell.is-dashboard > .kd-content > .kd-account-topbar {
        display: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell.is-dashboard > .kd-content {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 911px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: transparent !important;
    }

    html body.rn-account-body .rn-mobile-dashboard {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        max-width: 432px !important;
        min-height: 911px !important;
        margin: 0 auto !important;
        color: #07163f !important;
        font-family: "Tajawal", "Noto Kufi Arabic", Arial, sans-serif !important;
        background: transparent !important;
    }

    .rn-mobile-statusbar {
        display: flex !important;
        width: 100% !important;
        height: 42px !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        padding: 14px 29px 0 !important;
        color: #080b13 !important;
    }

    .rn-mobile-statusbar > strong {
        font-family: Arial, sans-serif !important;
        font-size: 15px !important;
        line-height: 18px !important;
        font-weight: 800 !important;
        letter-spacing: -.04em !important;
    }

    .rn-status-icons {
        display: flex !important;
        height: 18px !important;
        align-items: center !important;
        gap: 7px !important;
    }

    .rn-cell-bars {
        display: flex !important;
        height: 13px !important;
        align-items: flex-end !important;
        gap: 2px !important;
    }

    .rn-cell-bars b {
        display: block !important;
        width: 3px !important;
        border-radius: 2px !important;
        background: #080b13 !important;
    }

    .rn-cell-bars b:nth-child(1) { height: 4px !important; }
    .rn-cell-bars b:nth-child(2) { height: 7px !important; }
    .rn-cell-bars b:nth-child(3) { height: 10px !important; }
    .rn-cell-bars b:nth-child(4) { height: 13px !important; }

    .rn-wifi {
        width: 16px !important;
        height: 14px !important;
    }

    .rn-battery {
        position: relative !important;
        display: block !important;
        width: 20px !important;
        height: 10px !important;
        border: 1.5px solid #080b13 !important;
        border-radius: 3px !important;
    }

    .rn-battery::after {
        content: "" !important;
        position: absolute !important;
        top: 2px !important;
        right: -3px !important;
        width: 2px !important;
        height: 4px !important;
        border-radius: 0 2px 2px 0 !important;
        background: #080b13 !important;
    }

    .rn-battery b {
        position: absolute !important;
        inset: 1.5px !important;
        border-radius: 1px !important;
        background: #080b13 !important;
    }

    .rn-mobile-dashboard-head {
        position: relative !important;
        width: 100% !important;
        height: 102px !important;
        padding: 0 !important;
    }

    .rn-mobile-menu,
    .rn-mobile-bell {
        display: grid !important;
        width: 31px !important;
        height: 31px !important;
        place-items: center !important;
        border: 0 !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, .95) !important;
        color: #071a48 !important;
        box-shadow: 0 7px 22px rgba(30, 62, 127, .08) !important;
        text-decoration: none !important;
    }

    .rn-mobile-menu {
        position: absolute !important;
        top: 8px !important;
        left: 18px !important;
        padding: 0 !important;
    }

    .rn-mobile-menu svg,
    .rn-mobile-bell svg {
        width: 19px !important;
        height: 19px !important;
    }

    .rn-mobile-user-tools {
        position: absolute !important;
        top: 8px !important;
        right: 18px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .rn-mobile-bell {
        position: relative !important;
    }

    .rn-mobile-bell em,
    .kd-nav-badge {
        position: absolute !important;
        top: 3px !important;
        right: 3px !important;
        display: grid !important;
        width: 13px !important;
        height: 13px !important;
        place-items: center !important;
        border: 1.5px solid #fff !important;
        border-radius: 50% !important;
        background: #f33b58 !important;
        color: #fff !important;
        font-family: Arial, sans-serif !important;
        font-size: 7px !important;
        line-height: 1 !important;
        font-style: normal !important;
        font-weight: 800 !important;
    }

    .rn-mobile-avatar {
        position: relative !important;
        display: block !important;
        width: 31px !important;
        height: 31px !important;
        overflow: visible !important;
        border-radius: 50% !important;
        background: #dbe5f7 !important;
    }

    .rn-mobile-avatar img {
        width: 31px !important;
        height: 31px !important;
        object-fit: cover !important;
        object-position: 72% 43% !important;
        border: 1px solid rgba(255, 255, 255, .9) !important;
        border-radius: 50% !important;
    }

    .rn-mobile-avatar i {
        position: absolute !important;
        right: -1px !important;
        bottom: -1px !important;
        width: 9px !important;
        height: 9px !important;
        border: 2px solid #fff !important;
        border-radius: 50% !important;
        background: #12bf69 !important;
    }

    .rn-mobile-balance {
        position: absolute !important;
        top: 45px !important;
        left: 18px !important;
        display: block !important;
        width: 135px !important;
        height: 50px !important;
        padding: 9px 14px 7px 48px !important;
        overflow: hidden !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, .98) !important;
        color: #091944 !important;
        box-shadow: 0 7px 24px rgba(30, 67, 140, .08) !important;
        text-align: right !important;
        text-decoration: none !important;
    }

    .rn-mobile-balance > span {
        display: block !important;
        margin: 0 0 4px !important;
        color: #75819a !important;
        font-size: 9px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
    }

    .rn-mobile-balance > strong {
        display: block !important;
        direction: ltr !important;
        color: #07143d !important;
        font-family: Arial, "Tajawal", sans-serif !important;
        font-size: 15px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    .rn-mobile-balance > strong small {
        font-family: "Tajawal", Arial, sans-serif !important;
        font-size: 11px !important;
    }

    .rn-mobile-balance > b {
        position: absolute !important;
        top: 15px !important;
        left: 14px !important;
        display: grid !important;
        width: 22px !important;
        height: 22px !important;
        place-items: center !important;
        border-radius: 8px !important;
        background: #1268ff !important;
        color: #fff !important;
        font-family: Arial, sans-serif !important;
        font-size: 17px !important;
        line-height: 1 !important;
        box-shadow: 0 6px 14px rgba(18, 104, 255, .22) !important;
    }

    .rn-mobile-greeting-copy {
        position: absolute !important;
        top: 49px !important;
        right: 18px !important;
        width: 230px !important;
        text-align: right !important;
    }

    .rn-mobile-greeting-copy h1 {
        margin: 0 0 5px !important;
        color: #07143d !important;
        font-size: 17px !important;
        line-height: 1.12 !important;
        font-weight: 800 !important;
        letter-spacing: -.025em !important;
        white-space: nowrap !important;
    }

    .rn-mobile-greeting-copy p {
        margin: 0 !important;
        color: #75819a !important;
        font-size: 10px !important;
        line-height: 1.35 !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
    }

    .rn-mobile-dashboard-content {
        width: 100% !important;
        padding: 0 17px 72px !important;
    }

    .rn-mobile-hero {
        position: relative !important;
        width: 100% !important;
        height: 150px !important;
        overflow: hidden !important;
        border-radius: 14px !important;
        background: #eef3ff !important;
        box-shadow: 0 9px 27px rgba(28, 69, 146, .07) !important;
    }

    .rn-mobile-hero > img,
    .rn-mobile-promo > img,
    .rn-mobile-weekly > img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .rn-mobile-hero > div {
        position: absolute !important;
        top: 27px !important;
        right: 18px !important;
        z-index: 2 !important;
        width: 142px !important;
        text-align: right !important;
    }

    .rn-mobile-hero h2 {
        margin: 0 0 7px !important;
        color: #07143d !important;
        font-size: 14px !important;
        line-height: 1.15 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    .rn-mobile-hero h2 strong {
        display: block !important;
        margin-top: 3px !important;
        color: #1268ff !important;
        font-size: 21px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
    }

    .rn-mobile-hero p {
        margin: 0 0 10px !important;
        color: #52617e !important;
        font-size: 8px !important;
        line-height: 1.55 !important;
        font-weight: 600 !important;
    }

    .rn-mobile-hero a {
        display: inline-flex !important;
        width: 116px !important;
        height: 28px !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        border-radius: 10px !important;
        background: #1268ff !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        font-size: 9px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        box-shadow: 0 7px 18px rgba(18, 104, 255, .22) !important;
    }

    .rn-mobile-stats {
        display: grid !important;
        width: 100% !important;
        height: 112px !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 6px !important;
        margin: 12px 0 0 !important;
        direction: ltr !important;
    }

    .rn-mobile-stats > article {
        display: grid !important;
        min-width: 0 !important;
        height: 112px !important;
        grid-template-rows: 36px 15px 23px 19px !important;
        place-items: center !important;
        align-content: center !important;
        gap: 3px !important;
        padding: 7px 3px !important;
        overflow: hidden !important;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, .98) !important;
        box-shadow: 0 8px 23px rgba(28, 69, 146, .08) !important;
        direction: rtl !important;
        text-align: center !important;
    }

    .rn-mobile-stats i {
        display: grid !important;
        width: 32px !important;
        height: 32px !important;
        place-items: center !important;
        border-radius: 11px !important;
    }

    .rn-mobile-stats i svg {
        width: 19px !important;
        height: 19px !important;
    }

    .rn-mobile-stats .is-wallet i { background: #eaf1ff !important; color: #1268ff !important; }
    .rn-mobile-stats .is-orders i { background: #e8faef !important; color: #12b968 !important; }
    .rn-mobile-stats .is-completed i { background: #f2edff !important; color: #7445ed !important; }
    .rn-mobile-stats .is-points i { background: #fff2e5 !important; color: #ff861c !important; }

    .rn-mobile-stats span {
        max-width: 100% !important;
        overflow: hidden !important;
        color: #33405f !important;
        font-size: 8.5px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .rn-mobile-stats strong {
        direction: ltr !important;
        color: #07143d !important;
        font-family: Arial, "Tajawal", sans-serif !important;
        font-size: 15px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    .rn-mobile-stats strong small {
        font-family: "Tajawal", Arial, sans-serif !important;
        font-size: 8px !important;
    }

    .rn-mobile-stats a {
        color: #1268ff !important;
        -webkit-text-fill-color: #1268ff !important;
        font-size: 8.5px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    .rn-mobile-promos {
        display: grid !important;
        width: 100% !important;
        height: 100px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin: 10px 0 0 !important;
        direction: ltr !important;
    }

    .rn-mobile-promo {
        position: relative !important;
        width: 100% !important;
        height: 100px !important;
        overflow: hidden !important;
        border-radius: 14px !important;
        box-shadow: 0 8px 23px rgba(28, 69, 146, .08) !important;
        direction: rtl !important;
    }

    .rn-mobile-promo > div {
        position: absolute !important;
        top: 14px !important;
        left: 11px !important;
        z-index: 2 !important;
        width: 86px !important;
        text-align: right !important;
    }

    .rn-mobile-promo h2 {
        margin: 0 0 6px !important;
        font-size: 13px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    .rn-mobile-promo.is-wallet h2 { color: #078a54 !important; }
    .rn-mobile-promo.is-invite h2 { color: #f15b16 !important; }

    .rn-mobile-promo p {
        margin: 0 0 7px !important;
        color: #3f4d69 !important;
        font-size: 8px !important;
        line-height: 1.35 !important;
        font-weight: 600 !important;
    }

    .rn-mobile-promo a {
        display: inline-flex !important;
        height: 22px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 12px !important;
        border-radius: 8px !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        font-size: 8px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }

    .rn-mobile-promo.is-wallet a { background: #10b66a !important; }
    .rn-mobile-promo.is-invite a { background: #ff7b20 !important; }

    .rn-mobile-weekly {
        position: relative !important;
        width: 100% !important;
        height: 98px !important;
        margin: 10px 0 0 !important;
        overflow: hidden !important;
        border-radius: 14px !important;
        background: #f0eaff !important;
        box-shadow: 0 8px 23px rgba(28, 69, 146, .07) !important;
    }

    .rn-mobile-weekly > img {
        transform: scaleX(-1) !important;
    }

    .rn-mobile-weekly > div {
        position: absolute !important;
        top: 13px !important;
        right: 21px !important;
        z-index: 2 !important;
        width: 108px !important;
        text-align: right !important;
    }

    .rn-mobile-weekly h2 {
        margin: 0 0 7px !important;
        color: #6e35ee !important;
        font-size: 15px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    .rn-mobile-weekly p {
        margin: 0 0 7px !important;
        color: #38445f !important;
        font-size: 8.5px !important;
        line-height: 1.35 !important;
        font-weight: 600 !important;
    }

    .rn-mobile-weekly a {
        display: inline-flex !important;
        height: 21px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 13px !important;
        border-radius: 8px !important;
        background: #6d35f4 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        font-size: 8px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }

    .rn-weekly-discount {
        position: absolute !important;
        top: 11px !important;
        left: 14px !important;
        z-index: 3 !important;
        display: grid !important;
        width: 57px !important;
        height: 57px !important;
        place-content: center !important;
        border-radius: 50% !important;
        background: linear-gradient(145deg, #7855f8, #6137e9) !important;
        color: #fff !important;
        font-size: 7px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        text-align: center !important;
        box-shadow: 0 7px 15px rgba(102, 61, 235, .25) !important;
    }

    .rn-weekly-discount strong {
        display: block !important;
        font-family: Arial, sans-serif !important;
        font-size: 22px !important;
        line-height: 1 !important;
    }

    .rn-mobile-dots {
        display: flex !important;
        width: 100% !important;
        height: 18px !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
    }

    .rn-mobile-dots i {
        display: block !important;
        width: 4px !important;
        height: 4px !important;
        border-radius: 50% !important;
        background: #d5dded !important;
    }

    .rn-mobile-dots i.is-active {
        background: #1268ff !important;
    }

    .rn-mobile-orders {
        width: 100% !important;
    }

    .rn-mobile-orders > header {
        display: flex !important;
        width: 100% !important;
        height: 30px !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 7px !important;
    }

    .rn-mobile-orders > header h2 {
        margin: 0 !important;
        color: #07143d !important;
        font-size: 14px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
    }

    .rn-mobile-orders > header a {
        color: #1268ff !important;
        -webkit-text-fill-color: #1268ff !important;
        font-size: 9px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        text-decoration: none !important;
    }

    .rn-mobile-orders-list {
        width: 100% !important;
        min-height: 165px !important;
        overflow: hidden !important;
        border-radius: 13px !important;
        background: rgba(255, 255, 255, .98) !important;
        box-shadow: 0 8px 23px rgba(28, 69, 146, .07) !important;
    }

    .rn-mobile-order-row {
        display: grid !important;
        width: 100% !important;
        height: 55px !important;
        grid-template-columns: 43px minmax(0, 1fr) 75px !important;
        gap: 9px !important;
        align-items: center !important;
        padding: 5px 8px !important;
        border-bottom: 1px solid #edf1f8 !important;
        color: #07143d !important;
        text-decoration: none !important;
        direction: rtl !important;
    }

    .rn-mobile-order-row:last-child {
        border-bottom: 0 !important;
    }

    .rn-mobile-order-row > img {
        width: 43px !important;
        height: 43px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
    }

    .rn-mobile-order-row > span {
        display: grid !important;
        min-width: 0 !important;
        gap: 2px !important;
        text-align: right !important;
    }

    .rn-mobile-order-row > span b {
        overflow: hidden !important;
        color: #07143d !important;
        font-size: 9px !important;
        line-height: 1.1 !important;
        font-weight: 800 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .rn-mobile-order-row > span small,
    .rn-mobile-order-row > span time {
        overflow: hidden !important;
        color: #71809d !important;
        font-size: 7.5px !important;
        line-height: 1.1 !important;
        font-weight: 600 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .rn-mobile-order-row > strong {
        display: grid !important;
        justify-items: start !important;
        gap: 5px !important;
        direction: ltr !important;
        color: #07143d !important;
        font-family: Arial, "Tajawal", sans-serif !important;
        font-size: 10px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    .rn-mobile-order-row > strong small {
        font-family: "Tajawal", Arial, sans-serif !important;
        font-size: 7px !important;
    }

    .rn-mobile-order-row > strong em {
        display: inline-flex !important;
        min-height: 16px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 7px !important;
        border-radius: 6px !important;
        font-family: "Tajawal", Arial, sans-serif !important;
        font-size: 7px !important;
        line-height: 1 !important;
        font-style: normal !important;
        font-weight: 700 !important;
        direction: rtl !important;
    }

    .rn-mobile-order-row > strong em.success { background: #e8faef !important; color: #0aa75d !important; }
    .rn-mobile-order-row > strong em.warning { background: #fff2e4 !important; color: #f27b18 !important; }
    .rn-mobile-order-row > strong em.danger { background: #ffe9ed !important; color: #e93f59 !important; }

    .rn-mobile-orders-empty {
        display: grid !important;
        min-height: 165px !important;
        place-items: center !important;
        color: #74809b !important;
        font-size: 11px !important;
        font-weight: 700 !important;
    }

    html body.rn-account-body nav.kd-bottom-nav {
        position: fixed !important;
        z-index: 90 !important;
        right: max(17px, calc((100vw - 398px) / 2)) !important;
        bottom: 10px !important;
        left: max(17px, calc((100vw - 398px) / 2)) !important;
        display: grid !important;
        width: auto !important;
        height: 52px !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        align-items: center !important;
        padding: 4px 8px !important;
        border: 0 !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, .98) !important;
        box-shadow: 0 9px 26px rgba(28, 69, 146, .15) !important;
        direction: rtl !important;
    }

    html body.rn-account-body nav.kd-bottom-nav > a,
    html body.rn-account-body nav.kd-bottom-nav > a:nth-child(n) {
        position: relative !important;
        inset: auto !important;
        display: grid !important;
        width: 100% !important;
        height: 44px !important;
        grid-template-rows: 24px 12px !important;
        place-items: center !important;
        align-content: center !important;
        gap: 2px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #7a879f !important;
        box-shadow: none !important;
        text-decoration: none !important;
        transform: none !important;
    }

    html body.rn-account-body nav.kd-bottom-nav > a > svg {
        width: 20px !important;
        height: 20px !important;
    }

    html body.rn-account-body nav.kd-bottom-nav > a > span {
        color: currentColor !important;
        -webkit-text-fill-color: currentColor !important;
        font-size: 8px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body nav.kd-bottom-nav > a.is-active {
        color: #1268ff !important;
    }

    html body.rn-account-body nav.kd-bottom-nav > a.kd-charge-now {
        width: 52px !important;
        height: 52px !important;
        min-height: 52px !important;
        justify-self: center !important;
        margin-top: -23px !important;
        grid-template-rows: 31px 12px !important;
        border-radius: 50% !important;
        background: #1268ff !important;
        color: #fff !important;
        box-shadow: 0 8px 20px rgba(18, 104, 255, .28) !important;
    }

    html body.rn-account-body nav.kd-bottom-nav > a.kd-charge-now > svg {
        width: 24px !important;
        height: 24px !important;
    }

    html body.rn-account-body nav.kd-bottom-nav > a.kd-charge-now > span {
        position: absolute !important;
        top: 56px !important;
        color: #1268ff !important;
        -webkit-text-fill-color: #1268ff !important;
    }

    html body.rn-account-body nav.kd-bottom-nav .kd-nav-badge {
        top: 4px !important;
        right: calc(50% - 13px) !important;
    }
}

/* Auth pages: final phone-safe geometry for both login and registration. */
@media (max-width: 760px) {
    html body.rn-auth-body main.rn-main {
        min-height: 100svh !important;
        padding: 10px !important;
        overflow-x: hidden !important;
        background: #f7f9ff !important;
    }

    html body.rn-auth-body main.rn-main section.gx-auth-shell {
        width: 100% !important;
        min-height: calc(100svh - 20px) !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        border: 0 !important;
        border-radius: 24px !important;
        overflow: hidden !important;
        background: transparent !important;
    }

    html body.rn-auth-body .gx-auth-panel {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 22px 18px !important;
        border-radius: 22px !important;
        background: #fff !important;
        box-shadow: 0 14px 34px rgba(24, 66, 140, .09) !important;
    }

    html body.rn-auth-body .gx-auth-logo {
        margin-bottom: 10px !important;
    }

    html body.rn-auth-body .gx-auth-logo img {
        max-width: 126px !important;
        max-height: 48px !important;
    }

    html body.rn-auth-body .gx-auth-heading h1 {
        font-size: clamp(24px, 7vw, 30px) !important;
        line-height: 1.15 !important;
    }

    html body.rn-auth-body .gx-auth-heading p {
        font-size: 12px !important;
        line-height: 1.6 !important;
    }

    html body.rn-auth-body .gx-auth-form {
        gap: 12px !important;
    }

    html body.rn-auth-body .gx-auth-input,
    html body.rn-auth-body .gx-auth-submit,
    html body.rn-auth-body .gx-auth-secondary {
        width: 100% !important;
        min-height: 48px !important;
        border-radius: 14px !important;
    }

    html body.rn-auth-body .gx-auth-visual {
        position: relative !important;
        order: 2 !important;
        width: 100% !important;
        min-height: 230px !important;
        height: 28svh !important;
        max-height: 300px !important;
        border-radius: 22px !important;
        overflow: hidden !important;
    }
}

/* Final mobile storefront header: currency lives in the drawer, logo owns the centre. */
@layer components {
    @media (max-width: 900px) {
        html body:not(.rn-admin-classic) header.ks-header .ks-topbar {
            position: relative !important;
        }

        html body:not(.rn-admin-classic) header.ks-header .ks-header-tools,
        html body:not(.rn-admin-classic) header.ks-header .rn-quick-currency {
            display: none !important;
            visibility: hidden !important;
        }

        html body:not(.rn-admin-classic) header.ks-header .ks-topbar > .ks-brand {
            position: absolute !important;
            top: 50% !important;
            right: auto !important;
            left: 50% !important;
            z-index: 4 !important;
            width: 112px !important;
            max-width: 112px !important;
            justify-content: center !important;
            transform: translate(-50%, -50%) !important;
        }

        html body:not(.rn-admin-classic) header.ks-header .ks-topbar > .ks-brand .ks-brand-logo {
            width: 108px !important;
            max-width: 108px !important;
            height: 42px !important;
            object-fit: contain !important;
        }

        html body:not(.rn-admin-classic) header.ks-header .ks-account-nav {
            display: contents !important;
        }

        html body:not(.rn-admin-classic) header.ks-header .ks-profile-menu {
            grid-area: login !important;
            width: 44px !important;
            min-width: 44px !important;
            max-width: 44px !important;
            justify-self: end !important;
            align-self: center !important;
        }

        html body:not(.rn-admin-classic) header.ks-header .ks-cart-link {
            grid-area: cart !important;
            justify-self: center !important;
        }
    }
}

@media (max-width: 420px) {
    html body.rn-auth-body .gx-auth-visual {
        min-height: 190px !important;
        height: 24svh !important;
        max-height: 230px !important;
    }

    html body.rn-auth-body .gx-auth-panel {
        padding: 18px 14px !important;
    }
}

/* Final mobile account fidelity pass — keep after all legacy account overrides. */
@media (max-width: 760px) {
    html,
    html body.rn-account-body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        background: #f6f9ff !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell {
        width: min(100%, 430px) !important;
        max-width: 430px !important;
        min-height: 100vh !important;
        margin: 0 auto !important;
        padding: 0 14px 112px !important;
        background: #f6f9ff !important;
        overflow: hidden !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell > .kd-content {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-mobile-head.kd-mobile-head {
        display: block !important;
        width: 100% !important;
        height: 160px !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    html body.rn-account-body .kd-mobile-head > button,
    html body.rn-account-body .kd-mobile-head .kd-mobile-notify,
    html body.rn-account-body .kd-mobile-head .kd-avatar {
        top: 24px !important;
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        border-radius: 15px !important;
        background: #fff !important;
        box-shadow: 0 8px 24px rgba(42, 76, 142, .08) !important;
    }

    html body.rn-account-body .kd-mobile-head > button {
        left: 6px !important;
    }

    html body.rn-account-body .kd-mobile-head .kd-mobile-notify {
        right: 58px !important;
    }

    html body.rn-account-body .kd-mobile-head .kd-avatar {
        right: 6px !important;
    }

    html body.rn-account-body .kd-mobile-head .kd-balance-pill {
        position: absolute !important;
        left: 0 !important;
        top: 86px !important;
        bottom: auto !important;
        width: 136px !important;
        height: 66px !important;
        min-height: 66px !important;
        padding: 0 !important;
        display: block !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 16px !important;
        background: #fff !important;
        box-shadow: 0 10px 28px rgba(42, 76, 142, .08) !important;
        color: #07143d !important;
        font-size: 0 !important;
        text-decoration: none !important;
    }

    html body.rn-account-body .kd-mobile-head .kd-balance-pill::before,
    html body.rn-account-body .kd-mobile-head .kd-balance-pill::after {
        content: none !important;
        display: none !important;
    }

    html body.rn-account-body .kd-mobile-head .kd-balance-pill span {
        position: absolute !important;
        top: 11px !important;
        right: 13px !important;
        color: #6f7b96 !important;
        font-size: 10px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body .kd-mobile-head .kd-balance-pill strong {
        position: absolute !important;
        right: 13px !important;
        bottom: 10px !important;
        max-width: 88px !important;
        color: #07143d !important;
        font-size: 17px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        font-variant-numeric: tabular-nums !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body .kd-mobile-head .kd-balance-pill b {
        position: absolute !important;
        left: 10px !important;
        top: 12px !important;
        width: 39px !important;
        height: 39px !important;
        display: grid !important;
        place-items: center !important;
        border-radius: 12px !important;
        background: #1268ff !important;
        color: #fff !important;
        font-size: 23px !important;
        line-height: 1 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell > .kd-content > .gx-dashboard {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: grid !important;
        gap: 12px !important;
        overflow: visible !important;
    }

    html body.rn-account-body .gx-mobile-greeting {
        display: flex !important;
        justify-content: flex-start !important;
        min-height: 62px !important;
        margin: -74px 0 8px !important;
        padding: 0 4px 0 0 !important;
        position: relative !important;
        z-index: 2 !important;
        text-align: right !important;
    }

    html body.rn-account-body .gx-mobile-greeting div {
        width: 57% !important;
    }

    html body.rn-account-body .gx-mobile-greeting h1 {
        margin: 0 0 5px !important;
        color: #07143d !important;
        font-size: 19px !important;
        line-height: 1.25 !important;
        font-weight: 800 !important;
        letter-spacing: -.02em !important;
        white-space: normal !important;
    }

    html body.rn-account-body .gx-mobile-greeting p {
        margin: 0 !important;
        color: #6b7895 !important;
        font-size: 10px !important;
        line-height: 1.45 !important;
        font-weight: 600 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-welcome {
        width: 100% !important;
        height: 150px !important;
        min-height: 150px !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        display: block !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 18px !important;
        background: #eef4ff !important;
        box-shadow: 0 10px 30px rgba(42, 76, 142, .08) !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-welcome img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy {
        position: absolute !important;
        z-index: 3 !important;
        top: 24px !important;
        right: 15px !important;
        width: 48% !important;
        display: grid !important;
        justify-items: end !important;
        text-align: right !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy h2 {
        margin: 0 0 5px !important;
        color: #07143d !important;
        font-size: 15px !important;
        line-height: 1.12 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy h2 strong {
        display: block !important;
        margin-top: 3px !important;
        color: #1268ff !important;
        font-size: 24px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy p {
        margin: 0 0 8px !important;
        color: #53617c !important;
        font-size: 8px !important;
        line-height: 1.55 !important;
        font-weight: 600 !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy a {
        width: 116px !important;
        height: 29px !important;
        min-height: 29px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        border-radius: 10px !important;
        background: #1268ff !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 7px !important;
        margin: 0 !important;
        direction: ltr !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article {
        min-width: 0 !important;
        min-height: 108px !important;
        padding: 9px 3px 8px !important;
        display: grid !important;
        grid-template-rows: 35px 14px 20px 10px 16px !important;
        justify-items: center !important;
        align-items: center !important;
        gap: 2px !important;
        border: 0 !important;
        border-radius: 17px !important;
        background: #fff !important;
        box-shadow: 0 10px 28px rgba(42, 76, 142, .08) !important;
        text-align: center !important;
        direction: rtl !important;
        overflow: hidden !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > i {
        width: 35px !important;
        height: 35px !important;
        border-radius: 12px !important;
        margin: 0 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > i svg {
        width: 20px !important;
        height: 20px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > span {
        font-size: 8px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > strong {
        font-size: 16px !important;
        line-height: 1 !important;
        font-variant-numeric: tabular-nums !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > small,
    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > a {
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 8px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-layout > .gx-dash-rail {
        gap: 8px !important;
        margin: 0 0 2px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card,
    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card {
        height: 100px !important;
        min-height: 100px !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 28px rgba(42, 76, 142, .07) !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card img,
    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card > div,
    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card > div {
        width: 54% !important;
        padding: 10px 9px !important;
        align-content: center !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card h2,
    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card h2 {
        margin: 0 0 3px !important;
        font-size: 14px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card span,
    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card p {
        font-size: 8px !important;
        line-height: 1.4 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card a,
    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card a {
        height: 24px !important;
        min-height: 24px !important;
        margin-top: 5px !important;
        padding: 0 12px !important;
        border-radius: 9px !important;
        font-size: 8px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dash-main::before {
        content: none !important;
        display: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-orders-card {
        border-radius: 16px !important;
        box-shadow: 0 10px 28px rgba(42, 76, 142, .07) !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-card-head {
        height: 42px !important;
        padding: 0 12px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-card-head h2 {
        font-size: 16px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-orders-row {
        min-height: 76px !important;
        grid-template-columns: 58px 1fr 66px !important;
        padding: 9px 10px !important;
        gap: 1px 8px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-order-game img {
        width: 48px !important;
        height: 48px !important;
        border-radius: 11px !important;
    }

    html body.rn-account-body nav.kd-bottom-nav.kd-bottom-nav {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        z-index: 70 !important;
        left: max(14px, calc((100vw - 402px) / 2)) !important;
        right: max(14px, calc((100vw - 402px) / 2)) !important;
        bottom: 10px !important;
        width: auto !important;
        height: 68px !important;
        padding: 7px 8px !important;
        border: 0 !important;
        border-radius: 22px !important;
        background: rgba(255, 255, 255, .97) !important;
        box-shadow: 0 14px 36px rgba(25, 72, 145, .16) !important;
    }

    html body.rn-account-body .kd-bottom-nav a,
    html body.rn-account-body .kd-bottom-nav a:nth-child(n) {
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        display: grid !important;
        place-items: center !important;
        gap: 3px !important;
        position: relative !important;
        background: transparent !important;
        color: #75829d !important;
        box-shadow: none !important;
        font-size: 9px !important;
        text-decoration: none !important;
    }

    html body.rn-account-body .kd-bottom-nav a svg {
        width: 21px !important;
        height: 21px !important;
    }

    html body.rn-account-body .kd-bottom-nav a.is-active {
        color: #1268ff !important;
    }

    html body.rn-account-body .kd-bottom-nav a.kd-charge-now {
        width: 54px !important;
        height: 54px !important;
        margin-top: -27px !important;
        justify-self: center !important;
        border-radius: 50% !important;
        background: #1268ff !important;
        color: #fff !important;
        box-shadow: 0 12px 28px rgba(18, 104, 255, .28) !important;
    }

    html body.rn-account-body .kd-bottom-nav a.kd-charge-now span {
        position: absolute !important;
        top: 57px !important;
        color: #1268ff !important;
        font-size: 9px !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 420px) {
    html body.rn-account-body .gx-mobile-hero-copy {
        right: 15px !important;
        width: 48% !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy h2 {
        font-size: 15px !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy h2 strong {
        font-size: 24px !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy a {
        width: 116px !important;
        height: 29px !important;
    }
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body.rn-auth-body,
body.rn-account-body {
    margin: 0 !important;
    background:
        radial-gradient(circle at 18% 2%, rgba(61, 126, 255, 0.08), transparent 34%),
        linear-gradient(180deg, #fbfdff 0%, #f5f8ff 100%) !important;
    color: var(--gx-ink) !important;
    font-family: "IBM Plex Sans Arabic", Alexandria, Cairo, Tajawal, sans-serif !important;
}

body.rn-auth-body .ks-header,
body.rn-auth-body .ks-footer,
body.rn-account-body .ks-header,
body.rn-account-body .ks-footer {
    display: none !important;
}

@media (min-width: 761px) {
    body.rn-account-body .kd-bottom-nav {
        display: none !important;
    }
}

body.rn-auth-body .rn-main,
body.rn-account-body .rn-main {
    min-height: 100vh !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Login / register */
body.rn-auth-body .gx-auth-shell {
    direction: ltr;
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 580px) !important;
    align-items: center !important;
    gap: clamp(36px, 5vw, 70px) !important;
    width: min(100% - 34px, 1518px) !important;
    min-height: calc(100vh - 34px) !important;
    margin: 17px auto !important;
    padding: clamp(34px, 4vw, 58px) !important;
    border: 1px solid var(--gx-line) !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 12% 8%, rgba(76, 130, 255, 0.10), transparent 31%),
        radial-gradient(circle at 43% 96%, rgba(170, 203, 255, 0.30), transparent 34%),
        #fbfdff !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.78), 0 22px 70px rgba(37, 70, 135, 0.08) !important;
}

body.rn-auth-body .gx-auth-visual {
    position: relative !important;
    display: block !important;
    min-height: 720px !important;
    height: clamp(720px, calc(100vh - 70px), 850px) !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body.rn-auth-body .gx-auth-visual-art {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    flex: none !important;
    height: 100% !important;
    width: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

body.rn-auth-body .gx-auth-visual-art img,
body.rn-auth-body .gx-auth-visual .gx-auth-visual-art > img {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    filter: drop-shadow(0 18px 28px rgba(35, 74, 157, 0.10)) !important;
}

body.rn-auth-body .gx-auth-visual::after {
    content: "" !important;
    position: absolute !important;
    inset: auto -8% -1% -8% !important;
    z-index: 2 !important;
    height: 58% !important;
    pointer-events: none !important;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 36%, rgba(255,255,255,0.99) 62%, #fff 100%) !important;
}

body.rn-auth-body .gx-auth-visual-copy {
    position: absolute !important;
    z-index: 3 !important;
    left: 5% !important;
    right: 5% !important;
    bottom: 34px !important;
    padding: 0 !important;
    text-align: center !important;
    direction: rtl !important;
}

body.rn-auth-body .gx-auth-visual-copy h2 {
    margin: 0 0 10px !important;
    color: var(--gx-ink) !important;
    font-size: clamp(28px, 2.55vw, 42px) !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
}

body.rn-auth-body .gx-auth-visual-copy p {
    width: min(560px, 92%) !important;
    margin: 0 auto !important;
    color: #69738f !important;
    font-size: clamp(16px, 1.25vw, 21px) !important;
    line-height: 1.75 !important;
    font-weight: 500 !important;
}

body.rn-auth-body .gx-auth-benefits {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    width: min(570px, 90%) !important;
    margin: 28px auto 0 !important;
    gap: 0 !important;
}

body.rn-auth-body .gx-auth-benefits span {
    position: relative !important;
    display: grid !important;
    gap: 6px !important;
    justify-items: center !important;
    color: #111d41 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

body.rn-auth-body .gx-auth-benefits span::before {
    content: "" !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    background: #edf3ff !important;
    box-shadow: inset 0 0 0 1px rgba(30, 102, 255, 0.06) !important;
}

body.rn-auth-body .gx-auth-benefits span:nth-child(1)::after,
body.rn-auth-body .gx-auth-benefits span:nth-child(2)::after,
body.rn-auth-body .gx-auth-benefits span:nth-child(3)::after {
    position: absolute !important;
    top: 15px !important;
    color: var(--gx-blue) !important;
    font-size: 26px !important;
    line-height: 1 !important;
}

body.rn-auth-body .gx-auth-benefits span:nth-child(1)::after { content: "ϟ" !important; }
body.rn-auth-body .gx-auth-benefits span:nth-child(2)::after { content: "♢" !important; }
body.rn-auth-body .gx-auth-benefits span:nth-child(3)::after { content: "♬" !important; }

body.rn-auth-body .gx-auth-panel {
    direction: rtl !important;
    width: 100% !important;
    max-width: 598px !important;
    justify-self: center !important;
    padding: clamp(34px, 4vw, 54px) clamp(28px, 3.6vw, 44px) !important;
    border: 1px solid #d7e1f2 !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 16px 44px rgba(18, 56, 126, 0.12) !important;
}

body.rn-auth-body .gx-auth-logo {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 42px !important;
}

body.rn-auth-body .gx-auth-logo img {
    width: auto !important;
    height: 72px !important;
    max-width: 240px !important;
    object-fit: contain !important;
}

body.rn-auth-body .gx-auth-heading {
    text-align: center !important;
    margin-bottom: 28px !important;
}

body.rn-auth-body .gx-auth-heading h1 {
    margin: 0 0 10px !important;
    color: var(--gx-ink) !important;
    font-size: clamp(32px, 3vw, 44px) !important;
    line-height: 1.14 !important;
    font-weight: 700 !important;
    letter-spacing: -0.045em !important;
}

body.rn-auth-body .gx-auth-heading p {
    margin: 0 !important;
    color: var(--gx-muted) !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
    font-weight: 500 !important;
}

body.rn-auth-body .gx-auth-form {
    display: grid !important;
    gap: 22px !important;
}

body.rn-auth-body .gx-auth-form--register {
    gap: 16px !important;
}

body.rn-auth-body .gx-auth-field {
    display: grid !important;
    gap: 9px !important;
    margin: 0 !important;
    color: var(--gx-ink) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

body.rn-auth-body .gx-auth-input {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    height: 66px !important;
    border: 1px solid #d3def0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #66708a !important;
    transition: border-color .18s ease, box-shadow .18s ease !important;
}

body.rn-auth-body .gx-auth-input:focus-within {
    border-color: #7faeff !important;
    box-shadow: 0 0 0 4px rgba(17, 104, 255, 0.09) !important;
}

body.rn-auth-body .gx-auth-input > svg {
    width: 24px !important;
    height: 24px !important;
    margin-inline: 20px 12px !important;
    flex: 0 0 auto !important;
}

body.rn-auth-body .gx-auth-input input {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: var(--gx-ink) !important;
    font: inherit !important;
    font-weight: 500 !important;
}

body.rn-auth-body .gx-auth-input input::placeholder {
    color: #8d96aa !important;
}

body.rn-auth-body .gx-auth-eye {
    width: 46px !important;
    height: 46px !important;
    margin-inline-end: 10px !important;
    border: 0 !important;
    background: transparent !important;
    color: #66708a !important;
    cursor: pointer !important;
}

body.rn-auth-body .gx-auth-eye svg {
    width: 23px !important;
    height: 23px !important;
}

body.rn-auth-body .gx-auth-row,
body.rn-auth-body .gx-auth-terms {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    color: var(--gx-ink) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

body.rn-auth-body .gx-auth-row label,
body.rn-auth-body .gx-auth-terms {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body.rn-auth-body .gx-auth-row a,
body.rn-auth-body .gx-auth-secondary,
body.rn-auth-body .gx-auth-terms a {
    color: var(--gx-blue) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

body.rn-auth-body .gx-auth-submit,
body.rn-auth-body .gx-auth-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 62px !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

body.rn-auth-body .gx-auth-submit {
    border: 0 !important;
    background: linear-gradient(135deg, #327cff 0%, #005eff 100%) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(0, 95, 255, .18) !important;
    cursor: pointer !important;
}

body.rn-auth-body .gx-auth-submit svg,
body.rn-auth-body .gx-auth-secondary svg {
    width: 23px !important;
    height: 23px !important;
}

body.rn-auth-body .gx-auth-secondary {
    border: 1px solid #d3def0 !important;
    background: #fff !important;
    color: var(--gx-blue) !important;
}

body.rn-auth-body .lc-alert {
    margin-bottom: 18px !important;
    padding: 13px 16px !important;
    border-radius: 12px !important;
}

/* Account dashboard reference */
body.rn-account-body .kd-shell {
    position: relative !important;
    display: block !important;
    min-height: 100vh !important;
    direction: rtl !important;
}

body.rn-account-body .kd-side-nav {
    position: fixed !important;
    inset: 0 0 0 auto !important;
    z-index: 50 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 254px !important;
    height: 100vh !important;
    padding: 24px 18px 18px !important;
    overflow-y: auto !important;
    border-left: 1px solid #e0e8f7 !important;
    border-radius: 0 0 0 24px !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: -12px 0 36px rgba(27, 64, 140, .06) !important;
}

body.rn-account-body .kd-side-brand {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 68px !important;
    margin-bottom: 22px !important;
}

body.rn-account-body .kd-side-brand img {
    width: 152px !important;
    height: 62px !important;
    object-fit: contain !important;
}

body.rn-account-body .kd-side-nav > a,
body.rn-account-body .kd-side-nav > form > button {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    width: 100% !important;
    min-height: 62px !important;
    margin: 0 0 12px !important;
    padding: 0 21px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    color: #22283b !important;
    text-decoration: none !important;
    font: inherit !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

body.rn-account-body .kd-side-nav > a span,
body.rn-account-body .kd-side-nav > form > button span {
    display: inline !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
}

body.rn-account-body .kd-side-nav > a svg,
body.rn-account-body .kd-side-nav > form > button svg {
    width: 27px !important;
    height: 27px !important;
    color: #33394b !important;
    flex: 0 0 auto !important;
}

body.rn-account-body .kd-side-nav > a.is-active {
    color: var(--gx-blue) !important;
    background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%) !important;
    box-shadow: inset -4px 0 0 var(--gx-blue), 0 8px 24px rgba(27, 101, 255, .09) !important;
    border: 1px solid #d7e4fb !important;
}

body.rn-account-body .kd-side-nav > a.is-active svg {
    color: var(--gx-blue) !important;
    fill: rgba(17,104,255,.08) !important;
}

body.rn-account-body .kd-side-nav > form {
    margin: 0 !important;
}

body.rn-account-body .kd-side-promo,
body.rn-account-body .kd-side-help {
    position: relative !important;
    overflow: hidden !important;
    margin-top: auto !important;
    border: 1px solid #dbe5f7 !important;
    border-radius: 18px !important;
}

body.rn-account-body .kd-side-promo {
    min-height: 286px !important;
    padding: 22px !important;
    color: #fff !important;
    background: linear-gradient(180deg, #4663ff 0%, #135bff 100%) !important;
}

body.rn-account-body .kd-side-promo img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
}

body.rn-account-body .kd-side-promo::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background: linear-gradient(180deg, rgba(0, 72, 255, .12), rgba(0, 68, 232, .48)) !important;
}

body.rn-account-body .kd-side-promo div {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    justify-items: center !important;
    text-align: center !important;
}

body.rn-account-body .kd-side-promo h2 {
    margin: 8px 0 8px !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

body.rn-account-body .kd-side-promo p {
    margin: 0 0 16px !important;
    color: rgba(255,255,255,.94) !important;
    line-height: 1.7 !important;
    font-size: 15px !important;
}

body.rn-account-body .kd-side-promo a,
body.rn-account-body .kd-side-help a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    padding: 0 24px !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--gx-blue) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

body.rn-account-body .kd-side-help {
    display: grid !important;
    justify-items: center !important;
    gap: 8px !important;
    min-height: 138px !important;
    margin-top: 18px !important;
    padding: 20px !important;
    text-align: center !important;
    background: #fff !important;
}

body.rn-account-body .kd-side-help strong {
    font-size: 18px !important;
}

body.rn-account-body .kd-side-help span {
    color: var(--gx-muted) !important;
    font-size: 14px !important;
}

body.rn-account-body .kd-content {
    width: calc(100% - 254px) !important;
    min-height: 100vh !important;
    margin-right: 254px !important;
    padding: 0 30px 28px !important;
}

body.rn-account-body .kd-account-topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 40 !important;
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    gap: 18px !important;
    height: 88px !important;
    margin: 0 -30px 24px !important;
    padding: 0 30px !important;
    border-bottom: 1px solid #e4ebf8 !important;
    background: rgba(255,255,255,.92) !important;
    backdrop-filter: blur(10px) !important;
}

body.rn-account-body .kd-user-chip,
body.rn-account-body .kd-top-icon,
body.rn-account-body .kd-top-wallet,
body.rn-account-body .kd-support-link,
body.rn-account-body .kd-balance-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 52px !important;
    border: 1px solid #dbe5f7 !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #0d1838 !important;
    box-shadow: 0 4px 16px rgba(39, 78, 145, .06) !important;
    text-decoration: none !important;
}

body.rn-account-body .kd-user-chip {
    gap: 12px !important;
    padding: 0 16px !important;
    min-width: 130px !important;
}

body.rn-account-body .kd-avatar {
    display: grid !important;
    place-items: center !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    color: var(--gx-blue) !important;
    background: #edf5ff !important;
    border: 1px solid #dbe8ff !important;
    font-weight: 700 !important;
}

body.rn-account-body .kd-top-icon {
    width: 54px !important;
    padding: 0 !important;
}

body.rn-account-body .kd-top-wallet {
    gap: 14px !important;
    padding: 0 18px !important;
    min-width: 204px !important;
    font-weight: 700 !important;
}

body.rn-account-body .kd-top-wallet b,
body.rn-account-body .kd-balance-pill b {
    display: grid !important;
    place-items: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 9px !important;
    background: #edf3ff !important;
    color: var(--gx-blue) !important;
}

body.rn-account-body .kd-support-link {
    gap: 9px !important;
    padding: 0 14px !important;
    border-color: transparent !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #2b3348 !important;
}

body.rn-account-body .kd-account-topbar svg,
body.rn-account-body .kd-mobile-head svg {
    width: 24px !important;
    height: 24px !important;
}

body.rn-account-body .kd-mobile-head,
body.rn-account-body .kd-drawer-backdrop {
    display: none !important;
}

body.rn-account-body .gx-dashboard {
    display: grid !important;
    gap: 20px !important;
    width: min(100%, 1220px) !important;
    margin: 0 auto !important;
    direction: rtl !important;
}

body.rn-account-body .gx-dash-welcome {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    min-height: 190px !important;
    overflow: hidden !important;
    border: 1px solid #dbe5f7 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: var(--gx-shadow) !important;
}

body.rn-account-body .gx-dash-welcome img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

body.rn-account-body .gx-dash-welcome div {
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
}

body.rn-account-body .gx-dash-welcome h1 {
    margin: 0 0 10px !important;
    color: var(--gx-ink) !important;
    font-size: clamp(32px, 3.2vw, 48px) !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    letter-spacing: -0.045em !important;
}

body.rn-account-body .gx-dash-welcome p {
    margin: 0 !important;
    color: #64708a !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

body.rn-account-body .gx-dash-stats {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

body.rn-account-body .gx-dash-stats article,
body.rn-account-body .gx-orders-card,
body.rn-account-body .gx-activity-card,
body.rn-account-body .gx-favorites-card,
body.rn-account-body .gx-wallet-card,
body.rn-account-body .gx-invite-card,
body.rn-account-body .gx-dashboard-features {
    border: 1px solid #dbe5f7 !important;
    border-radius: 17px !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: var(--gx-shadow) !important;
}

body.rn-account-body .gx-dash-stats article {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr 72px !important;
    align-content: center !important;
    min-height: 142px !important;
    padding: 22px 22px 18px 22px !important;
    color: var(--gx-ink) !important;
    overflow: hidden !important;
}

body.rn-account-body .gx-dash-stats i {
    grid-column: 2 !important;
    grid-row: 1 / span 4 !important;
    display: grid !important;
    place-items: center !important;
    width: 62px !important;
    height: 62px !important;
    border-radius: 20px !important;
    color: #1368ff !important;
    background: #edf4ff !important;
}

body.rn-account-body .gx-dash-stats i.wallet { background: #eaf1ff !important; }
body.rn-account-body .gx-dash-stats i.success { color: #37b45b !important; background: #e9f8ee !important; }
body.rn-account-body .gx-dash-stats i.points { color: #7e50ff !important; background: #f1ecff !important; }

body.rn-account-body .gx-dash-stats i svg {
    width: 32px !important;
    height: 32px !important;
}

body.rn-account-body .gx-dash-stats span {
    grid-column: 1 !important;
    color: #323c56 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

body.rn-account-body .gx-dash-stats strong {
    grid-column: 1 !important;
    margin-top: 4px !important;
    color: #071436 !important;
    font-size: 32px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    font-variant-numeric: tabular-nums !important;
}

body.rn-account-body .gx-dash-stats small {
    grid-column: 1 !important;
    color: #26314e !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

body.rn-account-body .gx-dash-stats a {
    grid-column: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 32px !important;
    margin-top: 10px !important;
    width: 100% !important;
    border-radius: 10px !important;
    color: var(--gx-blue) !important;
    background: #f4f7ff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

body.rn-account-body .gx-dash-layout {
    display: grid !important;
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: start !important;
    direction: ltr !important;
}

body.rn-account-body .gx-dash-layout > * {
    direction: rtl !important;
}

body.rn-account-body .gx-dash-rail {
    display: grid !important;
    gap: 18px !important;
}

body.rn-account-body .gx-wallet-card,
body.rn-account-body .gx-invite-card {
    position: relative !important;
    overflow: hidden !important;
    min-height: 176px !important;
    padding: 22px !important;
}

body.rn-account-body .gx-wallet-card {
    color: #fff !important;
    background: linear-gradient(160deg, #075df4, #113ee1) !important;
}

body.rn-account-body .gx-wallet-card img,
body.rn-account-body .gx-invite-card img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: scale(1.08) !important;
    z-index: 0 !important;
}

body.rn-account-body .gx-wallet-card::after,
body.rn-account-body .gx-invite-card::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background: linear-gradient(90deg, rgba(0,45,160,.18), rgba(0,60,210,.52)) !important;
}

body.rn-account-body .gx-wallet-card > div,
body.rn-account-body .gx-invite-card > div {
    position: relative !important;
    z-index: 2 !important;
}

body.rn-account-body .gx-wallet-card h2,
body.rn-account-body .gx-invite-card h2 {
    margin: 0 0 8px !important;
    font-size: 22px !important;
    color: inherit !important;
}

body.rn-account-body .gx-wallet-card span,
body.rn-account-body .gx-invite-card p {
    color: rgba(255,255,255,.88) !important;
    margin: 0 0 12px !important;
}

body.rn-account-body .gx-wallet-card strong {
    display: block !important;
    font-size: 31px !important;
    line-height: 1.1 !important;
    margin-bottom: 16px !important;
    font-variant-numeric: tabular-nums !important;
}

body.rn-account-body .gx-wallet-card a,
body.rn-account-body .gx-invite-card a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 0 18px !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.95) !important;
    color: var(--gx-blue) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

body.rn-account-body .gx-invite-card {
    min-height: 210px !important;
    color: #fff !important;
    background: #6f63ff !important;
}

body.rn-account-body .gx-wallet-card img {
    object-position: 58% center !important;
    transform: scale(1.12) !important;
}

body.rn-account-body .gx-invite-card img {
    object-position: 50% 54% !important;
    transform: scale(1.14) !important;
}

body.rn-account-body .gx-dash-main {
    display: grid !important;
    gap: 18px !important;
}

body.rn-account-body .gx-card-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 58px !important;
    padding: 0 20px !important;
    border-bottom: 1px solid #e3ebf8 !important;
}

body.rn-account-body .gx-card-head h2 {
    margin: 0 !important;
    color: var(--gx-ink) !important;
    font-size: 21px !important;
    font-weight: 700 !important;
}

body.rn-account-body .gx-card-head a {
    color: var(--gx-blue) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

body.rn-account-body .gx-orders-table {
    display: grid !important;
}

body.rn-account-body .gx-orders-row {
    display: grid !important;
    grid-template-columns: 1.45fr 1fr 1fr 1fr .86fr !important;
    align-items: center !important;
    min-height: 58px !important;
    gap: 12px !important;
    padding: 0 20px !important;
    border-bottom: 1px solid #edf2fa !important;
    color: #2d3651 !important;
    text-decoration: none !important;
    font-size: 14px !important;
}

body.rn-account-body .gx-orders-head {
    min-height: 48px !important;
    color: #66708a !important;
    background: #fbfcff !important;
    font-weight: 700 !important;
}

body.rn-account-body .gx-order-game {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body.rn-account-body .gx-order-game img {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
}

body.rn-account-body .gx-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 13px !important;
}

body.rn-account-body .gx-badge.success { color: #16843a !important; background: #e9f8ee !important; }
body.rn-account-body .gx-badge.warning { color: #ef6d12 !important; background: #fff2e8 !important; }
body.rn-account-body .gx-badge.danger { color: #c53737 !important; background: #ffecec !important; }

body.rn-account-body .gx-dash-split {
    display: grid !important;
    grid-template-columns: minmax(220px, .6fr) minmax(0, 1fr) !important;
    gap: 18px !important;
}

body.rn-account-body .gx-timeline,
body.rn-account-body .gx-fav-strip {
    padding: 18px !important;
}

body.rn-account-body .gx-timeline {
    display: grid !important;
    gap: 12px !important;
}

body.rn-account-body .gx-timeline-item {
    position: relative !important;
    padding-inline-start: 24px !important;
    color: #2b3450 !important;
}

body.rn-account-body .gx-timeline-item::before {
    content: "" !important;
    position: absolute !important;
    inset-inline-start: 0 !important;
    top: 6px !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: #36bd61 !important;
}

body.rn-account-body .gx-timeline-item span {
    display: block !important;
    margin-top: 4px !important;
    color: var(--gx-muted) !important;
    font-size: 12px !important;
}

body.rn-account-body .gx-fav-strip {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

body.rn-account-body .gx-fav-strip a {
    display: grid !important;
    gap: 9px !important;
    justify-items: center !important;
    color: #162041 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

body.rn-account-body .gx-fav-strip img {
    width: 78px !important;
    height: 78px !important;
    border-radius: 16px !important;
    object-fit: cover !important;
    box-shadow: 0 7px 18px rgba(32, 73, 146, .12) !important;
}

body.rn-account-body .gx-dashboard-features {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    min-height: 74px !important;
    padding: 0 !important;
    align-items: center !important;
    text-align: center !important;
    color: #1a2540 !important;
    font-weight: 700 !important;
}

body.rn-account-body .gx-dashboard-features span + span {
    border-inline-start: 1px solid #e1e9f8 !important;
}

body.rn-account-body .gx-dashboard-features span {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    justify-items: start !important;
    column-gap: 12px !important;
    min-height: 74px !important;
    padding: 0 22px !important;
    text-align: start !important;
}

body.rn-account-body .gx-dashboard-features i {
    grid-row: 1 / 3 !important;
    display: grid !important;
    place-items: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #eef4ff !important;
    color: var(--gx-blue) !important;
}

body.rn-account-body .gx-dashboard-features svg {
    width: 25px !important;
    height: 25px !important;
}

body.rn-account-body .gx-dashboard-features b {
    color: #132044 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

body.rn-account-body .gx-dashboard-features small {
    color: #6f7893 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

body.rn-account-body .gx-empty-state {
    grid-column: 1 / -1 !important;
    padding: 26px !important;
    color: var(--gx-muted) !important;
    text-align: center !important;
}

@media (max-width: 1260px) {
    body.rn-account-body .kd-content {
        padding-inline: 22px !important;
    }

    body.rn-account-body .kd-account-topbar {
        margin-inline: -22px !important;
        padding-inline: 22px !important;
    }

    body.rn-account-body .gx-dash-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.rn-account-body .gx-dash-layout {
        grid-template-columns: 1fr !important;
    }

    body.rn-account-body .gx-dash-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1024px) {
    body.rn-account-body .kd-side-nav {
        transform: translateX(105%) !important;
        transition: transform .24s ease !important;
    }

    body.rn-account-body.rn-sidebar-open .kd-side-nav {
        transform: translateX(0) !important;
    }

    body.rn-account-body .kd-drawer-backdrop {
        position: fixed !important;
        inset: 0 !important;
        z-index: 45 !important;
        background: rgba(6, 18, 46, .30) !important;
    }

    body.rn-account-body.rn-sidebar-open .kd-drawer-backdrop {
        display: block !important;
    }

    body.rn-account-body .kd-content {
        width: 100% !important;
        margin-right: 0 !important;
        padding: 0 18px 24px !important;
    }

    body.rn-account-body .kd-mobile-head {
        position: sticky !important;
        top: 0 !important;
        z-index: 39 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        height: 66px !important;
        padding: 0 16px !important;
        background: rgba(255,255,255,.94) !important;
        border-bottom: 1px solid #e4ebf8 !important;
    }

    body.rn-account-body .kd-mobile-head button {
        display: grid !important;
        place-items: center !important;
        width: 44px !important;
        height: 44px !important;
        border: 1px solid #dbe5f7 !important;
        border-radius: 14px !important;
        background: #fff !important;
        color: var(--gx-blue) !important;
    }

    body.rn-account-body .kd-balance-pill {
        gap: 8px !important;
        padding: 0 12px !important;
        min-height: 44px !important;
        font-weight: 700 !important;
        font-size: 13px !important;
    }

    body.rn-account-body .kd-mobile-head .kd-avatar {
        width: 42px !important;
        height: 42px !important;
    }

    body.rn-account-body .kd-account-topbar {
        display: none !important;
    }

    body.rn-account-body .gx-dashboard {
        padding-top: 16px !important;
    }
}

@media (max-width: 780px) {
    body.rn-auth-body .gx-auth-shell {
        width: 100% !important;
        min-height: 100vh !important;
        margin: 0 !important;
        padding: 18px 12px 22px !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    body.rn-auth-body .gx-auth-visual {
        min-height: 430px !important;
        height: 50vh !important;
        max-height: 520px !important;
        order: 1 !important;
    }

    body.rn-auth-body .gx-auth-visual-copy {
        bottom: 20px !important;
    }

    body.rn-auth-body .gx-auth-visual-copy h2 {
        font-size: 25px !important;
    }

    body.rn-auth-body .gx-auth-visual-copy p {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    body.rn-auth-body .gx-auth-benefits {
        margin-top: 16px !important;
        width: 100% !important;
    }

    body.rn-auth-body .gx-auth-benefits span {
        font-size: 12px !important;
    }

    body.rn-auth-body .gx-auth-benefits span::before {
        width: 42px !important;
        height: 42px !important;
    }

    body.rn-auth-body .gx-auth-benefits span:nth-child(1)::after,
    body.rn-auth-body .gx-auth-benefits span:nth-child(2)::after,
    body.rn-auth-body .gx-auth-benefits span:nth-child(3)::after {
        top: 11px !important;
        font-size: 22px !important;
    }

    body.rn-auth-body .gx-auth-panel {
        order: 2 !important;
        padding: 26px 18px !important;
        border-radius: 20px !important;
    }

    body.rn-auth-body .gx-auth-logo {
        margin-bottom: 22px !important;
    }

    body.rn-auth-body .gx-auth-logo img {
        height: 54px !important;
    }

    body.rn-auth-body .gx-auth-heading h1 {
        font-size: 30px !important;
    }

    body.rn-auth-body .gx-auth-heading p {
        font-size: 14px !important;
    }

    body.rn-auth-body .gx-auth-input {
        height: 54px !important;
    }

    body.rn-auth-body .gx-auth-submit,
    body.rn-auth-body .gx-auth-secondary {
        min-height: 54px !important;
        font-size: 16px !important;
    }

    body.rn-account-body .gx-dash-welcome {
        min-height: 150px !important;
        border-radius: 16px !important;
    }

    body.rn-account-body .gx-dash-welcome h1 {
        font-size: 26px !important;
    }

    body.rn-account-body .gx-dash-welcome p {
        font-size: 14px !important;
    }

    body.rn-account-body .gx-dash-stats,
    body.rn-account-body .gx-dash-rail,
    body.rn-account-body .gx-dash-split,
    body.rn-account-body .gx-dashboard-features {
        grid-template-columns: 1fr !important;
    }

    body.rn-account-body .gx-dash-stats article {
        min-height: 118px !important;
        grid-template-columns: 58px 1fr !important;
        padding: 16px !important;
    }

    body.rn-account-body .gx-dash-stats i {
        width: 50px !important;
        height: 50px !important;
        border-radius: 16px !important;
    }

    body.rn-account-body .gx-dash-stats strong {
        font-size: 26px !important;
    }

    body.rn-account-body .gx-orders-table {
        display: grid !important;
        gap: 12px !important;
        padding: 14px !important;
    }

    body.rn-account-body .gx-orders-head {
        display: none !important;
    }

    body.rn-account-body .gx-orders-row {
        min-height: 0 !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        padding: 14px !important;
        border: 1px solid #dfe7f6 !important;
        border-radius: 16px !important;
        background: #fff !important;
    }

    body.rn-account-body .gx-order-game {
        grid-column: 1 / -1 !important;
    }

    body.rn-account-body .gx-fav-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body.rn-account-body .gx-dashboard-features {
        padding: 0 !important;
        overflow: hidden !important;
    }

    body.rn-account-body .gx-dashboard-features span {
        min-height: 58px !important;
        display: grid !important;
        place-items: center !important;
        border-top: 1px solid #e1e9f8 !important;
    }

    body.rn-account-body .gx-dashboard-features span + span {
        border-inline-start: 0 !important;
    }
}

@media (max-width: 420px) {
    body.rn-auth-body .gx-auth-visual {
        min-height: 390px !important;
        height: 46vh !important;
    }

    body.rn-account-body .gx-fav-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Final auth lock: this intentionally outranks legacy storefront rules loaded by app.css. */
html body.rn-auth-body main.rn-main section.gx-auth-shell div.gx-auth-visual div.gx-auth-visual-art > img {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
}

html body.rn-auth-body main.rn-main section.gx-auth-shell div.gx-auth-visual > .gx-auth-visual-art {
    position: absolute !important;
    inset: 0 !important;
    flex: none !important;
    width: 100% !important;
    height: 100% !important;
}

html body.rn-auth-body main.rn-main section.gx-auth-shell div.gx-auth-visual > .gx-auth-visual-copy {
    position: absolute !important;
    right: 5% !important;
    bottom: 34px !important;
    left: 5% !important;
    z-index: 4 !important;
}

/* Final account dashboard geometry lock: match the supplied reference layout. */
html body.rn-account-body main.rn-main section.kd-shell {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f6f9ff !important;
}

html body.rn-account-body main.rn-main section.kd-shell > .kd-side-nav {
    right: 0 !important;
    left: auto !important;
    width: 254px !important;
}

html body.rn-account-body main.rn-main section.kd-shell > .kd-content {
    display: block !important;
    width: calc(100% - 254px) !important;
    min-height: 100vh !important;
    margin: 0 254px 0 0 !important;
    padding: 0 28px 28px !important;
}

html body.rn-account-body main.rn-main section.kd-shell > .kd-content > .kd-account-topbar {
    position: sticky !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: calc(100% + 56px) !important;
    height: 88px !important;
    margin: 0 -28px 0 !important;
    padding: 0 30px !important;
}

html body.rn-account-body main.rn-main section.kd-shell > .kd-content > .gx-dashboard {
    width: 100% !important;
    max-width: 1130px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 18px !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-welcome {
    margin-top: 0 !important;
    min-height: 184px !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article {
    min-height: 138px !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-layout {
    display: grid !important;
    direction: ltr !important;
    width: 100% !important;
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 20px !important;
    align-items: start !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-layout > .gx-dash-rail {
    grid-column: 1 !important;
    width: 280px !important;
    max-width: 280px !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-layout > .gx-dash-main {
    grid-column: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-layout > * {
    direction: rtl !important;
}

/* Account dashboard visual polish: lock cards/sidebar/features closer to the supplied dashboard reference. */
html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 4px !important;
    min-height: 138px !important;
    padding: 20px 22px 17px 86px !important;
    text-align: right !important;
    overflow: hidden !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > i {
    position: absolute !important;
    left: 22px !important;
    top: 28px !important;
    width: 60px !important;
    height: 60px !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 22px !important;
    flex: none !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > i svg {
    width: 31px !important;
    height: 31px !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > span,
html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > strong,
html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > small {
    width: 100% !important;
    max-width: 150px !important;
    text-align: right !important;
    margin: 0 !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > span {
    color: #1e2a54 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > strong {
    color: #07143d !important;
    font-size: 30px !important;
    line-height: 1.08 !important;
    letter-spacing: -.02em !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > small {
    color: #1e2a54 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > a {
    width: calc(100% - 70px) !important;
    max-width: 150px !important;
    min-height: 30px !important;
    margin: 8px 0 0 auto !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    background: #f4f7ff !important;
    color: #1268ff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card,
html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card {
    overflow: hidden !important;
    isolation: isolate !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 62% center !important;
    transform: scale(1.2) !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 52% 52% !important;
    transform: scale(1.22) !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card > div,
html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card > div {
    z-index: 2 !important;
}

html body.rn-account-body main.rn-main section.kd-shell > .kd-side-nav > .kd-side-promo {
    min-height: 294px !important;
    margin: 26px 8px 0 !important;
    padding: 22px 18px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, .34) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 40px rgba(18, 104, 255, .16) !important;
}

html body.rn-account-body main.rn-main section.kd-shell > .kd-side-nav > .kd-side-promo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center bottom !important;
    transform: scale(1.1) !important;
    filter: saturate(1.12) contrast(1.04) !important;
}

html body.rn-account-body main.rn-main section.kd-shell > .kd-side-nav > .kd-side-promo::after {
    background: linear-gradient(180deg, rgba(35, 92, 255, .4) 0%, rgba(16, 93, 255, .32) 42%, rgba(15, 93, 243, .14) 100%) !important;
}

html body.rn-account-body main.rn-main section.kd-shell > .kd-side-nav > .kd-side-promo > div {
    position: relative !important;
    z-index: 2 !important;
    min-height: 132px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
}

html body.rn-account-body main.rn-main section.kd-shell > .kd-side-nav > .kd-side-promo h2 {
    margin: 0 0 8px !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

html body.rn-account-body main.rn-main section.kd-shell > .kd-side-nav > .kd-side-promo p {
    max-width: 170px !important;
    margin: 0 auto 18px !important;
    color: rgba(255, 255, 255, .94) !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    font-weight: 700 !important;
}

html body.rn-account-body main.rn-main section.kd-shell > .kd-side-nav > .kd-side-promo a {
    min-width: 124px !important;
    min-height: 38px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    color: #146bff !important;
    -webkit-text-fill-color: #146bff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    box-shadow: 0 12px 26px rgba(0, 47, 165, .14) !important;
}

html body.rn-account-body main.rn-main section.kd-shell > aside.kd-side-nav section.kd-side-promo > div > a[href] {
    position: relative !important;
    z-index: 5 !important;
    width: auto !important;
    min-width: 136px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    color: #146bff !important;
    -webkit-text-fill-color: #146bff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 12px 24px rgba(0, 52, 180, .18) !important;
    overflow: visible !important;
    isolation: isolate !important;
}

html body.rn-account-body main.rn-main section.kd-shell > aside.kd-side-nav section.kd-side-promo > div > a[href]::before {
    content: "" !important;
    position: absolute !important;
    z-index: -1 !important;
    inset: 7px -2px !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 12px 24px rgba(0, 52, 180, .18) !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dashboard-features {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    min-height: 76px !important;
    padding: 0 !important;
    overflow: hidden !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dashboard-features > span {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-content: center !important;
    align-items: center !important;
    gap: 3px 12px !important;
    min-height: 74px !important;
    padding: 12px 22px !important;
    text-align: right !important;
    border: 0 !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dashboard-features > span + span {
    border-inline-start: 1px solid #dfe7f8 !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dashboard-features > span > i {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    width: 46px !important;
    height: 46px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 16px !important;
    background: #eef4ff !important;
    color: #1268ff !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dashboard-features > span > i svg {
    width: 25px !important;
    height: 25px !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dashboard-features > span > b,
html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dashboard-features > span > small {
    grid-column: 2 !important;
    margin: 0 !important;
    text-align: right !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dashboard-features > span > b {
    color: #07143d !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dashboard-features > span > small {
    color: #6b7895 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}

@media (max-width: 760px) {
    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article {
        min-height: 118px !important;
        padding: 15px 14px 14px 64px !important;
        border-radius: 18px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > i {
        left: 12px !important;
        top: 18px !important;
        width: 46px !important;
        height: 46px !important;
        border-radius: 15px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > i svg {
        width: 24px !important;
        height: 24px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > strong {
        font-size: 24px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > a {
        width: 100% !important;
        max-width: 112px !important;
        min-height: 28px !important;
        padding: 0 10px !important;
        font-size: 11px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dashboard-features {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dashboard-features > span {
        min-height: 64px !important;
        padding: 10px 16px !important;
        border-top: 1px solid #dfe7f8 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dashboard-features > span + span {
        border-inline-start: 0 !important;
    }
}

/* Mobile account dashboard reference lock. */
.gx-mobile-greeting,
.gx-mobile-hero-copy,
.kd-mobile-notify {
    display: none;
}

@media (max-width: 760px) {
    html,
    body.rn-account-body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        background: linear-gradient(180deg, #f8fbff 0%, #f3f7ff 100%) !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100vh !important;
        margin: 0 !important;
        padding: 0 0 96px !important;
        overflow-x: hidden !important;
        background: linear-gradient(180deg, #f8fbff 0%, #f3f7ff 100%) !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell > .kd-side-nav {
        display: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell.is-drawer-open > .kd-side-nav {
        display: flex !important;
        width: min(82vw, 310px) !important;
        z-index: 100 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell > .kd-content {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100vh !important;
        margin: 0 !important;
        padding: 0 16px 18px !important;
        display: block !important;
        overflow-x: hidden !important;
    }

    html body.rn-account-body .kd-account-topbar {
        display: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell > .kd-mobile-head {
        display: grid !important;
        grid-template-columns: 54px minmax(132px, 1fr) 46px 46px !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        height: 270px !important;
        margin: 0 !important;
        padding: 56px 16px 16px !important;
        background: transparent !important;
        position: relative !important;
        z-index: 20 !important;
    }

    html body.rn-account-body .kd-mobile-head button,
    html body.rn-account-body .kd-mobile-notify,
    html body.rn-account-body .kd-mobile-head .kd-avatar {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        border: 0 !important;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, .92) !important;
        color: #071b4d !important;
        display: grid !important;
        place-items: center !important;
        box-shadow: 0 10px 24px rgba(22, 71, 155, .08) !important;
    }

    html body.rn-account-body .kd-mobile-head button svg,
    html body.rn-account-body .kd-mobile-notify svg {
        width: 24px !important;
        height: 24px !important;
    }

    html body.rn-account-body .kd-mobile-notify {
        position: relative !important;
        text-decoration: none !important;
    }

    html body.rn-account-body .kd-mobile-notify em {
        position: absolute !important;
        top: 6px !important;
        right: 6px !important;
        width: 18px !important;
        height: 18px !important;
        display: grid !important;
        place-items: center !important;
        border-radius: 999px !important;
        background: #ff3b65 !important;
        color: #fff !important;
        font-size: 10px !important;
        font-style: normal !important;
        font-weight: 800 !important;
    }

    html body.rn-account-body .kd-mobile-head .kd-avatar {
        overflow: hidden !important;
        border-radius: 50% !important;
        color: #1268ff !important;
        font-weight: 800 !important;
    }

    html body.rn-account-body .kd-mobile-head .kd-avatar::after {
        content: "" !important;
        position: absolute !important;
        width: 11px !important;
        height: 11px !important;
        border: 2px solid #fff !important;
        border-radius: 999px !important;
        background: #20c76f !important;
        transform: translate(16px, 16px) !important;
    }

    html body.rn-account-body .kd-mobile-head .kd-balance-pill {
        position: absolute !important;
        left: 16px !important;
        bottom: 8px !important;
        justify-self: start !important;
        width: 172px !important;
        height: 64px !important;
        min-height: 64px !important;
        padding: 11px 14px !important;
        display: grid !important;
        grid-template-columns: 1fr 42px !important;
        grid-template-rows: auto auto !important;
        align-items: center !important;
        border: 0 !important;
        border-radius: 16px !important;
        background: #fff !important;
        color: #0b1742 !important;
        box-shadow: 0 12px 28px rgba(23, 72, 154, .08) !important;
        text-decoration: none !important;
        font-size: 0 !important;
        overflow: hidden !important;
    }

    html body.rn-account-body .kd-mobile-head .kd-balance-pill::before {
        content: "رصيد المحفظة" !important;
        position: absolute !important;
        top: 12px !important;
        right: 14px !important;
        grid-column: auto !important;
        color: #6e7894 !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }

    html body.rn-account-body .kd-mobile-head .kd-balance-pill::after {
        content: "245.50 ر.س" !important;
        position: absolute !important;
        right: 14px !important;
        bottom: 11px !important;
        grid-column: auto !important;
        color: #07143d !important;
        font-size: 21px !important;
        line-height: 1.1 !important;
        font-weight: 800 !important;
    }

    html body.rn-account-body .kd-mobile-head .kd-balance-pill b {
        position: absolute !important;
        left: 12px !important;
        top: 11px !important;
        grid-column: auto !important;
        grid-row: auto !important;
        width: 42px !important;
        height: 42px !important;
        border-radius: 13px !important;
        background: #1268ff !important;
        color: #fff !important;
        font-size: 24px !important;
        line-height: 1 !important;
        display: grid !important;
        place-items: center !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell > .kd-content > .gx-dashboard {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: grid !important;
        gap: 14px !important;
        overflow: visible !important;
    }

    html body.rn-account-body .gx-mobile-greeting {
        display: flex !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: right !important;
    }

    html body.rn-account-body .gx-mobile-greeting div {
        width: min(58%, 230px) !important;
    }

    html body.rn-account-body .gx-mobile-greeting h1 {
        margin: 0 0 6px !important;
        color: #07143d !important;
        font-size: 23px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        letter-spacing: -.03em !important;
    }

    html body.rn-account-body .gx-mobile-greeting p {
        margin: 0 !important;
        color: #6b7895 !important;
        font-size: 12px !important;
        line-height: 1.6 !important;
        font-weight: 600 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-welcome {
        width: 100% !important;
        height: 278px !important;
        min-height: 278px !important;
        margin: 8px 0 12px !important;
        padding: 0 !important;
        display: block !important;
        border: 0 !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        background: #fff !important;
        box-shadow: 0 18px 42px rgba(30, 83, 170, .08) !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-welcome img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: 35% center !important;
        position: absolute !important;
        inset: 0 !important;
    }

    html body.rn-account-body .gx-welcome-desktop-copy {
        display: none !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy {
        position: absolute !important;
        z-index: 3 !important;
        top: 48px !important;
        right: 18px !important;
        width: 47% !important;
        display: grid !important;
        justify-items: end !important;
        text-align: right !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy h2 {
        margin: 0 0 10px !important;
        color: #07143d !important;
        font-size: 18px !important;
        line-height: 1.18 !important;
        font-weight: 800 !important;
        letter-spacing: -.04em !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy h2 strong {
        display: block !important;
        color: #1268ff !important;
        font-size: 28px !important;
        line-height: 1.05 !important;
        font-weight: 800 !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy p {
        margin: 0 0 18px !important;
        color: #4d5875 !important;
        font-size: 11px !important;
        line-height: 1.7 !important;
        font-weight: 600 !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy a {
        width: 128px !important;
        height: 42px !important;
        border-radius: 14px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 9px !important;
        background: #1268ff !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        box-shadow: 0 16px 30px rgba(18, 104, 255, .24) !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin: 0 !important;
        direction: ltr !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article {
        min-width: 0 !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 132px !important;
        padding: 13px 5px 12px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        align-content: center !important;
        gap: 6px !important;
        border: 0 !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, .96) !important;
        box-shadow: 0 14px 34px rgba(23, 72, 154, .08) !important;
        text-align: center !important;
        direction: rtl !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > i {
        position: static !important;
        width: 42px !important;
        height: 42px !important;
        border-radius: 14px !important;
        margin: 0 !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > span,
    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > strong,
    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > small {
        width: 100% !important;
        max-width: none !important;
        text-align: center !important;
        margin: 0 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > span {
        font-size: 10px !important;
        line-height: 1.25 !important;
        color: #384460 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > strong {
        font-size: 21px !important;
        line-height: 1.1 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > small {
        min-height: 16px !important;
        font-size: 10px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-stats > article > a {
        width: auto !important;
        max-width: 100% !important;
        min-height: 24px !important;
        margin: 2px 0 0 !important;
        padding: 0 !important;
        background: transparent !important;
        color: #1268ff !important;
        -webkit-text-fill-color: #1268ff !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
        box-shadow: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-layout {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 2px 0 0 !important;
        direction: rtl !important;
        overflow: visible !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-layout > .gx-dash-rail {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin: 0 0 14px !important;
        direction: ltr !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-layout > .gx-dash-rail > * {
        direction: rtl !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card,
    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card {
        width: 100% !important;
        height: 106px !important;
        min-height: 106px !important;
        border: 0 !important;
        border-radius: 18px !important;
        box-shadow: 0 14px 34px rgba(23, 72, 154, .08) !important;
        overflow: hidden !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card img,
    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transform: none !important;
        position: absolute !important;
        inset: 0 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card img {
        object-position: center !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card img {
        object-position: center !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card::after,
    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card::after {
        display: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card > div,
    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card > div {
        position: relative !important;
        z-index: 2 !important;
        width: 58% !important;
        height: 100% !important;
        padding: 16px 15px !important;
        display: grid !important;
        align-content: center !important;
        justify-items: start !important;
        text-align: right !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card h2,
    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card h2 {
        margin: 0 0 5px !important;
        font-size: 20px !important;
        line-height: 1.1 !important;
        font-weight: 800 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card h2 {
        color: #07945f !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card h2 {
        color: #f26d16 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card span,
    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card strong,
    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card p {
        color: #31405e !important;
        font-size: 12px !important;
        line-height: 1.55 !important;
        font-weight: 700 !important;
        margin: 0 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card strong {
        display: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card a,
    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card a {
        min-height: 33px !important;
        height: 33px !important;
        margin-top: 9px !important;
        padding: 0 17px !important;
        border-radius: 11px !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-wallet-card a {
        background: #12b76a !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-invite-card a {
        background: #fb7b1f !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard > .gx-dash-layout > .gx-dash-main {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell > .kd-side-nav > .kd-side-promo {
        display: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dash-main::before {
        content: none !important;
        display: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-orders-card {
        order: 2 !important;
        width: 100% !important;
        border: 0 !important;
        border-radius: 18px !important;
        background: #fff !important;
        box-shadow: 0 14px 34px rgba(23, 72, 154, .08) !important;
        overflow: hidden !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-card-head {
        height: 52px !important;
        padding: 0 16px !important;
        align-items: center !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-card-head h2 {
        font-size: 19px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-card-head a {
        font-size: 13px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-orders-table {
        display: grid !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-orders-head,
    html body.rn-account-body main.rn-main section.kd-shell .gx-orders-row.gx-orders-head {
        display: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-orders-row {
        width: 100% !important;
        min-height: 92px !important;
        display: grid !important;
        grid-template-columns: 74px 1fr 78px !important;
        grid-template-rows: auto auto auto !important;
        gap: 2px 12px !important;
        align-items: center !important;
        padding: 12px 14px !important;
        border: 0 !important;
        border-top: 1px solid #edf2fb !important;
        border-radius: 0 !important;
        background: #fff !important;
        text-decoration: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-order-game {
        grid-column: 1 !important;
        grid-row: 1 / 4 !important;
        display: block !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-order-game img {
        width: 58px !important;
        height: 58px !important;
        border-radius: 14px !important;
        object-fit: cover !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-order-game b {
        display: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-orders-row > span:nth-child(2) {
        grid-column: 2 !important;
        grid-row: 2 !important;
        color: #66718c !important;
        font-size: 12px !important;
        text-align: right !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-orders-row > span:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 3 !important;
        color: #73809d !important;
        font-size: 11px !important;
        text-align: right !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-orders-row > span:nth-child(4) {
        grid-column: 3 !important;
        grid-row: 3 !important;
        justify-self: start !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-orders-row > strong {
        grid-column: 3 !important;
        grid-row: 1 !important;
        color: #07143d !important;
        font-size: 14px !important;
        text-align: left !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-orders-row::after {
        content: attr(href) !important;
        display: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell .gx-dash-split,
    html body.rn-account-body main.rn-main section.kd-shell .gx-dashboard-features,
    html body.rn-account-body main.rn-main section.kd-shell .kd-side-help {
        display: none !important;
    }

    html body.rn-account-body .kd-bottom-nav {
        position: fixed !important;
        z-index: 70 !important;
        left: 16px !important;
        right: 16px !important;
        bottom: 12px !important;
        height: 74px !important;
        padding: 8px 12px !important;
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        align-items: center !important;
        border: 0 !important;
        border-radius: 24px !important;
        background: rgba(255, 255, 255, .96) !important;
        box-shadow: 0 16px 42px rgba(25, 72, 145, .14) !important;
    }

    html body.rn-account-body .kd-bottom-nav a {
        display: grid !important;
        justify-items: center !important;
        gap: 3px !important;
        color: #75829d !important;
        text-decoration: none !important;
        font-size: 11px !important;
        font-weight: 700 !important;
    }

    html body.rn-account-body .kd-bottom-nav a:nth-child(n+6) {
        display: none !important;
    }

    html body.rn-account-body .kd-bottom-nav a svg {
        width: 24px !important;
        height: 24px !important;
    }

    html body.rn-account-body .kd-bottom-nav a.is-active,
    html body.rn-account-body .kd-bottom-nav a:nth-child(1) {
        color: #1268ff !important;
    }

    html body.rn-account-body .kd-bottom-nav a:nth-child(5) {
        width: 64px !important;
        height: 64px !important;
        margin-top: -30px !important;
        justify-self: center !important;
        place-items: center !important;
        border-radius: 50% !important;
        background: #1268ff !important;
        color: #fff !important;
        box-shadow: 0 16px 30px rgba(18, 104, 255, .25) !important;
    }

    html body.rn-account-body .kd-bottom-nav a:nth-child(5) span {
        color: #1268ff !important;
        position: absolute !important;
        top: 66px !important;
        white-space: nowrap !important;
    }

    html body.rn-auth-body .gx-auth-shell {
        width: 100% !important;
        min-height: 100vh !important;
        margin: 0 !important;
        padding: 14px !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        border-radius: 0 !important;
        border: 0 !important;
        overflow-x: hidden !important;
    }

    html body.rn-auth-body .gx-auth-visual {
        min-height: 360px !important;
        height: 42vh !important;
        max-height: 430px !important;
        order: 1 !important;
    }

    html body.rn-auth-body .gx-auth-panel {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px 18px !important;
        border-radius: 20px !important;
    }
}

@media (max-width: 420px) {
    html body.rn-account-body main.rn-main section.kd-shell > .kd-content {
        padding-inline: 14px !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy {
        right: 18px !important;
        width: 50% !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy h2 {
        font-size: 20px !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy h2 strong {
        font-size: 30px !important;
    }

    html body.rn-account-body .gx-mobile-hero-copy a {
        width: 134px !important;
        height: 44px !important;
    }
}

@media (max-width: 760px) {
    html body.rn-account-body:has(.gx-dashboard) main.rn-main section.kd-shell > aside.kd-side-nav.kd-side-nav {
        display: block !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateX(125%) !important;
    }

    html body.rn-account-body:has(.gx-dashboard) main.rn-main section.kd-shell.is-drawer-open > aside.kd-side-nav.kd-side-nav {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateX(0) !important;
    }

    html body.rn-account-body:has(.gx-dashboard) main.rn-main section.kd-shell > .kd-drawer-backdrop {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }

    html body.rn-account-body:has(.gx-dashboard) main.rn-main section.kd-shell.is-drawer-open > .kd-drawer-backdrop {
        display: block !important;
        visibility: visible !important;
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    html body.rn-account-body:has(.gx-dashboard) main.rn-main section.kd-shell .gx-dashboard-features {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    html body.rn-account-body:has(.gx-dashboard) nav.kd-bottom-nav.kd-bottom-nav {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: fixed !important;
        left: 16px !important;
        right: 16px !important;
        bottom: 12px !important;
        width: auto !important;
        height: 74px !important;
    }

    body.rn-account-body:has(.gx-dashboard) .kd-mobile-head.kd-mobile-head {
        z-index: 20 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        display: grid !important;
        grid-template-columns: 54px minmax(132px, 1fr) 46px 46px !important;
        align-items: start !important;
        justify-content: stretch !important;
        gap: 10px !important;
        width: 100% !important;
        height: 168px !important;
        margin: 0 !important;
        padding: 56px 16px 16px !important;
        position: relative !important;
        top: auto !important;
    }

    body.rn-account-body:has(.gx-dashboard) .kd-mobile-head.kd-mobile-head .kd-balance-pill {
        position: absolute !important;
        left: 16px !important;
        bottom: 8px !important;
    }

    body.rn-account-body:has(.gx-dashboard) .kd-bottom-nav.kd-bottom-nav {
        display: grid !important;
    }
}

/* Account mobile visual lock: this intentionally sits last to beat older mobile rules. */
@media (max-width: 760px) {
    html,
    html body.rn-account-body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        background: #f7faff !important;
        font-family: 'IBM Plex Sans Arabic', 'Cairo', system-ui, sans-serif !important;
    }

    html body.rn-account-body main.rn-main {
        padding: 0 !important;
        margin: 0 !important;
        background: #f7faff !important;
        overflow-x: hidden !important;
    }

    html body.rn-account-body:has(.gx-dashboard) main.rn-main section.kd-shell {
        width: min(100%, 430px) !important;
        max-width: 430px !important;
        margin: 0 auto !important;
        padding: 0 16px 112px !important;
        display: block !important;
        background: #f7faff !important;
        overflow: hidden !important;
    }

    html body.rn-account-body:has(.gx-dashboard) main.rn-main section.kd-shell > .kd-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        overflow: visible !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-account-topbar {
        display: none !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-mobile-head.kd-mobile-head {
        width: 100% !important;
        height: 160px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        position: relative !important;
        z-index: 10 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-mobile-head > button,
    html body.rn-account-body:has(.gx-dashboard) .kd-mobile-head .kd-mobile-notify,
    html body.rn-account-body:has(.gx-dashboard) .kd-mobile-head .kd-avatar {
        position: absolute !important;
        top: 46px !important;
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        display: grid !important;
        place-items: center !important;
        border: 0 !important;
        border-radius: 15px !important;
        background: #fff !important;
        color: #10204b !important;
        box-shadow: 0 12px 30px rgba(31, 78, 145, .08) !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-mobile-head > button {
        left: 0 !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-mobile-head .kd-mobile-notify {
        right: 54px !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-mobile-head .kd-avatar {
        right: 0 !important;
        border-radius: 50% !important;
        color: transparent !important;
        background: url('/images/kroti/product-110.webp') center / cover no-repeat !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-mobile-head .kd-avatar::after {
        content: '' !important;
        position: absolute !important;
        right: 1px !important;
        bottom: 1px !important;
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        background: #22c55e !important;
        border: 2px solid #fff !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-mobile-head svg {
        width: 21px !important;
        height: 21px !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-mobile-head .kd-mobile-notify em {
        right: -5px !important;
        top: -6px !important;
        width: 20px !important;
        height: 20px !important;
        display: grid !important;
        place-items: center !important;
        border-radius: 50% !important;
        background: #ef3e57 !important;
        color: #fff !important;
        font-size: 10px !important;
        font-style: normal !important;
        font-weight: 800 !important;
        border: 2px solid #fff !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-mobile-head .kd-balance-pill {
        position: absolute !important;
        left: 0 !important;
        top: 112px !important;
        bottom: auto !important;
        width: 136px !important;
        height: 66px !important;
        min-height: 66px !important;
        padding: 0 !important;
        display: block !important;
        overflow: hidden !important;
        text-decoration: none !important;
        border: 0 !important;
        border-radius: 16px !important;
        background: #fff !important;
        color: #07143d !important;
        box-shadow: 0 12px 30px rgba(31, 78, 145, .08) !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-balance-pill::before,
    html body.rn-account-body:has(.gx-dashboard) .kd-balance-pill::after {
        display: none !important;
        content: none !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-balance-pill span {
        position: absolute !important;
        top: 11px !important;
        right: 13px !important;
        display: block !important;
        max-width: 80px !important;
        color: #7b86a0 !important;
        font-size: 10px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-balance-pill strong {
        position: absolute !important;
        right: 13px !important;
        bottom: 11px !important;
        display: block !important;
        color: #07143d !important;
        font-size: 18px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        font-variant-numeric: tabular-nums !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-balance-pill b {
        position: absolute !important;
        left: 10px !important;
        top: 13px !important;
        width: 38px !important;
        height: 38px !important;
        display: grid !important;
        place-items: center !important;
        border-radius: 12px !important;
        background: #1268ff !important;
        color: #fff !important;
        font-size: 24px !important;
        line-height: 1 !important;
        font-weight: 500 !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-dashboard {
        display: grid !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-mobile-greeting {
        min-height: 64px !important;
        margin: -76px 0 10px !important;
        padding: 0 2px !important;
        display: flex !important;
        justify-content: flex-start !important;
        position: relative !important;
        z-index: 2 !important;
        text-align: right !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-mobile-greeting div {
        width: 58% !important;
        padding-top: 0 !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-mobile-greeting h1 {
        margin: 0 0 6px !important;
        color: #07143d !important;
        font-size: 20px !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        letter-spacing: 0 !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-mobile-greeting p {
        margin: 0 !important;
        color: #73809b !important;
        font-size: 10.5px !important;
        line-height: 1.45 !important;
        font-weight: 600 !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-dash-welcome {
        width: 100% !important;
        height: 150px !important;
        min-height: 150px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        position: relative !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 18px !important;
        background: #eef4ff !important;
        box-shadow: 0 12px 30px rgba(31, 78, 145, .08) !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-dash-welcome img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: left center !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-mobile-hero-copy {
        position: absolute !important;
        z-index: 3 !important;
        top: 26px !important;
        right: 13px !important;
        width: 50% !important;
        display: grid !important;
        justify-items: end !important;
        text-align: right !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-mobile-hero-copy h2 {
        margin: 0 0 5px !important;
        color: #07143d !important;
        font-size: 16px !important;
        line-height: 1.12 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-mobile-hero-copy h2 strong {
        display: block !important;
        margin-top: 3px !important;
        color: #1268ff !important;
        font-size: 26px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-mobile-hero-copy p {
        margin: 0 0 8px !important;
        color: #53617c !important;
        font-size: 8.5px !important;
        line-height: 1.55 !important;
        font-weight: 600 !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-mobile-hero-copy a {
        width: 124px !important;
        height: 34px !important;
        min-height: 34px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        border-radius: 11px !important;
        background: #1268ff !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        box-shadow: 0 10px 20px rgba(18, 104, 255, .18) !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-dash-stats {
        width: 100% !important;
        margin: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        direction: ltr !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-dash-stats > article {
        min-width: 0 !important;
        min-height: 110px !important;
        height: 110px !important;
        padding: 10px 3px 8px !important;
        display: grid !important;
        grid-template-rows: 35px 15px 20px 10px 16px !important;
        justify-items: center !important;
        align-items: center !important;
        gap: 2px !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 18px !important;
        background: #fff !important;
        box-shadow: 0 12px 30px rgba(31, 78, 145, .08) !important;
        direction: rtl !important;
        text-align: center !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-dash-stats > article > i {
        width: 35px !important;
        height: 35px !important;
        margin: 0 !important;
        border-radius: 13px !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-dash-stats > article > i svg {
        width: 20px !important;
        height: 20px !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-dash-stats > article > span {
        font-size: 8px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-dash-stats > article > strong {
        font-size: 17px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        font-variant-numeric: tabular-nums !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-dash-stats > article > small,
    html body.rn-account-body:has(.gx-dashboard) .gx-dash-stats > article > a {
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 8px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-dash-layout,
    html body.rn-account-body:has(.gx-dashboard) .gx-dash-rail,
    html body.rn-account-body:has(.gx-dashboard) .gx-dash-main {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-dash-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-wallet-card,
    html body.rn-account-body:has(.gx-dashboard) .gx-invite-card {
        height: 96px !important;
        min-height: 96px !important;
        position: relative !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 16px !important;
        box-shadow: 0 12px 30px rgba(31, 78, 145, .08) !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-wallet-card img,
    html body.rn-account-body:has(.gx-dashboard) .gx-invite-card img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-wallet-card > div,
    html body.rn-account-body:has(.gx-dashboard) .gx-invite-card > div {
        position: relative !important;
        z-index: 2 !important;
        width: 56% !important;
        height: 100% !important;
        padding: 10px !important;
        display: grid !important;
        align-content: center !important;
        justify-items: start !important;
        gap: 3px !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-wallet-card h2,
    html body.rn-account-body:has(.gx-dashboard) .gx-invite-card h2 {
        margin: 0 !important;
        font-size: 15px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-wallet-card span,
    html body.rn-account-body:has(.gx-dashboard) .gx-wallet-card strong,
    html body.rn-account-body:has(.gx-dashboard) .gx-invite-card p {
        margin: 0 !important;
        font-size: 8.5px !important;
        line-height: 1.45 !important;
        font-weight: 700 !important;
        white-space: normal !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-wallet-card a,
    html body.rn-account-body:has(.gx-dashboard) .gx-invite-card a {
        height: 25px !important;
        min-height: 25px !important;
        margin: 3px 0 0 !important;
        padding: 0 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        border-radius: 9px !important;
        font-size: 8px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        text-decoration: none !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-wallet-card h2,
    html body.rn-account-body:has(.gx-dashboard) .gx-wallet-card a {
        color: #0b9862 !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-invite-card h2,
    html body.rn-account-body:has(.gx-dashboard) .gx-invite-card a {
        color: #f26a17 !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-dash-main::before {
        content: none !important;
        display: none !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-weekly-mobile {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: 98px !important;
        min-height: 98px !important;
        overflow: hidden !important;
        border-radius: 16px !important;
        background: #f4edff !important;
        box-shadow: 0 12px 30px rgba(31, 78, 145, .08) !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-weekly-mobile img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-weekly-mobile > div {
        position: relative !important;
        z-index: 2 !important;
        width: 48% !important;
        height: 100% !important;
        margin-inline-start: auto !important;
        padding: 14px 16px !important;
        display: grid !important;
        align-content: center !important;
        justify-items: start !important;
        gap: 4px !important;
        text-align: right !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-weekly-mobile h2 {
        margin: 0 !important;
        color: #6d35f4 !important;
        font-size: 17px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-weekly-mobile p {
        margin: 0 !important;
        color: #334166 !important;
        font-size: 9px !important;
        line-height: 1.35 !important;
        font-weight: 700 !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-weekly-mobile a {
        min-width: 74px !important;
        height: 24px !important;
        padding: 0 11px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 999px !important;
        background: #6d35f4 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        font-size: 8px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-orders-card {
        margin: 0 !important;
        border: 0 !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        background: #fff !important;
        box-shadow: 0 12px 30px rgba(31, 78, 145, .08) !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-card-head {
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        border: 0 !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-card-head h2 {
        margin: 0 !important;
        color: #07143d !important;
        font-size: 16px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-card-head a {
        color: #1268ff !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-orders-head {
        display: none !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-orders-row {
        min-height: 76px !important;
        padding: 10px 10px !important;
        display: grid !important;
        grid-template-columns: 58px 1fr 70px !important;
        grid-template-rows: auto auto auto !important;
        gap: 2px 10px !important;
        align-items: center !important;
        border: 0 !important;
        border-top: 1px solid #eef3fb !important;
        border-radius: 0 !important;
        background: #fff !important;
        color: #07143d !important;
        text-decoration: none !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-order-game {
        grid-column: 1 !important;
        grid-row: 1 / 4 !important;
        display: block !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-order-game img {
        width: 54px !important;
        height: 54px !important;
        display: block !important;
        border-radius: 13px !important;
        object-fit: cover !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-order-game b {
        display: none !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-orders-row > span:nth-child(2) {
        grid-column: 2 !important;
        grid-row: 1 !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        color: #07143d !important;
        text-align: right !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-orders-row > span:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 2 !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #74809b !important;
        text-align: right !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-orders-row > span:nth-child(4) {
        grid-column: 3 !important;
        grid-row: 2 / 4 !important;
        justify-self: start !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-orders-row > strong {
        grid-column: 3 !important;
        grid-row: 1 !important;
        color: #07143d !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        text-align: left !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-badge {
        padding: 5px 8px !important;
        border-radius: 999px !important;
        font-size: 10px !important;
        line-height: 1 !important;
        font-style: normal !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-dash-split,
    html body.rn-account-body:has(.gx-dashboard) .gx-dashboard-features,
    html body.rn-account-body:has(.gx-dashboard) .kd-side-help {
        display: none !important;
    }

    html body.rn-account-body:has(.gx-dashboard) nav.kd-bottom-nav.kd-bottom-nav {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: fixed !important;
        z-index: 80 !important;
        left: max(16px, calc((100vw - 398px) / 2)) !important;
        right: max(16px, calc((100vw - 398px) / 2)) !important;
        bottom: 10px !important;
        width: auto !important;
        height: 72px !important;
        padding: 8px 10px !important;
        border: 0 !important;
        border-radius: 24px !important;
        background: rgba(255, 255, 255, .98) !important;
        box-shadow: 0 16px 40px rgba(25, 72, 145, .16) !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-bottom-nav a,
    html body.rn-account-body:has(.gx-dashboard) .kd-bottom-nav a:nth-child(n) {
        position: relative !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: grid !important;
        place-items: center !important;
        gap: 3px !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #77839e !important;
        box-shadow: none !important;
        font-size: 9px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-bottom-nav a svg {
        width: 22px !important;
        height: 22px !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-bottom-nav a.is-active {
        color: #1268ff !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-bottom-nav a.kd-charge-now {
        width: 56px !important;
        height: 56px !important;
        margin-top: -28px !important;
        justify-self: center !important;
        place-items: center !important;
        border-radius: 50% !important;
        background: #1268ff !important;
        color: #fff !important;
        box-shadow: 0 16px 30px rgba(18, 104, 255, .25) !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-bottom-nav a.kd-charge-now svg {
        width: 25px !important;
        height: 25px !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .kd-bottom-nav a.kd-charge-now span {
        position: absolute !important;
        top: 61px !important;
        color: #1268ff !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 420px) {
    html body.rn-account-body:has(.gx-dashboard) main.rn-main section.kd-shell {
        padding-inline: 14px !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-mobile-hero-copy h2 {
        font-size: 15px !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-mobile-hero-copy h2 strong {
        font-size: 25px !important;
    }

    html body.rn-account-body:has(.gx-dashboard) .gx-mobile-hero-copy a {
        width: 118px !important;
        height: 32px !important;
    }

    html body.rn-auth-body .gx-auth-shell {
        width: 100% !important;
        min-height: 100vh !important;
        margin: 0 !important;
        padding: 12px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        overflow-x: hidden !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    html body.rn-auth-body .gx-auth-panel {
        width: 100% !important;
        max-width: 100% !important;
        order: 1 !important;
        padding: 22px 16px !important;
        border-radius: 22px !important;
    }

    html body.rn-auth-body .gx-auth-visual {
        width: 100% !important;
        min-height: 280px !important;
        height: 34vh !important;
        max-height: 340px !important;
        order: 2 !important;
        border-radius: 22px !important;
        overflow: hidden !important;
    }

    html body.rn-auth-body .gx-auth-visual img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center bottom !important;
    }
}

/* Absolute final guard: keep later legacy layers from changing the reference layout. */
@media (min-width: 1025px) {
    html body.rn-account-body main.rn-main section.kd-shell > aside.kd-side-nav {
        right: 0 !important;
        left: auto !important;
        width: 254px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell > aside.kd-side-nav > a,
    html body.rn-account-body main.rn-main section.kd-shell > aside.kd-side-nav > form > button {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        min-height: 54px !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 14px !important;
        padding: 0 18px !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell > aside.kd-side-nav > a > span,
    html body.rn-account-body main.rn-main section.kd-shell > aside.kd-side-nav > form > button > span {
        position: static !important;
        display: inline-block !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        background: transparent !important;
        color: inherit !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 760px) {
    html body.rn-account-body main.rn-main section#rn-dashboard-shell {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 911px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    html body.rn-account-body main.rn-main section#rn-dashboard-shell > .kd-mobile-head,
    html body.rn-account-body main.rn-main section#rn-dashboard-shell > .kd-content > .gx-dashboard,
    html body.rn-account-body main.rn-main section#rn-dashboard-shell > .kd-content > .kd-account-topbar {
        display: none !important;
    }

    html body.rn-account-body main.rn-main section#rn-dashboard-shell > .kd-content {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 911px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    html body.rn-account-body main.rn-main section#rn-dashboard-shell .rn-mobile-dashboard {
        display: block !important;
        width: 100% !important;
        max-width: 432px !important;
        min-height: 911px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    html body.rn-account-body nav#rn-dashboard-bottom-nav {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 90 !important;
        right: max(17px, calc((100vw - 398px) / 2)) !important;
        bottom: 10px !important;
        left: max(17px, calc((100vw - 398px) / 2)) !important;
        display: grid !important;
        width: auto !important;
        height: 52px !important;
        min-height: 52px !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        align-items: center !important;
        padding: 4px 8px !important;
        border: 0 !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, .98) !important;
        direction: rtl !important;
        box-shadow: 0 9px 26px rgba(28, 69, 146, .15) !important;
    }

    html body.rn-account-body nav#rn-dashboard-bottom-nav > a,
    html body.rn-account-body nav#rn-dashboard-bottom-nav > a:nth-child(n) {
        position: relative !important;
        inset: auto !important;
        display: grid !important;
        width: 100% !important;
        height: 44px !important;
        min-height: 44px !important;
        grid-template-rows: 24px 12px !important;
        place-items: center !important;
        gap: 2px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #7a879f !important;
        box-shadow: none !important;
        transform: none !important;
    }

    html body.rn-account-body nav#rn-dashboard-bottom-nav > a.kd-charge-now {
        width: 52px !important;
        height: 52px !important;
        min-height: 52px !important;
        justify-self: center !important;
        margin-top: -23px !important;
        border-radius: 50% !important;
        background: #1268ff !important;
        color: #fff !important;
        box-shadow: 0 8px 20px rgba(18, 104, 255, .28) !important;
    }

    html body.rn-account-body nav#rn-dashboard-bottom-nav > a.kd-charge-now > span {
        position: absolute !important;
        top: 56px !important;
        color: #1268ff !important;
        -webkit-text-fill-color: #1268ff !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell.is-dashboard {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 911px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell.is-dashboard > .kd-mobile-head,
    html body.rn-account-body main.rn-main section.kd-shell.is-dashboard > .kd-content > .gx-dashboard,
    html body.rn-account-body main.rn-main section.kd-shell.is-dashboard > .kd-content > .kd-account-topbar {
        display: none !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell.is-dashboard > .kd-content {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 911px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    html body.rn-account-body main.rn-main section.kd-shell.is-dashboard .rn-mobile-dashboard {
        display: block !important;
        width: 100% !important;
        max-width: 432px !important;
        min-height: 911px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    html body.rn-account-body nav.kd-bottom-nav {
        right: max(17px, calc((100vw - 398px) / 2)) !important;
        bottom: 10px !important;
        left: max(17px, calc((100vw - 398px) / 2)) !important;
        display: grid !important;
        width: auto !important;
        height: 52px !important;
        min-height: 52px !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        padding: 4px 8px !important;
        border-radius: 18px !important;
        direction: rtl !important;
    }

    html body.rn-account-body nav.kd-bottom-nav > a,
    html body.rn-account-body nav.kd-bottom-nav > a:nth-child(n) {
        position: relative !important;
        inset: auto !important;
        display: grid !important;
        width: 100% !important;
        height: 44px !important;
        min-height: 44px !important;
        grid-template-rows: 24px 12px !important;
        place-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    html body.rn-account-body nav.kd-bottom-nav > a.kd-charge-now {
        width: 52px !important;
        height: 52px !important;
        min-height: 52px !important;
        justify-self: center !important;
        margin-top: -23px !important;
        border-radius: 50% !important;
        background: #1268ff !important;
        box-shadow: 0 8px 20px rgba(18, 104, 255, .28) !important;
    }

    html body.rn-account-body nav.kd-bottom-nav > a.kd-charge-now > span {
        position: absolute !important;
        top: 56px !important;
        color: #1268ff !important;
        -webkit-text-fill-color: #1268ff !important;
    }

    html body.rn-auth-body main.rn-main section.gx-auth-shell {
        width: 100% !important;
        min-height: calc(100svh - 20px) !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    html body.rn-auth-body .gx-auth-panel {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 22px 18px !important;
    }

    html body.rn-auth-body .gx-auth-visual {
        order: 2 !important;
        width: 100% !important;
        min-height: 230px !important;
        height: 28svh !important;
        max-height: 300px !important;
    }
}
