        :root {
            --bg: #0a0a0a;
            --bg-card: #111111;
            --bg-soft: #1a1a1a;
            --sidebar-bg: #0d0d0d;
            --border: rgba(255, 255, 255, 0.09);
            --accent: #ff6a00;
            --accent-2: #e65c00;
            --accent-3: #1e293b;
            --gold: #f59e0b;
            --text-main: #f0f0f0;
            --text-dim: #888888;
            --success: #00ff5e;
            --danger: #ef4444;
            --warning: #f59e0b;
            --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.4);
            --shadow-strong: 0 16px 34px rgba(0, 0, 0, 0.6);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        body {
            background:
                radial-gradient(circle at top right, rgba(255, 106, 0, 0.07), transparent 40%),
                radial-gradient(circle at bottom left, rgba(255, 106, 0, 0.03), transparent 36%),
                linear-gradient(180deg, #0a0a0a 0%, #0a0a0a 100%);
            color: var(--text-main);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
            line-height: 1.5;
        }

        a {
            color: var(--accent);
        }

        body::before,
        body::after {
            display: none;
        }

        body::before {
            background: radial-gradient(circle, rgba(24, 228, 255, 0.22) 0%, rgba(24, 228, 255, 0.04) 60%, transparent 70%);
            top: -16vw;
            left: -10vw;
        }

        body::after {
            background: radial-gradient(circle, rgba(52, 245, 197, 0.18) 0%, rgba(122, 92, 255, 0.08) 60%, transparent 70%);
            bottom: -20vw;
            right: -14vw;
            animation-delay: -8s;
        }

        @keyframes fintechFloat {
            0%,
            100% {
                transform: translate3d(0, 0, 0) scale(1);
            }

            50% {
                transform: translate3d(0, 12px, 0) scale(1.05);
            }
        }

        .backdrop {
            position: fixed;
            inset: 0;
            background: rgba(2, 3, 8, 0.55);
            opacity: 0;
            pointer-events: none;
            transition: 0.25s ease;
            z-index: 900;
        }

        .backdrop.active {
            opacity: 1;
            pointer-events: auto;
        }

        #login-screen {
            position: fixed;
            inset: 0;
            background: #0a0a0a;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3000;
            padding: 1rem;
            overflow: hidden;
        }

        #login-screen::before {
            content: "";
            position: absolute;
            top: -20%;
            left: 50%;
            transform: translateX(-50%);
            width: 600px;
            height: 400px;
            background: radial-gradient(ellipse, rgba(255, 106, 0, 0.12) 0%, rgba(255, 106, 0, 0.03) 55%, transparent 75%);
            pointer-events: none;
            filter: blur(8px);
        }

        #login-screen::after {
            content: "";
            position: absolute;
            bottom: -10%;
            right: -10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(255, 106, 0, 0.06) 0%, transparent 65%);
            pointer-events: none;
        }

        .login-card {
            width: 100%;
            max-width: 420px;
            background: #111111;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-top: 1px solid rgba(255, 106, 0, 0.3);
            border-radius: 24px;
            padding: 2.5rem 2rem;
            text-align: center;
            box-shadow: 0 32px 64px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 106, 0, 0.08) inset;
            animation: cardReveal 0.65s cubic-bezier(0.34, 1.3, 0.64, 1) both;
            position: relative;
            z-index: 1;
        }

        .login-logo {
            width: 110px;
            height: auto;
            object-fit: contain;
            margin-bottom: 0.6rem;
            filter: drop-shadow(0 8px 24px rgba(255, 106, 0, 0.3));
        }

        .login-card i.lock-icon {
            font-size: 2.8rem;
            color: var(--accent);
            margin-bottom: 1rem;
        }

        .login-card .brand {
            color: #ffffff;
        }

        .login-card .muted {
            color: rgba(255, 255, 255, 0.45);
        }

        .login-card .input-field {
            background: #1a1a1a;
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #ffffff;
        }

        .login-card .input-field::placeholder {
            color: rgba(255, 255, 255, 0.3);
        }

        .login-card .input-field:focus {
            border-color: var(--accent);
            background: #1e1e1e;
            box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.18);
        }

        .login-card .btn-new {
            color: rgba(255, 255, 255, 0.55);
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .login-card .btn-new:hover {
            color: rgba(255, 255, 255, 0.85);
            border-color: rgba(255, 255, 255, 0.22);
            background: rgba(255, 255, 255, 0.04);
        }

        .brand {
            font-size: 1.7rem;
            font-weight: 700;
            margin-bottom: 8px;
            letter-spacing: -0.03em;
            font-family: 'Space Grotesk', 'Inter', sans-serif;
        }

        .brand span {
            color: var(--accent);
            background: none;
            padding: 0;
            border-radius: 0;
            margin-left: 2px;
            font-weight: 700;
        }

        .muted {
            color: var(--text-dim);
        }

        .input-field,
        select,
        .input-w {
            width: 100%;
            background: var(--bg-soft);
            border: 1px solid var(--border);
            padding: 14px 15px;
            border-radius: 12px;
            color: var(--text-main);
            margin-bottom: 12px;
            outline: none;
        }

        .input-field:focus,
        select:focus,
        .input-w:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.16);
        }

        .token-help {
            display: inline-block;
            margin: 0.2rem 0 1.4rem;
            font-size: 0.86rem;
            color: var(--text-dim);
            text-decoration: none;
        }

        .token-help b {
            color: var(--accent);
        }

        .remember-wrap {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin: 0 0 12px;
            color: var(--text-dim);
            font-size: 0.86rem;
        }

        .btn-confirm {
            width: 100%;
            background: var(--accent);
            color: #ffffff;
            border: none;
            padding: 14px;
            border-radius: 12px;
            font-weight: 800;
            cursor: pointer;
            transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
            box-shadow: 0 8px 18px rgba(255, 106, 0, 0.24);
            position: relative;
            overflow: hidden;
        }

        .btn-confirm:hover {
            background: var(--accent-2);
            transform: translateY(-1px);
            box-shadow: 0 12px 22px rgba(230, 92, 0, 0.24);
            filter: saturate(1.02);
        }

        .btn-confirm::after {
            content: "";
            position: absolute;
            top: -40%;
            left: -24%;
            width: 28%;
            height: 180%;
            transform: rotate(18deg);
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
            transition: left 0.45s ease;
        }

        .btn-confirm:hover::after {
            left: 110%;
        }

        .btn-confirm.loading {
            pointer-events: none;
            opacity: 0.85;
        }

        .btn-inner {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .spinner {
            width: 15px;
            height: 15px;
            border: 2px solid rgba(255, 255, 255, 0.35);
            border-top-color: #ffffff;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            display: none;
        }

        .btn-confirm.loading .spinner {
            display: inline-block;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        #dashboard-area {
            display: none;
            opacity: 0;
        }

        #screen-loading {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.65);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 2500;
            flex-direction: column;
            gap: 12px;
        }

        #screen-loading.active {
            display: flex;
        }

        .loader-ring {
            width: 48px;
            height: 48px;
            border: 3px solid rgba(255, 106, 0, 0.2);
            border-top-color: var(--accent);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        header {
            height: 64px;
            background: #0a0a0a;
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 0.9rem 0 1rem;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1100;
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
        }

        header::before,
        header::after {
            display: none;
        }

        .header-brand {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .header-logo-mark {
            width: 38px;
            height: 38px;
            object-fit: contain;
            flex-shrink: 0;
            filter: drop-shadow(0 8px 18px rgba(255, 106, 0, 0.18));
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            position: relative;
        }

        .logo {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 0;
            font-family: 'Space Grotesk', 'Inter', sans-serif;
            font-size: 1.34rem;
            font-weight: 800;
            letter-spacing: -0.03em;
            line-height: 1;
            color: #ffffff;
            text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
            animation: logoEntrance 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
        }

        .logo::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -6px;
            height: 2px;
            background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.85) 35%, rgba(255, 106, 0, 0.95) 65%, transparent 100%);
            transform-origin: center;
            animation: logoLinePulse 3s ease-in-out infinite;
            opacity: 0.75;
        }

        .logo span {
            margin-left: 1px;
            color: #ffd3b6;
            font-weight: 700;
            background: none;
            padding: 0;
            border-radius: 0;
        }

        body.logo-style-a .logo {
            letter-spacing: -0.028em;
            text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25), 0 0 22px rgba(255, 106, 0, 0.1);
        }

        body.logo-style-a .logo span {
            color: #ffc49f;
            font-weight: 700;
        }

        body.logo-style-a .logo::after {
            background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.88) 32%, rgba(255, 106, 0, 0.95) 68%, transparent 100%);
            opacity: 0.82;
        }

        body.logo-style-b .logo {
            font-weight: 800;
            letter-spacing: -0.034em;
            transform: skewX(-3deg);
            text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
            color: #f8fbff;
        }

        body.logo-style-b .logo::before {
            content: "";
            position: absolute;
            inset: -2px -6px;
            background: linear-gradient(110deg, transparent 24%, rgba(255, 106, 0, 0.34) 48%, transparent 74%);
            background-size: 220% 100%;
            animation: shimmerSlide 2.8s ease-in-out infinite;
            mix-blend-mode: screen;
            opacity: 0.58;
            pointer-events: none;
            border-radius: 8px;
        }

        body.logo-style-b .logo span {
            color: var(--accent);
            font-weight: 800;
            text-shadow: 0 0 12px rgba(255, 106, 0, 0.42);
        }

        body.logo-style-b .logo::after {
            background: linear-gradient(90deg, transparent 0%, rgba(255, 106, 0, 0.92) 50%, transparent 100%);
            opacity: 0.72;
        }

        .header-action-card {
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            min-height: 42px;
            padding: 0 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            color: #ffffff;
            cursor: pointer;
            transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
            animation: logoEntrance 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
        }

        .header-action-card:hover {
            transform: translateY(-1px);
            border-color: rgba(255, 106, 0, 0.34);
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
        }

        .header-action-card-notification {
            width: 44px;
            padding: 0;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.03);
        }

        .header-action-card-notification i {
            font-size: 1rem;
            color: #f8fafc;
        }

        .header-action-card-menu {
            padding: 4px 8px 4px 4px;
            gap: 8px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.04);
        }

        .header-action-card-menu.active {
            border-color: rgba(255, 106, 0, 0.34);
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
        }

        .header-action-menu-core {
            width: 36px;
            height: 34px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(145deg, #ffb27a 0%, #ff8c42 30%, #ff6a00 100%);
            color: #ffffff;
            box-shadow: 0 10px 20px rgba(255, 106, 0, 0.25);
        }

        .header-action-menu-core i {
            font-size: 0.98rem;
        }

        .header-action-menu-arrow {
            font-size: 0.78rem;
            color: rgba(255, 255, 255, 0.84);
            transform: translateY(1px);
            transition: transform 0.2s ease;
        }

        .header-action-card-menu.active .header-action-menu-arrow {
            transform: translateY(1px) rotate(180deg);
        }

        .header-menu-dropdown {
            position: absolute;
            top: calc(100% + 12px);
            right: 0;
            width: 228px;
            padding: 10px;
            border-radius: 18px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(14, 14, 14, 0.96);
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
            backdrop-filter: blur(16px);
            display: grid;
            gap: 6px;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transform: translateY(-6px);
            transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
            z-index: 30;
        }

        .header-menu-dropdown.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateY(0);
        }

        .header-menu-item {
            border: 0;
            width: 100%;
            min-height: 46px;
            padding: 0 14px;
            border-radius: 14px;
            background: transparent;
            color: #f8fafc;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            font-size: 0.96rem;
            font-weight: 600;
            text-align: left;
            cursor: pointer;
            transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
        }

        .header-menu-item i {
            width: 16px;
            color: #ffb27a;
            text-align: center;
            flex-shrink: 0;
        }

        .header-menu-item:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateX(2px);
        }

        .header-menu-item-danger {
            color: #ffd8d8;
        }

        .header-menu-item-danger i {
            color: #ff8f8f;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        .sidebar {
            position: fixed;
            top: 64px;
            bottom: 0;
            left: -290px;
            width: 290px;
            background: var(--sidebar-bg);
            border-right: 1px solid rgba(255, 255, 255, 0.1);
            z-index: 1000;
            padding: 1.3rem 1rem;
            transition: left 0.25s ease;
            box-shadow: 14px 0 28px rgba(0, 0, 0, 0.18);
        }

        .sidebar.active {
            left: 0;
        }

        .mobile-bottom-nav {
            display: none;
        }

        .mobile-nav-item {
            border: none;
            background: transparent;
            color: #cbd5e1;
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            font-size: 0.67rem;
            font-weight: 600;
            letter-spacing: 0.01em;
            cursor: pointer;
            border-radius: 12px;
            min-height: 42px;
            transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
        }

        .mobile-nav-item i {
            font-size: 1.05rem;
        }

        .mobile-nav-item.active {
            color: var(--accent);
            background: rgba(255, 106, 0, 0.12);
        }

        .mobile-nav-item-primary {
            transform: translateY(-12px);
            gap: 4px;
            background: transparent !important;
            color: #fff;
        }

        .mobile-nav-item-primary .mobile-nav-primary-orb {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(145deg, #ff7a1a 0%, #ff6a00 45%, #ff4d00 100%);
            border: 3px solid rgba(255, 255, 255, 0.9);
            box-shadow: 0 12px 22px rgba(255, 106, 0, 0.42), 0 0 0 6px rgba(255, 106, 0, 0.14);
            animation: mobilePixPulse 2.2s ease-in-out infinite;
        }

        .mobile-nav-item-primary .mobile-nav-primary-orb i {
            font-size: 1.35rem;
            color: #ffffff;
        }

        .mobile-nav-item-primary span:last-child {
            font-size: 0.75rem;
            font-weight: 700;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
        }

        .mobile-nav-item-primary.active .mobile-nav-primary-orb {
            box-shadow: 0 18px 30px rgba(255, 106, 0, 0.5), 0 0 0 8px rgba(255, 106, 0, 0.2);
            filter: saturate(1.08) brightness(1.03);
        }

        @keyframes mobilePixPulse {
            0%,
            100% {
                transform: translateY(0) scale(1);
            }

            50% {
                transform: translateY(-2px) scale(1.04);
            }
        }

        .nav-title {
            font-size: 0.8rem;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 1.3px;
            margin: 0.2rem 0 0.8rem 0.3rem;
        }

        .nav-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 13px;
            border-radius: 12px;
            color: #cbd5e1;
            cursor: pointer;
            margin-bottom: 6px;
            transition: transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1), border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
            border: 1px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .nav-item:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.12);
            transform: translateX(4px);
        }

        .nav-item.active {
            color: var(--accent);
            background: rgba(255, 106, 0, 0.14);
            border-color: rgba(255, 106, 0, 0.35);
            box-shadow: none;
        }

        .nav-item.active::before {
            content: "";
            position: absolute;
            left: 0;
            top: 8px;
            bottom: 8px;
            width: 3px;
            border-radius: 3px;
            background: var(--accent);
        }

        main {
            max-width: 1180px;
            margin: 0 auto;
            width: 94%;
            padding-top: 84px;
            padding-bottom: 2.5rem;
        }

        @media (min-width: 901px) {
            .sidebar {
                left: 0;
            }

            .backdrop {
                display: none !important;
            }

            main {
                margin-left: 300px;
                width: calc(100% - 330px);
                max-width: none;
                margin-right: 20px;
            }
        }

        @media (max-width: 900px) {
            .sidebar {
                left: -290px;
            }

            main {
                margin: 0 auto;
                width: 95%;
                padding-bottom: calc(106px + env(safe-area-inset-bottom));
            }

            .mobile-bottom-nav {
                position: fixed;
                left: 12px;
                right: 12px;
                bottom: 10px;
                z-index: 1300;
                display: grid;
                grid-template-columns: repeat(5, minmax(0, 1fr));
                gap: 4px;
                padding: 6px 8px 8px;
                background: #0a0a0a;
                border: 1px solid rgba(255, 255, 255, 0.08);
                border-radius: 15px;
                box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
                backdrop-filter: blur(10px);
            }
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: tabReveal 0.42s ease;
        }

        .tab-hero {
            border: 1px solid var(--border);
            border-radius: 18px;
            padding: 14px 16px;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 12px;
            background: rgba(255, 255, 255, 0.02);
            box-shadow: var(--shadow-soft);
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(8px);
        }

        .tab-hero::after {
            content: "";
            position: absolute;
            right: -30px;
            top: -34px;
            width: 130px;
            height: 130px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(24, 228, 255, 0.18) 0%, transparent 70%);
            pointer-events: none;
        }

        .tab-hero-icon {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255, 255, 255, 0.16);
            background: rgba(255, 255, 255, 0.06);
            color: var(--accent);
            font-size: 1rem;
            flex: 0 0 auto;
        }

        .tab-hero-content {
            min-width: 0;
            flex: 1;
        }

        .tab-hero-content h3 {
            font-size: 1.02rem;
            margin-bottom: 4px;
        }

        .tab-hero-content p {
            color: var(--text-dim);
            font-size: 0.84rem;
            line-height: 1.35;
        }

        .tab-hero-badge {
            border: 1px solid rgba(24, 228, 255, 0.3);
            background: rgba(24, 228, 255, 0.12);
            color: #bff8ff;
            border-radius: 999px;
            padding: 5px 10px;
            font-size: 0.74rem;
            font-weight: 700;
            white-space: nowrap;
            flex: 0 0 auto;
        }

        .tab-hero-pix .tab-hero-icon,
        .tab-hero-pix .tab-hero-badge {
            color: #8ef8ff;
            border-color: rgba(24, 228, 255, 0.35);
            background: rgba(24, 228, 255, 0.14);
        }

        .tab-hero-withdraw .tab-hero-icon,
        .tab-hero-withdraw .tab-hero-badge {
            color: #ffe0ab;
            border-color: rgba(255, 191, 63, 0.35);
            background: rgba(255, 191, 63, 0.14);
        }

        .tab-hero-deposits .tab-hero-icon,
        .tab-hero-deposits .tab-hero-badge {
            color: #aefed7;
            border-color: rgba(25, 228, 138, 0.35);
            background: rgba(25, 228, 138, 0.14);
        }

        .tab-hero-fees .tab-hero-icon,
        .tab-hero-fees .tab-hero-badge {
            color: #ffe9b5;
            border-color: rgba(212, 175, 55, 0.35);
            background: rgba(212, 175, 55, 0.14);
        }

        .tab-hero-checkouts .tab-hero-icon,
        .tab-hero-checkouts .tab-hero-badge {
            color: #c9dbff;
            border-color: rgba(122, 92, 255, 0.35);
            background: rgba(122, 92, 255, 0.16);
        }

        .tab-hero-support .tab-hero-icon,
        .tab-hero-support .tab-hero-badge {
            color: #a9f2ff;
            border-color: rgba(24, 228, 255, 0.35);
            background: rgba(24, 228, 255, 0.14);
        }

        @keyframes tabReveal {
            from {
                opacity: 0;
                transform: translateY(8px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes cardReveal {
            from {
                opacity: 0;
                transform: translateY(16px) scale(0.98);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes logoEntrance {
            from {
                opacity: 0;
                transform: translateX(-10px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes foxWag {
            0%, 100% { transform: rotate(0deg) scale(1); }
            20% { transform: rotate(-16deg) scale(1.12); }
            45% { transform: rotate(12deg) scale(1.1); }
            65% { transform: rotate(-8deg) scale(1.05); }
            82% { transform: rotate(5deg) scale(1.03); }
        }

        @keyframes accentPulse {
            0%, 100% { opacity: 0.45; }
            50% { opacity: 0.85; }
        }

        @keyframes logoLinePulse {
            0%,
            100% {
                transform: scaleX(0.86);
                opacity: 0.55;
            }

            50% {
                transform: scaleX(1);
                opacity: 0.95;
            }
        }

        @keyframes headerGlow {
            0%,
            100% {
                transform: translateX(0);
                opacity: 0.5;
            }

            50% {
                transform: translateX(8px);
                opacity: 0.85;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes shimmerSlide {
            0% { background-position: -200% center; }
            100% { background-position: 200% center; }
        }

        .metrics .metric-card {
            animation: cardReveal 0.45s cubic-bezier(0.34, 1.2, 0.64, 1) both;
        }

        .metrics .metric-card:nth-child(1) { animation-delay: 0.06s; }
        .metrics .metric-card:nth-child(2) { animation-delay: 0.14s; }
        .metrics .metric-card:nth-child(3) { animation-delay: 0.22s; }
        .metrics .metric-card:nth-child(4) { animation-delay: 0.30s; }

        .metrics {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            margin-bottom: 1.2rem;
        }

        @media (max-width: 480px) {
            .metrics {
                gap: 10px;
            }
            .metrics .card {
                padding: 0.85rem;
                border-radius: 14px;
            }
            .metric-card-icon {
                width: 28px;
                height: 28px;
                font-size: 0.75rem;
                border-radius: 9px;
            }
            .metric-card-head {
                gap: 7px;
            }
            .metric-card-label {
                font-size: 0.65rem;
                letter-spacing: 0.04em;
            }
            .metric-card h2 {
                margin-top: 8px;
                font-size: 1.1rem;
            }
        }

        .card,
        .pix-container,
        .withdraw-box,
        .taxes-box {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 1.45rem;
            box-shadow: var(--shadow-soft);
            backdrop-filter: blur(8px);
            transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.28s ease, border-color 0.28s ease;
            animation: fadeInUp 0.5s ease both;
        }

        .card:hover,
        .pix-container:hover,
        .withdraw-box:hover,
        .taxes-box:hover {
            transform: translateY(-3px);
            border-color: rgba(255, 106, 0, 0.22);
            box-shadow: var(--shadow-strong), 0 0 0 1px rgba(255, 106, 0, 0.08);
        }

        .card span {
            color: var(--text-dim);
            font-size: 0.82rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .card h2 {
            margin-top: 10px;
            font-size: 1.45rem;
        }

        .metric-card {
            position: relative;
            overflow: hidden;
            background: #141414;
        }

        .metric-card::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            border-radius: 3px 0 0 3px;
            background: var(--metric-accent, var(--border));
        }

        .metric-card-saldo  { --metric-accent: #22c55e; }
        .metric-card-withdrawn { --metric-accent: #ef4444; }
        .metric-card-deposito  { --metric-accent: #ff6a00; }
        .metric-card-approval  { --metric-accent: var(--approval-bar-color, #94a3b8); }

        .metric-card-head {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .metric-card-icon {
            width: 36px;
            height: 36px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.92rem;
            color: var(--text-dim);
            border: 1px solid var(--border);
            background: var(--bg-soft);
            /* reset inherited .card span overrides that break FA icons */
            text-transform: none;
            letter-spacing: 0;
            font-family: inherit;
        }

        .metric-card-label {
            color: var(--text-dim);
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-weight: 600;
        }

        .metric-card h2 {
            margin-top: 14px;
            font-size: 1.6rem;
            letter-spacing: -0.03em;
            line-height: 1.15;
        }

        .metric-card-trend {
            display: none;
        }

        .metric-card-trend.up {
            display: none;
        }

        .metric-card-trend.down {
            display: none;
        }

        .metric-card-trend.neutral {
            display: none;
        }

        .metric-sparkline {
            display: none;
        }

        .metric-sparkline polyline {
            fill: none;
            stroke: var(--spark-color);
            stroke-width: 2.4;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .metric-card-saldo .metric-card-icon {
            color: #16a34a;
            background: rgba(34, 197, 94, 0.1);
            border-color: rgba(34, 197, 94, 0.22);
        }

        .metric-card-withdrawn .metric-card-icon {
            color: #d97706;
            background: rgba(245, 158, 11, 0.1);
            border-color: rgba(245, 158, 11, 0.22);
        }

        .metric-card-withdrawn .metric-sparkline {
            --spark-color: #f59e0b;
        }

        .metric-card-approval .metric-card-icon {
            color: var(--approval-bar-color, #94a3b8) !important;
            background: rgba(148, 163, 184, 0.1);
            border-color: rgba(148, 163, 184, 0.22);
        }

        .metric-card-deposito .metric-card-icon {
            color: #ff6a00;
            background: rgba(255, 106, 0, 0.1);
            border-color: rgba(255, 106, 0, 0.22);
        }

        .metric-card-approval h2 {
            color: var(--text-main);
        }

        .pix-container {
            margin-top: 1rem;
            text-align: center;
        }

        .pix-input-group {
            display: flex;
            align-items: center;
            max-width: 360px;
            margin: 1rem auto 1.2rem;
            background: var(--bg-soft);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
        }

        .pix-input-group span {
            padding: 0 14px;
            color: var(--accent);
            font-weight: 800;
        }

        .pix-input-group input {
            width: 100%;
            background: none;
            border: none;
            color: var(--text-main);
            padding: 14px;
            outline: none;
            font-size: 1rem;
        }

        #pix-result {
            display: none;
        }

        .qr-area {
            width: 170px;
            height: 170px;
            background: #fff;
            border-radius: 14px;
            margin: 0 auto 1rem;
            display: grid;
            place-items: center;
        }

        .copy-box {
            background: #1a1a1a;
            border: 1px dashed var(--border);
            border-radius: 10px;
            padding: 11px;
            margin-bottom: 12px;
            color: var(--text-dim);
            font-size: 0.75rem;
            word-break: break-all;
        }

        .tx-id-box {
            border: 1px solid rgba(255, 106, 0, 0.25);
            background: rgba(255, 106, 0, 0.08);
            border-radius: 10px;
            padding: 10px;
            margin-bottom: 12px;
            font-size: 0.83rem;
            color: #9a3412;
        }

        .tx-id-box code {
            background: rgba(15, 23, 42, 0.08);
            padding: 2px 6px;
            border-radius: 5px;
            color: var(--text-main);
        }

        .pix-timer {
            margin-bottom: 10px;
            font-size: 0.9rem;
            color: var(--warning);
            font-weight: 600;
        }

        .pix-expired {
            display: none;
            margin-bottom: 12px;
            background: rgba(239, 68, 68, 0.08);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #b91c1c;
            border-radius: 10px;
            padding: 10px;
            font-size: 0.86rem;
        }

        .pix-check-timer {
            margin: -4px 0 12px;
            font-size: 0.82rem;
            color: var(--text-dim);
        }

        .pix-check-timer span {
            color: var(--accent);
            font-weight: 700;
        }

        .btn-new {
            width: 100%;
            margin-top: 8px;
            border: 1px solid var(--accent);
            background: transparent;
            color: var(--accent);
            padding: 12px;
            border-radius: 12px;
            cursor: pointer;
            transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
        }

        .btn-new:hover {
            transform: translateY(-1px);
            color: #ffffff;
            border-color: var(--accent-2);
            background: var(--accent-2);
        }

        .pix-batch-panel {
            margin-top: 10px;
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 12px;
            background: var(--bg);
        }

        .pix-batch-list {
            margin-top: 10px;
            display: grid;
            gap: 6px;
            text-align: left;
        }

        .pix-batch-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 8px 10px;
            background: var(--bg);
            font-size: 0.82rem;
            white-space: nowrap;
            overflow: hidden;
        }

        .pix-batch-item strong,
        .pix-batch-item code {
            color: var(--text-main);
            font-size: 0.8rem;
        }

        .pix-batch-item code {
            background: rgba(15, 23, 42, 0.07);
            padding: 2px 5px;
            border-radius: 6px;
        }

        .pix-batch-meta {
            color: var(--text-dim);
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .pix-batch-status {
            flex: 0 0 auto;
            font-weight: 700;
        }

        .pix-batch-status.paid {
            color: var(--success);
        }

        .pix-batch-status.pending {
            color: var(--warning);
        }

        .pix-batch-status.failed {
            color: var(--danger);
        }

        .pix-batch-qr-btn {
            border: 1px solid var(--border);
            background: rgba(255, 255, 255, 0.05);
            color: var(--accent);
            border-radius: 8px;
            width: 28px;
            height: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            flex: 0 0 auto;
        }

        .pix-batch-qr-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .pix-batch-qr-modal {
            position: fixed;
            inset: 0;
            z-index: 250;
            background: rgba(0, 0, 0, 0.65);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 16px;
        }

        .pix-batch-qr-card {
            width: min(420px, 100%);
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 14px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
        }

        .pix-batch-qr-close {
            border: 1px solid var(--border);
            background: transparent;
            color: var(--text-dim);
            border-radius: 8px;
            padding: 6px 10px;
            cursor: pointer;
            float: right;
            margin-bottom: 8px;
        }

        .withdraw-tabs {
            display: flex;
            gap: 8px;
            margin: 1rem 0;
            background: var(--bg-soft);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 5px;
        }

        .w-tab {
            flex: 1;
            border: none;
            background: transparent;
            border-radius: 10px;
            color: var(--text-dim);
            font-weight: 600;
            padding: 10px;
            cursor: pointer;
            transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
        }

        .w-tab.active {
            background: var(--accent);
            color: #ffffff;
            box-shadow: 0 6px 16px rgba(255, 106, 0, 0.28);
        }

        .w-tab:hover {
            transform: translateY(-1px);
        }

        .withdraw-form {
            display: none;
            margin-top: 1rem;
        }

        .withdraw-form.active {
            display: block;
        }

        .tax-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }

        .tax-card {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 1rem;
            transition: border-color 0.22s ease, transform 0.22s ease;
        }

        .tax-card:hover {
            transform: translateY(-1px);
            border-color: rgba(255, 106, 0, 0.25);
        }

        .tax-card h4 {
            font-size: 0.92rem;
            color: var(--accent);
            margin-bottom: 8px;
        }

        .card h3,
        .taxes-box h3,
        .withdraw-box h3,
        .pix-container h3 {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            letter-spacing: 0.2px;
        }

        .tax-val {
            font-size: 1.45rem;
            font-weight: 700;
            margin-bottom: 6px;
        }

        .tax-note {
            color: var(--text-dim);
            font-size: 0.82rem;
            line-height: 1.4;
        }

        .integration-grid {
            align-items: stretch;
        }

        .integration-card {
            background:
                radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.06), transparent 40%),
                rgba(255, 255, 255, 0.02);
            border-color: rgba(255, 106, 0, 0.18);
            box-shadow: inset 0 0 0 1px rgba(255, 106, 0, 0.06);
        }

        .integration-card h4 {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            letter-spacing: 0.2px;
        }

        .integration-field {
            margin-top: 4px;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            font-size: 0.88rem;
            letter-spacing: 0.02em;
            border-color: rgba(255, 106, 0, 0.2);
            background: rgba(8, 12, 20, 0.9);
        }

        .integration-field[readonly] {
            cursor: text;
            color: #e6faff;
        }

        .integration-credential-box {
            position: relative;
            margin-top: 4px;
        }

        .integration-credential-input {
            margin-bottom: 0;
            padding-right: 92px;
        }

        .integration-credential-tools {
            position: absolute;
            top: 50%;
            right: 12px;
            transform: translateY(-50%);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .integration-icon-btn {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            border: 1px solid rgba(255, 106, 0, 0.22);
            background: rgba(255, 106, 0, 0.06);
            color: var(--accent);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
        }

        .integration-icon-btn:hover {
            transform: translateY(-1px);
            border-color: rgba(255, 106, 0, 0.38);
            background: rgba(255, 106, 0, 0.12);
            color: var(--accent-2);
        }

        .integration-icon-btn:disabled {
            opacity: 0.45;
            cursor: not-allowed;
            transform: none;
        }

        .integration-icon-btn-danger {
            border-color: rgba(240, 107, 135, 0.24);
            background: rgba(240, 107, 135, 0.08);
            color: #ffd0da;
        }

        .integration-icon-btn-danger:hover {
            border-color: rgba(240, 107, 135, 0.38);
            background: rgba(240, 107, 135, 0.14);
            color: #ffe6ec;
        }

        .integration-card-subtitle {
            margin-top: 6px;
        }

        .integration-credential-status {
            margin-top: 10px;
            color: var(--text-dim);
            font-size: 0.82rem;
            line-height: 1.45;
        }

        .integration-actions {
            margin-top: 12px;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }

        .integration-copy-btn {
            width: 100%;
            border-color: rgba(255, 106, 0, 0.25);
        }

        .integration-generate-btn {
            width: 100%;
            max-width: none;
        }

        .integration-generate-btn[hidden] {
            display: none !important;
        }

        .integration-danger-btn {
            border-color: rgba(240, 107, 135, 0.24);
            color: #ffd8e1;
        }

        .integration-danger-btn:hover {
            border-color: rgba(240, 107, 135, 0.34);
            background: rgba(240, 107, 135, 0.08);
        }

        .integration-doc-card {
            border-color: rgba(122, 92, 255, 0.35);
            box-shadow: inset 0 0 0 1px rgba(122, 92, 255, 0.12);
        }

        .integration-doc-btn {
            margin-top: 10px;
            max-width: 320px;
        }

        .home-footer {
            margin-top: 1.2rem;
            text-align: center;
            font-size: 0.8rem;
            color: var(--text-dim);
            border-top: 1px solid var(--border);
            padding-top: 1rem;
        }

        .meta-progress-box {
            margin-bottom: 1rem;
            text-align: left;
        }

        .meta-progress-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .meta-progress-head span {
            color: var(--accent);
            font-size: 0.92rem;
        }

        .meta-progress-track {
            width: 100%;
            height: 11px;
            border-radius: 999px;
            background: rgba(15, 23, 42, 0.08);
            overflow: hidden;
            border: 1px solid var(--border);
        }

        .meta-progress-fill {
            width: 0%;
            height: 100%;
            border-radius: 999px;
            background: linear-gradient(120deg, var(--accent), #74f2ff);
            transition: width 0.35s ease;
        }

        .meta-progress-foot {
            margin-top: 10px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            color: var(--text-dim);
            font-size: 0.86rem;
        }

        .meta-reward {
            margin-top: 7px;
            color: var(--gold);
            font-size: 0.9rem;
            font-weight: 700;
        }

        .meta-list {
            margin-top: 1rem;
            display: grid;
            gap: 10px;
        }

        .meta-item {
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 12px;
            background: var(--bg);
        }

        .meta-item-image {
            width: 100%;
            max-height: 260px;
            object-fit: contain;
            border-radius: 10px;
            border: 1px solid rgba(24, 228, 255, 0.35);
            background: rgba(0, 0, 0, 0.2);
            margin-bottom: 6px;
            padding: 2px;
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(24, 228, 255, 0.08);
        }

        .meta-item strong {
            font-size: 1rem;
        }

        .meta-item p {
            margin-top: 4px;
            color: var(--text-dim);
            font-size: 0.86rem;
        }

        .meta-item .meta-status {
            margin-top: 7px;
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--warning);
        }

        .meta-item.done {
            border-color: rgba(25, 228, 138, 0.5);
            background: rgba(25, 228, 138, 0.08);
        }

        .meta-item.done .meta-status {
            color: var(--success);
        }

        .meta-item.current {
            border-color: rgba(24, 228, 255, 0.45);
            background: rgba(24, 228, 255, 0.08);
        }

        .card-meta-cartao {
            position: relative;
            overflow: hidden;
            padding: 1.2rem;
            border-radius: 20px;
            border: 1px solid rgba(255, 106, 0, 0.22);
            background:
                radial-gradient(circle at top right, rgba(255, 106, 0, 0.14), transparent 30%),
                radial-gradient(circle at bottom left, rgba(122, 92, 255, 0.12), transparent 34%),
                linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            backdrop-filter: blur(18px);
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
            animation: cardMetaCartaoFade 0.6s ease both;
            transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
        }

        .card-meta-cartao:hover {
            transform: translateY(-3px);
            box-shadow: 0 24px 52px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
        }

        .card-meta-cartao::after {
            content: "";
            position: absolute;
            inset: -30% auto auto -20%;
            width: 160px;
            height: 160px;
            border-radius: 999px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
            pointer-events: none;
        }

        .card-meta-cartao.unlocked {
            border-color: rgba(25, 228, 138, 0.34);
            box-shadow: 0 24px 56px rgba(4, 24, 19, 0.34), 0 0 32px rgba(25, 228, 138, 0.18), inset 0 0 0 1px rgba(25, 228, 138, 0.12);
            background:
                radial-gradient(circle at top right, rgba(25, 228, 138, 0.16), transparent 34%),
                radial-gradient(circle at bottom left, rgba(62, 230, 122, 0.14), transparent 34%),
                rgba(255, 255, 255, 0.05);
        }

        .card-meta-cartao.unlocked::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.12) 50%, transparent 80%);
            transform: translateX(-140%);
            animation: cardMetaCartaoGlow 2.2s ease-in-out infinite;
            pointer-events: none;
        }

        .meta-header {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
        }

        .meta-header-copy {
            min-width: 0;
        }

        .meta-header-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 0.55rem;
            padding: 6px 12px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.06);
            color: var(--accent);
            font-size: 0.76rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .meta-header h4 {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 0;
            font-size: 1.15rem;
            letter-spacing: 0.01em;
        }

        .meta-header h4 i {
            color: var(--accent);
            font-size: 1.05rem;
        }

        .card-meta-cartao.unlocked .meta-header h4 i,
        .card-meta-cartao.unlocked .meta-header-kicker {
            color: var(--success);
        }

        .meta-header p {
            margin: 0.7rem 0 0;
            max-width: 690px;
            color: rgba(255, 255, 255, 0.72);
            line-height: 1.6;
            font-size: 0.94rem;
        }

        .meta-card-badge {
            flex: 0 0 auto;
            padding: 10px 14px;
            border-radius: 999px;
            background: rgba(122, 92, 255, 0.18);
            border: 1px solid rgba(122, 92, 255, 0.22);
            color: #d7d0ff;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .card-meta-cartao.unlocked .meta-card-badge {
            background: rgba(25, 228, 138, 0.16);
            border-color: rgba(25, 228, 138, 0.24);
            color: #b7ffd7;
        }

        .progress-panel {
            position: relative;
            z-index: 1;
            margin-top: 1.15rem;
            padding: 1rem 1rem 0.95rem;
            border-radius: 16px;
            background: rgba(5, 10, 18, 0.28);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .progress-topline {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 0.75rem;
        }

        .progress-label {
            color: var(--text-dim);
            font-size: 0.82rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            font-weight: 700;
        }

        .progress-percent {
            color: #ffffff;
            font-size: 1rem;
            font-weight: 700;
        }

        .progress-container {
            position: relative;
            width: 100%;
            height: 14px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.05);
            overflow: hidden;
        }

        .progress-fill {
            position: relative;
            width: 0%;
            height: 100%;
            border-radius: 999px;
            background: linear-gradient(90deg, #00c6ff 0%, #4e7bff 50%, #7a5cff 100%);
            transition: width 0.6s ease, filter 0.3s ease, background 0.3s ease;
        }

        .progress-fill::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(120deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 80%);
            transform: translateX(-120%);
            animation: cardMetaCartaoShine 2.8s linear infinite;
        }

        .card-meta-cartao.unlocked .progress-fill {
            background: linear-gradient(90deg, #1ed760 0%, #39f3a2 100%);
            filter: drop-shadow(0 0 14px rgba(30, 215, 96, 0.35));
        }

        .progress-values {
            margin-top: 0.8rem;
            color: rgba(255, 255, 255, 0.86);
            font-size: 0.95rem;
            font-weight: 700;
        }

        .meta-info {
            position: relative;
            z-index: 1;
            margin-top: 1rem;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        .meta-info-item {
            padding: 0.95rem 1rem;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.045);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .meta-info-label {
            display: block;
            margin-bottom: 0.38rem;
            color: var(--text-dim);
            font-size: 0.76rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .meta-info-item strong {
            color: #ffffff;
            line-height: 1.5;
            font-size: 0.95rem;
        }

        @keyframes cardMetaCartaoFade {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes cardMetaCartaoShine {
            from {
                transform: translateX(-120%);
            }
            to {
                transform: translateX(160%);
            }
        }

        @keyframes cardMetaCartaoGlow {
            0%, 100% {
                transform: translateX(-140%);
                opacity: 0;
            }
            45% {
                opacity: 0.9;
            }
            60% {
                transform: translateX(140%);
                opacity: 0;
            }
        }

        .pix-status-wrap {
            margin-top: 1rem;
            display: grid;
            grid-template-columns: minmax(220px, 290px) 1fr;
            gap: 1.1rem;
            align-items: center;
        }

        .pix-donut {
            width: 220px;
            height: 220px;
            border-radius: 50%;
            margin: 0 auto;
            position: relative;
            border: 1px solid var(--border);
        }

        .pix-donut::before {
            content: "";
            position: absolute;
            inset: 28px;
            background: var(--bg-card);
            border-radius: 50%;
            border: 1px solid var(--border);
        }

        .pix-donut-center {
            position: absolute;
            inset: 0;
            display: grid;
            place-items: center;
            text-align: center;
            z-index: 1;
            font-size: 0.82rem;
            color: var(--text-dim);
        }

        .pix-donut-center b {
            display: block;
            color: var(--text-main);
            font-size: 1.3rem;
            margin-top: 3px;
        }

        .pix-legend {
            display: grid;
            gap: 8px;
        }

        .pix-legend-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 10px 12px;
            border: 1px solid var(--border);
            border-radius: 10px;
            background: var(--bg);
            transition: border-color 0.2s ease, transform 0.2s ease;
        }

        .pix-legend-item:hover {
            border-color: rgba(255, 106, 0, 0.28);
            transform: translateY(-1px);
        }

        .pix-legend-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--text-dim);
            font-size: 0.9rem;
        }

        .pix-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            flex: 0 0 auto;
        }

        .pix-legend-value {
            color: var(--text-main);
            font-weight: 700;
            font-size: 0.88rem;
        }

        .deposit-item {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 12px;
            padding: 12px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: var(--bg);
            margin-bottom: 10px;
            transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
        }

        .deposit-item:hover {
            border-color: rgba(255, 106, 0, 0.25);
            transform: translateY(-1px);
            background: rgba(255, 106, 0, 0.03);
        }

        .deposit-left {
            min-width: 0;
        }

        .deposit-value {
            font-weight: 700;
            color: var(--text-main);
        }

        .deposit-date,
        .deposit-source,
        .deposit-id {
            color: var(--text-dim);
            font-size: 0.8rem;
        }

        .deposit-id {
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        .deposit-date {
            margin-top: 3px;
        }

        .deposit-source {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 3px;
        }

        .deposit-source i {
            color: var(--accent);
            font-size: 0.78rem;
        }

        .deposit-right {
            text-align: right;
            flex: 0 0 auto;
            min-width: 0;
        }

        .withdraw-open-tx-btn {
            display: inline-block;
            margin-top: 6px;
            padding: 5px 10px;
            border-radius: 999px;
            border: 1px solid rgba(255, 106, 0, 0.35);
            background: rgba(255, 106, 0, 0.08);
            color: var(--accent);
            font-size: 0.74rem;
            font-weight: 700;
            text-decoration: none;
            white-space: nowrap;
        }

        .withdraw-open-tx-btn:hover {
            background: rgba(255, 106, 0, 0.14);
        }

        .deposit-status {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            border-radius: 999px;
            padding: 4px 10px;
            font-size: 0.78rem;
            font-weight: 800;
            border: 1px solid transparent;
        }

        .deposit-status i {
            font-size: 0.75rem;
        }

        .status-pending {
            color: #ffd77a;
            background: rgba(255, 191, 63, 0.16);
            border-color: rgba(255, 191, 63, 0.35);
        }

        .status-paid {
            color: #7effbe;
            background: rgba(25, 228, 138, 0.14);
            border-color: rgba(25, 228, 138, 0.35);
        }

        .status-failed {
            color: #ff8fa4;
            background: rgba(255, 75, 110, 0.14);
            border-color: rgba(255, 75, 110, 0.36);
        }

        .status-med {
            color: #8cc8ff;
            background: rgba(77, 163, 255, 0.16);
            border-color: rgba(77, 163, 255, 0.36);
        }

        .status-neutral {
            color: var(--text-dim);
            background: rgba(148, 163, 184, 0.12);
            border-color: rgba(148, 163, 184, 0.28);
        }
        /* ── Global Date Filter ─────────────────────────────────── */
        #global-range-badge {
            display: none;
            align-items: center;
            gap: 8px;
            background: rgba(255, 106, 0, 0.08);
            border: 1px solid rgba(255, 106, 0, 0.28);
            border-radius: 10px;
            padding: 6px 12px;
            font-size: 0.78rem;
            color: var(--accent);
            font-weight: 600;
            margin-bottom: 8px;
            animation: fadeInUp 0.25s ease both;
        }
        #global-range-badge.show { display: flex; }
        #global-range-badge-clear {
            margin-left: auto;
            background: none;
            border: none;
            color: var(--accent);
            cursor: pointer;
            padding: 0 2px;
            font-size: 0.82rem;
            opacity: 0.7;
            transition: opacity 0.15s;
        }
        #global-range-badge-clear:hover { opacity: 1; }

        #global-filter-bar {
            display: flex;
            align-items: center;
            gap: 0;
            margin-top: 10px;
            margin-bottom: 0;
        }
        #global-range-pill {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            border-radius: 12px;
            border: 1px solid var(--border);
            background: #141414;
            color: var(--text-main);
            font-size: 0.88rem;
            font-weight: 600;
            cursor: pointer;
            transition: border-color 0.2s, background 0.2s;
            text-transform: none;
            letter-spacing: 0;
            width: 100%;
            justify-content: flex-start;
        }
        #global-range-pill:hover,
        #global-range-pill.open {
            border-color: rgba(255,106,0,0.35);
            background: rgba(255,106,0,0.06);
        }
        #global-range-pill .fas.fa-calendar { color: var(--accent); font-size: 0.85rem; }
        #global-range-label { color: var(--accent); }
        #global-range-chevron {
            color: var(--text-dim);
            font-size: 0.72rem;
            transition: transform 0.2s;
            margin-left: auto;
        }
        #global-range-pill.open #global-range-chevron { transform: rotate(180deg); }

        .inicio-overview-card {
            margin-bottom: 1.2rem;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-top: 1px solid rgba(255, 106, 0, 0.25);
            border-radius: 20px;
            padding: 0.82rem;
            background: #111111;
            box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
        }

        .inicio-overview-head {
            margin-bottom: 0.95rem;
        }

        .inicio-overview-head h3 {
            margin: 0;
                display: inline-flex;
                align-items: center;
                gap: 0.5rem;
                font-size: 1.38rem;
                font-weight: 700;
            color: #f0f0f0;
        }

            .inicio-overview-head h3 i {
                font-size: 0.92rem;
                color: var(--accent);
            }

        .inicio-overview-head p {
            margin-top: 5px;
            color: #888888;
                font-size: 1rem;
            line-height: 1.4;
        }

        .inicio-overview-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-bottom: 0.95rem;
        }

        .inicio-overview-btn {
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 15px;
            background: #2a2a2a;
            color: #ffffff;
            height: 50px;
            padding: 0 18px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-weight: 700;
            font-size: 0.9rem;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
        }

        .inicio-overview-btn i {
            font-size: 0.92rem;
            color: currentColor;
        }

        .inicio-overview-btn:hover {
            transform: translateY(-2px);
            filter: brightness(1.1);
            box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
        }

        .inicio-overview-btn-deposito {
            background: var(--accent);
            border-color: var(--accent-2);
            color: #ffffff;
        }

        .inicio-overview-btn-deposito:hover {
            filter: brightness(1.08);
        }

        .inicio-overview-btn.active {
            background: #343434;
            border-color: rgba(255, 255, 255, 0.24);
            color: #ffffff;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
        }

        .inicio-overview-btn-deposito.active {
            background: var(--accent);
            border-color: var(--accent-2);
            box-shadow: 0 8px 20px rgba(255, 106, 0, 0.4);
        }

        .inicio-overview-actions.has-selection .inicio-overview-btn:not(.active) {
            opacity: 0.78;
        }

        .inicio-overview-card .metrics {
            margin-bottom: 0;
            gap: 12px;
        }

        .inicio-overview-card .metrics .card {
            padding: 0.95rem;
            border-radius: 15px;
        }

        @media (max-width: 900px) {
            #global-filter-bar {
                width: 100%;
            }

            .inicio-overview-card {
                padding: 0.76rem;
                border-radius: 18px;
            }
        }

        @media (max-width: 560px) {
            #global-filter-bar {
                margin-top: 8px;
            }

            .inicio-overview-head h3 {
                font-size: 1.2rem;
            }

            .inicio-overview-head p {
                font-size: 0.92rem;
            }

            .inicio-overview-actions {
                gap: 8px;
            }

            .inicio-overview-btn {
                height: 48px;
                padding: 0 14px;
                font-size: 0.86rem;
            }

            .mobile-bottom-nav {
                gap: 3px;
                padding-left: 6px;
                padding-right: 6px;
            }

            .mobile-nav-item {
                font-size: 0.63rem;
            }

            .mobile-nav-item i {
                font-size: 0.94rem;
            }

            .mobile-nav-item-primary .mobile-nav-primary-orb {
                width: 52px;
                height: 52px;
            }

            .mobile-nav-item-primary span:last-child {
                font-size: 0.69rem;
            }

            .inicio-overview-card .metrics {
                gap: 9px;
            }

            .inicio-overview-card .metrics .card {
                padding: 0.82rem;
            }
        }

        #global-range-dropdown-modal {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 10040;
            padding: 18px;
            align-items: center;
            justify-content: center;
            background: rgba(10, 15, 24, 0.46);
            backdrop-filter: blur(4px);
            animation: fadeIn 0.18s ease both;
        }
        #global-range-dropdown-modal.open { display: flex; }
        #global-range-dropdown {
            display: flex;
            flex-direction: column;
            gap: 4px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 8px;
            width: min(420px, calc(100vw - 36px));
            max-height: calc(100vh - 36px);
            overflow: auto;
            box-shadow: var(--shadow-strong);
            animation: fadeInUp 0.18s ease both;
        }
        #global-range-dropdown.open { display: flex; }
        .grd-option {
            border: none;
            background: none;
            color: var(--text-main);
            font-size: 0.88rem;
            text-align: left;
            padding: 9px 12px;
            border-radius: 9px;
            cursor: pointer;
            font-weight: 500;
            transition: background 0.15s, color 0.15s;
            text-transform: none;
            letter-spacing: 0;
        }
        .grd-option:hover { background: rgba(255,106,0,0.07); color: var(--accent); }
        .grd-option.active {
            background: rgba(255,106,0,0.1);
            color: var(--accent);
            font-weight: 700;
        }

        /* ── Custom Date Picker Panel ─────────────────────────────── */
        #global-date-picker-modal {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 10050;
            padding: 18px;
            align-items: center;
            justify-content: center;
            background: rgba(10, 15, 24, 0.58);
            backdrop-filter: blur(6px);
            animation: fadeIn 0.18s ease both;
        }
        #global-date-picker-modal.open { display: flex; }
        #global-date-picker-panel {
            display: none;
            flex-direction: column;
            gap: 14px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 16px;
            margin: 0;
            width: min(860px, calc(100vw - 36px));
            max-height: calc(100vh - 36px);
            overflow: auto;
            box-shadow: var(--shadow-strong);
            animation: fadeInUp 0.2s ease both;
        }
        #global-date-picker-panel.open { display: flex; }
        .gdp-header {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.88rem;
            font-weight: 600;
            color: var(--text-main);
        }
        .gdp-calendars {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }
        @media (max-width: 540px) {
            .gdp-calendars { grid-template-columns: 1fr; }
        }
        .gdp-calendar { display: flex; flex-direction: column; gap: 8px; }
        .gdp-cal-nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.82rem;
            font-weight: 700;
            color: var(--text-main);
        }
        .gdp-cal-nav button {
            background: none;
            border: 1px solid var(--border);
            border-radius: 8px;
            width: 28px;
            height: 28px;
            cursor: pointer;
            color: var(--text-dim);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.72rem;
            transition: border-color 0.15s, color 0.15s;
        }
        .gdp-cal-nav button:hover { border-color: var(--accent); color: var(--accent); }
        .gdp-cal-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 2px;
        }
        .gdp-day-header {
            text-align: center;
            font-size: 0.65rem;
            font-weight: 700;
            color: var(--text-dim);
            padding: 3px 0 5px;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }
        .gdp-day {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.78rem;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.12s, color 0.12s;
            color: var(--text-main);
            position: relative;
            user-select: none;
        }
        .gdp-day.empty { cursor: default; }
        .gdp-day.other-month { color: var(--text-dim); opacity: 0.45; cursor: default; pointer-events: none; }
        .gdp-day:not(.empty):not(.other-month):hover { background: rgba(255,106,0,0.12); color: var(--accent); }
        .gdp-day.today::after {
            content: '';
            position: absolute;
            bottom: 3px;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: var(--accent);
        }
        .gdp-day.in-range {
            background: rgba(255,106,0,0.1);
            border-radius: 0;
            color: var(--text-main);
        }
        .gdp-day.range-start,
        .gdp-day.range-end {
            background: var(--accent) !important;
            color: #fff !important;
            border-radius: 8px !important;
            font-weight: 700;
        }
        .gdp-day.range-start.in-range {
            border-radius: 8px 0 0 8px !important;
        }
        .gdp-day.range-end.in-range {
            border-radius: 0 8px 8px 0 !important;
        }
        .gdp-actions {
            display: flex;
            gap: 8px;
            justify-content: flex-end;
        }
        #gdp-cancel-btn {
            padding: 8px 16px;
            border-radius: 10px;
            border: 1px solid var(--border);
            background: none;
            color: var(--text-dim);
            font-size: 0.85rem;
            cursor: pointer;
            transition: border-color 0.15s;
        }
        #gdp-cancel-btn:hover { border-color: var(--accent); color: var(--accent); }
        #gdp-apply-btn {
            padding: 8px 18px;
            border-radius: 10px;
            border: none;
            background: var(--accent);
            color: #fff;
            font-size: 0.85rem;
            font-weight: 700;
            cursor: pointer;
            transition: opacity 0.15s;
        }
        #gdp-apply-btn:disabled { opacity: 0.4; cursor: not-allowed; }
        #gdp-apply-btn:not(:disabled):hover { opacity: 0.88; }
        /* ── end Global Date Filter ───────────────────────────────── */

        .pix-range-select {
            width: 100%;
            margin-top: 12px;
            margin-bottom: 12px;
            border: 1px solid var(--border);
            background: rgba(255, 255, 255, 0.02);
            color: var(--text-main);
            border-radius: 12px;
            padding: 11px 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 700;
            transition: border-color 0.2s ease, background 0.2s ease;
        }

        .pix-range-select:hover {
            border-color: rgba(255, 106, 0, 0.28);
            background: rgba(255, 106, 0, 0.04);
        }

        @media (prefers-reduced-motion: reduce) {
            body::before,
            body::after,
            .tab-content.active {
                animation: none !important;
            }

            .card,
            .pix-container,
            .withdraw-box,
            .taxes-box,
            .deposit-item,
            .pix-legend-item,
            .btn-confirm,
            .btn-new,
            .nav-item,
            .w-tab {
                transition: none !important;
            }
        }

        .pix-range-select span {
            color: var(--accent);
        }

        #pix-range-dialog {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(5, 7, 14, 0.65);
            z-index: 4150;
            padding: 1rem;
        }

        #pix-range-dialog.show {
            display: flex;
        }

        .pix-range-options {
            display: grid;
            gap: 8px;
            margin-top: 10px;
        }

        .pix-range-option {
            border: 1px solid var(--border);
            background: var(--bg);
            color: var(--text-main);
            border-radius: 10px;
            padding: 10px;
            font-size: 0.9rem;
            cursor: pointer;
        }

        .pix-range-option.active {
            border-color: rgba(255, 106, 0, 0.55);
            color: var(--accent);
            background: rgba(255, 106, 0, 0.08);
            font-weight: 700;
        }

        .pix-range-option:hover {
            border-color: rgba(255, 106, 0, 0.35);
            color: var(--accent);
        }

        .checkout-form-grid {
            display: grid;
            gap: 10px;
        }

        .checkout-description-input {
            min-height: 92px;
            resize: vertical;
        }

        .checkout-list {
            display: grid;
            gap: 10px;
        }

        .checkout-item {
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 12px;
            background: var(--bg);
        }

        .checkout-item-top {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 7px;
        }

        .checkout-item-title {
            font-size: 0.98rem;
            font-weight: 700;
            color: var(--text-main);
        }

        .checkout-item-amount {
            font-size: 0.92rem;
            font-weight: 700;
            color: var(--success);
            white-space: nowrap;
        }

        .checkout-item-description {
            color: var(--text-dim);
            font-size: 0.84rem;
            margin-bottom: 8px;
            line-height: 1.45;
        }

        .checkout-item-link {
            display: block;
            width: 100%;
            background: rgba(15, 23, 42, 0.04);
            border: 1px dashed var(--border);
            border-radius: 10px;
            padding: 9px;
            color: var(--accent);
            font-size: 0.77rem;
            text-decoration: none;
            word-break: break-all;
        }

        .checkout-item-link:hover {
            border-color: rgba(255, 106, 0, 0.45);
            color: var(--accent-2);
        }

        .checkout-item-actions {
            margin-top: 10px;
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .checkout-item-btn {
            border: 1px solid var(--border);
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.02);
            color: var(--text-main);
            font-size: 0.82rem;
            font-weight: 700;
            padding: 8px 10px;
            cursor: pointer;
        }

        .checkout-item-btn:hover {
            border-color: rgba(255, 106, 0, 0.45);
            color: var(--accent);
        }

        .checkout-item-btn.edit {
            border-color: rgba(255, 106, 0, 0.35);
            color: var(--accent);
        }

        .checkout-item-btn.danger {
            border-color: rgba(239, 68, 68, 0.35);
            color: var(--danger);
        }

        .checkout-item-meta {
            color: var(--text-dim);
            font-size: 0.78rem;
            margin-top: 8px;
            line-height: 1.45;
            word-break: break-all;
        }

        .checkout-item-btn.danger:hover {
            border-color: rgba(239, 68, 68, 0.55);
            background: rgba(239, 68, 68, 0.06);
            color: #dc2626;
        }

        .checkout-empty {
            color: var(--text-dim);
            font-size: 0.9rem;
            padding: 14px;
            border: 1px dashed var(--border);
            border-radius: 10px;
            text-align: center;
        }

        #custom-dialog {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(5, 7, 14, 0.65);
            z-index: 4000;
            padding: 1rem;
        }

        #custom-dialog.show {
            display: flex;
        }

        #error-dialog {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(5, 7, 14, 0.65);
            z-index: 4050;
            padding: 1rem;
        }

        #error-dialog.show {
            display: flex;
        }

        #logout-dialog {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(5, 7, 14, 0.65);
            z-index: 4100;
            padding: 1rem;
        }

        #logout-dialog.show {
            display: flex;
        }

        #payment-success-dialog {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(5, 7, 14, 0.65);
            z-index: 4120;
            padding: 1rem;
        }

        #payment-success-dialog.show {
            display: flex;
        }

        #crypto-withdraw-confirm-dialog {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(5, 7, 14, 0.65);
            z-index: 4130;
            padding: 1rem;
        }

        #crypto-withdraw-confirm-dialog.show {
            display: flex;
        }

        #token-help-dialog {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(5, 7, 14, 0.65);
            z-index: 4130;
            padding: 1rem;
        }

        #token-help-dialog.show {
            display: flex;
        }

        #auth-loading-dialog {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(5, 7, 14, 0.7);
            z-index: 4200;
            padding: 1rem;
        }

        #auth-loading-dialog.show {
            display: flex;
        }

        .auth-loading-card {
            width: 100%;
            max-width: 320px;
            border: 1px solid var(--border);
            background: var(--bg-card);
            border-radius: 16px;
            padding: 1.2rem;
            text-align: center;
            box-shadow: var(--shadow-strong);
            animation: cardReveal 0.28s ease both;
        }

        .auth-loading-ring {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            margin: 0 auto 0.8rem;
            border: 3px solid rgba(255, 106, 0, 0.2);
            border-top-color: var(--accent);
            animation: spin 0.72s linear infinite;
        }

        .auth-loading-card h3 {
            font-size: 1.05rem;
            margin-bottom: 0.35rem;
            color: var(--text-main);
        }

        .auth-loading-card p {
            color: var(--text-dim);
            margin: 0;
            font-size: 0.92rem;
        }

        .dialog-overlay {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(5, 7, 14, 0.65);
            z-index: 4135;
            padding: 1rem;
        }

        .dialog-overlay.show {
            display: flex;
        }

        .dialog-card {
            width: 100%;
            max-width: 360px;
            border: 1px solid var(--border);
            background: var(--bg-card);
            border-radius: 16px;
            padding: 1.2rem;
            text-align: center;
        }

        .dialog-card i {
            font-size: 2rem;
            color: var(--success);
            margin-bottom: 0.8rem;
        }

        .dialog-card p {
            color: var(--text-dim);
            margin: 0.5rem 0 1rem;
        }

        .dialog-card button {
            border: none;
            background: var(--accent);
            color: #ffffff;
            padding: 10px 16px;
            border-radius: 10px;
            font-weight: 700;
            cursor: pointer;
        }

        .dialog-actions {
            display: flex;
            gap: 8px;
            justify-content: center;
            margin-top: 10px;
        }

        .dialog-btn-cancel {
            border: 1px solid var(--border);
            background: transparent;
            color: var(--text-main);
            padding: 10px 16px;
            border-radius: 10px;
            font-weight: 700;
            cursor: pointer;
        }

        .dialog-btn-danger {
            border: none;
            background: var(--danger);
            color: #fff;
            padding: 10px 16px;
            border-radius: 10px;
            font-weight: 700;
            cursor: pointer;
        }

        .token-help-dialog-card {
            max-width: 430px;
            text-align: left;
        }

        .token-help-dialog-card i,
        .token-help-dialog-card h3 {
            display: block;
            text-align: center;
        }

        .token-help-dialog-card ol {
            margin: 0.7rem 0 0.3rem;
            padding-left: 20px;
            color: var(--text-dim);
            line-height: 1.55;
            font-size: 0.9rem;
        }

        .token-help-dialog-card li {
            margin-bottom: 5px;
        }

        .token-help-dialog-card a {
            display: inline-block;
            margin-top: 6px;
            color: var(--accent);
            font-weight: 700;
            text-decoration: none;
        }

        .token-help-dialog-card a:hover {
            text-decoration: underline;
        }

        .token-help-dialog-card .dialog-actions {
            justify-content: center;
        }

        .checkout-edit-dialog-card {
            max-width: 520px;
            text-align: left;
        }

        .checkout-edit-dialog-card i,
        .checkout-edit-dialog-card h3 {
            display: block;
            text-align: center;
        }

        .checkout-edit-grid {
            display: grid;
            gap: 10px;
            margin-top: 10px;
        }

        .notification-split-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        .notification-list {
            margin-top: 10px;
            display: grid;
            gap: 8px;
        }

        .notification-item {
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 10px;
            background: rgba(255, 255, 255, 0.02);
        }

        .notification-item strong {
            color: var(--text-main);
            font-size: 0.92rem;
            display: block;
            margin-bottom: 4px;
        }

        .notification-item p {
            margin: 0;
            color: var(--text-dim);
            font-size: 0.86rem;
            line-height: 1.45;
        }

        .notification-empty {
            border: 1px dashed var(--border);
            border-radius: 12px;
            padding: 10px;
            color: var(--text-dim);
            font-size: 0.86rem;
            background: rgba(255, 255, 255, 0.01);
        }

        .profile-summary-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        .profile-line {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
            padding: 9px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .profile-line:last-child {
            border-bottom: none;
        }

        .profile-line span {
            color: var(--text-dim);
            font-size: 0.86rem;
        }

        .profile-line strong {
            color: var(--text-main);
            font-size: 0.9rem;
            text-align: right;
        }

        @media (max-width: 900px) {
            .header-action-card {
                min-height: 40px;
            }

            .notification-split-grid,
            .profile-summary-grid {
                grid-template-columns: 1fr;
            }

            .header-action-card-menu {
                padding-right: 7px;
            }
        }

        @media (max-width: 700px) {
            header {
                padding: 0 0.75rem;
            }

            .header-brand {
                gap: 9px;
            }

            .header-logo-mark {
                width: 34px;
                height: 34px;
            }

            .logo {
                font-size: 1.1rem;
            }

            .header-actions {
                gap: 8px;
            }

            .header-menu-dropdown {
                width: min(228px, calc(100vw - 24px));
                right: 0;
            }

            .header-action-card-notification {
                width: 40px;
            }

            .header-action-menu-core {
                width: 34px;
                height: 32px;
            }

            main {
                width: 95%;
                padding-top: 78px;
            }

            .login-card {
                padding: 1.6rem;
            }

            .pix-status-wrap {
                grid-template-columns: 1fr;
            }

            .login-logo {
                width: 108px;
                margin-bottom: 0.7rem;
            }

            .meta-item-image {
                max-height: 220px;
            }

            .tab-hero {
                padding: 12px;
                gap: 10px;
            }

            .tab-hero-icon {
                width: 34px;
                height: 34px;
                border-radius: 10px;
            }

            .tab-hero-content h3 {
                font-size: 0.96rem;
            }

            .tab-hero-content p {
                font-size: 0.79rem;
            }

            .tab-hero-badge {
                display: none;
            }

            .integration-actions {
                grid-template-columns: 1fr;
            }

            .integration-credential-input {
                padding-right: 88px;
            }

            .metric-card-head {
                gap: 8px;
            }

            .metric-card-icon {
                width: 30px;
                height: 30px;
                border-radius: 9px;
                font-size: 0.86rem;
            }

            .metric-card h2 {
                font-size: 1.35rem;
            }

            .metric-card-trend,
            .metric-sparkline {
                display: none;
            }
        }

        @media (max-width: 420px) {
            .login-logo {
                width: 96px;
            }

            .meta-item {
                padding: 10px;
            }

            .meta-header,
            .meta-info {
                grid-template-columns: 1fr;
                display: grid;
            }

            .meta-header {
                gap: 12px;
            }

            .meta-card-badge {
                justify-self: start;
            }

            .meta-item-image {
                max-height: 180px;
            }
        }