@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500..700&display=swap');
/* ============================================================
   TEMA OCEANO v6 — "Mar profundo + turquesa da logo + dourado champanhe"
   Carregue DEPOIS do style.css (e dos CSS das telas).
   Só mexe em cores/acabamento: nenhum ID, texto ou script muda.

   O QUE MUDOU NA v6
   - Fundo mais profundo, com luz turquesa vindo de cima e dourado discreto embaixo
   - Textos com mais contraste (muted/faint mais legíveis)
   - Dourado champanhe usado SÓ em destaque (VIP, saldo, aba ativa, valores)
   - Fonte moderna (Sora nos títulos, Manrope no texto) + números alinhados
   - Cartões em vidro com brilho fino no topo e borda em degradê
   - Foco visível no teclado, toque confortável, movimento só quando útil
   - Sem animação no fundo e sem blur extra: a rolagem continua leve

   ESCOLHER O FUNDO: no <html> de cada página use
       data-fundo="marinho"   (azul abissal — padrão)
       data-fundo="grafite"   (cinza-azulado neutro)
       data-fundo="petroleo"  (verde-azulado escuro, mais "logo")
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap');

:root {
    /* ---------- Marca ---------- */
    --primary-color: #3fe0d5;
    --primary-dark: #0b4a52;
    --primary-darker: #06262b;
    --primary-mid: #22bfbd;
    --primary-light: #8ff0e8;
    --primary-lighter: #d6fcf9;
    --accent-color: #5ee6da;
    --accent-soft: #b8f6f6;
    --accent-deep: #1f7f93;

    /* Dourado champanhe (destaque raro) */
    --accent-gold: #f1c96f;
    --accent-gold-soft: #fbe7b5;
    --accent-gold-deep: #b98532;
    --text-gold-muted: rgba(241, 201, 111, 0.78);

    --border-gradient-gold: linear-gradient(135deg, rgba(251,231,181,.6), rgba(241,201,111,.18) 40%, rgba(255,255,255,.03) 70%, rgba(63,224,213,.3));
    --sheen: linear-gradient(115deg, rgba(255,255,255,0) 28%, rgba(255,255,255,.07) 46%, rgba(255,255,255,0) 64%);
    --border-gradient: linear-gradient(135deg, rgba(160,242,242,.55), rgba(63,224,213,.12) 45%, rgba(255,255,255,.04) 72%, rgba(42,143,216,.32));

    --border-primary: rgba(63, 224, 213, 0.40);
    --success: #3ee0a4;
    --success-bg: rgba(62, 224, 164, 0.12);
    --danger: #ff7080;
    --danger-bg: rgba(255, 112, 128, 0.12);
    --warning: #ffc860;
    --warning-bg: rgba(255, 200, 96, 0.12);
    --info: #62aeff;
    --info-bg: rgba(98, 174, 255, 0.12);
    --text-color: #eef7fb;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 14px 38px rgba(0, 0, 0, 0.5);
    --logo-teal: #40d2d2;
    --logo-teal-deep: #1fa3a8;

    /* Tipografia */
    --font-display: 'Sora', 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    /* ---------- FUNDO PADRÃO: marinho abissal ---------- */
    --bg-dark: #030c14;
    --bg-dark-2: #061622;
    --bg-card: #0a1d2c;
    --bg-card-2: #0e2738;
    --bg-card-3: #143449;
    --bg-elevated: #1b4660;
    --border-soft: rgba(150, 205, 255, 0.09);
    --border-soft-2: rgba(150, 215, 255, 0.19);
    --text-muted: #a8c4d0;
    --text-faint: #7596a4;

    --bg-top: #07202d;
    --bg-mid: #061520;
    --bg-bot: #020910;
    --aurora-a: rgba(63, 224, 213, 0.24);
    --aurora-b: rgba(36, 120, 190, 0.26);
    --aurora-c: rgba(241, 201, 111, 0.08);
    --aurora-d: rgba(34, 191, 189, 0.18);
    --glass-a: #123246;
    --glass-b: #09202d;
    --input-bg: #051420;
    --tabs-bg: #051420;
    --sidebar-a: #09212f;
    --sidebar-b: #030d14;
    --nav-bg: rgba(5, 18, 27, 0.90);
    --bal-1: #2fd0c8; --bal-2: #1b95a8; --bal-3: #145f86; --bal-4: #0b3556;
    --ban-1: #14606f; --ban-2: #0f4558; --ban-3: #0a2e42;
}
html[data-fundo="grafite"] {
    --bg-dark: #0a0f15; --bg-dark-2: #0f161e; --bg-card: #141d27; --bg-card-2: #1a2531; --bg-card-3: #223140; --bg-elevated: #2b3d50;
    --border-soft: rgba(180, 210, 230, 0.09); --border-soft-2: rgba(180, 215, 235, 0.17);
    --text-muted: #adbccb; --text-faint: #7a8c9c;
    --bg-top: #0e151d; --bg-mid: #10181f; --bg-bot: #080c11;
    --aurora-a: rgba(63, 224, 213, 0.16); --aurora-b: rgba(80, 140, 210, 0.14); --aurora-c: rgba(241, 201, 111, 0.06); --aurora-d: rgba(31, 163, 168, 0.12);
    --glass-a: #1e2c3b; --glass-b: #121b25;
    --input-bg: #0c131a; --tabs-bg: #0c131a;
    --sidebar-a: #121b25; --sidebar-b: #0a0f15;
    --nav-bg: rgba(12, 18, 25, 0.90);
    --bal-1: #1fb4b8; --bal-2: #17829c; --bal-3: #185a82; --bal-4: #12385a;
    --ban-1: #174c60; --ban-2: #133d55; --ban-3: #0f2b3e;
}
html[data-fundo="petroleo"] {
    --bg-dark: #031318; --bg-dark-2: #05202a; --bg-card: #0a2a33; --bg-card-2: #0e353f; --bg-card-3: #14444d; --bg-elevated: #1b5560;
    --border-soft: rgba(120, 232, 226, 0.10); --border-soft-2: rgba(120, 235, 230, 0.20);
    --text-muted: #a6cccb; --text-faint: #6f9998;
    --bg-top: #052029; --bg-mid: #05212a; --bg-bot: #02121a;
    --aurora-a: rgba(63, 224, 213, 0.28); --aurora-b: rgba(40, 190, 170, 0.14); --aurora-c: rgba(241, 201, 111, 0.07); --aurora-d: rgba(31, 163, 168, 0.24);
    --glass-a: #104049; --glass-b: #092b33;
    --input-bg: #041a20; --tabs-bg: #041a20;
    --sidebar-a: #072830; --sidebar-b: #03151b;
    --nav-bg: rgba(4, 24, 30, 0.90);
    --bal-1: #28cdc8; --bal-2: #14979f; --bal-3: #0f6a88; --bal-4: #0c4562;
    --ban-1: #11626b; --ban-2: #0e4c5e; --ban-3: #0a3348;
}
:root {
    --shadow-glow: 0 0 0 1px rgba(63, 224, 213, 0.16), 0 16px 46px rgba(0, 0, 0, 0.45);
    --glass:
        linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 34%),
        linear-gradient(160deg, var(--glass-a) 0%, var(--glass-b) 100%);
    --glass-border: 1px solid var(--border-soft-2);
    --glass-shadow: 0 10px 28px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    --modal-bg-gradient:
        radial-gradient(ellipse 460px 280px at 18% -12%, rgba(63,224,213,.24), transparent 62%),
        radial-gradient(ellipse 380px 260px at 100% 108%, var(--aurora-b), transparent 60%),
        linear-gradient(160deg, var(--bg-card-2) 0%, var(--bg-card) 55%, var(--bg-card-2) 100%);
    --border-gradient-modal: linear-gradient(135deg, rgba(160,242,242,.55), rgba(63,224,213,.2) 45%, rgba(42,143,216,.2) 72%, rgba(241,201,111,.35));
    --shadow-modal-glow: 0 28px 80px rgba(1, 4, 8, 0.78), 0 0 0 1px rgba(63, 224, 213, 0.22), 0 0 100px -30px rgba(63, 224, 213, 0.45);
}

/* ============ BASE ============ */
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
button, input, select, textarea { font-family: inherit; }

/* ============ FUNDO: luz de cima, brilho dourado embaixo ============ */
body::before {
    background:
        radial-gradient(ellipse 900px 460px at 50% -10%, rgba(143, 240, 232, 0.13), transparent 70%),
        radial-gradient(ellipse 820px 540px at 2% -6%, var(--aurora-a), transparent 62%),
        radial-gradient(ellipse 780px 560px at 104% 4%, var(--aurora-b), transparent 62%),
        radial-gradient(ellipse 620px 420px at 90% 60%, var(--aurora-c), transparent 66%),
        radial-gradient(ellipse 960px 540px at 36% 120%, var(--aurora-d), transparent 68%),
        radial-gradient(ellipse 130% 100% at 50% 50%, transparent 52%, rgba(0, 0, 0, 0.5) 100%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 50%, var(--bg-bot) 100%);
}
/* granulado fino: acabamento premium e sem faixas no degradê */
body::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 220px 220px;
    background-repeat: repeat;
    background-position: 0 0;
    mask-image: none;
    -webkit-mask-image: none;
    opacity: 0.05;
}
::selection { background: rgba(63, 224, 213, 0.34); color: #fff; }
::-webkit-scrollbar-thumb { background: rgba(63, 224, 213, 0.30); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(63, 224, 213, 0.55); }

/* ============ FOCO (acessibilidade) ============ */
:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 2px; border-radius: 10px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }

