:root {
    --bg-deep: #121214;
    --bg-panel: #1a1a1f;
    --text: #e8e8ec;
    --text-muted: #8b8b98;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.45);
    --board-navy: #0c1f4a;
    --board-cell: #1a3278;
    --board-cell-deep: #0f2558;
    --tile-letter: #f5f5f7;
    --tile-missing: #f5b820;
    --tile-missing-glow: rgba(245, 184, 32, 0.65);
    --success: #22c55e;
    --accent-green: #34d399;
    --accent-green-dim: rgba(52, 211, 153, 0.15);
    --danger: #ef4444;
    --radius: 12px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    --font-display: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    font-weight: 500;
    color: var(--text);
    background: radial-gradient(ellipse 120% 80% at 50% -20%, #2a2a34 0%, var(--bg-deep) 50%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app {
    max-width: 520px;
    margin: 0 auto;
    padding: 1.25rem 1rem 5.5rem;
}

.header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.logo-link {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 0;
    text-decoration: none;
}

.logo-img {
    display: block;
    width: auto;
    max-width: 140px;
    height: auto;
    max-height: 44px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.saldo-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.75rem 0.45rem 0.55rem;
    max-width: min(100%, 11.75rem);
    background: #1a1a20;
    border: 1px solid #3a3a44;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.saldo-chip-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.saldo-chip-icone-svg {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
}

.saldo-chip-corpo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    min-width: 0;
    line-height: 1.2;
}

.saldo-chip-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.saldo-valor {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #4ade80;
    white-space: nowrap;
}

/* —— Tabuleiro estilo game show —— */
.tabuleiro-outer {
    padding: 0 0.15rem;
}

.tabuleiro-frame {
    border-radius: 18px;
    padding: 12px;
    background: linear-gradient(180deg, #3d7cff 0%, #1e4fd4 35%, #0c1f4a 100%);
    box-shadow:
        0 0 0 3px #fff,
        0 0 0 6px #1a3a9e,
        0 16px 40px rgba(0, 0, 0, 0.55);
}

.tabuleiro-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
    border-radius: 12px;
    background: var(--board-navy);
    width: 100%;
    max-width: 100%;
    aspect-ratio: 8 / 3;
}