/* ============ TIPOGRAFIA ============ */
.page-title, .home-greeting, .section-title, .home-ativos-titulo, .brand-name,
.balance-card h2, #userBalance, .stat-card h2, .stat-card-left h2,
#section-gerente .ger-header h1, #section-grupos .gp-header h1, #section-cupom .cp-header h1 {
    font-family: var(--font-display);
}
.page-title, .home-greeting { color: #fff; letter-spacing: -0.02em; font-weight: 700; }
.brand-name { color: var(--primary-lighter); letter-spacing: .08em; font-weight: 700; }
.page-subtitle { color: var(--text-muted); line-height: 1.5; }
.balance-card h2, #userBalance, .stat-card h2, .stat-card-left h2,
.plan-rate, .inv-value, .hist-value, .extrato-table td {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum' 1;
}

/* ============ CARTÕES ============ */
.stat-card, .yacht-card, .rules-box, .info-box, .form-box, .profile-card,
.quick-action, .inv-card, .inv-total, .com-card, .com-total, .com-intro, .com-historico,
.plan-row, .hist-row, .perfil-item, .perfil-atalho, .mis-row, .mis-intro, .mis-progress, .home-ativo {
    background: var(--glass);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}
.stat-card, .yacht-card, .inv-card, .plan-row, .hist-row { border-radius: 20px; }

/* Cartão de saldo: o destaque principal do site */
.balance-card {
    background:
        radial-gradient(ellipse 280px 150px at 88% 112%, rgba(241, 201, 111, 0.22), transparent 70%),
        radial-gradient(ellipse 380px 220px at 100% 0%, rgba(143, 240, 232, 0.34), transparent 68%),
        radial-gradient(ellipse 320px 200px at 0% 115%, rgba(60, 120, 255, 0.30), transparent 70%),
        linear-gradient(135deg, var(--bal-1) 0%, var(--bal-2) 38%, var(--bal-3) 72%, var(--bal-4) 100%);
    border: 1px solid rgba(190, 248, 244, 0.5);
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 56px -12px rgba(63, 224, 213, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.balance-card::after { background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.10) 46%, transparent 62%); }
.balance-card h2, #userBalance {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: #fff;
    color: #fff;
    filter: none;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 22px rgba(0, 20, 40, 0.5);
}
.balance-card .balance-card-header, .balance-card .balance-card-header span, .balance-card .balance-card-header svg { color: rgba(255, 255, 255, 0.88); }
.stat-card h2, .stat-card-left h2 { color: #f1fdff; }

/* Hover só em mouse (no celular não atrapalha a rolagem) */
@media (hover: hover) and (pointer: fine) {
    .yacht-card, .plan-row, .inv-card, .quick-action, .perfil-item { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
    .yacht-card:hover, .plan-row:hover, .inv-card:hover, .quick-action:hover, .perfil-item:hover {
        border-color: var(--border-primary);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.46), 0 0 30px -10px rgba(63, 224, 213, 0.5), inset 0 1px 0 rgba(255,255,255,.09);
        transform: translateY(-3px);
    }
}

/* ============ BOTÕES ============ */
.btn {
    background: linear-gradient(180deg, #7df2ea 0%, #3dd4d6 52%, #1fadc0 100%);
    color: #032830;
    border: 0;
    border-radius: 14px;
    min-height: 44px;
    font-weight: 800;
    letter-spacing: .01em;
    box-shadow: 0 10px 22px -8px rgba(63, 224, 213, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 14px 26px -8px rgba(63, 224, 213, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn:active:not(:disabled) { transform: translateY(0); filter: brightness(.96); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.btn-outline { background: rgba(63, 224, 213, 0.06); color: var(--primary-light); border: 1px solid var(--border-primary); box-shadow: none; }
.btn.btn-outline:hover { background: rgba(63, 224, 213, 0.14); }
.btn.btn-danger { background: linear-gradient(180deg, #ff97a2, #e24a5d); color: #fff; box-shadow: 0 10px 22px -8px rgba(255, 112, 128, 0.5); }

/* ============ CAMPOS ============ */
input:not([type=checkbox]):not([type=radio]), select, textarea, .ref-input, .form-group input {
    background: var(--input-bg);
    color: var(--text-color);
    border: 1px solid var(--border-soft-2);
    border-radius: 14px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.38);
    transition: border-color .15s ease, box-shadow .15s ease;
}
input:not([type=checkbox]):not([type=radio]):focus, select:focus, textarea:focus, .ref-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(63, 224, 213, 0.22), inset 0 2px 6px rgba(0, 0, 0, 0.3);
}
input::placeholder, textarea::placeholder { color: var(--text-faint); }

/* ============ ABAS ============ */
.inv-tabs, .hist-tabs { background: var(--tabs-bg); border: 1px solid var(--border-soft-2); border-radius: 16px; padding: 4px; box-shadow: inset 0 2px 6px rgba(0,0,0,.38); }
.inv-tabs .btn.btn-outline, .hist-tabs .btn.btn-outline { border-color: transparent; background: transparent; color: var(--text-muted); }

/* ============ MENU LATERAL E TOPO ============ */
.sidebar {
    background:
        radial-gradient(ellipse 260px 220px at 0% 0%, rgba(63, 224, 213, 0.17), transparent 70%),
        radial-gradient(ellipse 240px 200px at 0% 100%, rgba(241, 201, 111, 0.06), transparent 70%),
        linear-gradient(180deg, var(--sidebar-a) 0%, var(--sidebar-b) 100%);
    border-right: 1px solid var(--border-soft-2);
}
.nav-item { color: var(--text-muted); border: 1px solid transparent; border-radius: 14px; font-weight: 600; transition: background .2s ease, color .2s ease; }
.nav-item:hover { color: #fff; background: rgba(63, 224, 213, 0.10); }
.nav-item.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(63, 224, 213, 0.30), rgba(63, 224, 213, 0.05));
    border-color: var(--border-primary);
    box-shadow: 0 6px 18px -8px rgba(63, 224, 213, 0.55);
}
.nav-item.active .nav-icon { color: var(--accent-gold); }
.mobile-topbar { background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border-soft-2); }
.mobile-topbar-title { color: #fff; font-family: var(--font-display); font-weight: 700; letter-spacing: .01em; }
.hamburger-btn { background: rgba(63, 224, 213, 0.12); border-color: var(--border-primary); }
.hamburger-btn span { background: var(--primary-color); }

/* ============ TABELAS, SELOS, AVISOS, MODAIS ============ */
.extrato-table th { color: var(--primary-light); border-bottom: 1px solid var(--border-soft-2); letter-spacing: .04em; font-weight: 700; }
.extrato-table td { border-bottom: 1px solid var(--border-soft); }
.extrato-table tbody tr:hover { background: rgba(63, 224, 213, 0.06); }
.modal-card { border: 1px solid var(--border-primary); border-radius: 22px; }
.modal-overlay { background: rgba(1, 5, 12, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.toast { border: 1px solid var(--border-soft-2); background: var(--bg-card-2); box-shadow: 0 14px 34px rgba(0,0,0,.55); border-radius: 14px; }
.vip-badge {
    background: linear-gradient(180deg, rgba(241,201,111,.30), rgba(241,201,111,.08));
    color: var(--accent-gold-soft);
    border: 1px solid rgba(241, 201, 111, 0.55);
    box-shadow: 0 6px 16px -8px rgba(241, 201, 111, 0.6), inset 0 1px 0 rgba(255,255,255,.18);
    font-weight: 800;
}
.home-avatar { border-color: var(--accent-gold); color: var(--primary-lighter); box-shadow: 0 0 0 4px rgba(241, 201, 111, 0.12), 0 8px 22px -6px rgba(63, 224, 213, 0.5); }
.quick-action-icon, .inv-icon, .hist-icon, .com-intro-icon, .com-total-icon, .mis-icon, .mis-intro-icon, .perfil-item-icone {
    color: var(--primary-color);
    background: linear-gradient(145deg, rgba(63, 224, 213, 0.26), rgba(42, 143, 216, 0.10));
    border: 1px solid var(--border-primary);
    box-shadow: 0 6px 16px -8px rgba(63, 224, 213, 0.6);
}
.plan-rate, .inv-value, .hist-value { color: var(--success); font-weight: 800; }

/* ============ INÍCIO ============ */
.home-banner {
    border: 1px solid var(--border-primary);
    background:
        radial-gradient(ellipse 280px 190px at 100% 50%, rgba(120, 238, 246, 0.32), transparent 70%),
        radial-gradient(ellipse 220px 140px at 0% 110%, rgba(241, 201, 111, 0.12), transparent 70%),
        linear-gradient(135deg, var(--ban-1), var(--ban-2) 60%, var(--ban-3));
    box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255,255,255,.10);
}
.home-banner strong { color: #fff; }
.home-banner svg { color: var(--primary-lighter); opacity: 1; filter: drop-shadow(0 6px 14px rgba(63,224,213,.4)); }
.home-ativo.is-accent strong { color: var(--accent-gold-soft); }
.home-ativos-titulo, .section-title { color: #fff; letter-spacing: -0.01em; }
.balance-eye { color: rgba(255, 255, 255, 0.88); }

/* ============ MENU INFERIOR (celular/tablet): 12 abas, rolável ============ */
@media (max-width: 1023px) {
    .app-bottom-nav {
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        display: block;
        padding: 0;
        border-radius: 24px;
        overflow: hidden;
        background: var(--nav-bg);
        border: 1px solid var(--border-primary);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.62), 0 0 30px -10px rgba(63, 224, 213, 0.45), inset 0 1px 0 rgba(255,255,255,.08);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }
    .app-bottom-nav .abn-track {
        display: flex;
        gap: 2px;
        padding: 10px 10px 6px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
    }
    .app-bottom-nav .abn-track::-webkit-scrollbar { display: none; }
    .app-bottom-nav button {
        position: relative;
        flex: 0 0 72px;
        min-height: 58px;
        justify-content: flex-start;
        padding: 4px 2px 2px;
        gap: 4px;
        scroll-snap-align: center;
        color: var(--text-faint);
        border-radius: 14px;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.12;
        letter-spacing: -0.1px;
        text-align: center;
    }
    .app-bottom-nav button span { display: block; max-width: 100%; overflow-wrap: normal; word-break: normal; hyphens: none; }
    .app-bottom-nav button.is-active { color: var(--primary-light); }
    .app-bottom-nav button.is-active::before {
        content: '';
        position: absolute;
        top: -9px;
        left: 50%;
        width: 26px;
        height: 3px;
        transform: translateX(-50%);
        border-radius: 0 0 4px 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
        box-shadow: 0 2px 12px rgba(63, 224, 213, 0.85);
    }
    .app-bottom-nav button.is-active svg { color: var(--primary-color); filter: drop-shadow(0 0 7px rgba(63, 224, 213, 0.65)); }
    .main-content { padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ============ ABAS NOVAS ============ */
.cp-campo input:not([type=checkbox]):not([type=radio]) { border: 0; background: transparent; box-shadow: none; border-radius: 0; }
.cp-card-titulo h3, .cp-como h3, .cp-lista-topo h3, .ger-nome, .gp-titulo { text-align: left; }
.rol-btn-girar:disabled { filter: none; opacity: .85; }
.ger-btn, .cp-btn { color: #032830; }
.com-intro, .com-total, .com-card, .com-historico, .inv-total, .mis-intro, .mis-progress, .info-box, .form-box, .rules-box, .profile-card, .home-ativo, .home-banner { border-radius: 20px; }

/* ============ MOVIMENTO: uma entrada suave por tela ============ */
@keyframes secIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.page-section.active { animation: secIn .3s ease both; }
@media (prefers-reduced-motion: reduce) {
    .page-section.active { animation: none; }
    .btn, .nav-item, .quick-action, .yacht-card, .plan-row, .inv-card, .perfil-item { transition: none; }
    .abn-track { scroll-behavior: auto; }
}

/* ============================================================
   GERENTE · GRUPOS · CUPOM · ROLETA — visual oceano garantido
   ============================================================ */
#section-gerente { --ger-gold: #40d2d2; --ger-gold-light: #9cf0ee; --ger-gold-dark: #1fa3a8; }
#section-grupos  { --gp-gold: #40d2d2; }
#section-cupom   { --cp-gold: #40d2d2; --cp-gold-light: #9cf0ee; --cp-gold-dark: #1fa3a8; }

/* Cabeçalhos das abas: mesmo degradê do banner da tela inicial */
#section-gerente .ger-header, #section-grupos .gp-header, #section-cupom .cp-header {
    background:
        radial-gradient(ellipse 300px 190px at 100% 40%, rgba(120, 238, 246, 0.32), transparent 70%),
        radial-gradient(ellipse 220px 140px at 0% 110%, rgba(241, 201, 111, 0.12), transparent 70%),
        linear-gradient(135deg, var(--ban-1), var(--ban-2) 60%, var(--ban-3));
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
#section-gerente .ger-header h1, #section-grupos .gp-header h1, #section-cupom .cp-header h1 {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: #fff;
    color: #fff;
    letter-spacing: -0.01em;
}
#section-gerente .ger-header p, #section-grupos .gp-header p, #section-cupom .cp-header p { color: rgba(255, 255, 255, 0.86); }
#section-gerente .ger-header-icon, #section-grupos .gp-header-icon, #section-cupom .cp-header-icon {
    color: var(--primary-lighter);
    filter: drop-shadow(0 6px 14px rgba(63, 224, 213, 0.45));
}

/* Cartões: vidro azul-marinho */
#section-gerente .ger-card, #section-grupos .gp-card, #section-cupom .cp-card {
    background: var(--glass);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
}
#section-grupos .gp-card.is-whatsapp { border-color: rgba(62, 224, 164, 0.5); }
#section-grupos .gp-card.is-telegram { border-color: rgba(98, 174, 255, 0.55); }
#section-gerente .ger-nome, #section-grupos .gp-titulo { color: #fff; }
#section-gerente .ger-desc, #section-grupos .gp-desc, #section-cupom .cp-card-titulo p, #section-cupom .cp-como p { color: var(--text-muted); border-color: var(--border-soft-2); }
#section-grupos .gp-beneficios li { color: var(--text-color); }
#section-cupom .cp-card-titulo h3, #section-cupom .cp-como h3, #section-cupom .cp-lista-topo h3 { color: #fff; }
#section-cupom .cp-card-titulo svg, #section-cupom .cp-como > svg, #section-cupom .cp-lista-topo h3 svg, #section-cupom .cp-campo svg { color: var(--primary-color); }
#section-cupom .cp-ver-todos { color: var(--primary-light); }
#section-cupom .cp-vazio { color: var(--text-faint); }

/* Avatar do gerente */
#section-gerente .ger-avatar { border-color: var(--accent-gold); background: var(--input-bg); box-shadow: 0 0 0 4px rgba(241, 201, 111, 0.10), 0 8px 20px -6px rgba(63, 224, 213, 0.5); }
#section-gerente .ger-avatar svg *[fill]:not([fill="none"]):not([fill="#1a1a1a"]) { fill: #40d2d2; }
#section-gerente .ger-avatar svg *[stroke]:not([stroke="none"]):not([stroke="#1a1a1a"]) { stroke: #40d2d2; }

/* Grupos: selo redondo com aro claro */
#section-grupos .gp-badge { border-color: rgba(255, 255, 255, 0.6); }

/* Campo do cupom */
#section-cupom .cp-campo { background: var(--input-bg); border: 1px solid var(--border-soft-2); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.38); }
#section-cupom .cp-campo:focus-within { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(63, 224, 213, 0.22); }
#section-cupom .cp-item { background: var(--input-bg); border: 1px solid var(--border-soft); }
#section-cupom .cp-item-codigo { color: var(--accent-gold-soft); font-weight: 700; }
#section-cupom .cp-item-data { color: var(--text-faint); }

/* Botões das abas */
#section-gerente .ger-btn, #section-cupom .cp-btn {
    background: linear-gradient(180deg, #7df2ea 0%, #3dd4d6 52%, #1fadc0 100%);
    color: #032830;
    box-shadow: 0 10px 22px -8px rgba(63, 224, 213, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* Roleta */
#section-roleta .rol-intro, #section-roleta .rol-card, #section-roleta .rol-premios li { background: var(--glass); border: var(--glass-border); box-shadow: var(--glass-shadow); }
#section-roleta .rol-intro p, #section-roleta .rol-card span { color: var(--text-muted); }
#section-roleta .rol-wheel { border-color: var(--accent-gold); box-shadow: 0 0 34px rgba(241, 201, 111, 0.28), 0 0 30px rgba(63, 224, 213, 0.35), inset 0 0 18px rgba(0, 0, 0, 0.5); }
#section-roleta .rol-pointer { border-top-color: var(--accent-gold-soft); }
#section-roleta .rol-btn-girar { background: radial-gradient(circle at 35% 30%, #fff1c9, #f1c96f 70%); border-color: #fff1c9; color: #3a2606; font-weight: 800; }
#section-roleta .rol-resultado-box { background: var(--bg-card-2); border-color: var(--accent-gold); }


/* ============================================================
   v9 — PREMIUM NOIR (acrescentado ao final)
   Superfícies foscas e escuras, dourado champanhe como marca,
   turquesa só como apoio, números em fonte serifada.
   Só visual: nenhum ID, texto ou script muda.
   Para voltar ao v6, apague tudo daqui para baixo e a 1ª linha (@import).
   ============================================================ */
:root {
    --font-num: 'Fraunces', 'Playfair Display', Georgia, serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --gold: #d9b86c;
    --gold-hi: #f3e3b8;
    --gold-lo: #a98640;
    --accent-gold: #d9b86c;
    --accent-gold-soft: #f3e3b8;
    --accent-gold-deep: #a98640;
    --text-gold-muted: rgba(217, 184, 108, 0.85);

    --bg-dark: #05080d; --bg-dark-2: #070b11;
    --bg-card: #0b1119; --bg-card-2: #0f1722; --bg-card-3: #151f2c; --bg-elevated: #1b2838;
    --border-soft: rgba(255, 255, 255, 0.06);
    --border-soft-2: rgba(255, 255, 255, 0.10);
    --border-primary: rgba(217, 184, 108, 0.40);
    --text-color: #f5f1e8; --text-muted: #adb5bf; --text-faint: #7d8896;

    --bg-top: #09131c; --bg-mid: #060a10; --bg-bot: #030507;
    --aurora-a: rgba(217, 184, 108, 0.075);
    --aurora-b: rgba(36, 110, 150, 0.15);
    --aurora-c: rgba(63, 224, 213, 0.045);
    --aurora-d: rgba(217, 184, 108, 0.05);
    --glass-a: #111b27; --glass-b: #0a1018;
    --input-bg: #060a10; --tabs-bg: #060a10;
    --sidebar-a: #0a121b; --sidebar-b: #05080d;
    --nav-bg: rgba(6, 10, 16, 0.92);
    --ban-1: #12272f; --ban-2: #0c1b25; --ban-3: #08131b;

    --shadow-glow: 0 0 0 1px rgba(217, 184, 108, 0.18), 0 16px 46px rgba(0, 0, 0, 0.5);
    --glass:
        linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 38%),
        linear-gradient(180deg, var(--glass-a) 0%, var(--glass-b) 100%);
    --glass-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --modal-bg-gradient:
        radial-gradient(ellipse 420px 240px at 12% -14%, rgba(217,184,108,.14), transparent 62%),
        linear-gradient(160deg, var(--bg-card-2) 0%, var(--bg-card) 100%);
    --border-gradient-modal: linear-gradient(135deg, rgba(243,227,184,.6), rgba(217,184,108,.18) 45%, rgba(255,255,255,.05) 72%, rgba(63,224,213,.3));
    --shadow-modal-glow: 0 28px 80px rgba(1, 3, 6, 0.85), 0 0 0 1px rgba(217, 184, 108, 0.22);
}

/* ---- Fundo: fosco, com um brilho quente no canto e turquesa mínimo ---- */
body::before {
    background:
        radial-gradient(ellipse 900px 420px at 0% -8%, var(--aurora-a), transparent 64%),
        radial-gradient(ellipse 800px 520px at 106% 2%, var(--aurora-b), transparent 64%),
        radial-gradient(ellipse 700px 420px at 90% 70%, var(--aurora-c), transparent 66%),
        radial-gradient(ellipse 900px 500px at 30% 122%, var(--aurora-d), transparent 68%),
        radial-gradient(ellipse 130% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.6) 100%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 55%, var(--bg-bot) 100%);
}
::selection { background: rgba(217, 184, 108, 0.35); color: #fff; }
::-webkit-scrollbar-thumb { background: rgba(217, 184, 108, 0.28); }
::-webkit-scrollbar-thumb:hover { background: rgba(217, 184, 108, 0.5); }
:focus-visible { outline-color: var(--gold); }

/* ---- Tipografia ---- */
.page-title, .home-greeting, .section-title, .home-ativos-titulo { font-family: var(--font-body); }
.home-greeting { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-color); }
.brand-name { color: var(--gold-hi); letter-spacing: 0.2em; font-size: 13px; font-weight: 700; }
.balance-card h2, #userBalance, .stat-card h2, .stat-card-left h2 {
    font-family: var(--font-num);
    font-optical-sizing: auto;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: 'lnum' 1, 'tnum' 1;
}
.stat-card h2, .stat-card-left h2 { font-size: 27px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-color); margin-top: 8px; }
.stat-card span, .stat-card-left span, .balance-card-header span {
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-gold-muted);
}
.home-ativos-titulo, .section-title {
    font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted);
    display: flex; align-items: center; gap: 12px;
}
.home-ativos-titulo::after, .section-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(217,184,108,.35), transparent); }

/* ---- Cartões: foscos, borda fina, ouro só no hover ---- */
.stat-card, .yacht-card, .rules-box, .info-box, .form-box, .profile-card,
.quick-action, .inv-card, .inv-total, .com-card, .com-total, .com-intro, .com-historico,
.plan-row, .hist-row, .perfil-item, .perfil-atalho, .mis-row, .mis-intro, .mis-progress, .home-ativo {
    background: var(--glass);
    border: 1px solid var(--border-soft-2);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}
@media (hover: hover) and (pointer: fine) {
    .yacht-card:hover, .plan-row:hover, .inv-card:hover, .quick-action:hover, .perfil-item:hover {
        border-color: var(--border-primary);
        box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(217,184,108,.12), inset 0 1px 0 rgba(255,255,255,.06);
        transform: translateY(-2px);
    }
}

/* ---- Cartão de saldo: "cartão black" com borda de ouro ---- */
.balance-card {
    border: 1px solid transparent;
    border-radius: 22px;
    padding: 28px 30px;
    background:
        radial-gradient(ellipse 340px 190px at 100% 0%, rgba(63, 224, 213, 0.20), transparent 70%) padding-box,
        radial-gradient(ellipse 300px 170px at 0% 120%, rgba(217, 184, 108, 0.16), transparent 70%) padding-box,
        linear-gradient(135deg, #0f2f39 0%, #0a202b 52%, #07131c 100%) padding-box,
        linear-gradient(135deg, rgba(243,227,184,.95), rgba(217,184,108,.28) 34%, rgba(255,255,255,.06) 62%, rgba(63,224,213,.5)) border-box;
    box-shadow: 0 28px 56px -22px rgba(0, 0, 0, 0.85), 0 0 60px -24px rgba(63, 224, 213, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.balance-card::after { background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.045) 47%, transparent 62%); }
.balance-card .balance-card-header, .balance-card .balance-card-header span, .balance-card .balance-card-header svg { color: var(--gold); }
.balance-card h2, #userBalance {
    -webkit-text-fill-color: var(--gold-hi); color: var(--gold-hi);
    font-size: clamp(36px, 5.4vw, 50px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; margin-top: 12px;
    text-shadow: 0 2px 24px rgba(217, 184, 108, 0.18);
}
.balance-eye { color: var(--gold); }

/* ---- Valores e ícones ---- */
.plan-rate, .inv-value, .hist-value, .home-ativo strong { font-family: var(--font-num); font-variant-numeric: lining-nums tabular-nums; font-weight: 600; letter-spacing: 0; }
.home-ativo strong { font-size: 19px; }
.home-ativo span { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.home-ativo.is-accent strong { color: var(--gold-hi); }
.quick-action { font-weight: 600; font-size: 12.5px; color: var(--text-color); gap: 10px; }
.quick-action-icon, .inv-icon, .hist-icon, .com-intro-icon, .com-total-icon, .mis-icon, .mis-intro-icon, .perfil-item-icone {
    color: var(--gold);
    background: linear-gradient(145deg, rgba(217,184,108,.16), rgba(217,184,108,.04));
    border: 1px solid rgba(217, 184, 108, 0.30);
    box-shadow: none;
    border-radius: 14px;
}

/* ---- Banner ---- */
.home-banner {
    border: 1px solid rgba(217, 184, 108, 0.28);
    border-radius: 18px;
    background:
        radial-gradient(ellipse 300px 170px at 100% 50%, rgba(63, 224, 213, 0.16), transparent 70%),
        radial-gradient(ellipse 240px 140px at 0% 110%, rgba(217, 184, 108, 0.12), transparent 70%),
        linear-gradient(135deg, var(--ban-1), var(--ban-2) 60%, var(--ban-3));
    box-shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255,255,255,.05);
}
.home-banner strong { font-family: var(--font-body); font-weight: 800; letter-spacing: 0.04em; font-size: 17px; color: var(--gold-hi); }
.home-banner svg { color: var(--gold); filter: none; opacity: .95; }

/* ---- Botões: ouro ---- */
.btn {
    background: linear-gradient(180deg, #f3e3b8 0%, #d9b86c 52%, #b8913f 100%);
    color: #1d1405;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    box-shadow: 0 10px 22px -10px rgba(217, 184, 108, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(90, 60, 10, 0.3);
}
.btn:hover:not(:disabled) { box-shadow: 0 14px 26px -10px rgba(217, 184, 108, 0.75), inset 0 1px 0 rgba(255,255,255,.6); }
.btn.btn-outline { background: rgba(217, 184, 108, 0.05); color: var(--gold-hi); border: 1px solid rgba(217, 184, 108, 0.35); box-shadow: none; }
.btn.btn-outline:hover { background: rgba(217, 184, 108, 0.12); }
.btn.btn-danger { background: linear-gradient(180deg, #ff97a2, #e24a5d); color: #fff; }
.ger-btn, .cp-btn { color: #1d1405; }

/* ---- Campos e abas ---- */
input:not([type=checkbox]):not([type=radio]), select, textarea, .ref-input, .form-group input { border-radius: 12px; border-color: var(--border-soft-2); }
input:not([type=checkbox]):not([type=radio]):focus, select:focus, textarea:focus, .ref-input:focus {
    border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 184, 108, 0.18), inset 0 2px 6px rgba(0, 0, 0, 0.3);
}
.inv-tabs, .hist-tabs { border-radius: 14px; }

/* ---- Menu lateral ---- */
.sidebar {
    background:
        radial-gradient(ellipse 260px 220px at 0% 0%, rgba(217, 184, 108, 0.08), transparent 70%),
        linear-gradient(180deg, var(--sidebar-a) 0%, var(--sidebar-b) 100%);
    border-right: 1px solid var(--border-soft-2);
}
.brand-logo-ring { box-shadow: 0 0 0 1px rgba(217,184,108,.5), 0 0 24px -6px rgba(63, 224, 213, 0.4); }
.nav-item { font-size: 14px; font-weight: 600; padding: 12px 14px; border-radius: 12px; }
.nav-item:hover { background: rgba(217, 184, 108, 0.07); color: #fff; }
.nav-item.active {
    color: var(--gold-hi);
    background: linear-gradient(90deg, rgba(217, 184, 108, 0.16), rgba(217, 184, 108, 0.02));
    border-color: rgba(217, 184, 108, 0.28);
    box-shadow: inset 3px 0 0 var(--gold);
}
.nav-item.active .nav-icon { color: var(--gold); }
.mobile-topbar { border-bottom: 1px solid var(--border-soft-2); }
.hamburger-btn { background: rgba(217, 184, 108, 0.08); border-color: rgba(217, 184, 108, 0.35); }
.hamburger-btn span { background: var(--gold); }

/* ---- Avatar, selo VIP, tabelas, modais ---- */
.home-avatar { border-color: var(--gold); color: var(--gold-hi); box-shadow: 0 0 0 4px rgba(217, 184, 108, 0.10); }
.vip-badge { letter-spacing: 0.14em; font-size: 10px; }
.extrato-table th { color: var(--gold); letter-spacing: 0.12em; font-size: 11px; text-transform: uppercase; }
.extrato-table tbody tr:hover { background: rgba(217, 184, 108, 0.05); }
.modal-card { border: 1px solid var(--border-primary); border-radius: 20px; }

/* ---- Menu inferior (celular) ---- */
@media (max-width: 1023px) {
    .app-bottom-nav { border: 1px solid rgba(217, 184, 108, 0.30); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255,255,255,.05); }
    .app-bottom-nav button.is-active { color: var(--gold-hi); }
    .app-bottom-nav button.is-active::before { background: var(--gold); box-shadow: 0 2px 12px rgba(217, 184, 108, 0.7); }
    .app-bottom-nav button.is-active svg { color: var(--gold); filter: drop-shadow(0 0 7px rgba(217, 184, 108, 0.55)); }
}


/* ============================================================
   v10 — REFINO DE COR E FUNDO (acrescentado ao final)
   Mesma direção do v9; só aprofunda fundo, superfícies e dourado.
   Para voltar ao v9, apague tudo daqui para baixo.
   ============================================================ */
:root {
    --gold: #dcbc72; --gold-hi: #f8ebc9; --gold-lo: #a8843a;
    --accent-gold: #dcbc72; --accent-gold-soft: #f8ebc9; --accent-gold-deep: #a8843a;
    --bg-top: #0a1824; --bg-mid: #060b12; --bg-bot: #020406;
    --glass-a: #0f1a27; --glass-b: #080e16;
    --sidebar-a: #08111a; --sidebar-b: #04070b;
    --glass-pb:
        linear-gradient(180deg, rgba(248, 235, 201, 0.045) 0%, rgba(248, 235, 201, 0) 42%) padding-box,
        linear-gradient(180deg, var(--glass-a) 0%, var(--glass-b) 100%) padding-box;
    --edge: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 42%, rgba(220, 188, 114, 0.20)) border-box;
}

/* ---- Fundo: foco de luz champanhe no topo, poço azul-petróleo embaixo, vinheta ---- */
body::before {
    background:
        radial-gradient(ellipse 760px 340px at 50% -6%, rgba(248, 235, 201, 0.085), transparent 70%),
        radial-gradient(ellipse 900px 460px at -4% -10%, rgba(220, 188, 114, 0.11), transparent 64%),
        radial-gradient(ellipse 820px 560px at 108% 0%, rgba(34, 120, 170, 0.20), transparent 64%),
        radial-gradient(ellipse 760px 480px at 96% 78%, rgba(54, 214, 203, 0.065), transparent 66%),
        radial-gradient(ellipse 1000px 520px at 22% 124%, rgba(18, 96, 120, 0.22), transparent 68%),
        radial-gradient(ellipse 125% 100% at 50% 45%, transparent 50%, rgba(0, 0, 0, 0.68) 100%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 52%, var(--bg-bot) 100%);
}
body::after { opacity: 0.06; }

/* ---- Menu lateral: mais escuro que o fundo, com filete dourado que some ---- */
.sidebar {
    background:
        radial-gradient(ellipse 280px 240px at 0% 0%, rgba(220, 188, 114, 0.10), transparent 70%),
        radial-gradient(ellipse 260px 260px at 0% 100%, rgba(18, 96, 120, 0.14), transparent 70%),
        linear-gradient(180deg, rgba(220, 188, 114, 0.55), rgba(220, 188, 114, 0.08) 45%, rgba(54, 214, 203, 0.25)) right top / 1px 100% no-repeat,
        linear-gradient(180deg, var(--sidebar-a) 0%, var(--sidebar-b) 100%);
    border-right: 0;
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.05), 24px 0 60px -34px rgba(0, 0, 0, 0.9);
}
/* filete dourado agora é camada de fundo (o ::after rolaria junto com o conteúdo) */

/* ---- Cartões: superfície azul-petróleo escuro com borda em degradê ---- */
.stat-card, .yacht-card, .rules-box, .info-box, .form-box, .profile-card,
.quick-action, .inv-card, .inv-total, .com-card, .com-total, .com-intro, .com-historico,
.plan-row, .hist-row, .perfil-item, .perfil-atalho, .mis-row, .mis-intro, .mis-progress, .home-ativo {
    border: 1px solid transparent;
    background: var(--glass-pb), var(--edge);
    box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
@media (hover: hover) and (pointer: fine) {
    .yacht-card:hover, .plan-row:hover, .inv-card:hover, .quick-action:hover, .perfil-item:hover {
        background: var(--glass-pb), linear-gradient(160deg, rgba(248, 235, 201, 0.7), rgba(220, 188, 114, 0.25) 50%, rgba(220, 188, 114, 0.5)) border-box;
    }
}

/* ---- Cartão de saldo: mais saturado e profundo, número em ouro degradê ---- */
.balance-card {
    background:
        radial-gradient(ellipse 380px 210px at 100% -10%, rgba(45, 212, 200, 0.30), transparent 70%) padding-box,
        radial-gradient(ellipse 320px 190px at -4% 125%, rgba(220, 188, 114, 0.20), transparent 70%) padding-box,
        linear-gradient(135deg, #0d3b47 0%, #0a2834 46%, #07182a 100%) padding-box,
        linear-gradient(135deg, rgba(248, 235, 201, 1), rgba(220, 188, 114, 0.30) 32%, rgba(255, 255, 255, 0.06) 60%, rgba(54, 214, 203, 0.55)) border-box;
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9), 0 0 70px -26px rgba(54, 214, 203, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.balance-card h2, #userBalance {
    background: linear-gradient(180deg, #fffaf0 0%, #f4e2b4 55%, #dcbc72 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 4px 22px rgba(220, 188, 114, 0.22));
}

/* ---- Banner e botões ---- */
.home-banner {
    background:
        radial-gradient(ellipse 320px 180px at 100% 50%, rgba(45, 212, 200, 0.20), transparent 70%),
        radial-gradient(ellipse 260px 150px at 0% 115%, rgba(220, 188, 114, 0.16), transparent 70%),
        linear-gradient(135deg, #0d2a34, #091a24 62%, #070f17);
    border-color: rgba(220, 188, 114, 0.30);
}
.btn {
    background: linear-gradient(180deg, #f8ebc9 0%, #e3c57d 45%, #c29a45 100%);
    box-shadow: 0 12px 24px -10px rgba(220, 188, 114, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -1px 0 rgba(100, 66, 10, 0.35);
}
.nav-item.active { background: linear-gradient(90deg, rgba(220, 188, 114, 0.18), rgba(220, 188, 114, 0.02)); }

/* ---- Logo nova: anel dourado no menu lateral ---- */
.brand-logo-ring {
    background: conic-gradient(from 180deg, #a8843a, #f8ebc9, #dcbc72, #fff6dc, #a8843a);
    box-shadow: 0 0 0 1px rgba(220, 188, 114, 0.35), 0 0 26px -8px rgba(220, 188, 114, 0.45);
}
.brand-logo { border-color: #05080d; }

/* ---- Logo completa (emblema + nome) no topo do menu lateral ---- */
.sidebar-brand { justify-content: center; padding: 4px 6px 18px 6px; margin-bottom: 16px; }
.brand-lockup { display: block; width: 100%; max-width: 206px; height: auto; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55)); }


/* ---- Menu lateral rolável: todos os itens (até Perfil e Telegram) ficam alcançáveis ---- */
.sidebar { overflow-y: auto; overflow-x: hidden; overscroll-behavior: auto; scrollbar-width: thin; scrollbar-color: rgba(220, 188, 114, 0.35) transparent; }
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(220, 188, 114, 0.35); border-radius: 6px; }
.sidebar-nav { flex-grow: 0; flex-shrink: 0; }
.sidebar-footer { margin-top: auto; padding-top: 16px; flex-shrink: 0; }

/* ---- Celular/tablet: o menu flutuante já tem todas as seções, então some o hambúrguer e a sidebar ----
   (só no app; o painel admin continua com hambúrguer porque não tem menu flutuante) */
@media (max-width: 1023px) {
    body:not(.admin-body) .hamburger-btn,
    body:not(.admin-body) .sidebar,
    body:not(.admin-body) .sidebar-overlay { display: none !important; }
    body:not(.admin-body) .mobile-topbar { padding-left: 20px; }
}

/* ---- Login / cadastro: logo completa sem moldura quadrada ---- */
.logo-container .logo-img {
    width: 100%; max-width: 232px; height: auto;
    border-radius: 0; border: 0; background: none; box-shadow: none; object-fit: contain;
    margin: 0 auto 6px; display: block;
    filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.55));
}


/* ============================================================
   v11 — LUMINOSIDADE (acrescentado ao final)
   Mais luz no fundo, brilho de vidro nos cartões e cores mais
   vivas, sem exagero. Para voltar ao v10, apague daqui para baixo
   (menos o bloco "Menu lateral rolável / celular" que vem depois, se existir).
   ============================================================ */
:root {
    --gold: #e6c47c; --gold-hi: #fff2d2; --gold-lo: #b38d3f;
    --accent-gold: #e6c47c; --accent-gold-soft: #fff2d2; --accent-gold-deep: #b38d3f;
    --text-gold-muted: rgba(236, 202, 130, 0.92);
    --text-muted: #bcc6d0;
    --bg-top: #0c1d2b; --bg-mid: #08121c; --bg-bot: #04090f;
    --glass-a: #122030; --glass-b: #09111b;
    --glass-pb:
        linear-gradient(180deg, rgba(255, 244, 214, 0.075) 0%, rgba(255, 244, 214, 0.015) 36%, rgba(255, 244, 214, 0) 60%) padding-box,
        linear-gradient(180deg, var(--glass-a) 0%, var(--glass-b) 100%) padding-box;
    --edge: linear-gradient(160deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05) 40%, rgba(230, 196, 124, 0.30)) border-box;
}

/* ---- Fundo: mais luz, poços de cor e poeira de brilho discreta ---- */
body::before {
    background:
        radial-gradient(circle 2px at 14% 22%, rgba(255, 238, 190, 0.55), transparent 100%),
        radial-gradient(circle 1.6px at 31% 12%, rgba(120, 240, 230, 0.45), transparent 100%),
        radial-gradient(circle 2.2px at 47% 31%, rgba(255, 238, 190, 0.40), transparent 100%),
        radial-gradient(circle 1.6px at 63% 9%, rgba(255, 238, 190, 0.50), transparent 100%),
        radial-gradient(circle 2px at 78% 24%, rgba(120, 240, 230, 0.42), transparent 100%),
        radial-gradient(circle 1.8px at 91% 38%, rgba(255, 238, 190, 0.40), transparent 100%),
        radial-gradient(circle 2px at 22% 63%, rgba(120, 240, 230, 0.34), transparent 100%),
        radial-gradient(circle 1.6px at 56% 71%, rgba(255, 238, 190, 0.34), transparent 100%),
        radial-gradient(circle 2px at 84% 82%, rgba(255, 238, 190, 0.36), transparent 100%),
        radial-gradient(ellipse 900px 380px at 50% -8%, rgba(255, 226, 160, 0.07), transparent 70%),
        radial-gradient(ellipse 980px 520px at -6% -8%, rgba(230, 190, 110, 0.11), transparent 64%),
        radial-gradient(ellipse 1000px 420px at 40% -14%, rgba(40, 150, 190, 0.20), transparent 68%),
        radial-gradient(ellipse 900px 600px at 108% 2%, rgba(40, 140, 195, 0.30), transparent 64%),
        radial-gradient(ellipse 800px 520px at 98% 76%, rgba(61, 230, 218, 0.10), transparent 66%),
        radial-gradient(ellipse 1100px 560px at 20% 122%, rgba(22, 120, 150, 0.32), transparent 68%),
        radial-gradient(ellipse 700px 380px at 62% 108%, rgba(230, 196, 124, 0.09), transparent 70%),
        radial-gradient(ellipse 125% 100% at 50% 45%, transparent 56%, rgba(0, 0, 0, 0.52) 100%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 52%, var(--bg-bot) 100%);
}

/* ---- Menu lateral: luz no topo e no pé, item ativo com brilho ---- */
.sidebar {
    background:
        linear-gradient(180deg, rgba(230, 196, 124, 0.60), rgba(230, 196, 124, 0.10) 45%, rgba(61, 230, 218, 0.30)) right top / 1px 100% no-repeat,
        radial-gradient(ellipse 300px 260px at 0% 0%, rgba(230, 196, 124, 0.16), transparent 70%),
        radial-gradient(ellipse 280px 280px at 0% 100%, rgba(22, 120, 150, 0.22), transparent 70%),
        linear-gradient(180deg, #091420 0%, #040910 100%);
}
.nav-item.active {
    background: linear-gradient(90deg, rgba(230, 196, 124, 0.24), rgba(230, 196, 124, 0.03));
    box-shadow: inset 3px 0 0 var(--gold), 0 8px 22px -12px rgba(230, 196, 124, 0.55);
}
.nav-item:hover { background: rgba(230, 196, 124, 0.09); }

/* ---- Cartões: brilho de vidro + halo suave ---- */
.stat-card, .yacht-card, .rules-box, .info-box, .form-box, .profile-card,
.quick-action, .inv-card, .inv-total, .com-card, .com-total, .com-intro, .com-historico,
.plan-row, .hist-row, .perfil-item, .perfil-atalho, .mis-row, .mis-intro, .mis-progress, .home-ativo {
    box-shadow:
        0 18px 36px -18px rgba(0, 0, 0, 0.9),
        0 0 34px -22px rgba(61, 230, 218, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        inset 0 -18px 28px -24px rgba(230, 196, 124, 0.10);
}
@media (hover: hover) and (pointer: fine) {
    .yacht-card:hover, .plan-row:hover, .inv-card:hover, .quick-action:hover, .perfil-item:hover {
        box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.9), 0 0 40px -14px rgba(230, 196, 124, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
}

/* ---- Cartão de saldo: mais vivo ---- */
.balance-card {
    background:
        radial-gradient(ellipse 420px 230px at 100% -12%, rgba(61, 230, 218, 0.40), transparent 70%) padding-box,
        radial-gradient(ellipse 340px 200px at -4% 128%, rgba(230, 196, 124, 0.28), transparent 70%) padding-box,
        linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.05) 50%, transparent 62%) padding-box,
        linear-gradient(135deg, #0f4552 0%, #0b2f3d 46%, #082033 100%) padding-box,
        linear-gradient(135deg, #fff6dc, rgba(230, 196, 124, 0.40) 32%, rgba(255, 255, 255, 0.10) 60%, rgba(61, 230, 218, 0.70)) border-box;
    box-shadow: 0 30px 62px -24px rgba(0, 0, 0, 0.9), 0 0 84px -24px rgba(61, 230, 218, 0.55), 0 0 0 1px rgba(230, 196, 124, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.balance-card h2, #userBalance {
    background: linear-gradient(180deg, #ffffff 0%, #fff0c8 45%, #e6c47c 100%);
    -webkit-background-clip: text; background-clip: text;
    filter: drop-shadow(0 4px 24px rgba(230, 196, 124, 0.34));
}

/* ---- Ícones, banner, valores ---- */
.quick-action-icon, .inv-icon, .hist-icon, .com-intro-icon, .com-total-icon, .mis-icon, .mis-intro-icon, .perfil-item-icone {
    background: linear-gradient(145deg, rgba(230, 196, 124, 0.26), rgba(230, 196, 124, 0.06));
    border-color: rgba(230, 196, 124, 0.42);
    box-shadow: 0 0 22px -8px rgba(230, 196, 124, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.home-banner {
    background:
        radial-gradient(ellipse 340px 190px at 100% 50%, rgba(61, 230, 218, 0.30), transparent 70%),
        radial-gradient(ellipse 280px 160px at 0% 118%, rgba(230, 196, 124, 0.24), transparent 70%),
        linear-gradient(135deg, #0f3039, #0a2230 62%, #08172a);
    border-color: rgba(230, 196, 124, 0.42);
    box-shadow: 0 18px 38px -18px rgba(0, 0, 0, 0.9), 0 0 50px -22px rgba(61, 230, 218, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.home-banner svg { filter: drop-shadow(0 0 10px rgba(230, 196, 124, 0.5)); }
.home-ativo strong { text-shadow: 0 0 20px rgba(74, 240, 180, 0.30); }
.home-ativo.is-accent strong { text-shadow: 0 0 20px rgba(230, 196, 124, 0.38); }
.stat-card h2, .stat-card-left h2 { text-shadow: 0 0 22px rgba(255, 244, 214, 0.10); }

/* ---- Botão principal: brilho de ouro polido ---- */
.btn {
    background: linear-gradient(180deg, #fff2d2 0%, #ecd08a 42%, #cfa54c 100%);
    box-shadow: 0 14px 28px -10px rgba(230, 196, 124, 0.75), 0 0 0 1px rgba(255, 240, 200, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(110, 72, 10, 0.35);
}
.btn:hover:not(:disabled) { filter: brightness(1.05); }


/* ============================================================
   v12 — ACABAMENTO PREMIUM (acrescentado ao final)
   Textura fina no fundo, títulos em serifada, molduras internas,
   anel dourado no avatar, vidro no menu do celular.
   Para voltar ao v11, apague daqui até o próximo bloco.
   ============================================================ */

/* ---- Tipografia editorial nos títulos ---- */
.home-greeting, .page-title, .mobile-topbar h1, .mobile-topbar .topbar-title {
    font-family: var(--font-num);
    font-optical-sizing: auto;
    letter-spacing: -0.01em;
}
.home-greeting { font-size: 26px; font-weight: 600; }

/* ---- Avatar com anel dourado metálico e selo VIP refinado ---- */
.home-avatar {
    border: 2px solid transparent;
    background:
        linear-gradient(#0a1722, #0a1722) padding-box,
        conic-gradient(from 210deg, #fff2d2, #b38d3f, #e6c47c, #fff2d2, #b38d3f, #fff2d2) border-box;
    color: var(--gold-hi);
    font-family: var(--font-num);
    box-shadow: 0 0 0 4px rgba(230, 196, 124, 0.10), 0 10px 24px -10px rgba(0, 0, 0, 0.8), 0 0 26px -8px rgba(230, 196, 124, 0.4);
}
.vip-badge {
    color: var(--gold-hi);
    background: linear-gradient(180deg, rgba(230, 196, 124, 0.16), rgba(230, 196, 124, 0.04));
    border: 1px solid rgba(230, 196, 124, 0.38);
}

/* ---- Cartão de saldo: moldura interna dourada + anéis de relógio ao fundo ---- */
.balance-card {
    outline: 1px solid rgba(230, 196, 124, 0.26);
    outline-offset: -8px;
    background:
        repeating-radial-gradient(circle at 96% 108%, rgba(255, 240, 200, 0.075) 0 1px, transparent 1px 15px) padding-box,
        radial-gradient(ellipse 420px 230px at 100% -12%, rgba(61, 230, 218, 0.40), transparent 70%) padding-box,
        radial-gradient(ellipse 340px 200px at -4% 128%, rgba(230, 196, 124, 0.28), transparent 70%) padding-box,
        linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.05) 50%, transparent 62%) padding-box,
        linear-gradient(135deg, #0f4552 0%, #0b2f3d 46%, #082033 100%) padding-box,
        linear-gradient(135deg, #fff6dc, rgba(230, 196, 124, 0.40) 32%, rgba(255, 255, 255, 0.10) 60%, rgba(61, 230, 218, 0.70)) border-box;
}

/* ---- Cartões comuns: filete interno quase invisível (efeito de cartão gravado) ---- */
.stat-card, .home-ativo, .yacht-card, .plan-row, .inv-total, .com-total {
    outline: 1px solid rgba(255, 244, 214, 0.035);
    outline-offset: -5px;
}

/* ---- Divisórias douradas que somem nas pontas ---- */
.sidebar-brand { border-bottom: 0; position: relative; }
.sidebar-brand::after {
    content: ''; position: absolute; left: 6%; right: 6%; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 196, 124, 0.55), transparent);
}
.sidebar-footer { border-top: 0; position: relative; }
.sidebar-footer::before {
    content: ''; position: absolute; left: 6%; right: 6%; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 196, 124, 0.35), transparent);
}

/* ---- Menu: ícone ativo com brilho, transições suaves ---- */
.nav-item { transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.nav-item.active .nav-icon { filter: drop-shadow(0 0 6px rgba(230, 196, 124, 0.6)); }
.quick-action, .yacht-card, .plan-row, .inv-card, .perfil-item { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }

/* ---- Menu flutuante do celular: vidro fosco com filete dourado ---- */
@media (max-width: 1023px) {
    .app-bottom-nav {
        background: linear-gradient(180deg, rgba(14, 26, 38, 0.82), rgba(5, 10, 16, 0.90));
        -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
        border: 1px solid transparent;
        background-clip: padding-box;
        box-shadow: 0 0 0 1px rgba(230, 196, 124, 0.34), 0 20px 44px rgba(0, 0, 0, 0.75), 0 0 40px -16px rgba(230, 196, 124, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    }
}

/* ---- Botão: leve elevação no hover; campos com brilho dourado no foco ---- */
@media (hover: hover) and (pointer: fine) {
    .btn:hover:not(:disabled) { transform: translateY(-1px); }
}


/* ============================================================
   v13 — FUNDO LIMPO E COR EQUILIBRADA (acrescentado ao final)
   Sem linhas e sem pontos: só luz suave. Equilíbrio quente (ouro)
   na diagonal superior-esquerda/inferior-direita e frio (azul-petróleo)
   na diagonal oposta. Halos mais discretos para um ar mais profissional.
   ============================================================ */
:root {
    --bg-top: #0b1b2a; --bg-mid: #07111b; --bg-bot: #030811;
    --glass-a: #112031; --glass-b: #08111b;
}

body::before {
    background:
        /* luz ampla atrás do conteúdo: dá leitura e profundidade */
        radial-gradient(ellipse 1100px 640px at 58% 14%, rgba(36, 112, 156, 0.20), transparent 70%),
        /* diagonal quente */
        radial-gradient(ellipse 900px 520px at -6% -8%, rgba(230, 190, 112, 0.13), transparent 64%),
        radial-gradient(ellipse 760px 460px at 104% 112%, rgba(230, 190, 112, 0.09), transparent 66%),
        /* diagonal fria */
        radial-gradient(ellipse 880px 560px at 108% 0%, rgba(38, 134, 190, 0.28), transparent 64%),
        radial-gradient(ellipse 1050px 560px at 14% 122%, rgba(20, 110, 140, 0.30), transparent 68%),
        /* vinheta suave para focar no centro */
        radial-gradient(ellipse 125% 100% at 50% 44%, transparent 58%, rgba(0, 0, 0, 0.50) 100%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 52%, var(--bg-bot) 100%);
}
/* só um grão bem leve para evitar faixas no degradê */
body::after { opacity: 0.045; }

/* ---- Halos mais discretos nos cartões ---- */
.stat-card, .yacht-card, .rules-box, .info-box, .form-box, .profile-card,
.quick-action, .inv-card, .inv-total, .com-card, .com-total, .com-intro, .com-historico,
.plan-row, .hist-row, .perfil-item, .perfil-atalho, .mis-row, .mis-intro, .mis-progress, .home-ativo {
    box-shadow:
        0 18px 34px -18px rgba(0, 0, 0, 0.88),
        0 0 28px -22px rgba(61, 230, 218, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -16px 26px -24px rgba(230, 196, 124, 0.09);
}

/* ---- Cartão de saldo: anéis mais discretos ---- */
.balance-card {
    background:
        repeating-radial-gradient(circle at 96% 108%, rgba(255, 240, 200, 0.045) 0 1px, transparent 1px 16px) padding-box,
        radial-gradient(ellipse 420px 230px at 100% -12%, rgba(61, 230, 218, 0.34), transparent 70%) padding-box,
        radial-gradient(ellipse 340px 200px at -4% 128%, rgba(230, 196, 124, 0.26), transparent 70%) padding-box,
        linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.045) 50%, transparent 62%) padding-box,
        linear-gradient(135deg, #0f4350 0%, #0b2e3c 46%, #082033 100%) padding-box,
        linear-gradient(135deg, #fff6dc, rgba(230, 196, 124, 0.40) 32%, rgba(255, 255, 255, 0.10) 60%, rgba(61, 230, 218, 0.62)) border-box;
}

/* ---- Detalhes de acabamento ---- */
.home-avatar { font-family: var(--font-body); font-weight: 700; }
.home-ativos-titulo::after, .section-title::after { background: linear-gradient(90deg, rgba(230, 196, 124, 0.28), transparent 80%); }
.stat-card, .home-ativo, .yacht-card, .plan-row, .inv-total, .com-total { outline-color: rgba(255, 244, 214, 0.03); }
::-webkit-scrollbar-thumb { background: rgba(230, 196, 124, 0.30); }
::-webkit-scrollbar-thumb:hover { background: rgba(230, 196, 124, 0.55); }


/* ============================================================
   v14 — FUNDO "AURORA SUAVE" (acrescentado ao final)
   Azul-noite profundo com brilho suave e limpo (sem dourado
   misturado no azul, que deixava o fundo acinzentado). O dourado
   fica só nos detalhes: logo, botões, ícones e bordas.
   Para voltar ao v13, apague daqui para baixo.
   ============================================================ */
:root {
    --bg-top: #0a1c30; --bg-mid: #071322; --bg-bot: #040a14;
}
body::before {
    background:
        /* brilho principal: azul-céu suave vindo de cima */
        radial-gradient(ellipse 1300px 560px at 56% -12%, rgba(74, 158, 226, 0.26), transparent 70%),
        /* brilho turquesa, canto inferior esquerdo */
        radial-gradient(ellipse 1000px 560px at 8% 118%, rgba(34, 196, 186, 0.17), transparent 68%),
        /* brilho azul-cobalto, canto superior direito */
        radial-gradient(ellipse 760px 520px at 106% 4%, rgba(60, 110, 230, 0.20), transparent 66%),
        /* halo âmbar muito leve só no canto inferior direito (fora do azul) */
        radial-gradient(ellipse 620px 380px at 104% 118%, rgba(230, 180, 100, 0.08), transparent 70%),
        /* respiro no centro para dar leitura aos cartões */
        radial-gradient(ellipse 900px 520px at 54% 46%, rgba(46, 96, 150, 0.10), transparent 72%),
        /* vinheta bem leve */
        radial-gradient(ellipse 140% 110% at 50% 46%, transparent 62%, rgba(0, 0, 0, 0.34) 100%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 55%, var(--bg-bot) 100%);
}
/* menu lateral: azul-noite também, sem manchas amareladas */
.sidebar {
    background:
        linear-gradient(180deg, rgba(230, 196, 124, 0.55), rgba(230, 196, 124, 0.08) 45%, rgba(61, 230, 218, 0.28)) right top / 1px 100% no-repeat,
        radial-gradient(ellipse 300px 260px at 0% 0%, rgba(74, 158, 226, 0.16), transparent 70%),
        radial-gradient(ellipse 280px 280px at 0% 100%, rgba(34, 196, 186, 0.16), transparent 70%),
        linear-gradient(180deg, #091526 0%, #040a14 100%);
}


/* ============================================================
   v15 — VIDRO PROFISSIONAL (acrescentado ao final)
   Cartões de vidro translúcido que deixam a luz do fundo passar,
   fundo com mais cor e profundidade (azul, turquesa e um toque índigo),
   códigos de cor nos cartões, mais respiro entre as seções.
   Para voltar ao v14, apague daqui para baixo.
   ============================================================ */
:root {
    --glass-t:
        linear-gradient(180deg, rgba(255, 244, 214, 0.085) 0%, rgba(255, 244, 214, 0.012) 42%, rgba(255, 244, 214, 0) 70%),
        linear-gradient(180deg, rgba(24, 44, 66, 0.60) 0%, rgba(8, 17, 29, 0.50) 100%);
}

/* ---- Fundo: mais cor e profundidade para o vidro refratar ---- */
body::before {
    background:
        radial-gradient(ellipse 1300px 580px at 56% -12%, rgba(78, 164, 232, 0.32), transparent 70%),
        radial-gradient(ellipse 1000px 580px at 6% 118%, rgba(34, 200, 190, 0.22), transparent 68%),
        radial-gradient(ellipse 780px 540px at 106% 4%, rgba(62, 116, 235, 0.26), transparent 66%),
        radial-gradient(ellipse 760px 520px at 100% 108%, rgba(92, 84, 214, 0.20), transparent 68%),
        radial-gradient(ellipse 620px 380px at 78% 70%, rgba(230, 180, 100, 0.06), transparent 70%),
        radial-gradient(ellipse 900px 520px at 54% 46%, rgba(46, 100, 156, 0.12), transparent 72%),
        radial-gradient(ellipse 140% 110% at 50% 46%, transparent 64%, rgba(0, 0, 0, 0.30) 100%),
        linear-gradient(180deg, #0a1d33 0%, #071423 55%, #040a15 100%);
}

/* ---- Cartões de vidro ---- */
.stat-card, .quick-action, .home-ativo, .yacht-card, .inv-card, .inv-total, .com-total, .com-card,
.plan-row, .hist-row, .perfil-item, .perfil-atalho, .mis-row, .mis-intro, .mis-progress,
.rules-box, .info-box, .form-box, .profile-card, .com-intro, .com-historico {
    background: var(--glass-t);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
}
.stat-card, .quick-action, .home-ativo, .yacht-card, .inv-card, .inv-total, .com-total, .perfil-item {
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
            backdrop-filter: blur(12px) saturate(1.3);
}
.grid-stats .stat-card:nth-child(1) { box-shadow: 0 18px 34px -18px rgba(0,0,0,.85), inset 3px 0 0 rgba(74, 240, 180, 0.85), inset 0 1px 0 rgba(255,255,255,.09); }
.grid-stats .stat-card:nth-child(2) { box-shadow: 0 18px 34px -18px rgba(0,0,0,.85), inset 3px 0 0 rgba(230, 196, 124, 0.90), inset 0 1px 0 rgba(255,255,255,.09); }

/* ---- Banner e saldo: também com luz mais limpa ---- */
.home-banner {
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* ---- Ritmo e hierarquia ---- */
.grid-stats { gap: 18px; }
.quick-actions { gap: 14px; }
.home-ativos-titulo { margin-top: 30px; margin-bottom: 14px; }
.home-ativos { gap: 14px; }
.quick-action:active, .btn:active:not(:disabled) { transform: scale(0.985); }

/* ---- Menu lateral e menu do celular em vidro ---- */
@media (min-width: 1024px) {
    .sidebar { -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); background-color: rgba(4, 10, 20, 0.55); }
}


/* ============================================================
   Planos com ícone e moedas na cor de cada nível
   (ícone = coroa; arte = pilhas de moedas; ver planos.js)
   ============================================================ */
.plan-icon.has-img { background: none; border: 0; box-shadow: none; overflow: visible; }
.plan-icon.has-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); }
.plan-icon.has-img { flex-basis: 60px; width: 60px; height: 60px; }
.plan-photo { filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5)); }
.plan-art::before { background: none; }

/* cor de cada nível: borda e luz suave atrás da arte */
.plan-row[data-tier="1"] { --tier: 255, 138, 74; }
.plan-row[data-tier="2"] { --tier: 127, 180, 230; }
.plan-row[data-tier="3"] { --tier: 223, 230, 240; }
.plan-row[data-tier="4"] { --tier: 255, 201, 74; }
.plan-row[data-tier="5"] { --tier: 169, 107, 255; }
.plan-row[data-tier] {
    border-color: rgba(var(--tier), 0.38);
    background:
        radial-gradient(ellipse 220px 120px at 100% 60%, rgba(var(--tier), 0.20), transparent 70%),
        var(--glass-t);
    box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.88), 0 0 34px -20px rgba(var(--tier), 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
@media (hover: hover) and (pointer: fine) {
    .plan-row[data-tier]:hover { border-color: rgba(var(--tier), 0.75); }
}
@media (max-width: 420px) {
    .plan-icon.has-img { flex-basis: 56px; width: 56px; height: 56px; }
    .plan-art { width: 108px; height: 72px; }
}


/* ============================================================
   Planos de Ciclo com baú (ver planos.js)
   ============================================================ */
.plan-row--ciclo { gap: 14px; padding: 14px 16px; }
.plan-chest { flex: 0 0 116px; width: 116px; height: 116px; margin: -8px 0 -8px -6px; background: none; border: 0; box-shadow: none; overflow: visible; }
.plan-chest img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.55)); }
.plan-cycle { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 2px; }
.plan-days { font-size: 12.5px; color: var(--text-muted); }
.plan-total { font-family: var(--font-num); font-variant-numeric: lining-nums tabular-nums; font-size: 17px; font-weight: 600; color: var(--success); text-shadow: 0 0 18px rgba(74, 240, 180, 0.30); }
.plan-row--ciclo .plan-buy { margin-top: 0; }

/* cor de cada ciclo: dourado (1–3) e roxo (4–5), como os baús */
.plan-row[data-ciclo="1"], .plan-row[data-ciclo="2"], .plan-row[data-ciclo="3"] { --tier: 240, 190, 80; }
.plan-row[data-ciclo="4"] { --tier: 169, 107, 255; }
.plan-row[data-ciclo="5"] { --tier: 192, 123, 255; }
.plan-row[data-ciclo] {
    border-color: rgba(var(--tier), 0.36);
    background: radial-gradient(ellipse 240px 130px at 0% 50%, rgba(var(--tier), 0.18), transparent 70%), var(--glass-t);
    box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.88), 0 0 34px -20px rgba(var(--tier), 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
@media (hover: hover) and (pointer: fine) { .plan-row[data-ciclo]:hover { border-color: rgba(var(--tier), 0.75); } }
@media (max-width: 420px) {
    .plan-chest { flex-basis: 96px; width: 96px; height: 96px; margin: -6px 0 -6px -8px; }
    .plan-row--ciclo { gap: 10px; padding: 12px; }
    .plan-total { font-size: 15.5px; }
}


/* ============================================================
   Extrato (Histórico de Transações) — lista única com divisórias,
   ícones circulares coloridos e status em etiqueta (ver extrato.js)
   ============================================================ */
.hist-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 6px; }
.hist-tabs .btn { padding: 11px 2px; font-size: 11.5px; letter-spacing: 0; white-space: nowrap; border-radius: 12px; }

.hist-lista {
    background: var(--glass-t);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.88), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    overflow: hidden;
}
.hist-lista .hist-row {
    background: none; border: 0; border-radius: 0; box-shadow: none; outline: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none; transform: none;
    padding: 16px 18px; gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.hist-lista .hist-row:last-child { border-bottom: 0; }

.hist-icon { flex: 0 0 50px; width: 50px; height: 50px; border-width: 1.5px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 20px -8px currentColor; }
.hist-icon svg { width: 25px; height: 25px; }
.hist-icon.is-in     { color: #4af0b4; border-color: rgba(74, 240, 180, 0.65);  background: radial-gradient(circle at 30% 22%, rgba(74, 240, 180, 0.34), rgba(16, 110, 84, 0.20) 72%); }
.hist-icon.is-invest { color: #ffb04a; border-color: rgba(255, 176, 74, 0.70);  background: radial-gradient(circle at 30% 22%, rgba(255, 176, 74, 0.36), rgba(140, 80, 12, 0.22) 72%); }
.hist-icon.is-out    { color: #ff7d7d; border-color: rgba(255, 125, 125, 0.65); background: radial-gradient(circle at 30% 22%, rgba(255, 125, 125, 0.34), rgba(130, 34, 44, 0.22) 72%); }
.hist-icon.is-gold   { color: #f2c75c; border-color: rgba(242, 199, 92, 0.70);  background: radial-gradient(circle at 30% 22%, rgba(242, 199, 92, 0.36), rgba(130, 92, 14, 0.22) 72%); }

.hist-title { font-size: 14.5px; font-weight: 600; color: var(--text-color); }
.hist-value { font-family: var(--font-num); font-size: 19px; font-weight: 600; color: var(--text-color); letter-spacing: 0; text-shadow: none; }
.hist-date, .hist-detail { font-size: 12px; color: var(--text-faint); }

.hist-row .badge {
    border-radius: 9px; padding: 6px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0;
    border: 1px solid rgba(74, 240, 180, 0.45); background: rgba(74, 240, 180, 0.10); color: #4af0b4;
}
.hist-row .badge.badge-warning { border-color: rgba(242, 199, 92, 0.5); background: rgba(242, 199, 92, 0.10); color: #f2c75c; }
.hist-row .badge.badge-danger  { border-color: rgba(255, 125, 125, 0.5); background: rgba(255, 125, 125, 0.10); color: #ff7d7d; }

@media (max-width: 420px) {
    .hist-lista .hist-row { padding: 14px 14px; gap: 12px; }
    .hist-icon { flex-basis: 46px; width: 46px; height: 46px; }
    .hist-value { font-size: 17px; }
}


/* ============================================================
   Missões e Meus Investimentos — imagens 3D (troféu, presente,
   coroas e baús) e visual igual ao do Extrato
   ============================================================ */

/* ---- Missões: banner com troféu ---- */
.mis-intro {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 6px; overflow: hidden;
    border-color: rgba(230, 196, 124, 0.30);
    background: radial-gradient(ellipse 240px 150px at 14% 50%, rgba(242, 177, 58, 0.24), transparent 70%), var(--glass-t);
}
.mis-trofeu { flex: 0 0 104px; width: 104px; height: 104px; margin: -12px 0; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.55)); }
.mis-intro p { font-size: 13.5px; line-height: 1.5; color: var(--text-color); margin: 0; }

/* ---- Missões: lista única com divisórias ---- */
.mis-list {
    background: var(--glass-t); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; overflow: hidden;
    box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.88), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.mis-list .mis-row {
    background: none; border: 0; border-radius: 0; box-shadow: none; outline: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none; transform: none;
    padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mis-list .mis-row:last-child { border-bottom: 0; }
.mis-icon {
    flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; border-width: 1.5px; color: #f2c75c;
    border-color: rgba(242, 199, 92, 0.70); background: radial-gradient(circle at 30% 22%, rgba(242, 199, 92, 0.36), rgba(130, 92, 14, 0.22) 72%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 20px -8px #f2c75c;
}
.mis-row.is-done .mis-icon {
    color: #4af0b4; border-color: rgba(74, 240, 180, 0.65);
    background: radial-gradient(circle at 30% 22%, rgba(74, 240, 180, 0.34), rgba(16, 110, 84, 0.20) 72%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 20px -8px #4af0b4;
}
.mis-title { font-size: 14.5px; font-weight: 600; color: var(--text-color); }
.mis-points { color: #f2c75c; font-weight: 700; font-size: 13px; }
.mis-bar { height: 5px; border-radius: 6px; background: rgba(255, 255, 255, 0.10); overflow: hidden; }
.mis-bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #b38d3f, #f6dc96); box-shadow: 0 0 10px rgba(230, 196, 124, 0.55); }
.mis-count { color: var(--text-muted); font-size: 12.5px; }
.mis-go { padding: 8px 14px; font-size: 12.5px; }
.mis-done {
    border-radius: 9px; padding: 7px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0;
    border: 1px solid rgba(74, 240, 180, 0.45); background: rgba(74, 240, 180, 0.10); color: #4af0b4;
}

/* ---- Missões: progresso diário com presente ---- */
.mis-gift { display: flex; align-items: center; gap: 8px; }
.mis-gift strong { font-family: var(--font-num); font-size: 18px; color: var(--text-color); }
.mis-presente { width: 74px; height: 74px; margin: -10px -6px -10px 0; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5)); }

/* ---- Meus Investimentos ---- */
.inv-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 6px; }
.inv-icon.has-img { flex: 0 0 66px; width: 66px; height: 66px; background: none; border: 0; box-shadow: none; overflow: visible; }
.inv-icon.has-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55)); }
.inv-icon.is-bau { flex-basis: 76px; width: 76px; height: 76px; margin: -6px -4px -6px -6px; }
.inv-name { font-size: 14.5px; font-weight: 600; color: var(--text-color); }
.inv-value { font-size: 20px; font-weight: 600; color: var(--text-color); text-shadow: none; }
.inv-line { font-size: 12.5px; color: var(--text-muted); }
.inv-status.is-on { color: #4af0b4; font-weight: 700; }
.inv-total { text-align: left; }
.inv-total > div { text-align: left; }
.inv-total .com-label { font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--text-color); }
.inv-total h2 { text-align: left; font-family: var(--font-num); font-size: 32px; font-weight: 600; color: var(--text-color); margin: 4px 0 2px; }
.inv-total small { color: var(--text-faint); }

/* ajustes de compactação (Missões) */
.mis-list .mis-row { padding: 11px 16px; gap: 12px; }
.mis-side { gap: 3px; }
.mis-go { padding: 6px 14px; min-height: 0; line-height: 1.25; }
.mis-done { padding: 6px 12px; }
.mis-gift { flex-direction: row; }


/* ---- Ícones preenchidos (Extrato e Missões), como nas referências ---- */
.hist-icon svg, .mis-icon svg { width: 29px; height: 29px; fill: currentColor; stroke: none; filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.35)); }
.mis-icon svg { width: 28px; height: 28px; }


/* ============================================================
   Modal de depósito aberto por um plano (modo "plano fixo"):
   mostra só o valor escolhido (ver deposito.js)
   ============================================================ */
#depositModal .dep-chip-nome { display: none; }
#depositModal .dep-card.dep-fixo .dep-chips-title,
#depositModal .dep-card.dep-fixo .dep-chip:not(.selected),
#depositModal .dep-card.dep-fixo .dep-other,
#depositModal .dep-card.dep-fixo [data-dep-panel="pix"] p.dep-hint:first-of-type { display: none; }

#depositModal .dep-card.dep-fixo .dep-chips { display: block; }
#depositModal .dep-card.dep-fixo .dep-chip.selected {
    display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%;
    padding: 20px 16px; pointer-events: none; cursor: default;
    border: 1px solid rgba(230, 196, 124, 0.55);
    background: radial-gradient(ellipse 260px 120px at 50% 0%, rgba(230, 196, 124, 0.22), transparent 70%), var(--glass-t);
    box-shadow: 0 0 34px -14px rgba(230, 196, 124, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.10);
    color: var(--text-color);
}
#depositModal .dep-card.dep-fixo .dep-chip.selected strong { font-family: var(--font-num); font-size: 34px; font-weight: 600; letter-spacing: -0.01em; color: var(--gold-hi); }
#depositModal .dep-card.dep-fixo .dep-chip.selected small { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-gold-muted); }
#depositModal .dep-card.dep-fixo .dep-chip.selected .dep-chip-nome { display: block; font-size: 14px; font-weight: 600; color: var(--text-color); }


/* ============================================================
   Menu inferior do celular: 4 atalhos + "Mais" (ver app-extras.js)
   — sem rolagem lateral; o resto abre numa folha
   ============================================================ */
@media (max-width: 1023px) {
    .app-bottom-nav .abn-track {
        display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px;
        overflow: visible; padding: 10px 8px 6px;
        -webkit-mask-image: none; mask-image: none;
    }
    .app-bottom-nav button { flex: none; min-width: 0; font-size: 11px; }
    .app-bottom-nav button.abn-extra { display: none; }
}
body.abn-sheet-aberta { overflow: hidden; }
.abn-sheet {
    position: fixed; inset: 0; z-index: 1400; display: flex; align-items: flex-end; justify-content: center;
    background: rgba(2, 6, 12, 0.62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
    opacity: 0; transition: opacity .2s ease;
}
.abn-sheet[hidden] { display: none; }
.abn-sheet.is-open { opacity: 1; }
.abn-sheet-panel {
    width: 100%; max-width: 560px; padding: 10px 16px calc(22px + env(safe-area-inset-bottom, 0px));
    border-radius: 24px 24px 0 0; border: 1px solid rgba(230, 196, 124, 0.30); border-bottom: 0;
    background: linear-gradient(180deg, rgba(24, 44, 66, 0.97), rgba(7, 14, 24, 0.99));
    box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(26px); transition: transform .22s ease;
}
.abn-sheet.is-open .abn-sheet-panel { transform: none; }
.abn-sheet-handle { width: 42px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.22); margin: 2px auto 12px; }
.abn-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.abn-sheet-head strong { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-gold-muted); }
.abn-sheet-close { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--text-muted); cursor: pointer; }
.abn-sheet-close svg { width: 16px; height: 16px; }
.abn-sheet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.abn-sheet-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    min-height: 92px; padding: 12px 6px; border-radius: 16px; cursor: pointer; text-align: center; text-decoration: none;
    background: var(--glass-t); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--text-color);
    font: inherit; font-size: 12px; font-weight: 600; line-height: 1.25;
}
.abn-sheet-item svg { width: 27px; height: 27px; color: var(--gold); }
.abn-sheet-item.is-active { border-color: rgba(230, 196, 124, 0.6); background: rgba(230, 196, 124, 0.12); color: var(--gold-hi); }


/* ---- Topo do celular: logo à esquerda, nome da tela à direita ---- */
.mobile-topbar-logo { display: none; }
@media (max-width: 1023px) {
    body:not(.admin-body) .mobile-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; min-height: 58px; }
    body:not(.admin-body) .mobile-topbar-logo { display: block; height: 36px; width: auto; max-width: 62%; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); }
    body:not(.admin-body) .mobile-topbar-title {
        margin: 0; font-family: var(--font-body); font-size: 11.5px; font-weight: 700;
        letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-gold-muted); text-align: right; white-space: nowrap;
    }
}


/* ============================================================
   Confirmação de e-mail (ver email-gate.js e register.html)
   ============================================================ */
.recaptcha-box { display: flex; justify-content: center; margin: 4px 0 14px; min-height: 0; }
.email-aviso-cadastro { font-size: 12px; line-height: 1.45; color: var(--text-muted); text-align: center; margin: 0 0 14px; }

body.email-gate-aberto { overflow: hidden; }
.email-gate {
    position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 18px;
    background: radial-gradient(ellipse 900px 500px at 50% 0%, rgba(78, 164, 232, 0.22), transparent 70%), rgba(3, 8, 16, 0.94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow-y: auto;
}
.email-gate-card {
    width: 100%; max-width: 440px; margin: auto; padding: 26px 22px 20px; text-align: center; border-radius: 22px;
    background: var(--glass-t); border: 1px solid rgba(230, 196, 124, 0.35);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px -26px rgba(230, 196, 124, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.email-gate-icone {
    display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; color: #f2c75c;
    border: 1.5px solid rgba(242, 199, 92, 0.70); background: radial-gradient(circle at 30% 22%, rgba(242, 199, 92, 0.36), rgba(130, 92, 14, 0.22) 72%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 26px -8px #f2c75c;
}
.email-gate-icone svg { width: 30px; height: 30px; }
.email-gate-card h2 { font-family: var(--font-num); font-size: 26px; font-weight: 600; margin: 0 0 8px; color: var(--text-color); }
.email-gate-texto { font-size: 14px; line-height: 1.5; color: var(--text-muted); margin: 0 0 14px; }
.email-gate-texto strong { color: var(--gold-hi); overflow-wrap: anywhere; }
.email-gate-aviso {
    display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; margin-bottom: 14px; text-align: left; border-radius: 14px; font-size: 13px; line-height: 1.45;
    color: #ffd9a8; background: rgba(255, 140, 60, 0.10); border: 1px solid rgba(255, 150, 70, 0.45);
}
.email-gate-aviso strong { color: #ffb36b; font-size: 13.5px; letter-spacing: 0.02em; }
.email-gate-contagem b { font-family: var(--font-num); font-size: 15px; color: #fff; }
.email-gate.is-expirado .email-gate-contagem b { color: #ff8d8d; }
.email-gate-lista { list-style: none; margin: 0 0 18px; padding: 0; text-align: left; display: grid; gap: 8px; }
.email-gate-lista li {
    position: relative; padding: 9px 12px 9px 36px; font-size: 13.5px; color: var(--text-color); border-radius: 12px;
    background: rgba(255, 125, 125, 0.07); border: 1px solid rgba(255, 125, 125, 0.25);
}
.email-gate-lista li::before { content: '✕'; position: absolute; left: 13px; top: 9px; font-size: 12px; font-weight: 800; color: #ff7d7d; }
.email-gate-acoes { display: grid; gap: 10px; margin-bottom: 12px; }
.email-gate-acoes .btn { width: 100%; }
.email-gate-acoes .btn:disabled { opacity: 0.6; cursor: not-allowed; }
.email-gate-dica { font-size: 12px; color: var(--text-faint); margin: 0 0 8px; }
.email-gate-sair { background: none; border: 0; color: var(--text-muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 6px; }
.email-gate-sair:hover { color: var(--text-color); }


/* ============================================================
   v18 — CORES MAIS SUAVES + LOGIN E CADASTRO (acrescentado ao final)
   Mesmo visual do v17, com menos brilho; e cartão de login/cadastro
   em vidro azul-marinho (antes era cinza-preto), reCAPTCHA centralizado.
   Mexe só em cores e acabamento: nenhum ID, texto ou script muda.
   Para voltar ao v15, apague daqui até o fim do arquivo.
   ============================================================ */
:root {
    /* Fundo: azul-noite mais fechado (menos brilho) */
    --bg-top: #0a1e36;
    --bg-mid: #07172a;
    --bg-bot: #030a14;

    --gold: #e9c77f;
    --gold-hi: #fff3d6;
    --gold-lo: #b8923f;
    --accent-gold: #e9c77f;
    --accent-gold-soft: #fff3d6;
    --accent-gold-deep: #b8923f;

    --text-color: #f6f3ec;
    --text-muted: #b6c2ce;
    --text-faint: #8896a6;

    --glass-a: #14263a;
    --glass-b: #09131f;
    --glass-t:
        linear-gradient(180deg, rgba(255, 244, 214, 0.07) 0%, rgba(255, 244, 214, 0.012) 42%, rgba(255, 244, 214, 0) 70%),
        linear-gradient(180deg, rgba(28, 50, 80, 0.60) 0%, rgba(9, 19, 33, 0.54) 100%);

    --input-bg: #06112a;
    --tabs-bg: #06112a;
    --nav-bg: rgba(6, 14, 27, 0.93);
    --border-soft: rgba(255, 255, 255, 0.07);
    --border-soft-2: rgba(255, 255, 255, 0.12);

    --sidebar-a: #0c2239;
    --sidebar-b: #030913;
}

/* ---- FUNDO DO SITE: aurora azul bem mais discreta ---- */
body::before {
    background:
        radial-gradient(ellipse 1300px 600px at 55% -15%, rgba(84, 172, 240, 0.24), transparent 70%),
        radial-gradient(ellipse 800px 560px at 108% 6%, rgba(64, 120, 240, 0.18), transparent 66%),
        radial-gradient(ellipse 1050px 600px at 2% 118%, rgba(32, 200, 190, 0.15), transparent 68%),
        radial-gradient(ellipse 760px 520px at 102% 110%, rgba(100, 92, 222, 0.11), transparent 68%),
        radial-gradient(ellipse 640px 380px at -5% -8%, rgba(240, 200, 130, 0.06), transparent 66%),
        radial-gradient(ellipse 900px 520px at 52% 46%, rgba(50, 104, 164, 0.08), transparent 72%),
        radial-gradient(ellipse 140% 110% at 50% 46%, transparent 60%, rgba(0, 0, 0, 0.38) 100%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 55%, var(--bg-bot) 100%);
}

/* ---- SIDEBAR: azul-marinho com luz suave e filete dourado ---- */
.sidebar {
    background:
        linear-gradient(180deg, rgba(233, 199, 127, 0.55), rgba(233, 199, 127, 0.10) 45%, rgba(61, 230, 218, 0.30)) right top / 1px 100% no-repeat,
        radial-gradient(ellipse 320px 260px at 0% 0%, rgba(90, 170, 240, 0.17), transparent 70%),
        radial-gradient(ellipse 300px 320px at 0% 100%, rgba(40, 200, 190, 0.12), transparent 70%),
        linear-gradient(180deg, rgba(12, 34, 58, 0.97) 0%, rgba(7, 17, 32, 0.98) 52%, rgba(3, 9, 18, 0.99) 100%);
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.06), 28px 0 70px -32px rgba(0, 0, 0, 0.9);
}
.nav-item { color: #b6c4d4; }
.nav-item .nav-icon { color: #88a8c6; }
.nav-item:hover { color: #fff; background: rgba(130, 190, 245, 0.09); }
.nav-item:hover .nav-icon { color: #dcebfa; }
.nav-item.active {
    color: var(--gold-hi);
    background: linear-gradient(90deg, rgba(233, 199, 127, 0.22), rgba(233, 199, 127, 0.03));
    border-color: rgba(233, 199, 127, 0.32);
    box-shadow: inset 3px 0 0 var(--gold), 0 8px 22px -12px rgba(233, 199, 127, 0.45);
}
.nav-item.active .nav-icon { color: var(--gold); }
.sidebar-brand::after { background: linear-gradient(90deg, transparent, rgba(233, 199, 127, 0.55), transparent); }
.sidebar-footer::before { background: linear-gradient(90deg, transparent, rgba(233, 199, 127, 0.36), transparent); }

/* ---- Topo e menu inferior do celular ---- */
.mobile-topbar { background: var(--nav-bg); }
@media (max-width: 1023px) {
    .app-bottom-nav { background: linear-gradient(180deg, rgba(16, 34, 58, 0.88), rgba(5, 11, 21, 0.94)); }
    .app-bottom-nav button { color: #8ea2b8; }
    .app-bottom-nav button.is-active { color: var(--gold-hi); }
    .abn-sheet-panel { background: linear-gradient(180deg, rgba(20, 40, 66, 0.97), rgba(5, 11, 21, 0.99)); }
}

/* ---- Cartões e bordas ---- */
.stat-card, .quick-action, .home-ativo, .yacht-card, .inv-card, .inv-total, .com-total, .com-card,
.plan-row, .hist-row, .perfil-item, .perfil-atalho, .mis-row, .mis-intro, .mis-progress,
.rules-box, .info-box, .form-box, .profile-card, .com-intro, .com-historico {
    border-color: rgba(255, 255, 255, 0.13);
}
.hist-lista .hist-row, .mis-list .mis-row { border-bottom-color: rgba(255, 255, 255, 0.07); }

/* ---- Saldo e banner: azul-petróleo, brilho reduzido ---- */
.balance-card {
    background:
        repeating-radial-gradient(circle at 96% 108%, rgba(255, 240, 200, 0.04) 0 1px, transparent 1px 16px) padding-box,
        radial-gradient(ellipse 420px 230px at 100% -12%, rgba(61, 230, 218, 0.26), transparent 70%) padding-box,
        radial-gradient(ellipse 340px 200px at -4% 128%, rgba(233, 199, 127, 0.20), transparent 70%) padding-box,
        linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.04) 50%, transparent 62%) padding-box,
        linear-gradient(135deg, #0f4553 0%, #0b3140 46%, #08213f 100%) padding-box,
        linear-gradient(135deg, #fff6dc, rgba(233, 199, 127, 0.40) 32%, rgba(255, 255, 255, 0.08) 60%, rgba(61, 230, 218, 0.55)) border-box;
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9), 0 0 60px -28px rgba(61, 230, 218, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.home-banner {
    background:
        radial-gradient(ellipse 340px 190px at 100% 50%, rgba(61, 230, 218, 0.22), transparent 70%),
        radial-gradient(ellipse 280px 160px at 0% 118%, rgba(233, 199, 127, 0.16), transparent 70%),
        linear-gradient(135deg, #103340, #0a2232 62%, #08182e);
}

/* ---- Menu lateral no desktop: mantém o vidro ---- */
@media (min-width: 1024px) {
    .sidebar { background-color: transparent; }
}

/* ============================================================
   LOGIN E CADASTRO
   ============================================================ */
body:has(#loginForm) .card,
body:has(#registerForm) .card {
    background:
        radial-gradient(ellipse 360px 200px at 50% -8%, rgba(233, 199, 127, 0.12), transparent 70%),
        linear-gradient(180deg, rgba(255, 244, 214, 0.06) 0%, rgba(255, 244, 214, 0) 30%),
        linear-gradient(180deg, rgba(18, 38, 64, 0.90) 0%, rgba(7, 16, 30, 0.94) 100%);
    border: 1px solid rgba(233, 199, 127, 0.32);
    box-shadow:
        0 34px 80px -26px rgba(0, 0, 0, 0.88),
        0 0 70px -34px rgba(233, 199, 127, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
            backdrop-filter: blur(14px) saturate(1.2);
}
body:has(#loginForm) .form-group label,
body:has(#registerForm) .form-group label {
    color: rgba(233, 199, 127, 0.92);
}
body:has(#loginForm) .form-group input,
body:has(#registerForm) .form-group input {
    background: rgba(5, 14, 30, 0.80);
    border-color: rgba(255, 255, 255, 0.14);
}
body:has(#loginForm) .toggle-password,
body:has(#registerForm) .toggle-password { color: var(--text-muted); }
body:has(#loginForm) .toggle-password:hover,
body:has(#registerForm) .toggle-password:hover { color: var(--gold-hi); }
body:has(#loginForm) .link-text,
body:has(#registerForm) .link-text { color: var(--text-muted); }
body:has(#loginForm) .link-text a,
body:has(#registerForm) .link-text a { color: var(--gold); font-weight: 600; }
body:has(#loginForm) .link-text a:hover,
body:has(#registerForm) .link-text a:hover { color: var(--gold-hi); }

/* reCAPTCHA centralizado, com cantos suaves e moldura discreta */
#recaptchaBox {
    display: flex;
    justify-content: center;
    margin: 4px 0 14px !important;
}
#recaptchaBox > div {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 24px -12px rgba(0, 0, 0, 0.8);
}
@media (max-width: 380px) {
    #recaptchaBox { transform: scale(0.88); transform-origin: center; }
}

/* ============================================================
   v17 — PREMIUM "MARINA NOTURNA" (acrescentado ao final)
   Profundidade em camadas (luz, vidro, sombra de contato),
   sidebar com acabamento de metal escuro, turquesa da marca
   para navegação e dourado champanhe só para valor/ação.
   Para voltar ao v15, apague daqui para baixo.
   ============================================================ */
:root {
    --bg-top: #0a2036;
    --bg-mid: #071526;
    --bg-bot: #030812;
    --nav-bg: rgba(6, 15, 28, 0.92);
    --hairline: rgba(190, 225, 255, 0.10);
    --hairline-strong: rgba(190, 225, 255, 0.18);
    --lift-1: 0 1px 0 rgba(255,255,255,.07) inset, 0 -1px 0 rgba(0,0,0,.35) inset, 0 1px 2px rgba(0,0,0,.5), 0 10px 24px -12px rgba(0,0,0,.75);
    --lift-2: 0 1px 0 rgba(255,255,255,.09) inset, 0 -1px 0 rgba(0,0,0,.35) inset, 0 2px 4px rgba(0,0,0,.5), 0 22px 44px -18px rgba(0,0,0,.85);
}
::selection { background: rgba(63, 224, 213, 0.28); color: #fff; }
html { scrollbar-width: thin; scrollbar-color: rgba(150, 200, 240, 0.28) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(150, 200, 240, 0.24); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(150, 200, 240, 0.4); }

/* ---- Fundo: luz de cima, água turquesa embaixo, grade fina e vinheta ---- */
body::before {
    background:
        radial-gradient(ellipse 1200px 560px at 50% -16%, rgba(88, 178, 240, 0.26), transparent 68%),
        radial-gradient(ellipse 760px 520px at -8% 104%, rgba(63, 224, 213, 0.17), transparent 66%),
        radial-gradient(ellipse 760px 520px at 110% 10%, rgba(72, 118, 236, 0.17), transparent 64%),
        radial-gradient(ellipse 520px 320px at 88% 96%, rgba(233, 199, 127, 0.06), transparent 70%),
        radial-gradient(ellipse 150% 115% at 50% 44%, transparent 58%, rgba(0, 0, 0, 0.42) 100%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 55%, var(--bg-bot) 100%);
}
body::after { opacity: 0.30; }

/* ---- Sidebar: metal escuro com reflexo, filete e brilho interno ---- */
.sidebar {
    padding: 26px 14px 20px;
    background:
        linear-gradient(180deg, rgba(233, 199, 127, 0.42), rgba(233, 199, 127, 0.05) 38%, rgba(63, 224, 213, 0.26)) right top / 1px 100% no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0, rgba(255, 255, 255, 0) 140px),
        radial-gradient(ellipse 320px 260px at 0% 0%, rgba(80, 170, 240, 0.18), transparent 70%),
        radial-gradient(ellipse 300px 300px at 0% 100%, rgba(63, 224, 213, 0.12), transparent 70%),
        linear-gradient(180deg, #0c2237 0%, #08182a 50%, #040c18 100%);
    box-shadow: inset -1px 0 0 rgba(255,255,255,.03), 1px 0 0 rgba(0,0,0,.6), 26px 0 60px -30px rgba(0,0,0,.9);
}
.sidebar-brand { padding: 4px 8px 22px; margin-bottom: 18px; gap: 12px; }
.brand-logo-ring { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 22px -6px rgba(63, 224, 213, 0.45); }
.brand-name { color: #fff; letter-spacing: 0.16em; font-size: 12.5px; text-shadow: 0 1px 12px rgba(63, 224, 213, 0.35); }
.sidebar-nav { gap: 4px; }
.nav-item {
    padding: 11px 14px; border-radius: 12px; border: 1px solid transparent;
    color: #a9bdcd; font-weight: 500; letter-spacing: 0.005em;
}
.nav-item .nav-icon { color: #7f9bb2; width: 19px; height: 19px; }
.nav-item:hover {
    color: #fff; padding-left: 14px;
    background: linear-gradient(90deg, rgba(120, 200, 255, 0.10), rgba(120, 200, 255, 0.02));
    border-color: rgba(150, 210, 255, 0.08);
}
.nav-item:hover .nav-icon { color: #e0effb; }
.nav-item.active {
    color: #fff; font-weight: 600;
    background:
        linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0) 60%),
        linear-gradient(90deg, rgba(63, 224, 213, 0.22), rgba(63, 224, 213, 0.05) 90%);
    border-color: rgba(63, 224, 213, 0.26);
    box-shadow: inset 3px 0 0 var(--primary-color), 0 10px 24px -14px rgba(63, 224, 213, 0.6), inset 0 1px 0 rgba(255,255,255,.08);
}
.nav-item.active::before { display: none; }
.nav-item.active .nav-icon { color: var(--primary-color); filter: drop-shadow(0 0 6px rgba(63, 224, 213, 0.55)); }
.sidebar-brand::after { background: linear-gradient(90deg, transparent, rgba(63, 224, 213, 0.45), rgba(233, 199, 127, 0.35), transparent); }
.sidebar-footer::before { background: linear-gradient(90deg, transparent, rgba(190, 225, 255, 0.22), transparent); }
.logout-btn { border-radius: 12px; border: 1px solid transparent; }
.logout-btn:hover { border-color: rgba(255, 112, 128, 0.22); }

/* ---- Cartões: vidro com reflexo no topo e sombra de contato ---- */
.stat-card, .quick-action, .home-ativo, .yacht-card, .inv-card, .inv-total, .com-total, .com-card,
.plan-row, .hist-row, .perfil-item, .perfil-atalho, .mis-row, .mis-intro, .mis-progress,
.rules-box, .info-box, .form-box, .profile-card, .com-intro, .com-historico {
    background:
        linear-gradient(180deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,.015) 38%, rgba(255,255,255,0) 70%),
        linear-gradient(165deg, rgba(22, 44, 68, 0.66) 0%, rgba(8, 18, 31, 0.58) 100%);
    border: 1px solid var(--hairline);
    border-radius: 18px;
    box-shadow: var(--lift-1);
}
.grid-stats .stat-card:nth-child(1) { box-shadow: var(--lift-1), inset 3px 0 0 rgba(62, 224, 164, 0.85); }
.grid-stats .stat-card:nth-child(2) { box-shadow: var(--lift-1), inset 3px 0 0 rgba(233, 199, 127, 0.9); }
.quick-action, .yacht-card, .plan-row, .inv-card, .perfil-item {
    transition: transform 220ms cubic-bezier(.2,.7,.2,1), border-color 220ms, box-shadow 220ms;
}
.quick-action:hover, .yacht-card:hover, .plan-row:hover, .inv-card:hover, .perfil-item:hover {
    transform: translateY(-3px);
    border-color: rgba(63, 224, 213, 0.34);
    box-shadow: var(--lift-2), 0 0 40px -22px rgba(63, 224, 213, 0.55);
}

/* ---- Saldo: superfície de "cartão metálico" azul-petróleo ---- */
.balance-card {
    box-shadow: 0 34px 64px -26px rgba(0,0,0,.92), 0 2px 4px rgba(0,0,0,.5), 0 0 70px -30px rgba(63, 224, 213, 0.45), inset 0 1px 0 rgba(255,255,255,.16), inset 0 -1px 0 rgba(0,0,0,.4);
}
.home-banner { border: 1px solid var(--hairline-strong); box-shadow: var(--lift-1); }

/* ---- Botões: relevo realista ---- */
.btn {
    border-radius: 12px;
    box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 -2px 0 rgba(0,0,0,.18) inset, 0 2px 3px rgba(0,0,0,.4), 0 14px 26px -12px rgba(217, 184, 108, 0.6);
}
.btn.btn-outline { box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }

/* ---- Campos: baixo-relevo com foco turquesa ---- */
.form-group input, .form-group select, .form-group textarea {
    background: rgba(3, 10, 20, 0.72);
    border: 1px solid var(--hairline-strong);
    border-radius: 12px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,.45);
    transition: border-color 180ms, box-shadow 180ms, background 180ms;
}
.form-group input:hover { border-color: rgba(190, 225, 255, 0.28); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: rgba(63, 224, 213, 0.7);
    box-shadow: inset 0 2px 6px rgba(0,0,0,.4), 0 0 0 4px rgba(63, 224, 213, 0.14);
    background: rgba(3, 12, 24, 0.85);
}

/* ---- Modais e avisos ---- */
.modal-overlay { background: rgba(2, 6, 13, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal-card { border-radius: 22px; border: 1px solid var(--hairline-strong); box-shadow: 0 40px 90px -24px rgba(0,0,0,.95), 0 0 0 1px rgba(63,224,213,.10), inset 0 1px 0 rgba(255,255,255,.10); }
.toast { border-radius: 14px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.08); }

/* ---- Celular: topo e menu inferior em vidro ---- */
.mobile-topbar { background: var(--nav-bg); border-bottom: 1px solid var(--hairline); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
@media (max-width: 1023px) {
    .app-bottom-nav {
        background: linear-gradient(180deg, rgba(18, 38, 62, 0.86), rgba(5, 11, 21, 0.95));
        border-top: 1px solid var(--hairline-strong);
        box-shadow: 0 -14px 34px -14px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
        -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    }
    .app-bottom-nav button.is-active { color: #fff; }
    .app-bottom-nav button.is-active::before { background: var(--primary-color); box-shadow: 0 2px 12px rgba(63, 224, 213, 0.75); }
    .app-bottom-nav button.is-active svg { color: var(--primary-color); filter: drop-shadow(0 0 7px rgba(63, 224, 213, 0.6)); }
}
@media (prefers-reduced-motion: reduce) {
    .quick-action:hover, .yacht-card:hover, .plan-row:hover, .inv-card:hover, .perfil-item:hover { transform: none; }
}


/* ============================================================
   v18 — DESKTOP: SIDEBAR RECOLHÍVEL + ACABAMENTO (acrescentado ao final)
   Funciona com o sidebar-toggle.js. Para voltar ao v17, apague
   daqui para baixo e remova o <script> do sidebar-toggle.js.
   ============================================================ */
.sidebar-toggle, .sb-tip, .brand-mark { display: none; }

@media (min-width: 1024px) {
    body.app-body:not(.admin-body) { --sb-w: 284px; }
    body.app-body:not(.admin-body).sb-collapsed { --sb-w: 92px; }

    .app-layout > .sidebar {
        width: var(--sb-w);
        padding: 26px 16px 20px;
        transition: width 320ms cubic-bezier(.2, .8, .2, 1), padding 320ms cubic-bezier(.2, .8, .2, 1);
    }
    body.sb-init .app-layout > .sidebar,
    body.sb-init .sidebar-toggle { transition: none; }

    /* ---- Itens: ícone em "azulejo" de vidro + rótulo ---- */
    .app-layout > .sidebar .nav-item {
        padding: 7px 10px; gap: 13px; border-radius: 14px;
        white-space: nowrap; overflow: hidden;
    }
    .app-layout > .sidebar .nav-item:hover { padding-left: 10px; }
    .app-layout > .sidebar .nav-item .nav-icon {
        width: 36px; height: 36px; padding: 8.5px; border-radius: 11px;
        background: linear-gradient(180deg, rgba(160, 205, 255, 0.10), rgba(160, 205, 255, 0.03));
        border: 1px solid rgba(160, 210, 255, 0.10);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
        transition: background 200ms, border-color 200ms, color 200ms, box-shadow 200ms;
    }
    .app-layout > .sidebar .nav-item:hover .nav-icon { background: rgba(160, 215, 255, 0.14); }
    .app-layout > .sidebar .nav-item.active .nav-icon {
        background: linear-gradient(180deg, rgba(63, 224, 213, 0.30), rgba(63, 224, 213, 0.12));
        border-color: rgba(63, 224, 213, 0.45);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 16px -6px rgba(63, 224, 213, 0.6);
        color: #eafffd; filter: none;
    }
    .app-layout > .sidebar .nav-item.active {
        box-shadow: inset 3px 0 0 var(--primary-color), 0 10px 26px -14px rgba(63, 224, 213, 0.55), inset 0 1px 0 rgba(255,255,255,.07);
    }

    /* ---- Rodapé ---- */
    .telegram-btn {
        padding: 8px 10px; border-radius: 14px; gap: 13px;
        background: linear-gradient(90deg, rgba(84, 198, 235, 0.14), rgba(84, 198, 235, 0.04));
        border: 1px solid rgba(84, 198, 235, 0.24);
        white-space: nowrap; overflow: hidden;
    }
    .telegram-btn:hover { border-color: rgba(84, 198, 235, 0.5); box-shadow: 0 10px 24px -14px rgba(84, 198, 235, 0.7); }
    .logout-btn { padding: 9px 10px; gap: 13px; white-space: nowrap; overflow: hidden; }
    .logout-btn .nav-icon { width: 36px; height: 36px; padding: 8.5px; border-radius: 11px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(160, 210, 255, 0.08); }
    .logout-btn:hover .nav-icon { background: rgba(255, 112, 128, 0.14); border-color: rgba(255, 112, 128, 0.3); }

    /* ---- Botão de recolher: pastilha de vidro na borda do menu ---- */
    .sidebar-toggle {
        display: grid; place-items: center;
        position: fixed; top: 38px; left: calc(var(--sb-w) - 16px);
        width: 32px; height: 32px; padding: 0; z-index: 60;
        border-radius: 50%; cursor: pointer;
        color: #cfe3f3;
        background: linear-gradient(180deg, rgba(34, 62, 92, 0.96), rgba(10, 24, 40, 0.98));
        border: 1px solid rgba(160, 215, 255, 0.28);
        box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.14);
        transition: left 320ms cubic-bezier(.2, .8, .2, 1), color 180ms, border-color 180ms, box-shadow 180ms, transform 180ms;
    }
    body:not(.app-body) .sidebar-toggle, .admin-body .sidebar-toggle { display: none; }
    .sidebar-toggle svg { width: 16px; height: 16px; transition: transform 320ms cubic-bezier(.2, .8, .2, 1); }
    .sidebar-toggle:hover { color: #fff; border-color: rgba(63, 224, 213, 0.65); box-shadow: 0 8px 22px -6px rgba(0,0,0,.8), 0 0 0 4px rgba(63, 224, 213, 0.12), inset 0 1px 0 rgba(255,255,255,.18); }
    .sidebar-toggle:active { transform: scale(0.92); }
    .sidebar-toggle:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 3px; }
    body.sb-collapsed .sidebar-toggle svg { transform: rotate(180deg); }

    /* ---- Tooltip do modo recolhido ---- */
    .sb-tip {
        display: block; position: fixed; z-index: 80; pointer-events: none;
        transform: translate(-6px, -50%); opacity: 0;
        padding: 7px 12px; border-radius: 10px;
        font-size: 12.5px; font-weight: 600; color: #eef7fb; white-space: nowrap;
        background: linear-gradient(180deg, rgba(20, 40, 64, 0.97), rgba(8, 18, 32, 0.98));
        border: 1px solid rgba(160, 215, 255, 0.2);
        box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255,255,255,.08);
        transition: opacity 140ms, transform 140ms;
    }
    .sb-tip.is-on { opacity: 1; transform: translate(0, -50%); }

    /* ================= MODO RECOLHIDO ================= */
    body.sb-collapsed .app-layout > .sidebar { padding: 26px 12px 20px; }
    body.sb-collapsed .brand-lockup { display: none; }
    body.sb-collapsed .brand-mark {
        display: block; width: 52px; height: 52px; border-radius: 16px; object-fit: cover;
        box-shadow: 0 0 0 1px rgba(233, 199, 127, 0.45), 0 10px 24px -8px rgba(63, 224, 213, 0.45);
    }
    body.sb-collapsed .sidebar-brand { padding: 4px 0 18px; margin-bottom: 14px; }
    body.sb-collapsed .app-layout > .sidebar .nav-item,
    body.sb-collapsed .telegram-btn,
    body.sb-collapsed .logout-btn { justify-content: center; padding-left: 0; padding-right: 0; gap: 0; }
    body.sb-collapsed .app-layout > .sidebar .nav-item:hover { padding-left: 0; }
    body.sb-collapsed .nav-item > span,
    body.sb-collapsed .logout-btn > span,
    body.sb-collapsed .telegram-btn > span:not(.telegram-mark) { display: none; }
    body.sb-collapsed .app-layout > .sidebar .nav-item.active {
        background: transparent; box-shadow: none; border-color: transparent;
    }
    body.sb-collapsed .app-layout > .sidebar .nav-item.active::after {
        content: ""; position: absolute; left: -12px; top: 12px; bottom: 12px; width: 3px;
        border-radius: 0 4px 4px 0; background: var(--primary-color); box-shadow: 0 0 12px rgba(63, 224, 213, 0.6);
    }
    body.sb-collapsed .telegram-btn { background: none; border-color: transparent; }
    body.sb-collapsed .telegram-btn:hover { background: rgba(84, 198, 235, 0.12); }
}

@media (prefers-reduced-motion: reduce) {
    .app-layout > .sidebar, .sidebar-toggle, .sidebar-toggle svg, .sb-tip { transition: none !important; }
}


/* ============================================================
   v19 — MODAIS PREMIUM (acrescentado ao final)
   Depósito e Saque: vidro em camadas, abas segmentadas, valores em
   destaque, QR em moldura clara. No celular vira "folha" que sobe
   de baixo. Para voltar ao v18, apague daqui para baixo.
   ============================================================ */
:root {
    --modal-surface:
        radial-gradient(ellipse 420px 220px at 50% -8%, rgba(63, 224, 213, 0.16), transparent 70%),
        radial-gradient(ellipse 360px 240px at 105% 112%, rgba(233, 199, 127, 0.09), transparent 66%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 22%),
        linear-gradient(170deg, #11273d 0%, #0a1b2d 55%, #07131f 100%);
    --tile: linear-gradient(180deg, rgba(160, 205, 255, 0.075), rgba(160, 205, 255, 0.025));
    --tile-border: 1px solid rgba(160, 210, 255, 0.13);
}

/* ---- Fundo atrás do modal: escurece e dá um tom azul ---- */
.modal-overlay {
    background:
        radial-gradient(ellipse 900px 520px at 50% 30%, rgba(40, 110, 170, 0.20), transparent 70%),
        rgba(2, 7, 14, 0.78);
    -webkit-backdrop-filter: blur(10px) saturate(1.1);
            backdrop-filter: blur(10px) saturate(1.1);
}
.modal-overlay.open .modal-card { animation: modal-pop 280ms cubic-bezier(.2, .9, .25, 1) both; }
@keyframes modal-pop {
    from { opacity: 0; transform: translateY(14px) scale(.975); }
    to   { opacity: 1; transform: none; }
}

/* ---- Cartão do modal ---- */
.modal-card {
    max-width: 456px;
    padding: 26px 24px 22px;
    background: var(--modal-surface);
    border: 1px solid rgba(160, 215, 255, 0.16);
    border-radius: 24px;
    box-shadow:
        0 50px 100px -30px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(0, 0, 0, 0.5),
        0 0 80px -30px rgba(63, 224, 213, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}
.modal-card::before {
    background: linear-gradient(90deg, transparent, rgba(63, 224, 213, 0.7) 30%, rgba(233, 199, 127, 0.7) 70%, transparent) top center / 70% 1px no-repeat;
    opacity: 1;
}
.dep-card, .saque-card {
    max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
    overflow-y: auto; scrollbar-width: thin;
}
.modal-card h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.modal-close {
    background: var(--tile); border: var(--tile-border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

/* ---- Cabeçalho (Depósito e Saque) ---- */
.dep-header, .saque-header { margin-bottom: 18px; }
.dep-back, .saque-icon-btn {
    width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
    background: var(--tile); border: var(--tile-border); color: #cfe3f3; cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
    transition: background 180ms, border-color 180ms, color 180ms, transform 180ms;
}
.dep-back:hover, .saque-icon-btn:hover { color: #fff; border-color: rgba(63, 224, 213, 0.5); background: rgba(63, 224, 213, 0.10); }
.dep-back:active, .saque-icon-btn:active { transform: scale(.94); }
.dep-back svg, .saque-icon-btn svg { width: 18px; height: 18px; }

/* ---- Abas do depósito: controle segmentado ---- */
#depositModal .dep-tabs {
    padding: 4px; gap: 4px; border-radius: 14px;
    background: rgba(3, 10, 20, 0.6);
    border: 1px solid rgba(160, 210, 255, 0.10);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45);
}
#depositModal .dep-tab {
    margin: 0; border-radius: 10px; font-weight: 600; letter-spacing: 0.01em;
    transition: background 180ms, color 180ms, box-shadow 180ms;
}
#depositModal .dep-tab.btn-outline { background: transparent; border-color: transparent; color: var(--text-muted); box-shadow: none; }
#depositModal .dep-tab.btn-outline:hover { color: #fff; background: rgba(160, 210, 255, 0.07); }

/* ---- Faixa "Deposite via Pix" ---- */
.dep-banner {
    background: linear-gradient(90deg, rgba(63, 224, 213, 0.13), rgba(63, 224, 213, 0.03));
    border: 1px solid rgba(63, 224, 213, 0.24); border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.dep-banner-icon {
    border-radius: 12px; color: var(--primary-color);
    background: linear-gradient(180deg, rgba(63, 224, 213, 0.26), rgba(63, 224, 213, 0.08));
    border: 1px solid rgba(63, 224, 213, 0.4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 8px 18px -8px rgba(63, 224, 213, 0.6);
}
.dep-label, .saque-label {
    font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-gold-muted);
}
.dep-link { color: var(--primary-color); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Valores (chips) e origem do saque: lado a lado, com estado marcado ---- */
#depositModal .dep-chip, #sacarModal .saque-origem {
    border-radius: 14px; padding: 12px 8px;
    transition: transform 160ms, border-color 160ms, background 160ms, box-shadow 160ms;
}
#depositModal .dep-chip.btn-outline, #sacarModal .saque-origem.btn-outline {
    background: var(--tile); border: var(--tile-border); color: var(--text-color);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
#depositModal .dep-chip.btn-outline:hover, #sacarModal .saque-origem.btn-outline:hover {
    border-color: rgba(63, 224, 213, 0.5); transform: translateY(-2px);
}
#depositModal .dep-chip:not(.btn-outline), #sacarModal .saque-origem:not(.btn-outline) {
    box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 12px 24px -12px rgba(217, 184, 108, 0.7);
}

/* ---- Saldo, taxas e resumo do saque ---- */
.withdraw-balance-box {
    border-radius: 14px; padding: 14px 16px;
    background: linear-gradient(90deg, rgba(233, 199, 127, 0.12), rgba(233, 199, 127, 0.02));
    border: 1px solid rgba(233, 199, 127, 0.28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.withdraw-balance-box strong { color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.withdraw-summary {
    background: var(--tile); border: var(--tile-border); border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.saque-info .withdraw-summary strong { font-variant-numeric: tabular-nums; }
.saque-resumo { background: rgba(3, 10, 20, 0.45); }
.saque-liquido {
    margin-top: 6px; padding-top: 10px; border-top: 1px dashed rgba(160, 210, 255, 0.2);
}
.saque-liquido strong { color: var(--success); font-size: 1.1em; font-variant-numeric: tabular-nums; }
.saque-metodo {
    border-radius: 14px; background: var(--tile); border: 1px solid rgba(63, 224, 213, 0.38);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 3px rgba(63, 224, 213, 0.06);
}
.saque-radio { border: 2px solid var(--primary-color); box-shadow: 0 0 10px rgba(63, 224, 213, 0.5); }
#sacarModal .withdraw-summary .withdraw-key-set { color: var(--success); }
#sacarModal .withdraw-summary .withdraw-key-missing { color: var(--warning); }

/* ---- Pix: aguardando, QR em moldura clara e código ---- */
.pix-waiting {
    border-radius: 14px; padding: 12px 14px; font-weight: 600;
    background: linear-gradient(90deg, rgba(255, 200, 96, 0.14), rgba(255, 200, 96, 0.04));
    border: 1px solid rgba(255, 200, 96, 0.3); color: var(--warning);
}
.pix-qr-panel { background: var(--tile); border: var(--tile-border); border-radius: 18px; }
#qrcodeCanvas { display: grid; place-items: center; }
#qrcodeCanvas img, #qrcodeCanvas canvas {
    padding: 12px; background: #fff; border-radius: 16px;
    box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255,255,255,.4);
}
.pix-code-box {
    background: rgba(3, 10, 20, 0.7); border: 1px dashed rgba(160, 210, 255, 0.28);
    border-radius: 12px; color: #cfe3f3; box-shadow: inset 0 2px 6px rgba(0,0,0,.4);
}

/* ---- Selos de confiança do depósito ---- */
.dep-features { border-top: 1px solid rgba(160, 210, 255, 0.10); }
.dep-feature svg { color: var(--primary-color); }

/* ---- Notas e dicas ---- */
.dep-hint, .dep-note, .saque-nota, .saque-regra { line-height: 1.5; }
.dep-hint strong { color: var(--gold-hi); }

/* ---- Celular: o modal vira uma folha que sobe de baixo ---- */
@media (max-width: 600px) {
    .modal-overlay { align-items: flex-end; padding: 0; }
    .modal-card {
        max-width: 100%; border-radius: 26px 26px 0 0;
        padding: 20px 18px calc(22px + env(safe-area-inset-bottom, 0px));
        border-bottom: 0;
    }
    .dep-card, .saque-card { max-height: 92vh; max-height: 92dvh; }
    .modal-overlay.open .modal-card { animation: sheet-up 320ms cubic-bezier(.2, .9, .25, 1) both; }
    .dep-card::after, .saque-card::after { display: none; }
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .modal-overlay.open .modal-card { animation: none; }
}


/* ============================================================
   v20 — SELO VIP COM A COROA DO NÍVEL (acrescentado ao final)
   O ícone do plano (icone-*.png) aparece no selo, saindo um pouco
   da pílula. Sem VIP (nível 0) continua o selo discreto com a coroa.
   ============================================================ */
.vip-badge-img { display: block; object-fit: contain; flex-shrink: 0; }
.vip-badge-img[hidden] { display: none; }
.vip-badge.has-img {
    position: relative;
    gap: 6px;
    min-height: 26px;
    padding: 3px 13px 3px 36px;
    margin-left: 4px;
}
.vip-badge.has-img > svg { display: none; }
.vip-badge.has-img .vip-badge-img {
    position: absolute;
    left: -10px; top: 50%;
    width: 40px; height: 40px;
    transform: translateY(-50%);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55));
}
.vip-badge.has-img > span { letter-spacing: 0.12em; }
.home-meta, .perfil-user { overflow: visible; }

/* ============================================================
   v21 — SELO VIP AO LADO DO NOME DO PLANO (acrescentado ao final)
   Em Investir/Ciclos o nome e o selo ficam sempre na mesma linha,
   como em Prata e Ouro. Para caber nos nomes mais longos ("Plano
   Iniciante") o selo ficou mais compacto e, no celular, a coroa do
   plano e a pilha de moedas ocupam um pouco menos de largura.
   ============================================================ */
.plan-name { flex-wrap: nowrap; gap: 8px; align-items: center; }
.plan-name > span:first-child { flex: 0 0 auto; white-space: nowrap; }
.plan-name .vip-badge {
    flex-shrink: 0;
    gap: 4px;
    padding: 3px 9px 3px 7px;
    font-size: 10px;
    letter-spacing: 0.07em;
    line-height: 1.2;
    white-space: nowrap;
}
.plan-name .vip-badge svg { width: 11px; height: 11px; }

@media (max-width: 430px) {
    .plan-row { gap: 10px; padding: 12px; }
    .plan-icon.has-img { flex: 0 0 46px; width: 46px; height: 46px; }
    .plan-icon.has-img img { width: 100%; height: 100%; object-fit: contain; }
    .plan-art { width: 92px; height: 62px; }
    .plan-buy { min-width: 84px; }
    .plan-side { width: 92px; }
}
@media (max-width: 380px) {
    .plan-name { gap: 6px; font-size: 13px; }
    .plan-name .vip-badge { padding: 2px 8px; letter-spacing: 0.05em; }
    .plan-name .vip-badge svg { display: none; }
    .plan-icon.has-img { flex-basis: 40px; width: 40px; height: 40px; }
}


/* ============================================================
   v22 — MISSÕES: TROFÉU E PRESENTE NO ESTILO DO APP (acrescentado ao final)
   Os desenhos novos (trofeu.svg e presente.svg) usam a paleta do app:
   ouro champanhe, azul-marinho e turquesa. Para voltar às imagens
   antigas, troque .svg por .png no index.html e apague este bloco.
   ============================================================ */
.mis-intro {
    border-color: rgba(233, 199, 127, 0.26);
    background:
        radial-gradient(ellipse 220px 150px at 13% 50%, rgba(233, 199, 127, 0.20), transparent 70%),
        radial-gradient(ellipse 260px 160px at 100% 100%, rgba(63, 224, 213, 0.10), transparent 70%),
        var(--glass-t);
}
.mis-trofeu {
    flex-basis: 112px; width: 112px; height: 112px; margin: -14px -4px -14px 0;
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.5));
}
.mis-presente {
    width: 90px; height: 90px; margin: -16px -10px -16px 0;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45));
}
.mis-progress {
    background:
        radial-gradient(ellipse 200px 120px at 100% 50%, rgba(63, 224, 213, 0.12), transparent 70%),
        var(--glass-t);
}


/* ============================================================
   v23 — CUPOM PREMIUM (acrescentado ao final)
   Banner em formato de ingresso com picote, cartões de vidro iguais
   aos do resto do app, ícones em azulejos, campo do código maior e
   botão dourado. Para voltar ao v22, apague daqui para baixo.
   ============================================================ */
#section-cupom { --cp-gold: #e9c77f; --cp-gold-light: #fbeab5; --cp-gold-dark: #b98a35; }

/* ---- Banner (ingresso) ---- */
#section-cupom .cp-header {
    padding: 22px 132px 22px 22px;
    margin-bottom: 16px;
    border-radius: 22px;
    border: 1px solid rgba(233, 199, 127, 0.30);
    background:
        radial-gradient(ellipse 240px 170px at 100% 50%, rgba(63, 224, 213, 0.22), transparent 70%),
        radial-gradient(ellipse 260px 160px at 0% 0%, rgba(233, 199, 127, 0.14), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 45%),
        linear-gradient(160deg, #123049 0%, #0a1d2f 60%, #07131f 100%);
    box-shadow: var(--lift-2);
    overflow: hidden;
}
/* picote vertical + entalhes de ingresso */
#section-cupom .cp-header::before {
    content: ""; position: absolute; top: 14px; bottom: 14px; right: 108px; width: 0;
    border-left: 2px dashed rgba(233, 199, 127, 0.38);
}
#section-cupom .cp-header::after {
    content: ""; position: absolute; right: 99px; top: -10px; width: 20px; height: 20px; border-radius: 50%;
    background: #081726; box-shadow: 0 0 0 1px rgba(233, 199, 127, 0.30), 0 118px 0 0 #081726, 0 118px 0 1px rgba(233, 199, 127, 0.30);
}
#section-cupom .cp-header h1 {
    margin: 0 0 6px; font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: 0.10em;
    background: linear-gradient(180deg, #ffffff, #f3dfaa); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
#section-cupom .cp-header p { max-width: none; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
#section-cupom .cp-header-icon {
    right: 22px; width: 68px; height: 68px; padding: 15px; border-radius: 20px;
    transform: translateY(-50%) rotate(-8deg);
    color: #eafffd;
    background: linear-gradient(180deg, rgba(63, 224, 213, 0.38), rgba(63, 224, 213, 0.12));
    border: 1px solid rgba(63, 224, 213, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 14px 26px -10px rgba(63, 224, 213, 0.65);
    filter: drop-shadow(0 0 10px rgba(63, 224, 213, 0.35));
}

/* ---- Cartões de vidro ---- */
#section-cupom .cp-card {
    padding: 18px;
    margin-bottom: 16px;
    border-radius: 20px;
    border: 1px solid var(--hairline);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015) 38%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(165deg, rgba(22, 44, 68, 0.66), rgba(8, 18, 31, 0.58));
    box-shadow: var(--lift-1);
}
#section-cupom .cp-card-titulo { gap: 14px; margin-bottom: 16px; align-items: center; }
#section-cupom .cp-card-titulo > svg,
#section-cupom .cp-como > svg {
    width: 46px; height: 46px; padding: 11px; border-radius: 14px; flex: 0 0 auto;
    color: var(--primary-color);
    background: linear-gradient(180deg, rgba(63, 224, 213, 0.22), rgba(63, 224, 213, 0.06));
    border: 1px solid rgba(63, 224, 213, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 18px -8px rgba(63, 224, 213, 0.5);
}
#section-cupom .cp-card-titulo h3, #section-cupom .cp-como h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: #fff; }
#section-cupom .cp-card-titulo p, #section-cupom .cp-como p { font-size: 13px; line-height: 1.5; color: var(--text-muted); }

/* ---- Campo do código ---- */
#section-cupom .cp-campo {
    padding: 0 16px; margin-bottom: 14px; border-radius: 14px;
    background: rgba(3, 10, 20, 0.72);
    border: 1px solid var(--hairline-strong);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: border-color 180ms, box-shadow 180ms;
}
#section-cupom .cp-campo > svg { width: 22px; height: 22px; color: rgba(233, 199, 127, 0.8); }
#section-cupom .cp-campo input {
    padding: 17px 0; font-size: 16px; font-weight: 700; letter-spacing: 0.16em; color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
#section-cupom .cp-campo input::placeholder { font-family: var(--font-body, inherit); font-weight: 400; letter-spacing: 0; color: #5f7890; }
#section-cupom .cp-campo:focus-within {
    border-color: rgba(233, 199, 127, 0.7);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(233, 199, 127, 0.14);
}

/* ---- Botão dourado (igual aos demais botões do app) ---- */
#section-cupom .cp-btn {
    padding: 15px; border-radius: 14px; font-size: 15px; font-weight: 800; letter-spacing: 0.10em; color: #2a1b00;
    background: linear-gradient(180deg, #fbeab5 0%, #ecca7c 45%, #cfa24c 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 -2px 0 rgba(0, 0, 0, 0.18) inset, 0 2px 3px rgba(0, 0, 0, 0.4), 0 16px 28px -12px rgba(217, 184, 108, 0.65);
}
#section-cupom .cp-btn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.05); }
#section-cupom .cp-btn:active:not(:disabled) { transform: translateY(0) scale(0.99); }

/* ---- Como funciona ---- */
#section-cupom .cp-como {
    align-items: flex-start; gap: 14px;
    border-left: 3px solid rgba(63, 224, 213, 0.75);
}
#section-cupom .cp-como h3 { margin: 2px 0 6px; }

/* ---- Meus cupons ---- */
#section-cupom .cp-lista-topo { margin-bottom: 14px; }
#section-cupom .cp-lista-topo h3 { font-family: var(--font-display); font-size: 15px; flex: 1; min-width: 0; line-height: 1.25; font-weight: 700; color: #fff; gap: 10px; }
#section-cupom .cp-lista-topo h3 svg {
    flex: 0 0 34px; width: 34px; height: 34px; padding: 8px; border-radius: 11px; color: var(--cp-gold);
    background: linear-gradient(180deg, rgba(233, 199, 127, 0.22), rgba(233, 199, 127, 0.06));
    border: 1px solid rgba(233, 199, 127, 0.32);
}
#section-cupom .cp-ver-todos { color: var(--primary-color); font-weight: 600; text-decoration: none; padding: 6px 10px; border-radius: 10px; white-space: nowrap; flex: 0 0 auto; }
#section-cupom .cp-ver-todos:hover { background: rgba(63, 224, 213, 0.10); }
#section-cupom .cp-item {
    gap: 14px; padding: 12px 14px; margin-bottom: 10px; border-radius: 16px;
    background: linear-gradient(180deg, rgba(160, 205, 255, 0.075), rgba(160, 205, 255, 0.025));
    border: 1px solid rgba(160, 210, 255, 0.13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
#section-cupom .cp-item-ico,
#section-cupom .cp-item:nth-child(even) .cp-item-ico {
    flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border-radius: 13px; color: #4af0b4;
    background: linear-gradient(180deg, rgba(74, 240, 180, 0.20), rgba(74, 240, 180, 0.05));
    border: 1px solid rgba(74, 240, 180, 0.32);
}
#section-cupom .cp-item-codigo { font-size: 15px; font-weight: 800; letter-spacing: 0.08em; color: var(--cp-gold-light); word-break: normal; overflow-wrap: anywhere; }
#section-cupom .cp-item-data { margin-top: 2px; font-size: 12px; color: var(--text-faint); }
#section-cupom .cp-item-status {
    padding: 7px 12px; border-radius: 12px; gap: 1px;
    border: 1px solid rgba(74, 240, 180, 0.38);
    background: linear-gradient(180deg, rgba(74, 240, 180, 0.16), rgba(74, 240, 180, 0.05));
    color: #4af0b4; letter-spacing: 0.02em;
}
#section-cupom .cp-item-status strong { color: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }
#section-cupom .cp-vazio {
    padding: 22px 14px; border-radius: 14px; border: 1px dashed rgba(160, 210, 255, 0.22);
    background: rgba(3, 10, 20, 0.35); color: var(--text-faint);
}
@media (max-width: 380px) {
    #section-cupom .cp-header { padding-right: 112px; }
    #section-cupom .cp-header::before { right: 90px; }
    #section-cupom .cp-header::after { right: 81px; }
    #section-cupom .cp-header-icon { right: 16px; width: 58px; height: 58px; padding: 12px; }
    #section-cupom .cp-header h1 { font-size: 26px; }
}
@media (max-width: 380px) {
    #section-cupom .cp-card { padding: 16px 14px; }
    #section-cupom .cp-item { gap: 10px; padding: 10px; }
    #section-cupom .cp-item-ico,
    #section-cupom .cp-item:nth-child(even) .cp-item-ico { flex-basis: 38px; width: 38px; height: 38px; padding: 8px; }
    #section-cupom .cp-item-codigo { font-size: 14px; letter-spacing: 0.04em; }
    #section-cupom .cp-item-data { font-size: 11px; }
    #section-cupom .cp-item-status { padding: 6px 9px; }
    #section-cupom .cp-item-status strong { font-size: 14px; }
}


/* ============================================================
   v24 — GERENTE PREMIUM (acrescentado ao final)
   Banner de vidro com ícone em azulejo, cartões de atendimento com
   avatar novo (aro degradê + ponto de status), e botão verde do
   WhatsApp. Para voltar ao v23, apague daqui para baixo.
   ============================================================ */
#section-gerente { --ger-whats-1: #46ec91; --ger-whats-2: #1fc16c; --ger-whats-3: #12975a; }

/* ---- Banner ---- */
#section-gerente .ger-header {
    padding: 22px; gap: 16px; margin-bottom: 18px; border-radius: 22px;
    border: 1px solid rgba(233, 199, 127, 0.28);
    background:
        radial-gradient(ellipse 260px 170px at 100% 50%, rgba(63, 224, 213, 0.22), transparent 70%),
        radial-gradient(ellipse 260px 160px at 0% 0%, rgba(233, 199, 127, 0.13), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 45%),
        linear-gradient(160deg, #123049 0%, #0a1d2f 60%, #07131f 100%);
    box-shadow: var(--lift-2);
}
#section-gerente .ger-header-icon {
    flex: 0 0 64px; width: 64px; height: 64px; padding: 15px; border-radius: 20px;
    color: #eafffd;
    background: linear-gradient(180deg, rgba(63, 224, 213, 0.36), rgba(63, 224, 213, 0.10));
    border: 1px solid rgba(63, 224, 213, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 14px 26px -10px rgba(63, 224, 213, 0.6);
    filter: none;
}
#section-gerente .ger-header h1 {
    margin: 0 0 4px; font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: 0.02em;
    background: linear-gradient(180deg, #ffffff, #f3dfaa); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
#section-gerente .ger-header p { color: var(--text-muted); font-size: 14px; }
#section-gerente .ger-resumo {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 5px 12px 5px 10px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: #7ff3b5;
    background: rgba(70, 236, 145, 0.10); border: 1px solid rgba(70, 236, 145, 0.30); border-radius: 999px;
}
#section-gerente .ger-resumo::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%; background: #46ec91; box-shadow: 0 0 8px #46ec91;
}

/* ---- Cartões ---- */
#section-gerente .ger-lista { gap: 14px; }
#section-gerente .ger-card {
    gap: 16px; padding: 16px; border-radius: 20px;
    border: 1px solid var(--hairline);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015) 38%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(165deg, rgba(22, 44, 68, 0.66), rgba(8, 18, 31, 0.58));
    box-shadow: var(--lift-1);
    transition: transform 220ms cubic-bezier(.2, .7, .2, 1), border-color 220ms, box-shadow 220ms;
}
#section-gerente .ger-card:hover {
    transform: translateY(-3px); border-color: rgba(70, 236, 145, 0.32);
    box-shadow: var(--lift-2), 0 0 40px -24px rgba(70, 236, 145, 0.6);
}

/* ---- Avatar com aro degradê e ponto de status ---- */
#section-gerente .ger-avatar-wrap { position: relative; flex: 0 0 auto; width: 70px; height: 70px; }
#section-gerente .ger-avatar {
    width: 70px; height: 70px; padding: 3px; border: 0; border-radius: 50%; overflow: hidden;
    background: conic-gradient(from 210deg, #f1d58b, #3fe0d5, #f1d58b);
    box-shadow: 0 10px 22px -8px rgba(63, 224, 213, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
#section-gerente .ger-avatar svg { border-radius: 50%; background: #0a1c2d; }
#section-gerente .ger-dot {
    position: absolute; right: 1px; bottom: 3px; width: 16px; height: 16px; border-radius: 50%;
    background: #46ec91; border: 3px solid #0a1c2d; box-shadow: 0 0 10px rgba(70, 236, 145, 0.8);
    animation: ger-pulso 2.4s ease-in-out infinite;
}
#section-gerente .ger-dot.is-offline { background: #6f8398; box-shadow: none; animation: none; }
@keyframes ger-pulso { 0%, 100% { box-shadow: 0 0 6px rgba(70, 236, 145, 0.6); } 50% { box-shadow: 0 0 14px rgba(70, 236, 145, 1); } }

/* ---- Textos ---- */
#section-gerente .ger-linha { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
#section-gerente .ger-nome { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; }
#section-gerente .ger-status {
    padding: 3px 10px 3px 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; color: #7ff3b5;
    background: rgba(70, 236, 145, 0.10); border: 1px solid rgba(70, 236, 145, 0.28); border-radius: 999px;
}
#section-gerente .ger-status.is-offline { color: #9db0c2; background: rgba(150, 175, 200, 0.08); border-color: rgba(150, 175, 200, 0.22); }
#section-gerente .ger-status::before { width: 7px; height: 7px; }
#section-gerente .ger-desc { margin: 8px 0 0; padding: 0; border: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }

/* ---- Botão WhatsApp ---- */
#section-gerente .ger-btn {
    gap: 11px; padding: 9px 14px 9px 10px; border-radius: 15px; min-width: 190px;
    color: #052e1a;
    background: linear-gradient(180deg, var(--ger-whats-1) 0%, var(--ger-whats-2) 55%, var(--ger-whats-3) 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 -2px 0 rgba(0, 0, 0, 0.16) inset, 0 2px 3px rgba(0, 0, 0, 0.4), 0 16px 28px -12px rgba(31, 193, 108, 0.7);
}
#section-gerente .ger-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
#section-gerente .ger-btn:active { transform: translateY(0) scale(0.985); }
#section-gerente .ger-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
#section-gerente .ger-btn-ico {
    display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
#section-gerente .ger-btn-ico svg { width: 22px; height: 22px; }
#section-gerente .ger-btn-txt { display: flex; flex-direction: column; flex: 1; font-size: 15px; font-weight: 800; line-height: 1.15; }
#section-gerente .ger-btn-txt small { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; opacity: 0.8; }
#section-gerente .ger-btn .ger-seta { width: 16px; height: 16px; transition: transform 180ms; }
#section-gerente .ger-btn:hover .ger-seta { transform: translateX(3px); }

@media (max-width: 560px) {
    #section-gerente .ger-header { padding: 18px; }
    #section-gerente .ger-header h1 { font-size: 25px; }
    #section-gerente .ger-card { flex-wrap: wrap; gap: 14px; }
    #section-gerente .ger-info { flex: 1 1 0; min-width: 0; }
    #section-gerente .ger-btn { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
    #section-gerente .ger-dot { animation: none; }
    #section-gerente .ger-card:hover { transform: none; }
}


/* ============================================================
   v25 — CUPOM: SEGUNDA RODADA (acrescentado ao final)
   Banner com marca d'água e resumo em pílulas, "Como funciona" em 4
   passos, campo do código maior, brilho no botão e, no computador, duas
   colunas (resgatar | como funciona) em vez de cartões esticados.
   Para voltar ao v24, apague daqui para baixo e desfaça as 2 trocas
   no index.html (pílulas do banner e a lista de passos).
   ============================================================ */

/* ---- Banner: marca d'água de ingresso + pílulas ---- */
#section-cupom .cp-header {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9c77f' stroke-opacity='.30' stroke-width='.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9a2 2 0 0 0 0 6v3a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-3a2 2 0 0 1 0-6V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1Z'/%3E%3Cpath d='M9 9l6 6'/%3E%3C/svg%3E") right 158px center / 128px no-repeat,
        radial-gradient(ellipse 240px 170px at 100% 50%, rgba(63, 224, 213, 0.22), transparent 70%),
        radial-gradient(ellipse 260px 160px at 0% 0%, rgba(233, 199, 127, 0.14), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 45%),
        linear-gradient(160deg, #123049 0%, #0a1d2f 60%, #07131f 100%);
}
#section-cupom .cp-header h1, #section-cupom .cp-header p { position: relative; z-index: 1; }
#section-cupom .cp-chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
#section-cupom .cp-chips span {
    padding: 5px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; color: #f3e2b4;
    background: linear-gradient(180deg, rgba(233, 199, 127, 0.16), rgba(233, 199, 127, 0.05));
    border: 1px solid rgba(233, 199, 127, 0.30); border-radius: 999px;
}
#section-cupom .cp-chips span:first-child { color: #9cf5ee; background: linear-gradient(180deg, rgba(63, 224, 213, 0.18), rgba(63, 224, 213, 0.05)); border-color: rgba(63, 224, 213, 0.34); }

/* Celular/tablet/janela estreita: sem marca d'água (o texto ocupa a largura toda) e pílulas menores */
@media (max-width: 1199px) {
    #section-cupom .cp-header {
        background:
            radial-gradient(ellipse 240px 170px at 100% 50%, rgba(63, 224, 213, 0.22), transparent 70%),
            radial-gradient(ellipse 260px 160px at 0% 0%, rgba(233, 199, 127, 0.14), transparent 70%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 45%),
            linear-gradient(160deg, #123049 0%, #0a1d2f 60%, #07131f 100%);
    }
    #section-cupom .cp-chips { gap: 6px; margin-top: 12px; }
    #section-cupom .cp-chips span { padding: 4px 10px; font-size: 11px; }
}

/* ---- Campo do código ---- */
#section-cupom .cp-campo input { padding: 19px 0; font-size: 17px; text-transform: uppercase; }
#section-cupom .cp-campo input::placeholder { text-transform: none; }

/* ---- Botão com brilho que passa no hover ---- */
#section-cupom .cp-btn { position: relative; overflow: hidden; }
#section-cupom .cp-btn::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
    transform: translateX(-130%); transition: transform 700ms ease;
}
#section-cupom .cp-btn:hover:not(:disabled)::after { transform: translateX(130%); }

/* ---- Como funciona: 4 passos ---- */
#section-cupom .cp-passos { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: passo; }
#section-cupom .cp-passos li { display: flex; flex-direction: column; gap: 1px; position: relative; padding-left: 38px; counter-increment: passo; }
#section-cupom .cp-passos li::before {
    content: counter(passo); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 9px;
    display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--primary-color);
    background: linear-gradient(180deg, rgba(63, 224, 213, 0.22), rgba(63, 224, 213, 0.06));
    border: 1px solid rgba(63, 224, 213, 0.34);
}
#section-cupom .cp-passos li:not(:last-child)::after {
    content: ""; position: absolute; left: 12.5px; top: 30px; bottom: -10px; width: 1px;
    background: linear-gradient(180deg, rgba(63, 224, 213, 0.35), transparent);
}
#section-cupom .cp-passos strong { font-size: 13.5px; font-weight: 700; color: #f3e2b4; letter-spacing: 0.01em; }
#section-cupom .cp-passos span { font-size: 13px; line-height: 1.45; color: var(--text-muted); }

/* ---- Lista vazia com ícone ---- */
#section-cupom .cp-vazio::before {
    content: ""; display: block; width: 46px; height: 46px; margin: 0 auto 10px; opacity: 0.6;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fe0d5' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9a2 2 0 0 0 0 6v3a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-3a2 2 0 0 1 0-6V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1Z'/%3E%3Cpath d='M9 9l6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
#section-cupom .cp-vazio { text-align: center; }
#section-cupom .cp-item { transition: border-color 180ms, transform 180ms; }
#section-cupom .cp-item:hover { border-color: rgba(74, 240, 180, 0.35); transform: translateX(2px); }

/* ---- Computador: duas colunas ---- */
@media (min-width: 1024px) {
    #section-cupom.active {
        display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 18px 20px; align-items: start;
    }
    #section-cupom.active > * { margin: 0; }
    #section-cupom.active > .cp-header { grid-column: 1 / -1; }
    #section-cupom.active > .cp-card { margin: 0; }
    #section-cupom.active > .cp-como { align-self: stretch; }
    #section-cupom.active > .cp-card:last-child { grid-column: 1 / -1; }
    #section-cupom .cp-header { padding: 26px 150px 26px 28px; }
    #section-cupom .cp-header h1 { font-size: 34px; }
    #section-cupom .cp-header p { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    #section-cupom .cp-btn::after { transition: none; }
    #section-cupom .cp-item:hover { transform: none; }
}


/* ============================================================
   v26 — EXTRATO PREMIUM (acrescentado ao final)
   Abas com ícone e contador, lista agrupada por dia (Hoje, Ontem...),
   cada movimentação num cartão de vidro com valor colorido e sinal
   (+ entrada, − saída) e o status embaixo do valor.
   Funciona com o extrato.js e as abas novas do index.html.
   Para voltar ao v25, apague daqui para baixo e volte esses 2 arquivos.
   ============================================================ */

/* ---- Abas ---- */
#section-extrato .hist-tabs {
    margin-top: 16px; padding: 5px; gap: 5px; border-radius: 18px;
    background: rgba(3, 10, 20, 0.65);
    border: 1px solid var(--hairline-strong);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.45);
}
#section-extrato .hist-tabs .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 12px 8px; border-radius: 13px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.01em;
    transition: background 180ms, color 180ms, box-shadow 180ms, transform 180ms;
}
#section-extrato .hist-tabs .btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
#section-extrato .hist-tabs .btn.btn-outline:hover { color: #fff; background: rgba(160, 210, 255, 0.08); }
#section-extrato .hist-tabs .btn:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }
#section-extrato .hist-cnt {
    font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 1; padding: 3px 6px; border-radius: 999px;
    color: var(--text-muted); background: rgba(160, 210, 255, 0.12); font-variant-numeric: tabular-nums;
}
#section-extrato .hist-tabs .btn:not(.btn-outline) .hist-cnt { color: #3a2705; background: rgba(0, 0, 0, 0.14); }
#section-extrato .hist-cnt:empty { display: none; }

/* ---- Resumo e lista ---- */
#section-extrato .hist-resumo { margin: 18px 2px 0; font-size: 13px; color: var(--text-muted); }
#section-extrato .hist-resumo strong { color: #fff; font-weight: 800; }
#section-extrato .hist-resumo[hidden] { display: none; }
#section-extrato .hist-lista {
    margin-top: 12px; display: grid; gap: 20px;
    background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible;
}
#section-extrato .hist-grupo { display: grid; gap: 9px; }
#section-extrato .hist-dia {
    display: flex; align-items: center; gap: 12px; padding: 0 2px;
    font-size: 11.5px; font-weight: 800; letter-spacing: 0.10em; text-transform: uppercase; color: var(--text-faint);
}
#section-extrato .hist-dia::after {
    content: ""; order: 2; flex: 1; height: 1px;
    background: linear-gradient(90deg, rgba(160, 210, 255, 0.28), transparent);
}
#section-extrato .hist-dia b {
    order: 3; min-width: 22px; padding: 2px 7px; text-align: center; font-size: 10.5px; letter-spacing: 0;
    color: var(--text-muted); background: rgba(160, 210, 255, 0.10); border-radius: 999px;
}

/* ---- Cada movimentação ---- */
#section-extrato .hist-lista .hist-row {
    gap: 14px; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 40%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(165deg, rgba(22, 44, 68, 0.62), rgba(8, 18, 31, 0.55));
    box-shadow: var(--lift-1);
    transition: transform 180ms cubic-bezier(.2, .7, .2, 1), border-color 180ms, box-shadow 180ms;
}
#section-extrato .hist-lista .hist-row:hover { transform: translateY(-2px); border-color: var(--hairline-strong); box-shadow: var(--lift-2); }
#section-extrato .hist-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 15px; border-width: 1px; }
#section-extrato .hist-icon svg { width: 24px; height: 24px; }
#section-extrato .hist-info { gap: 2px; }
#section-extrato .hist-title { font-size: 14.5px; font-weight: 700; color: #fff; }
#section-extrato .hist-detail { font-size: 12.5px; color: var(--text-muted); }
#section-extrato .hist-date { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
#section-extrato .hist-date::before {
    content: ""; width: 11px; height: 11px; opacity: 0.8;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237596a4' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}
#section-extrato .hist-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
#section-extrato .hist-value {
    font-size: 18px; font-weight: 700; line-height: 1.1; white-space: nowrap; color: var(--text-color); font-variant-numeric: tabular-nums;
}
#section-extrato .hist-value.is-in { color: #4af0b4; }
#section-extrato .hist-value.is-out { color: #ff8d8d; }
#section-extrato .hist-value.is-invest { color: #ffb04a; }
#section-extrato .hist-value.is-gold { color: #f2c75c; }
#section-extrato .hist-row .badge { font-size: 10.5px; padding: 3px 9px; letter-spacing: 0.03em; }
#section-extrato .hist-row.is-rejected { opacity: 0.72; }
#section-extrato .hist-row.is-rejected .hist-value {
    color: var(--text-faint); text-decoration: line-through; text-decoration-color: rgba(255, 125, 125, 0.65);
}

/* ---- Vazio e "Ver mais" ---- */
#section-extrato .hist-vazio {
    padding: 38px 16px; text-align: center; border-radius: 20px;
    border: 1px dashed rgba(160, 210, 255, 0.22); background: rgba(3, 10, 20, 0.35); color: var(--text-faint);
}
#section-extrato .hist-vazio svg { width: 50px; height: 50px; margin-bottom: 8px; color: var(--primary-color); opacity: 0.6; }
#section-extrato .hist-vazio p { margin: 0; font-size: 14px; }
#section-extrato .hist-mais {
    width: 100%; margin-top: 16px; padding: 14px; border-radius: 14px; font-weight: 700; letter-spacing: 0.02em;
    background: linear-gradient(180deg, rgba(160, 205, 255, 0.08), rgba(160, 205, 255, 0.025));
    border: 1px solid var(--hairline-strong); color: #fff;
}
#section-extrato .hist-mais:hover { border-color: rgba(63, 224, 213, 0.5); }

/* ---- Celular ---- */
@media (max-width: 560px) {
    #section-extrato .hist-tabs .btn { flex-direction: column; gap: 4px; padding: 9px 2px 8px; font-size: 11px; letter-spacing: -0.01em; }
    #section-extrato .hist-cnt { display: none; }
    #section-extrato .hist-lista .hist-row { gap: 12px; padding: 11px 12px; }
    #section-extrato .hist-icon { flex-basis: 42px; width: 42px; height: 42px; border-radius: 13px; }
    #section-extrato .hist-icon svg { width: 22px; height: 22px; }
    #section-extrato .hist-value { font-size: 16px; }
}
@media (max-width: 360px) {
    #section-extrato .hist-tabs { gap: 3px; padding: 4px; }
    #section-extrato .hist-tabs .btn { font-size: 10.5px; }
    #section-extrato .hist-value { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    #section-extrato .hist-lista .hist-row:hover { transform: none; }
}


/* ============================================================
   v27 — SAQUE: AVISO DE HORÁRIO COMO CARTÃO DE STATUS (acrescentado ao final)
   Mostra "Saque de Rendimento/Comissão", selo Liberado/Fechado agora,
   os 7 dias da semana (os de saque acesos), dias e horário e, quando
   fechado, quando abre de novo. Funciona com o saque.js e o index.html.
   Para voltar ao v26, apague daqui para baixo e volte esses 2 arquivos.
   ============================================================ */