.tabuleiro-cell {
    position: relative;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(165deg, var(--board-cell) 0%, var(--board-cell-deep) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.tabuleiro-cell.is-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.tabuleiro-grid[data-len="1"] .is-tile,
.tabuleiro-grid[data-len="2"] .is-tile,
.tabuleiro-grid[data-len="3"] .is-tile,
.tabuleiro-grid[data-len="4"] .is-tile {
    font-size: clamp(1.35rem, 5.5vw, 2rem);
}

.tabuleiro-grid[data-len="5"] .is-tile,
.tabuleiro-grid[data-len="6"] .is-tile {
    font-size: clamp(1.1rem, 4.2vw, 1.65rem);
}

.tabuleiro-grid[data-len="7"] .is-tile,
.tabuleiro-grid[data-len="8"] .is-tile {
    font-size: clamp(0.85rem, 3.1vw, 1.25rem);
    border-width: 1.5px;
}

.is-tile.tile-letter {
    background: linear-gradient(180deg, #fff 0%, #ececf0 48%, #d8d8de 100%);
    color: #0f0f12;
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.is-tile.tile-missing {
    background: linear-gradient(180deg, #ffe066 0%, var(--tile-missing) 50%, #d9960a 100%);
    color: transparent;
    border-color: rgba(255, 220, 100, 0.9);
    box-shadow:
        0 0 18px var(--tile-missing-glow),
        0 3px 10px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.is-tile.tile-missing.revelada {
    color: #111;
    animation: pulse-tile 0.45s ease;
}

.is-tile.tile-missing.errada {
    background: linear-gradient(180deg, #fca5a5 0%, #ef4444 100%);
    color: #fff;
    border-color: rgba(255, 200, 200, 0.8);
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.5);
}

.is-tile.tile-acerto {
    background: linear-gradient(180deg, #86efac 0%, #22c55e 45%, #16a34a 100%) !important;
    color: #052e16 !important;
    border-color: rgba(187, 247, 208, 0.95) !important;
    box-shadow:
        0 0 22px rgba(34, 197, 94, 0.55),
        0 3px 12px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    animation: pulse-tile 0.5s ease;
}

@keyframes pulse-tile {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.tabuleiro-legenda {
    margin: 1rem 0 1.25rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.aposta-box.valor-picker {
    background: #16161a;
    border: 1px solid #2a2a32;
    border-radius: 14px;
    padding: 1.1rem 1.15rem 1.15rem;
}

.hint {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    text-align: center;
}

.aposta-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.aposta-row label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.aposta-row input {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #3a3a44;
    background: var(--bg-deep);
    color: var(--text);
    font-size: 1.1rem;
}

.aposta-row input:focus {
    outline: 2px solid var(--accent);
    border-color: transparent;
}

input,
button,
select,
textarea {
    font-family: inherit;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover:not(:disabled) {
    background: var(--accent-hover);
}

.btn-primary:active:not(:disabled) {
    transform: scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-apostar {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.opcoes-area {
    margin-top: 0.25rem;
}

.opcoes-titulo {
    text-align: center;
    margin: 0 0 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.opcoes-letras {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.btn-letra {
    width: auto;
    min-width: 4.25rem;
    max-width: 5.75rem;
    flex: 1;
    padding: 1rem 0.5rem;
    font-size: 1.65rem;
    font-weight: 700;
    border-radius: 10px;
}

.aposta-info {
    text-align: center;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.resultado-area {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-panel);
    border: 1px solid #2e2e36;
    border-radius: var(--radius);
}

.resultado-msg {
    text-align: center;
    font-size: 1.05rem;
    margin: 0 0 1rem;
}

.resultado-msg.ganhou {
    color: var(--success);
}

.resultado-msg.perdeu {
    color: var(--danger);
}

.modal--ganhou .modal-ganhou-backdrop {
    background: rgba(8, 8, 12, 0.72);
    backdrop-filter: blur(6px);
}

.modal-dialog--ganhou {
    position: relative;
    overflow: hidden;
    max-width: 340px;
    width: 100%;
    padding: 2rem 1.5rem 1.65rem;
    text-align: center;
    border-radius: var(--radius, 16px);
    border: 1px solid #2e2e36;
    background: var(--bg-panel, #1a1a20);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    animation: ganhou-pop 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@keyframes ganhou-pop {
    from {
        opacity: 0;
        transform: scale(0.88) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ganhou-glow {
    display: none;
}

.ganhou-emoji {
    display: block;
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 0.35rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.ganhou-badge {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.ganhou-titulo {
    margin: 0 0 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #f4f4f5;
}

.ganhou-valor {
    margin: 0 0 0.65rem;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 12vw, 3.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #4ade80;
}

.ganhou-sub {
    margin: 0 0 1.35rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.btn-ganhou-continuar {
    width: 100%;
    font-size: 1rem;
    padding: 0.85rem 1rem;
}

.hidden {
    display: none !important;
}

.toast {
    position: fixed;
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0));
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a22;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    max-width: 90%;
    z-index: 5000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
    pointer-events: none;
}

body.modal-aberto .toast {
    bottom: auto;
    top: calc(1rem + env(safe-area-inset-top, 0));
}

.overlay-manutencao {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(8, 8, 12, 0.92);
    backdrop-filter: blur(6px);
}

.overlay-manutencao-painel {
    max-width: 360px;
    width: 100%;
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius);
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.overlay-manutencao-titulo {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--text);
}

.overlay-manutencao-texto {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

body.modo-manutencao .main,
body.modo-manutencao .bottom-nav {
    pointer-events: none;
    user-select: none;
    filter: grayscale(0.35);
    opacity: 0.45;
}

.tabuleiro-grid.carregando .tile-missing,
.tabuleiro-grid.pre-aposta .tile-missing {
    animation: glow-missing 1.2s ease-in-out infinite;
}

@keyframes glow-missing {
    0%, 100% { box-shadow: 0 0 16px var(--tile-missing-glow); }
    50% { box-shadow: 0 0 28px var(--tile-missing-glow); }
}

/* —— Pop-ups de saque (tela do jogo) —— */
.saque-popup-layer {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 520px;
    bottom: calc(4.85rem + env(safe-area-inset-bottom, 0));
    padding: 0 0.65rem;
    z-index: 45;
    pointer-events: none;
}

.saque-popup-layer.is-pausado {
    visibility: hidden;
}

.saque-popup {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    max-width: min(100%, 17.5rem);
    padding: 0.5rem 0.55rem 0.5rem 0.65rem;
    border-radius: 12px;
    background: rgba(22, 22, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    animation: saque-popup-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.saque-popup.is-saindo {
    animation: saque-popup-out 0.35s ease forwards;
}

.saque-popup-text {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.saque-popup-text strong {
    color: var(--text);
    font-weight: 700;
}

.saque-popup-valor {
    color: var(--accent-green);
    font-weight: 700;
    white-space: nowrap;
}

.saque-popup-pix {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.saque-popup-pix-img {
    width: 1.35rem;
    height: 1.35rem;
    display: block;
    object-fit: contain;
}

@keyframes saque-popup-in {
    from {
        opacity: 0;
        transform: translateX(-1.25rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes saque-popup-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-0.75rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .saque-popup {
        animation: none;
    }
    .saque-popup.is-saindo {
        animation: none;
        opacity: 0;
    }
}

/* —— Menu inferior —— */
.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 520px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0));
    background: linear-gradient(180deg, #1e1e24 0%, #141418 100%);
    border-top: 1px solid #2e2e36;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
    z-index: 50;
}

a.nav-btn {
    text-decoration: none;
    color: inherit;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 4px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

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

.nav-btn .nav-icon--outline {
    fill: none;
    stroke-width: 1.75;
}

.nav-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-btn.is-active {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 4px 14px var(--accent-glow);
}

body.modal-aberto {
    overflow: hidden;
}

body.modal-aberto .app,
body.modal-aberto .bottom-nav,
body.modal-aberto .saque-popup-layer {
    filter: blur(6px);
    transition: filter 0.25s ease;
}

body.auth-bloqueado .app,
body.auth-bloqueado .bottom-nav,
body.auth-bloqueado .saque-popup-layer {
    pointer-events: none;
    user-select: none;
}

body.auth-bloqueado .modal--auth {
    pointer-events: auto;
}

body.auth-bloqueado .auth-modal-close,
body.auth-bloqueado .btn-auth-fechar {
    display: none;
}

.modal--auth .modal-backdrop {
    background: rgba(8, 8, 12, 0.42);
    backdrop-filter: blur(10px) saturate(1.05);
}

.modal[hidden] {
    display: none !important;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}

.modal-dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: min(78vh, 520px);
    overflow-y: auto;
    margin: 0 0.75rem;
    padding: 1.35rem 1.35rem 1.5rem;
    background: var(--bg-panel);
    border: 1px solid #3a3a44;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    animation: modal-centro 0.25s ease;
}

@keyframes modal-centro {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 8px;
    background: #2a2a32;
    color: var(--text);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover {
    background: #35353f;
}

.page-card {
    background: var(--bg-panel);
    border: 1px solid #2e2e36;
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
}

.page-title {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

.page-desc {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.page-note {
    margin: 1rem 0 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}

.saldo-disponivel {
    margin: 0 0 1rem;
    font-size: 0.95rem;
}

.saldo-disponivel strong {
    color: var(--accent);
}

.btn-secondary {
    background: #2a2a32;
    color: var(--text);
    box-shadow: none;
    border: 1px solid #3a3a44;
}

.btn-secondary:hover:not(:disabled) {
    background: #33333c;
}

.btn-sm {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    width: auto;
    margin-top: 0.65rem;
}

/* —— Seletor de valor (aposta / depósito) —— */
.valor-picker-titulo {
    margin: 0 0 0.75rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.valor-picker-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    margin-bottom: 0.65rem;
    scrollbar-width: none;
}

.valor-picker-chips::-webkit-scrollbar {
    display: none;
}

.valor-chip {
    flex: 0 0 auto;
    min-width: 3.1rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    background: transparent;
    color: #6b6b78;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.valor-chip:hover {
    color: #9a9aa8;
}

.valor-chip.is-selected {
    border-color: var(--accent-green);
    background: var(--accent-green-dim);
    color: var(--accent-green);
}

.valor-chip--popular {
    position: relative;
    padding-top: 1.15rem;
    min-width: 3.6rem;
}

.valor-chip-badge {
    position: absolute;
    top: -0.35rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    background: linear-gradient(105deg, #ff6b00, #ff2d2d, #ffb800);
    background-size: 200% 200%;
    animation: chip-badge-fogo 1.4s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 100, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.35);
}

.valor-chip-badge::before {
    content: '🔥';
    font-size: 0.62rem;
    line-height: 1;
}

.valor-chip--popular.is-selected .valor-chip-badge {
    box-shadow: 0 0 14px rgba(255, 120, 0, 0.75), 0 2px 6px rgba(0, 0, 0, 0.35);
}

.valor-chip--dobro {
    position: relative;
}

.valor-chip-badge--dobro {
    top: -0.78rem;
    background: linear-gradient(105deg, #16a34a, #22c55e, #84cc16);
    background-size: 200% 200%;
    animation: chip-badge-fogo 1.6s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.55), 0 2px 6px rgba(0, 0, 0, 0.35);
    font-size: 0.6rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1.05;
    padding: 0.22rem 0.55rem;
}

.valor-chip-badge--dobro::before {
    content: none;
}

.valor-chip-valor {
    display: block;
    line-height: 1.2;
}

@keyframes chip-badge-fogo {
    0%, 100% {
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(1.12);
    }
}

.valor-picker-outro-wrap {
    margin-bottom: 0.75rem;
}

.valor-picker-outro-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    border: 1.5px dashed #3f3f48;
    background: transparent;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 500;
    text-align: center;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
}

.valor-picker-outro-input::placeholder {
    color: #6b6b78;
}

.valor-picker-outro-input:focus {
    border-color: #52525e;
    border-style: solid;
    background: rgba(255, 255, 255, 0.03);
}

.valor-picker-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.85rem;
    border-radius: 999px;
    background: #0f0f12;
    border: 1px solid #25252c;
}

.valor-picker-bar--stack {
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px;
    padding: 0.35rem 1.1rem;
}

.valor-picker-bar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0;
}

.valor-picker-bar-row + .valor-picker-bar-row {
    border-top: 1px solid #25252c;
}

.valor-picker-bar-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.valor-picker-bar-strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.06em;
}

.valor-picker-verde {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-green);
}

.valor-picker-hint {
    margin: 0.65rem 0 0;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.multiplicador-aviso {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 0.75rem;
    padding: 0.65rem 0.72rem;
    border-radius: 10px;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.28);
    text-align: left;
}

.multiplicador-aviso-icone {
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.2);
    color: var(--accent-green);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.15rem;
    text-align: center;
}

.multiplicador-aviso-texto {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.multiplicador-aviso-texto strong {
    color: var(--accent-green);
    font-weight: 700;
}

.valor-picker--modal .deposito-atalhos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem 0.5rem;
    flex-wrap: unset;
    overflow: visible;
    padding-top: 0.5rem;
    padding-bottom: 0;
    margin-bottom: 0.75rem;
}

.valor-picker--modal .deposito-atalhos-grid .valor-chip--popular {
    padding-top: 1.35rem;
}

.valor-picker--modal .deposito-atalhos-grid .valor-chip {
    flex: unset;
    width: 100%;
    min-width: 0;
    padding: 0.8rem 0.5rem;
    border-radius: 10px;
    border: 2px solid #3a3a44;
    background: var(--bg-deep);
    color: var(--text);
    font-size: 0.95rem;
}

.valor-picker--modal .deposito-atalhos-grid .valor-chip:hover {
    border-color: #4a5568;
    color: #fff;
}

.valor-picker--modal .deposito-atalhos-grid .valor-chip.is-selected {
    border-color: var(--accent);
    background: rgba(37, 99, 235, 0.18);
    color: #fff;
    box-shadow: 0 0 0 1px var(--accent), 0 4px 16px var(--accent-glow);
}

.valor-picker--modal .page-note {
    margin-top: 0.75rem;
}

.valor-picker--modal .btn-primary {
    margin-bottom: 0;
}

.referral-box {
    background: var(--bg-deep);
    border: 1px dashed #3a3a44;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.referral-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.referral-link {
    display: block;
    font-size: 0.8rem;
    word-break: break-all;
    color: #93c5fd;
}

.perfil-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.perfil-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #2e2e36;
    font-size: 0.9rem;
}

.perfil-list li:last-child {
    border-bottom: none;
}

.perfil-list .mono {
    font-family: ui-monospace, monospace;
    font-size: 0.72rem;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
}

#modal-sacar.modal {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0));
    align-items: center;
}

.modal-dialog--saque {
    max-height: none;
    overflow: visible;
    padding: 1rem 1.1rem 1.1rem;
}

.modal-dialog--saque .page-title {
    margin-bottom: 0.65rem;
    font-size: 1.1rem;
}

.modal-dialog--saque .saque-saldo-bar {
    margin-bottom: 0.7rem;
    padding-bottom: 0.55rem;
}

.modal-dialog--saque .saque-field {
    margin-bottom: 0.6rem;
}

.modal-dialog--saque .saque-field label {
    margin-bottom: 0.28rem;
    font-size: 0.78rem;
}

.modal-dialog--saque .saque-input {
    padding: 0.58rem 0.72rem;
    font-size: 0.9rem;
}

.modal-dialog--saque .btn-sacar {
    margin-top: 0.1rem;
    padding: 0.72rem 1rem;
    font-size: 0.95rem;
}

.modal-dialog--saque .saque-aviso {
    margin-top: 0.65rem;
    padding: 0.6rem 0.72rem;
}

.modal-dialog--saque .saque-aviso p {
    font-size: 0.72rem;
    line-height: 1.35;
}

.saque-saldo-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #2e2e36;
}

.saque-saldo-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.35;
    max-width: 58%;
}

.saque-rollover {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding: 0.85rem 0.9rem;
    border-radius: 10px;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.45);
}

.saque-rollover.hidden {
    display: none !important;
}

.saque-rollover-icone {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.35rem;
    text-align: center;
}

.saque-rollover-titulo {
    margin: 0 0 0.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fde68a;
}

.saque-rollover-texto {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #e5e7eb;
}

.saque-rollover-texto strong {
    color: #fbbf24;
    font-weight: 700;
}

.saque-rollover-progresso {
    height: 6px;
    border-radius: 999px;
    background: #2e2e36;
    overflow: hidden;
    margin-bottom: 0.45rem;
}

.saque-rollover-progresso-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ca8a04, #eab308);
    transition: width 0.25s ease;
}

.saque-rollover-meta {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.saque-rollover-meta span {
    color: #d1d5db;
    font-weight: 600;
}

.saque-rollover-dica {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.modal-dialog--saque .btn-sacar:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.saque-saldo-valor {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-green);
    white-space: nowrap;
}

.saque-field {
    margin-bottom: 0.95rem;
}

.saque-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
}

.saque-field-hint {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    line-height: 1.4;
    color: #6b7280;
}

.saque-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 0.85rem;
    border: 1px solid #3a3a44;
    border-radius: 10px;
    background: #1a1a20;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
}

.saque-input::placeholder {
    color: #6b7280;
}

.saque-input:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.35);
}

.btn-sacar {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 10px;
    background: #22c55e;
    color: #052e16;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.btn-sacar:hover {
    background: #16a34a;
}

.btn-sacar:active {
    transform: scale(0.98);
}

.saque-aviso {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.1rem;
    padding: 0.85rem 0.9rem;
    border-radius: 10px;
    background: #1f1f26;
    border: 1px solid #2e2e36;
}

.saque-aviso-icone {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: #2a2a32;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25rem;
    text-align: center;
}

.saque-aviso p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.saque-aviso strong {
    color: var(--accent-green);
    font-weight: 600;
}

#modal-indique.modal {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0));
}

.modal-dialog--indique {
    max-height: none;
    overflow: visible;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.modal-dialog--indique .modal-close {
    z-index: 2;
    background: rgba(30, 30, 36, 0.9);
    color: #fff;
}

.indique-hero {
    padding: 1.35rem 1.2rem 1.1rem;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(145deg, #1e3a5f 0%, #162033 45%, #141418 100%);
    border: 1px solid #2e4a6e;
    border-bottom: none;
    margin: 0 -0.02rem;
}

.indique-hero-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(147, 197, 253, 0.35);
}

.indique-hero-title {
    margin: 0.55rem 0 0.35rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

.indique-hero-desc {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #94a3b8;
}

.indique-hero-desc strong {
    color: var(--accent-green);
    font-weight: 600;
}

.indique-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: var(--bg-panel);
    border-left: 1px solid #3a3a44;
    border-right: 1px solid #3a3a44;
}

.indique-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.65rem 0.35rem;
    border-radius: 12px;
    background: #1a1a20;
    border: 1px solid #2e2e36;
    text-align: center;
    min-height: 4.25rem;
}

.indique-stat-card--destaque {
    border-color: rgba(52, 211, 153, 0.45);
    background: rgba(52, 211, 153, 0.08);
}

.indique-stat-card--ganhos .indique-stat-valor {
    color: var(--accent-green);
    font-size: 0.95rem;
}

.indique-stat-valor {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.indique-stat-label {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    line-height: 1.2;
}

.indique-indicados-wrap {
    margin: 0 0 1rem;
}

.indique-indicados-wrap[hidden] {
    display: none !important;
}

.indique-indicados-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 160px;
    overflow-y: auto;
    margin-top: 8px;
}

.indique-indicado-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.8125rem;
}

.indique-indicado-nome {
    font-weight: 600;
    color: #f9fafb;
}

.indique-indicado-badge {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.indique-indicado-badge--ok {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.indique-indicado-badge--wait {
    background: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
}

.indique-link-box {
    padding: 1rem 1rem 1.15rem;
    background: var(--bg-panel);
    border: 1px solid #3a3a44;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.indique-link-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.indique-link-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.55rem 0.55rem 0.55rem 0.75rem;
    border-radius: 12px;
    border: 1px solid #3a3a44;
    background: #1a1a20;
}

.indique-link-url {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.35;
    font-family: ui-monospace, monospace;
    color: #93c5fd;
    word-break: break-all;
}

.indique-link-url.is-vazio {
    color: var(--text-muted);
    font-family: inherit;
}

.btn-indique-copiar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-indique-copiar:hover {
    background: var(--accent-hover);
}

/* —— Página Perfil —— */
.pagina-perfil .app {
    padding-bottom: 5.5rem;
}

.main-perfil {
    padding-top: 0.25rem;
}

.modal-dialog--perfil {
    max-height: none;
    overflow: visible;
    padding: 1.1rem 1.15rem 1.25rem;
}

.perfil-card--modal {
    border: none;
    background: transparent;
    padding: 0.5rem 0 0;
}

.perfil-card {
    text-align: center;
    padding: 1.75rem 1.25rem 1rem;
    border-radius: var(--radius);
    background: var(--bg-panel);
    border: 1px solid #2e2e36;
}

.perfil-avatar {
    width: 5.5rem;
    height: 5.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #2a2a34 0%, #1a1a22 100%);
    border: 2px solid #3a3a44;
    color: #93c5fd;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.perfil-avatar-icone {
    width: 2.75rem;
    height: 2.75rem;
}

.perfil-nome {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
}

.perfil-email {
    margin: 0 0 1.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    word-break: break-word;
}

.perfil-email.is-placeholder {
    font-style: italic;
    opacity: 0.85;
}

.perfil-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.perfil-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #2e2e36;
    border-radius: 10px;
    background: #1a1a20;
    color: var(--text);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.perfil-menu-item:hover {
    background: #222228;
    border-color: #3a3a44;
}

.perfil-menu-item--sair .perfil-menu-texto {
    color: #f87171;
}

.perfil-menu-seta {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.header--voltar {
    justify-content: space-between;
}

.perfil-voltar {
    font-size: 0.88rem;
    font-weight: 600;
    color: #93c5fd;
    text-decoration: none;
}

.perfil-voltar:hover {
    text-decoration: underline;
}

.historico-titulo {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}

.historico-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.historico-item {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: var(--bg-panel);
    border: 1px solid #2e2e36;
}

.historico-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.historico-item-valor {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent-green);
}

.historico-item-status {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #32bcad;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    background: rgba(50, 188, 173, 0.12);
}

.historico-item-data {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.historico-vazio {
    margin: 0;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 2rem 1rem;
}

.btn-indique-copiar:active {
    transform: scale(0.96);
}

.indique-copiar-icone {
    width: 1.15rem;
    height: 1.15rem;
}

/* —— Login / Cadastro —— */
.pagina-auth {
    min-height: 100vh;
}

.app-auth {
    padding-bottom: 2rem;
}

.header-auth {
    margin-bottom: 0.5rem;
}

.auth-main {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0 1rem;
}

.modal-dialog--auth {
    max-width: 420px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 1.5rem 1.35rem 1.35rem;
    background: var(--bg-panel);
    border: 1px solid #2e2e36;
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.auth-card--modal {
    position: relative;
    padding-top: 2.35rem;
    background: rgba(26, 26, 31, 0.92);
    backdrop-filter: blur(12px);
    border-color: #3a3a44;
}

.auth-card--modal .auth-modal-close {
    z-index: 5;
    top: 0.55rem;
    right: 0.55rem;
    background: #35353f;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.btn-auth-fechar {
    width: 100%;
    margin-top: 0.5rem;
}

.auth-card--texto {
    max-width: 520px;
}

.auth-titulo {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
}

.auth-subtitulo {
    margin: 0 0 1.25rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.auth-texto {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.auth-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.auth-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.72rem 0.85rem;
    border: 1px solid #3a3a44;
    border-radius: 10px;
    background: #1a1a20;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
}

.auth-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.auth-termos {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--text-muted);
    cursor: pointer;
}

.auth-termos input {
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--accent);
}

.auth-termos a {
    color: #93c5fd;
}

.btn-auth {
    width: 100%;
    margin-top: 0.25rem;
}

.auth-rodape {
    margin: 1.15rem 0 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-rodape a {
    color: #93c5fd;
    font-weight: 600;
    text-decoration: none;
}

.auth-rodape a:hover {
    text-decoration: underline;
}

.auth-link-btn {
    padding: 0;
    border: none;
    background: none;
    color: #93c5fd;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.auth-link-btn:hover {
    text-decoration: underline;
}

.btn-perfil-auth {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

.perfil-auth-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.btn-perfil-auth {
    width: 100%;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.tela-influencer {
    max-width: 520px;
    margin: 0 auto;
    padding: 0 0 2rem;
}

.influencer-hero {
    text-align: center;
    margin-bottom: 1.25rem;
}

.influencer-titulo {
    font-family: var(--font-display, inherit);
    font-size: 1.35rem;
    margin: 0 0 0.35rem;
}

.influencer-sub {
    color: var(--text-muted, #9ca3af);
    font-size: 0.9rem;
    margin: 0;
}

.influencer-stats {
    margin-bottom: 1.25rem;
}

.influencer-link-box {
    margin-bottom: 1.25rem;
}

.influencer-link-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted, #9ca3af);
    margin-bottom: 0.4rem;
}

.influencer-link-row {
    display: flex;
    gap: 0.5rem;
}

.influencer-link-input {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    color: inherit;
    font-size: 0.85rem;
}

.influencer-lista-titulo {
    font-size: 1rem;
    margin: 0 0 0.65rem;
}

.influencer-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.influencer-lista li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.875rem;
}

.influencer-lista li small {
    color: var(--text-muted, #9ca3af);
}

.influencer-badge-dep {
    font-size: 0.7rem;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    white-space: nowrap;
}

.indique-montante {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 1.1rem 1rem 1.25rem;
    background: linear-gradient(180deg, rgba(52, 211, 153, 0.12) 0%, rgba(26, 26, 32, 0.95) 100%);
    border-left: 1px solid #3a3a44;
    border-right: 1px solid #3a3a44;
    border-bottom: 1px solid #3a3a44;
    text-align: center;
}

.indique-montante.hidden {
    display: none !important;
}

.indique-montante-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.indique-montante-valor {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    font-weight: 800;
    color: var(--accent-green);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.modal-dialog--saque-status {
    text-align: center;
    max-width: 360px;
}

.modal-dialog--saque-loading {
    text-align: center;
    max-width: 340px;
    padding: 2rem 1.75rem 1.85rem;
    border: 1px solid rgba(74, 222, 128, 0.12);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.modal-backdrop--static {
    cursor: default;
}

.saque-loading-visual {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 1.35rem;
}

.saque-loading-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent-green);
    border-right-color: rgba(74, 222, 128, 0.35);
    animation: saque-loading-spin 1.1s cubic-bezier(0.5, 0.1, 0.3, 1) infinite;
}

.saque-loading-ring--delay {
    inset: 10px;
    border-top-color: rgba(74, 222, 128, 0.55);
    border-right-color: transparent;
    animation-duration: 1.6s;
    animation-direction: reverse;
}

.saque-loading-pix {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.saque-loading-pix img {
    filter: drop-shadow(0 2px 8px rgba(74, 222, 128, 0.25));
}

.saque-loading-titulo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
    color: var(--text-primary, #f4f4f5);
}

.saque-loading-valor {
    font-family: 'Outfit', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--accent-green);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.saque-loading-sub {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.saque-loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 1.15rem;
}

.saque-loading-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    opacity: 0.35;
    animation: saque-loading-dot 1.2s ease-in-out infinite;
}

.saque-loading-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.saque-loading-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes saque-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes saque-loading-dot {
    0%,
    80%,
    100% {
        opacity: 0.25;
        transform: scale(0.85);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
}

.saque-status-texto {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.45;
    margin: 0 0 1rem;
}

.saque-status-valor {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-green);
    margin: 0.5rem 0 1rem;
}

.saque-status-spinner {
    width: 36px;
    height: 36px;
    margin: 0.75rem auto 0;
    border: 3px solid #2e2e36;
    border-top-color: var(--accent-green);
    border-radius: 50%;
    animation: saque-spin 0.8s linear infinite;
}

@keyframes saque-spin {
    to { transform: rotate(360deg); }
}

.indique-saque-comissao {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem;
    background: var(--bg-panel);
    border-left: 1px solid #3a3a44;
    border-right: 1px solid #3a3a44;
}

.indique-saque-comissao.hidden {
    display: none !important;
}

.indique-saque-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.indique-saque-comissao .btn-sacar-comissao {
    margin-top: 0.35rem;
    width: 100%;
}

.indique-saque-hint {
    margin: 0.25rem 0 0;
    font-size: 0.68rem;
    line-height: 1.4;
    color: var(--text-muted);
    text-align: center;
}

.indique-stats.indique-stats--influencer {
    grid-template-columns: repeat(2, 1fr);
}

.indique-stat-ganhos-hidden {
    display: none !important;
}

.indique-hero.hidden {
    display: none !important;
}

/* —— Modal PIX (estilo raspadinha) —— */
.modal--pix-raspou {
    z-index: 210;
}

.modal-dialog--pix-raspou {
    max-width: 360px;
    max-height: min(92vh, 640px);
    overflow: hidden;
    padding: 0;
    border: none;
    border-radius: 18px;
    background: #1c1c22;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.modal-close--pix-raspou {
    z-index: 2;
    color: #93c5fd;
}

.pix-raspou-body {
    padding: 1.1rem 1.15rem 1rem;
    padding-top: 1.35rem;
}

.pix-raspou-valor-box {
    text-align: center;
    margin-bottom: 0.85rem;
}

.pix-raspou-valor-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.pix-raspou-valor {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #22c55e;
    letter-spacing: -0.03em;
}

.pix-raspou-qr-host {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 0.85rem;
    padding: 0.65rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    min-height: 208px;
    min-width: 208px;
}

.pix-raspou-qr-host img,
.pix-raspou-qr-host canvas {
    display: block;
    width: 196px !important;
    height: 196px !important;
}

.btn-pix-raspou-copy {
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-pix-raspou-copy:hover {
    filter: brightness(1.05);
}

.pix-raspou-code {
    width: 100%;
    font-size: 0.62rem;
    line-height: 1.3;
    padding: 0.5rem 0.55rem;
    border-radius: 8px;
    border: 1px solid #e4e4e7;
    background: #ffffff;
    color: #111827;
    resize: none;
    font-family: ui-monospace, monospace;
    margin-bottom: 0.45rem;
}

.pix-raspou-passos {
    margin: 0 0 0.65rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pix-raspou-passos li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.74rem;
    line-height: 1.35;
    color: #ffffff;
}

.pix-raspou-passos li span:first-child {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(59, 130, 246, 0.25);
    color: #3b82f6;
}

.pix-raspou-passos li strong {
    color: #ffffff;
    font-weight: 600;
}

.pix-raspou-aguardando {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    font-size: 0.78rem;
    color: #bfdbfe;
}

.pix-raspou-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: saque-spin 0.75s linear infinite;
}

.pix-raspou-voltar {
    display: block;
    width: 100%;
    margin-top: 0.65rem;
    padding: 0.35rem;
    border: none;
    background: none;
    font-size: 0.78rem;
    color: #60a5fa;
    text-decoration: underline;
    cursor: pointer;
}

.pix-raspou-voltar:hover {
    color: #93c5fd;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