#sacarModal .saque-regra {
    --estado: #46ec91; --estado-rgb: 70, 236, 145;
    margin: 4px 0 18px; padding: 14px 16px 14px 18px; border-radius: 16px; font-size: 13px; line-height: 1.5;
    color: var(--text-muted);
    background: linear-gradient(90deg, rgba(var(--estado-rgb), 0.12), rgba(var(--estado-rgb), 0.02) 80%);
    border: 1px solid rgba(var(--estado-rgb), 0.30);
    box-shadow: inset 3px 0 0 var(--estado), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
#sacarModal .saque-regra.is-open { --estado: #46ec91; --estado-rgb: 70, 236, 145; color: var(--text-muted); }
#sacarModal .saque-regra.is-closed { --estado: #ffc860; --estado-rgb: 255, 200, 96; color: var(--text-muted); }
#sacarModal .saque-regra:empty { display: none; }

#sacarModal .saque-regra-topo { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }
#sacarModal .saque-regra-topo strong { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: #fff; }
#sacarModal .saque-regra-selo {
    display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px; border-radius: 999px;
    font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em; white-space: nowrap; color: var(--estado);
    background: rgba(var(--estado-rgb), 0.14); border: 1px solid rgba(var(--estado-rgb), 0.38);
}
#sacarModal .saque-regra-selo i { width: 8px; height: 8px; border-radius: 50%; background: var(--estado); box-shadow: 0 0 8px var(--estado); }
#sacarModal .saque-regra.is-open .saque-regra-selo i { animation: saque-pulso 2.4s ease-in-out infinite; }
@keyframes saque-pulso { 0%, 100% { box-shadow: 0 0 5px var(--estado); } 50% { box-shadow: 0 0 13px var(--estado); } }

/* os 7 dias da semana */
#sacarModal .saque-dias { display: flex; gap: 6px; margin: 12px 0 11px; }
#sacarModal .saque-dia {
    position: relative; flex: 1; max-width: 38px; height: 30px; display: grid; place-items: center;
    font-size: 12px; font-weight: 800; border-radius: 10px; color: var(--text-faint);
    background: rgba(3, 10, 20, 0.45); border: 1px solid rgba(160, 210, 255, 0.10);
}
#sacarModal .saque-dia.is-on {
    color: var(--estado); background: rgba(var(--estado-rgb), 0.16); border-color: rgba(var(--estado-rgb), 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
#sacarModal .saque-dia.is-hoje { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55); color: #fff; }
#sacarModal .saque-dia.is-hoje.is-on { background: rgba(var(--estado-rgb), 0.32); }
#sacarModal .saque-dia.is-hoje::after {
    content: ""; position: absolute; bottom: -9px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #fff;
}

/* dias e horário */
#sacarModal .saque-regra-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; }
#sacarModal .saque-regra-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); }
#sacarModal .saque-regra-meta svg { width: 15px; height: 15px; color: var(--estado); flex: 0 0 auto; }
#sacarModal .saque-regra-prox { margin: 10px 0 0; padding-top: 10px; font-size: 12.5px; border-top: 1px dashed rgba(var(--estado-rgb), 0.30); color: var(--text-muted); }
#sacarModal .saque-regra-prox strong { color: var(--estado); font-weight: 800; }
@media (max-width: 360px) {
    #sacarModal .saque-dias { gap: 4px; }
    #sacarModal .saque-regra { padding: 12px 12px 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    #sacarModal .saque-regra.is-open .saque-regra-selo i { animation: none; }
}


/* ============================================================
   v28 — CUPOM SÓ COM PLANO ATIVO (acrescentado ao final)
   Aviso com cadeado e botão "Ver planos" quando a pessoa não tem plano
   ativo; o campo e o botão ficam travados. Funciona com o cupom.js e o
   aviso novo (#cupomAviso) do index.html.
   Para voltar ao v27, apague daqui para baixo e volte esses 3 arquivos.
   ============================================================ */
#section-cupom .cp-aviso {
    display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 14px 16px; border-radius: 16px;
    background: linear-gradient(90deg, rgba(255, 200, 96, 0.14), rgba(255, 200, 96, 0.03) 85%);
    border: 1px solid rgba(255, 200, 96, 0.34);
    box-shadow: inset 3px 0 0 #ffc860, inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
#section-cupom .cp-aviso[hidden] { display: none; }
#section-cupom .cp-aviso-ico {
    flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: #ffd98a;
    background: linear-gradient(180deg, rgba(255, 200, 96, 0.28), rgba(255, 200, 96, 0.08));
    border: 1px solid rgba(255, 200, 96, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 18px -8px rgba(255, 200, 96, 0.5);
}
#section-cupom .cp-aviso-ico svg { width: 22px; height: 22px; }
#section-cupom .cp-aviso-txt { flex: 1; min-width: 0; }
#section-cupom .cp-aviso-txt strong { display: block; font-size: 14px; font-weight: 800; color: #ffe2a3; }
#section-cupom .cp-aviso-txt p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }
#section-cupom .cp-aviso-btn { flex: 0 0 auto; margin: 0; padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 800; white-space: nowrap; }
#section-cupom .cp-aviso.is-destaque { animation: cp-aviso-pulso 700ms ease; }
@keyframes cp-aviso-pulso {
    0%, 100% { transform: none; box-shadow: inset 3px 0 0 #ffc860, 0 0 0 0 rgba(255, 200, 96, 0); }
    35% { transform: scale(1.015); box-shadow: inset 3px 0 0 #ffc860, 0 0 0 6px rgba(255, 200, 96, 0.22); }
}

/* campo e botão travados */
#section-cupom.cp-bloqueado .cp-campo { opacity: 0.5; filter: saturate(0.6); }
#section-cupom.cp-bloqueado .cp-campo input { cursor: not-allowed; }
#section-cupom .cp-btn.is-locked { filter: grayscale(0.85) brightness(0.8); box-shadow: none; cursor: not-allowed; }
#section-cupom .cp-btn.is-locked:hover { transform: none; filter: grayscale(0.85) brightness(0.8); }
#section-cupom .cp-btn.is-locked::after { display: none; }

@media (max-width: 560px) {
    #section-cupom .cp-aviso { flex-wrap: wrap; }
    #section-cupom .cp-aviso-txt { flex: 1 1 calc(100% - 60px); }
    #section-cupom .cp-aviso-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    #section-cupom .cp-aviso.is-destaque { animation: none; }
}


/* ============================================================
   v29 — MEUS INVESTIMENTOS PREMIUM (acrescentado ao final)
   Resumo no topo (rendimento total + ativos/concluídos), abas com ícone e
   contador, cartões de vidro com status em pílula, chips de rendimento,
   barra de progresso dos dias e detalhes em quadradinhos. Vale para as
   abas Rendimento e Ciclo. Funciona com o investimentos.js e o index.html.
   Para voltar ao v28, apague daqui para baixo e volte esses 3 arquivos.
   ============================================================ */

/* ---- Resumo no topo ---- */
#section-carteira .inv-total {
    margin: 16px 0 0; padding: 20px 22px; gap: 16px; align-items: center; border-radius: 22px;
    border: 1px solid rgba(233, 199, 127, 0.28);
    background:
        radial-gradient(ellipse 260px 160px at 100% 0%, rgba(63, 224, 213, 0.18), transparent 70%),
        radial-gradient(ellipse 280px 170px at 0% 100%, rgba(233, 199, 127, 0.14), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 45%),
        linear-gradient(160deg, #123049 0%, #0a1d2f 60%, #07131f 100%);
    box-shadow: var(--lift-2);
}
#section-carteira .inv-total .com-label {
    font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-gold-muted);
}
#section-carteira .inv-total h2 {
    margin: 6px 0 0; font-size: 36px; font-weight: 700; line-height: 1.05;
    background: linear-gradient(180deg, #fff6d6, #e9c77f); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent; font-variant-numeric: tabular-nums;
}
#section-carteira .inv-total small { margin-top: 6px; font-size: 12.5px; color: var(--text-muted); }
#section-carteira .inv-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
#section-carteira .inv-pills:empty { display: none; }
#section-carteira .inv-pill {
    display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px;
    font-size: 11.5px; font-weight: 800; letter-spacing: 0.03em;
}
#section-carteira .inv-pill i { width: 7px; height: 7px; border-radius: 50%; background: #46ec91; box-shadow: 0 0 8px #46ec91; }
#section-carteira .inv-pill.is-on { color: #7ff3b5; background: rgba(70, 236, 145, 0.10); border: 1px solid rgba(70, 236, 145, 0.30); }
#section-carteira .inv-pill.is-end { color: #8fc0ff; background: rgba(106, 167, 255, 0.10); border: 1px solid rgba(106, 167, 255, 0.30); }

/* ---- Abas ---- */
#section-carteira .inv-tabs {
    margin-top: 18px; padding: 5px; gap: 5px; border-radius: 18px;
    background: rgba(3, 10, 20, 0.65); border: 1px solid var(--hairline-strong); box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.45);
}
#section-carteira .inv-tabs .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 10px; border-radius: 13px; font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
    transition: background 180ms, color 180ms, box-shadow 180ms;
}
#section-carteira .inv-tabs .btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
#section-carteira .inv-tabs .btn.btn-outline:hover { color: #fff; background: rgba(160, 210, 255, 0.08); }
#section-carteira .inv-tabs .btn:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }
#section-carteira .inv-cnt {
    font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 1; padding: 3px 7px; border-radius: 999px;
    color: var(--text-muted); background: rgba(160, 210, 255, 0.12); font-variant-numeric: tabular-nums;
}
#section-carteira .inv-tabs .btn:not(.btn-outline) .inv-cnt { color: #3a2705; background: rgba(0, 0, 0, 0.14); }
#section-carteira .inv-cnt:empty { display: none; }

/* ---- Lista e cartões ---- */
#section-carteira .inv-lista { gap: 14px; margin-top: 16px; align-items: stretch; }
#section-carteira .inv-card {
    --acento: #4af0b4; --barra-1: #f6dc95; --barra-2: #d9a948;
    border-radius: 20px; border: 1px solid var(--hairline); overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015) 38%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(165deg, rgba(22, 44, 68, 0.66), rgba(8, 18, 31, 0.58));
    box-shadow: var(--lift-1), inset 3px 0 0 var(--acento);
}
#section-carteira .inv-card.is-end { --acento: #6aa7ff; }
#section-carteira .inv-card.is-ciclo { --barra-1: #6df2e8; --barra-2: #1fb2b0; }
#section-carteira .inv-card.is-open { border-color: var(--hairline-strong); }
#section-carteira .inv-head { gap: 14px; padding: 16px 16px 16px 18px; align-items: flex-start; }
#section-carteira .inv-icon.has-img { margin-top: 2px; }
#section-carteira .inv-info { gap: 6px; }
#section-carteira .inv-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#section-carteira .inv-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #fff; }
#section-carteira .inv-status {
    flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
}
#section-carteira .inv-status.is-on { color: #7ff3b5; background: rgba(70, 236, 145, 0.12); border: 1px solid rgba(70, 236, 145, 0.32); }
#section-carteira .inv-status.is-end { color: #8fc0ff; background: rgba(106, 167, 255, 0.12); border: 1px solid rgba(106, 167, 255, 0.32); }
#section-carteira .inv-value { font-size: 24px; font-weight: 700; line-height: 1.1; color: #fff; }
#section-carteira .inv-meta { display: flex; flex-wrap: wrap; gap: 6px; }
#section-carteira .inv-chip {
    padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--text-muted);
    background: rgba(160, 210, 255, 0.08); border: 1px solid rgba(160, 210, 255, 0.14); font-variant-numeric: tabular-nums;
}
#section-carteira .inv-chip.is-gain { color: #7ff3b5; background: rgba(70, 236, 145, 0.08); border-color: rgba(70, 236, 145, 0.24); }

/* progresso dos dias */
#section-carteira .inv-prog { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
#section-carteira .inv-prog-bar { flex: 1; height: 7px; border-radius: 999px; overflow: hidden; background: rgba(3, 10, 20, 0.65); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5); }
#section-carteira .inv-prog-bar i {
    display: block; height: 100%; min-width: 4px; border-radius: 999px;
    background: linear-gradient(90deg, var(--barra-1), var(--barra-2)); box-shadow: 0 0 10px rgba(233, 199, 127, 0.4);
}
#section-carteira .inv-card.is-ciclo .inv-prog-bar i { box-shadow: 0 0 10px rgba(63, 224, 213, 0.45); }
#section-carteira .inv-prog-txt { flex: 0 0 auto; font-size: 11.5px; font-weight: 600; color: var(--text-faint); font-variant-numeric: tabular-nums; }
#section-carteira .inv-chevron { align-self: center; flex: 0 0 22px; color: var(--text-faint); transition: transform 220ms, color 180ms; }
#section-carteira .inv-head:hover .inv-chevron { color: #fff; }
#section-carteira .inv-card.is-open .inv-chevron { transform: rotate(90deg); color: var(--primary-color); }

/* detalhes: quadradinhos */
#section-carteira .inv-details { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px 14px 18px; border-top: 1px dashed rgba(160, 210, 255, 0.18); }
#section-carteira .inv-details[hidden] { display: none; }
#section-carteira .inv-detail {
    flex-direction: column; justify-content: flex-start; gap: 3px; padding: 10px 12px; border: 1px solid rgba(160, 210, 255, 0.10); border-radius: 12px;
    background: rgba(3, 10, 20, 0.35); font-size: 11.5px; color: var(--text-faint);
}
#section-carteira .inv-detail:last-child { border-bottom: 1px solid rgba(160, 210, 255, 0.10); }
#section-carteira .inv-detail:last-child:nth-child(odd) { grid-column: 1 / -1; }
#section-carteira .inv-detail strong { font-size: 14px; color: #fff; }

/* ---- Vazio ---- */
#section-carteira .inv-vazio {
    display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 18px; text-align: center; border-radius: 22px;
    border: 1px dashed rgba(160, 210, 255, 0.24); background: rgba(3, 10, 20, 0.35);
}
#section-carteira .inv-vazio-ico {
    width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; margin-bottom: 4px; color: var(--primary-color);
    background: linear-gradient(180deg, rgba(63, 224, 213, 0.22), rgba(63, 224, 213, 0.06)); border: 1px solid rgba(63, 224, 213, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 22px -10px rgba(63, 224, 213, 0.5);
}
#section-carteira .inv-vazio-ico svg { width: 28px; height: 28px; }
#section-carteira .inv-vazio strong { font-family: var(--font-display); font-size: 16px; color: #fff; }
#section-carteira .inv-vazio p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); max-width: 320px; }

/* ---- Computador: cartões em 2 colunas ---- */
@media (min-width: 1100px) {
    #section-carteira .inv-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    #section-carteira .inv-lista > .inv-vazio, #section-carteira .inv-lista > .info-box { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    #section-carteira .inv-total { padding: 18px; flex-wrap: wrap; }
    #section-carteira .inv-total h2 { font-size: 32px; }
    #section-carteira .inv-total > .btn { width: 100%; }
    #section-carteira .inv-head { gap: 12px; padding: 14px 12px 14px 16px; }
    #section-carteira .inv-value { font-size: 22px; }
}
@media (max-width: 360px) {
    #section-carteira .inv-icon.has-img { flex-basis: 54px; width: 54px; height: 54px; }
    #section-carteira .inv-icon.is-bau { flex-basis: 62px; width: 62px; height: 62px; }
    #section-carteira .inv-prog { flex-wrap: wrap; gap: 4px; }
    #section-carteira .inv-prog-bar { flex: 1 0 100%; }
}
