:root {
    /* Fundos principais */
    --home-bg: #0D131C;
    --bg-1: #161F2C;
    --bg-2: #202A39;
    --filter-bg: #202A39;
    --table-bg: #16202D;
    --keyboard-bg: #202A39;
    --base-container-bg: #0E131B;
    --topnav-bg: #16202D;
    --dropdown-bg: #2A3546;
    --component-bg: #161F2C;
    --bottom-nav-bg: #161F2C;

    /* Verde principal */
    --primary-green: #22C55E;
    --primary-green-hover: #16A34A;
    --primary-green-active: #15803D;
    --primary-green-soft: rgba(34, 197, 94, 0.14);
    --primary-green-border: rgba(34, 197, 94, 0.35);

    /* Textos e Ã­cones */
    --text-primary: #FFFFFF;
    --text-secondary: #AEB8C5;
    --text-muted: #7F8A99;
    --icon-color: #AEB8C5;

    /* Compatibilidade com os componentes existentes */
    --bg: var(--home-bg);
    --panel: var(--component-bg);
    --panel-2: var(--bg-2);
    --line: var(--primary-green-border);
    --text: var(--text-primary);
    --muted: var(--text-secondary);
    --green: var(--primary-green);
    --green-2: var(--primary-green-hover);
    --gold: #ffd84d;
    --danger: #ef4444;
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: #0D131C;
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.public-site {
    position: relative;
    min-height: 100vh;
    isolation: isolate;
    background-color: #0D131C;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
}


body.public-site:has(.contact-footer) .app-shell {
    padding-bottom: 0;
}

body.public-site:has(.contact-footer) .contact-footer {
    padding-bottom: 96px;
}

body.public-site .lobby-tabs,
body.public-site .called-strip,
body.public-site .promo-grid {
    scrollbar-width: none;
}

body.public-site .lobby-tabs::-webkit-scrollbar,
body.public-site .called-strip::-webkit-scrollbar,
body.public-site .promo-grid::-webkit-scrollbar {
    display: none;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.app-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 1120px);
    min-height: 100vh;
    margin: 0 auto;
    padding-bottom: 96px;
}

/* No computador, mantém a experiência pública com largura de celular */
@media (min-width: 769px) {
    body.public-site {
        background: #646D76;
    }

    body.public-site .app-shell {
        width: 430px;
        max-width: 430px;
        padding-bottom: 86px;
        background: #0D131C;
        box-shadow: 0 0 38px rgba(0, 0, 0, .38);
    }

    body.public-site:has(.contact-footer) .app-shell {
        padding-bottom: 86px;
    }

    body.public-site .topbar {
        height: 62px;
        gap: 4px;
        padding: 5px 6px;
        background: var(--topnav-bg);
    }

    body.public-site .topbar .brand {
        display: none;
    }

    body.public-site .top-actions,
    body.public-site .user-account-header {
        gap: 5px;
    }

    body.public-site .account-action {
        width: 44px;
        height: 44px;
    }

    body.public-site .mobile-bottom-navigation {
        position: fixed;
        bottom: 0;
        left: 50%;
        z-index: 60;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 430px;
        min-height: 72px;
        padding: 4px 0;
        transform: translateX(-50%);
        border-top: 1px solid rgba(255, 255, 255, .06);
        background: var(--bottom-nav-bg);
    }

    body.public-site .mobile-bottom-navigation a,
    body.public-site .mobile-bottom-navigation button {
        display: flex;
        min-width: 0;
        min-height: 64px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        padding: 4px 2px;
        border: 0;
        background: transparent;
        color: #9DA8B2;
        cursor: pointer;
        font-size: 9px;
        font-weight: 850;
        line-height: 1.15;
        text-align: center;
    }

    body.public-site .mobile-bottom-navigation a.active,
    body.public-site .mobile-bottom-navigation button.active {
        color: #38D568;
    }

    body.public-site .mobile-bottom-navigation svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.public-site .drawer {
        right: auto;
        left: 50%;
        width: 430px;
        transform: translateX(-50%);
        overflow: hidden;
    }

    body.public-site .drawer:not(.open) .drawer-panel {
        visibility: hidden;
    }

    body.public-site .drawer.open .drawer-panel {
        visibility: visible;
    }
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 82px;
    padding: 10px 18px;
    background: rgba(8, 19, 15, .92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    width: 86px;
    height: 56px;
    object-fit: contain;
}

.icon-btn,
.close-btn {
    border: 0;
    color: var(--text);
    background: #182821;
    border-radius: var(--radius);
    cursor: pointer;
}

.icon-btn {
    display: grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    place-content: center;
}

.icon-btn span {
    display: block;
    width: 20px;
    height: 3px;
    border-radius: 999px;
    background: #b8c8bf;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
    font-size: 14px;
    font-weight: 800;
}

.auth-link.accent,
.balance-pill {
    color: var(--green);
}

.balance-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #0e2218;
}

.divider {
    color: #65736b;
}

.page-content {
    padding: 16px;
}

.flash {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-weight: 800;
}

.flash.success {
    background: rgba(85, 232, 106, .14);
    border: 1px solid rgba(85, 232, 106, .32);
}

.flash.error {
    background: rgba(239, 68, 68, .14);
    border: 1px solid rgba(239, 68, 68, .32);
}

.hero-carousel {
    display: grid;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.hero-card {
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    border: 0;
    scroll-snap-align: center;
}

.hero-card img,
.promo-card img,
.drawer-banner img,
.auth-banner {
    display: block;
    width: 100%;
    height: auto;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 0;
}

.promo-card {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .08);
}

.lobby-tabs {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 12px;
    border-radius: var(--radius);
    background: #111d27;
    color: #91a39a;
    font-weight: 900;
}

.lobby-tabs span {
    white-space: nowrap;
}

.lobby-tabs .active {
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #31d35c, #11852f);
    color: white;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.game-card,
.invite-box,
.wallet-panel,
.list-panel,
.admin-panel,
.auth-card,
.game-room {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(31, 61, 44, .92), rgba(12, 25, 19, .96));
    box-shadow: 0 16px 42px rgba(0, 0, 0, .24);
}

.game-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 138px;
    padding: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at right, rgba(85, 232, 106, .28), transparent 34%),
        linear-gradient(135deg, #14271c, #08110d);
}

.game-card h2,
.section-title h1,
.room-head h1,
.admin-panel h1 {
    margin: 0;
}

.game-card p,
.section-title p,
.room-head p,
.center-muted,
.empty {
    color: var(--muted);
}

.eyebrow {
    margin: 0 0 6px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.play-btn,
.primary-btn,
.copy-btn,
.soft-btn,
.admin-form button,
.finance-row button,
.inline-balance button,
.delete-form button {
    border: 0;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #72f77d, #29b646);
    color: #061009;
    cursor: pointer;
    font-weight: 950;
    text-align: center;
}

.play-btn,
.copy-btn {
    padding: 12px 16px;
}

.primary-btn {
    width: 100%;
    padding: 15px 18px;
    text-transform: uppercase;
}

.soft-btn {
    padding: 0 20px;
    background: #377d46;
}

.invite-box {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 18px;
}

.drawer {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    background: rgba(0, 0, 0, 0);
    transition: background .2s ease;
}

.drawer.open {
    pointer-events: auto;
    background: rgba(0, 0, 0, .55);
}

.drawer-panel {
    width: min(86vw, 330px);
    height: 100%;
    padding: 16px;
    overflow-y: auto;
    background: #08130f;
    border-right: 1px solid var(--line);
    transform: translateX(-102%);
    transition: transform .22s ease;
}

.drawer.open .drawer-panel {
    transform: translateX(0);
}

.drawer-head,
.drawer-chips,
.coupon-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-head {
    justify-content: space-between;
    margin-bottom: 14px;
}

.drawer-head img,
.login-logo {
    width: 142px;
    height: 94px;
    object-fit: contain;
}

.close-btn {
    width: 42px;
    height: 42px;
    font-size: 22px;
}

.chip {
    flex: 1;
    padding: 10px;
    border-radius: 999px;
    background: #1b2a23;
    color: #b8c8bf;
    text-align: center;
    font-weight: 900;
}

.chip.active {
    background: #0ea83d;
    color: #fff;
}

.drawer-banner {
    display: block;
    overflow: hidden;
    margin-top: 10px;
    border-radius: var(--radius);
}

.coupon-box,
.drawer-links {
    margin-top: 14px;
}

.coupon-box label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.coupon-row input {
    min-width: 0;
    flex: 1;
}

.coupon-row button {
    width: 54px;
}

.drawer-links {
    display: grid;
    gap: 9px;
}

.drawer-links a,
.drawer-links button {
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-radius: var(--radius);
    background: #1b2a36;
    color: #fff;
    font-weight: 900;
    text-align: left;
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(100%, 1120px);
    transform: translateX(-50%);
    padding: 9px 10px 12px;
    border-top: 1px solid var(--line);
    background: rgba(8, 17, 14, .96);
    backdrop-filter: blur(14px);
}

.bottom-nav a {
    display: grid;
    gap: 5px;
    place-items: center;
    min-width: 0;
    color: #9bacb5;
    font-size: 12px;
    font-weight: 900;
}

.bottom-nav a.active {
    color: var(--green);
}

.bottom-nav svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.auth-card {
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
}

.auth-card.compact {
    max-width: 460px;
    padding: 24px;
    text-align: center;
}

.auth-form,
.money-form,
.admin-form {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.auth-form label,
.money-form label,
.admin-form label {
    color: #dce8df;
    font-weight: 750;
}

input,
select,
textarea {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    outline: none;
    background: #263a32;
    color: #fff;
}

textarea {
    min-height: 78px;
    padding: 10px 12px;
}

.split-row,
.phone-row {
    display: grid;
    gap: 10px;
}

.split-row {
    grid-template-columns: 1fr 132px;
}

.phone-row {
    grid-template-columns: 128px 1fr;
}

.phone-row span {
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: #263a32;
    color: #dce8df;
    font-weight: 900;
}

.country-phone-row { grid-template-columns: minmax(170px, .75fr) 1fr; }
.country-phone-row select { padding-right: 8px; font-weight: 850; }

.check-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.check-row input {
    width: 24px;
    min-height: 24px;
}

.check-row.small {
    padding: 0;
    border: 0;
}

.center-muted {
    text-align: center;
    font-weight: 800;
}

.center-muted a {
    color: var(--green);
}

.wallet-panel,
.list-panel,
.game-room,
.admin-panel {
    padding: 18px;
    margin-bottom: 16px;
}

.quick-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 8px;
}

.quick-values button {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #14271c;
    color: #fff;
    font-weight: 900;
}

.history-row,
.finance-row,
.user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.history-row span,
.finance-row span,
.user-row span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.status {
    padding: 6px 10px;
    border-radius: 999px;
    background: #24362d;
    color: var(--muted);
    font-style: normal;
    font-weight: 900;
}

.status.paid,
.status.approved {
    background: rgba(85, 232, 106, .16);
    color: var(--green);
}

.status.pending {
    background: rgba(255, 216, 77, .14);
    color: var(--gold);
}

.status.rejected {
    background: rgba(239, 68, 68, .14);
    color: #ff9a9a;
}

.room-head,
.buy-panel,
.ball-stage {
    display: grid;
    gap: 14px;
}

.room-head {
    grid-template-columns: 1fr auto;
    align-items: start;
}

.round-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.round-summary > div {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
}

.round-summary small, .recent-balls small, .buy-total small { color: var(--muted); font-weight: 800; }
.round-summary strong { color: #fff; font-size: 18px; }

.voice-toggle {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0d2117;
    color: var(--green);
    font-weight: 900;
}

.buy-panel {
    grid-template-columns: 1fr 1fr minmax(180px, .8fr);
    align-items: end;
    margin: 16px 0;
    padding: 14px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
}

.ball-stage {
    grid-template-columns: 112px 150px 1fr;
    align-items: center;
    padding: 16px;
    border-radius: var(--radius);
    background: radial-gradient(circle at left, rgba(85, 232, 106, .22), rgba(255, 255, 255, .04));
}

.recent-balls > div { display: flex; gap: 7px; margin-top: 7px; }
.recent-balls span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #102119; font-weight: 950; }

.number-board {
    display: grid;
    grid-template-columns: repeat(16, minmax(28px, 1fr));
    gap: 5px;
    margin: 14px 0;
    padding: 10px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.04);
}

.number-board span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: #25352d; color: #7f9288; font-size: 12px; font-weight: 900; }
.number-board span.called { background: #55e86a; color: #07170d; box-shadow: 0 0 10px rgba(85,232,106,.3); }

.winner-overlay { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.78); }
.winner-overlay[hidden] { display: none; }
.winner-overlay > div { width: min(92vw, 440px); padding: 30px 20px; border: 3px solid #ffd84d; border-radius: 24px; background: radial-gradient(circle at top, #237c3b, #081e12 72%); text-align: center; box-shadow: 0 0 50px rgba(255,216,77,.35); }
.winner-overlay span { color: #ffd84d; font-weight: 1000; letter-spacing: .12em; }
.winner-overlay h2 { margin: 8px 0; color: #fff; font-size: clamp(34px, 8vw, 58px); }
.winner-overlay p { margin: 8px 0; font-size: 22px; font-weight: 900; }
.winner-overlay strong { color: #ffd84d; }

.last-ball {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(circle at 28% 28%, #fff, #9ff0a8 45%, #0a6e28 78%);
    color: #051009;
    font-size: 34px;
    font-weight: 1000;
    box-shadow: 0 0 28px rgba(85, 232, 106, .38);
}

.called-strip {
    display: flex;
    gap: 7px;
    margin: 14px 0;
    overflow-x: auto;
}

.called-strip span {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: #1c3126;
    color: #fff;
    font-weight: 900;
}

.cards-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 14px;
}

.bingo-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: #fff;
    color: #122017;
}

.bingo-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #0f7d31;
    color: #fff;
    font-weight: 950;
}

.bingo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    padding: 8px;
    background: #d6ded9;
}

.bingo-grid strong,
.bingo-grid button {
    display: grid;
    min-height: 45px;
    place-items: center;
    border: 0;
    background: #fff;
    color: #102119;
    font-weight: 950;
}

.bingo-grid strong {
    background: #edf5ef;
    color: #0f7d31;
}

.bingo-grid button.marked {
    background: #55e86a;
}

.bingo-grid button.free {
    background: #ffd84d;
}

.admin-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
}

.admin-nav a {
    padding: 10px 14px;
    border-radius: var(--radius);
    background: #16271f;
    color: var(--muted);
    font-weight: 900;
    white-space: nowrap;
}

.admin-nav a.active {
    background: #22b54a;
    color: #fff;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.admin-grid article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #13251c;
}

.admin-grid span {
    display: block;
    color: var(--muted);
}

.admin-grid strong {
    display: block;
    margin-top: 8px;
    font-size: 28px;
}

.grid-form {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    padding: 0;
}

.edit-line,
.banner-edit {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.banner-edit {
    grid-template-columns: 120px repeat(auto-fit, minmax(160px, 1fr));
}

.banner-file-field {
    display: grid;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 800;
}

.banner-file-field input[type="file"] {
    width: 100%;
    padding: 9px;
    border: 1px solid #2A3546;
    border-radius: var(--radius);
    background: #0E131B;
    color: var(--text-secondary);
}

.banner-edit img {
    width: 120px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius);
}

.finance-row form {
    margin: 0;
}

.finance-row button,
.inline-balance button,
.admin-form button,
.delete-form button {
    min-height: 42px;
    padding: 0 12px;
}

.delete-form {
    display: flex;
    justify-content: flex-end;
    margin: 8px 0 14px;
}

.delete-form button {
    background: #4a1717;
    color: #ffd5d5;
}

.inline-balance {
    display: grid;
    grid-template-columns: 120px 100px 1fr 92px;
    gap: 8px;
    width: min(100%, 560px);
}

@media (max-width: 720px) {
    .page-content {
        padding: 12px;
    }

    .topbar {
        height: 72px;
        padding: 8px 12px;
    }

    .brand img {
        width: 72px;
        height: 50px;
    }

    .auth-link {
        font-size: 13px;
    }

    .promo-grid,
    .buy-panel,
    .split-row,
    .phone-row,
    .ball-stage,
    .room-head,
    .invite-box,
    .inline-balance {
        grid-template-columns: 1fr;
    }

    .invite-box {
        display: grid;
    }

    .round-summary { grid-template-columns: repeat(2, 1fr); }
    .round-summary > div { padding: 9px; }
    .round-summary strong { font-size: 15px; }
    .ball-stage { grid-template-columns: 92px 1fr; }
    .ball-stage > div:last-child { grid-column: 1 / -1; }
    .last-ball { width: 78px; height: 78px; font-size: 28px; }
    .number-board { grid-template-columns: repeat(10, 1fr); gap: 4px; padding: 7px; }
    .number-board span { font-size: 11px; }
    .cards-area { grid-template-columns: 1fr; }

    .history-row,
    .finance-row,
    .user-row {
        display: grid;
        align-items: stretch;
    }

    .banner-edit {
        grid-template-columns: 1fr;
    }

    .banner-edit img {
        width: 100%;
        height: auto;
    }
}

/* Prioridade final do novo menu lateral */
.drawer-panel .drawer-links a,
.drawer-panel .drawer-links button { color: #F6F7F9; }
.drawer-panel .drawer-links svg,
.drawer-panel .drawer-links .telegram-icon { width: 32px; height: 32px; }
.drawer-panel .drawer-links a:hover,
.drawer-panel .drawer-links a:focus-visible,
.drawer-panel .drawer-links button:hover,
.drawer-panel .drawer-links button:focus-visible { background: #293545; color: #fff; }
@media (max-width: 430px) {
    .drawer-panel .drawer-links svg,
    .drawer-panel .drawer-links .telegram-icon { width: 29px; height: 29px; }
}

/* Prioridade final: menu lateral compacto, alinhado e com icones uniformes */
.drawer-panel { width: min(82vw, 330px); padding: 12px 12px 28px; }
.drawer-icon-gradient { position: absolute; width: 0; height: 0; overflow: hidden; }
.drawer-panel .drawer-links { gap: 9px; margin-top: 11px; }
.drawer-panel .drawer-links a,
.drawer-panel .drawer-links button {
    width: 100%; min-height: 58px; padding: 10px 15px; gap: 13px;
    border-radius: 13px; background: #222C3A; color: #F6F7F9;
    font-size: 16px; line-height: 1.2;
}
.drawer-panel .drawer-links svg,
.drawer-panel .drawer-links .telegram-icon {
    width: 28px; height: 28px; flex: 0 0 28px;
    color: #F5A13B; stroke: url(#drawer-menu-icon-gradient); stroke-width: 1.9;
}
.drawer-panel .drawer-links .telegram-icon { fill: url(#drawer-menu-icon-gradient); stroke: none; }
.drawer-panel .drawer-links .solid-dot { fill: url(#drawer-menu-icon-gradient); stroke: none; }
@media (min-width: 721px) {
    body.public-site .drawer-panel { width: 330px; max-width: 82vw; }
}
@media (max-width: 430px) {
    .drawer-panel { width: 82vw; padding-right: 10px; padding-left: 10px; }
    .drawer-panel .drawer-links a,
    .drawer-panel .drawer-links button { min-height: 56px; padding: 9px 13px; font-size: 15px; }
    .drawer-panel .drawer-links svg,
    .drawer-panel .drawer-links .telegram-icon { width: 27px; height: 27px; flex-basis: 27px; }
}

/* Menu lateral compacto e uniforme */
.drawer-panel { width: min(82vw, 330px); padding: 12px 12px 28px; }
.drawer-icon-gradient { position: absolute; width: 0; height: 0; overflow: hidden; }
.drawer-panel .drawer-links { gap: 9px; margin-top: 11px; }
.drawer-panel .drawer-links a,
.drawer-panel .drawer-links button {
    width: 100%; min-height: 58px; padding: 10px 15px; gap: 13px;
    border-radius: 13px; background: #222C3A; color: #F6F7F9;
    font-size: 16px; line-height: 1.2;
}
.drawer-panel .drawer-links svg,
.drawer-panel .drawer-links .telegram-icon {
    width: 28px; height: 28px; flex: 0 0 28px; color: #F5A13B;
    stroke: url(#drawer-menu-icon-gradient); stroke-width: 1.9;
}
.drawer-panel .drawer-links .telegram-icon { fill: url(#drawer-menu-icon-gradient); stroke: none; }
.drawer-panel .drawer-links .solid-dot { fill: url(#drawer-menu-icon-gradient); stroke: none; }
.drawer-panel .drawer-links a:hover,
.drawer-panel .drawer-links a:focus-visible,
.drawer-panel .drawer-links button:hover,
.drawer-panel .drawer-links button:focus-visible { background: #293545; color: #fff; }
@media (min-width: 721px) {
    body.public-site .drawer-panel { width: 330px; max-width: 82vw; }
}
@media (max-width: 430px) {
    .drawer-panel { width: 82vw; padding-right: 10px; padding-left: 10px; }
    .drawer-panel .drawer-links a,
    .drawer-panel .drawer-links button { min-height: 56px; padding: 9px 13px; font-size: 15px; }
    .drawer-panel .drawer-links svg,
    .drawer-panel .drawer-links .telegram-icon { width: 27px; height: 27px; flex-basis: 27px; }
}

@media (max-width: 720px) { .country-phone-row { grid-template-columns: minmax(155px, .85fr) 1fr; } .country-phone-row input, .country-phone-row select { min-width: 0; padding-left: 10px; font-size: 14px; } }

/* Authenticated account header */
.user-account-header {
    display: flex;
    align-items: center;
    gap: 9px;
}

.user-balance {
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.account-menu-wrapper {
    position: relative;
}

.account-action {
    display: grid;
    width: 52px;
    height: 52px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
}

.account-action svg,
.copy-user-id svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wallet-trigger {
    background: #20b94b;
}

.wallet-trigger:hover,
.wallet-trigger:focus-visible {
    background: #38d568;
}

.account-trigger {
    background: #34404d;
}

.messages-trigger {
    background: #e3e7eb;
    color: #52606c;
}

.account-action:focus-visible,
.account-dropdown a:focus-visible,
.account-dropdown button:focus-visible {
    outline: 3px solid rgba(56, 213, 104, .55);
    outline-offset: 2px;
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 100;
    min-width: 172px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    background: var(--dropdown-bg);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .42);
    color: #fff;
}

.account-dropdown[hidden] {
    display: none;
}

.account-dropdown a,
.account-dropdown button,
.account-user-id {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    color: inherit;
    font-weight: 800;
    text-align: left;
}

.account-dropdown a + a,
.copy-user-id {
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.account-dropdown a:hover,
.account-dropdown button:hover {
    background: rgba(56, 213, 104, .12);
}

.account-user-id {
    white-space: nowrap;
}

.copy-user-id {
    cursor: pointer;
}

.copy-user-id svg {
    width: 19px;
    height: 19px;
}

/* Mobile-only bottom navigation */
.mobile-bottom-navigation {
    display: none;
}

@media (min-width: 769px) {
    .app-shell {
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .app-shell {
        padding-bottom: calc(106px + env(safe-area-inset-bottom));
    }

    .topbar {
        z-index: 70;
        background: var(--topnav-bg);
    }

    .mobile-bottom-navigation {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 60;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        min-height: 88px;
        padding: 7px 0 env(safe-area-inset-bottom);
        border-top: 1px solid rgba(255, 255, 255, .06);
        background: var(--bottom-nav-bg);
    }

    .mobile-bottom-navigation a,
    .mobile-bottom-navigation button {
        display: flex;
        min-width: 0;
        min-height: 74px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        padding: 6px 2px;
        color: #9da8b2;
        font-size: 10px;
        font-weight: 850;
        line-height: 1.15;
        text-align: center;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .mobile-bottom-navigation a.active,
    .mobile-bottom-navigation button.active {
        color: #38d568;
    }

    .mobile-bottom-navigation svg {
        width: 25px;
        height: 25px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .account-action {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 430px) {
    .topbar {
        gap: 6px;
        padding: 7px 8px;
    }

    .topbar .brand {
        display: none;
    }

    .top-actions,
    .user-account-header {
        gap: 5px;
    }

    .user-balance {
        font-size: clamp(11px, 3.5vw, 15px);
    }
}

@media (max-width: 350px) {
    .icon-btn {
        width: 38px;
        height: 38px;
    }

    .account-action {
        width: 42px;
        height: 42px;
    }

    .account-action svg {
        width: 21px;
        height: 21px;
    }
}

/* Compact mobile refinement */
.drawer {
    z-index: 90;
}

@media (max-width: 768px) {
    .app-shell {
        padding-bottom: calc(86px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-navigation {
        min-height: 72px;
        padding: 4px 0 env(safe-area-inset-bottom);
    }

    .mobile-bottom-navigation a,
    .mobile-bottom-navigation button {
        min-height: 64px;
        gap: 3px;
        padding: 4px 2px;
        font-size: 9px;
    }

    .mobile-bottom-navigation svg {
        width: 22px;
        height: 22px;
    }

    .account-action {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 430px) {
    .topbar {
        height: 62px;
        gap: 4px;
        padding: 5px 6px;
    }

    .topbar .brand {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .topbar .brand img {
        width: 42px;
        height: 42px;
    }

    .icon-btn {
        width: 36px;
        height: 36px;
    }

    .top-actions,
    .user-account-header {
        gap: 3px;
    }

    .user-balance {
        font-size: clamp(10px, 3.15vw, 13px);
    }

    .account-action {
        width: 38px;
        height: 38px;
    }

    .account-action svg {
        width: 19px;
        height: 19px;
    }
}

@media (max-width: 350px) {
    .icon-btn {
        width: 34px;
        height: 34px;
    }

    .account-action {
        width: 35px;
        height: 35px;
    }
}


/* Banner dimensions */
.hero-carousel {
    display: flex;
    cursor: grab;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.hero-carousel::-webkit-scrollbar {
    display: none;
}

.hero-carousel-wrap {
    position: relative;
}

.hero-carousel.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.hero-card {
    flex: 0 0 100%;
    aspect-ratio: 1170 / 512;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-pagination {
    position: absolute;
    z-index: 2;
    top: 9px;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 18px;
    padding: 0 12px;
    pointer-events: none;
}

.hero-pagination button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .34);
    cursor: pointer;
    transition: width .2s ease, background-color .2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .55);
    pointer-events: auto;
}

.hero-pagination button.active {
    width: 19px;
    background: #38d568;
}

.promo-grid {
    grid-template-columns: repeat(3, minmax(0, 348px));
    justify-content: center;
}

.promo-card {
    width: 100%;
    max-width: 348px;
    aspect-ratio: 348 / 180;
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .promo-grid {
        display: flex;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .promo-grid::-webkit-scrollbar {
        display: none;
    }

    .promo-card {
        flex: 0 0 min(82vw, 348px);
        scroll-snap-align: start;
    }
}


/* Home announcement slider */
.home-text-slider {
    display: flex;
    align-items: center;
    gap: 8px;
    width: calc(100% + 24px);
    margin: 7px -12px -7px;
    padding: 0 5px;
    color: var(--slider-text-color, #fff);
    font-size: 12px;
    font-weight: 650;
    line-height: 32px;
    white-space: nowrap;
}

.home-text-slider-track {
    display: flex;
    width: max-content;
    animation: home-text-slide 16s linear infinite;
    will-change: transform;
}

.home-text-slider-track > span {
    min-width: max-content;
    padding-right: 72px;
}


.home-text-slider-viewport {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.slider-speaker {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 28px;
    place-items: center;
}

.slider-speaker svg {
    display: block;
    width: 38px;
    height: 28px;
    overflow: visible;
}

.slider-speaker .speaker-body {
    fill: var(--slider-accent-color, #22C55E);
}

.slider-speaker .speaker-wave {
    fill: none;
    stroke: var(--slider-accent-color, #22C55E);
    stroke-width: 2;
    stroke-linecap: round;
    animation: speaker-wave-pulse 1.2s ease-in-out infinite;
    transform-origin: 18px 14px;
}

.slider-speaker .wave-2 { animation-delay: .15s; }
.slider-speaker .wave-3 { animation-delay: .3s; }

.slider-message-card {
    position: relative;
    display: grid;
    width: 38px;
    height: 28px;
    flex: 0 0 38px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.slider-message-card svg {
    display: block;
    width: 38px;
    height: 28px;
    filter: drop-shadow(0 3px 6px rgba(34, 197, 94, .25));
}

.slider-message-card .message-card-back {
    fill: var(--slider-accent-color, #22C55E);
    stroke: var(--slider-accent-color, #22C55E);
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.slider-message-card .message-card-flap,
.slider-message-card .message-card-fold {
    fill: none;
    stroke: #E8FFF0;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.message-notification-dot { position: absolute; top: -2px; right: -2px; width: 8px; height: 8px; border: 2px solid #0D131C; border-radius: 50%; background: #fff; }
.slider-message-card:focus-visible { border-radius: 5px; outline: 2px solid var(--slider-accent-color, #22C55E); outline-offset: 3px; }

.messages-modal[hidden] { display: none; }
.messages-modal { position: fixed; z-index: 1000; inset: 0; display: grid; padding: 16px; place-items: center; background: rgba(0, 0, 0, .72); backdrop-filter: blur(5px); }
.messages-dialog { width: min(100%, 620px); max-height: min(82vh, 720px); overflow: hidden; border: 1px solid #2A3546; border-radius: 18px; background: #161F2C; box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }
.messages-dialog > header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid #2A3546; }
.messages-dialog > header h2 { margin: 0; font-size: 20px; font-weight: 600; }
.messages-dialog > header button { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #202A39; color: #fff; cursor: pointer; font-size: 27px; line-height: 1; }
.messages-list { display: flex; gap: 8px; padding: 12px; overflow-x: auto; border-bottom: 1px solid #2A3546; scrollbar-width: thin; }
.messages-list button { min-width: max-content; padding: 9px 13px; border: 1px solid #2A3546; border-radius: 9px; background: #0E131B; color: #AEB8C5; cursor: pointer; }
.messages-list button.active { border-color: #22C55E; background: rgba(34, 197, 94, .12); color: #fff; }
.messages-content { max-height: 55vh; padding: 18px; overflow-y: auto; color: #E4E9F0; line-height: 1.6; }
.messages-content article > :first-child { margin-top: 0; }
.messages-content article > :last-child { margin-bottom: 0; }
.messages-content a { color: #22C55E; text-decoration: underline; }
.messages-content img { max-width: 100%; height: auto; }
.messages-empty-state { margin: 0; padding: 28px 18px; color: #AEB8C5; text-align: center; }

@keyframes speaker-wave-pulse {
    0%, 100% { opacity: .28; }
    50% { opacity: 1; }
}

.home-text-slider strong {
    color: var(--slider-accent-color, #22C55E);
    font-weight: 950;
}

@media (max-width: 520px) {
    .home-text-slider {
        gap: 6px;
        font-size: 10px;
        font-weight: 600;
        line-height: 28px;
    }

    .slider-speaker,
    .slider-speaker svg {
        width: 32px;
        height: 25px;
    }

    .slider-speaker { flex-basis: 32px; }
    .slider-message-card { width: 32px; height: 25px; flex-basis: 32px; }
    .slider-message-card svg { width: 32px; height: 25px; }
}

.message-admin-item { margin-top: 16px; padding-top: 16px; border-top: 1px solid #2A3546; }
.message-admin-item textarea, .message-create-form textarea { min-height: 190px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Área de promoção e afiliados */
body:has(.affiliate-page) .topbar { display: none; }
body:has(.affiliate-page) .page-content { padding: 0; }
body:has(.affiliate-page) .compliance-footer,
body:has(.affiliate-page) .contact-footer { display: none; }
.affiliate-page { min-height: calc(100vh - 82px); padding-bottom: 105px; background: linear-gradient(180deg, #173327, #0D1D16 70%); color: #fff; }
.affiliate-head { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; min-height: 72px; padding: 8px 14px; border-bottom: 1px solid rgba(34,197,94,.35); }
.affiliate-head a { color: #AEB8C5; font-size: 48px; font-weight: 200; line-height: 1; }
.affiliate-head h1 { margin: 0; font-size: 28px; font-weight: 400; text-align: center; }
.affiliate-tabs { display: flex; gap: 6px; padding: 0 14px; overflow-x: auto; border-bottom: 1px solid rgba(34,197,94,.3); scrollbar-width: none; }
.affiliate-tabs::-webkit-scrollbar { display: none; }
.affiliate-tabs a { position: relative; min-width: max-content; padding: 17px 14px 15px; color: #C4CDD7; font-size: 15px; }
.affiliate-tabs a.active { color: #55E86A; }
.affiliate-tabs a.active::after { position: absolute; right: 10px; bottom: 0; left: 10px; height: 4px; border-radius: 4px 4px 0 0; background: #55E86A; content: ""; }
.affiliate-hero-card { margin: 22px 16px 14px; padding: 24px; border-radius: 18px; background: #10271D; box-shadow: 0 14px 35px rgba(0,0,0,.22); }
.affiliate-hero-card p { margin: 0; color: #AEB8C5; }
.affiliate-hero-card > strong { display: block; margin: 4px 0 10px; color: #FFD45C; font-size: 44px; font-weight: 500; }
.affiliate-hero-card > span { display: block; color: #D6DEE7; line-height: 1.55; }
.affiliate-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 16px 16px; }
.affiliate-stats-grid article { display: grid; gap: 7px; padding: 17px; border-radius: 15px; background: #10271D; }
.affiliate-stats-grid span { color: #91A09A; font-size: 13px; }
.affiliate-stats-grid strong { color: #fff; font-size: 18px; font-weight: 500; }
.affiliate-primary-link { display: flex; align-items: center; justify-content: space-between; margin: 18px 16px; padding: 18px 20px; border-radius: 14px; background: #F9B33E; color: #1D261F; font-size: 18px; }
.affiliate-primary-link span { font-size: 32px; line-height: .6; }
.affiliate-link-card { display: grid; grid-template-columns: 155px minmax(0,1fr); gap: 18px; align-items: center; margin: 22px 16px 14px; padding: 18px; border-radius: 18px; background: #10271D; }
.affiliate-link-card img { display: block; width: 155px; max-width: 100%; border: 4px solid #55E86A; border-radius: 14px; background: #fff; }
.affiliate-link-card label { color: #91A09A; font-size: 13px; }
.affiliate-link-card p { padding: 12px; overflow: hidden; border: 1px solid rgba(34,197,94,.5); border-radius: 10px; color: #D8E1E9; text-overflow: ellipsis; white-space: nowrap; }
.affiliate-link-card button, .affiliate-share-row button, .affiliate-share-row a { min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: #22C55E; color: #061009; cursor: pointer; font-weight: 800; }
.affiliate-share-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 16px; }
.affiliate-share-row a, .affiliate-share-row button { display: inline-flex; flex: 1; align-items: center; justify-content: center; }
.affiliate-share-row a:first-child { background: #25D366; }
.affiliate-share-row a:nth-child(2) { background: #38A8E8; color: #fff; }
.affiliate-data-card, .affiliate-invite-list { margin: 18px 16px; padding: 20px; border-radius: 18px; background: #10271D; }
.affiliate-data-card h2, .affiliate-invite-list h2 { margin: 0 0 15px; font-size: 21px; font-weight: 500; text-align: center; }
.affiliate-data-card dl { margin: 0; }
.affiliate-data-card dl div { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.affiliate-data-card dl div:last-child { border-bottom: 0; }
.affiliate-data-card dt { color: #AEB8C5; }
.affiliate-data-card dd { margin: 0; color: #FFD45C; text-align: right; }
.affiliate-performance-head { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 16px 0; }
.affiliate-performance-head div { display: grid; gap: 7px; padding: 17px; border-radius: 14px; background: #10271D; }
.affiliate-performance-head span { color: #91A09A; font-size: 13px; }
.affiliate-performance-head strong { font-size: 24px; font-weight: 500; }
.affiliate-invite-list article { display: flex; justify-content: space-between; gap: 12px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.affiliate-invite-list article:last-of-type { border-bottom: 0; }
.affiliate-invite-list article > div { display: grid; gap: 5px; min-width: 0; }
.affiliate-invite-list article > div:last-child { flex: 0 0 auto; text-align: right; }
.affiliate-invite-list article strong { font-size: 14px; font-weight: 600; }
.affiliate-invite-list article > div:last-child strong { color: #FFD45C; }
.affiliate-invite-list article span { color: #91A09A; font-size: 12px; }
.affiliate-empty { margin: 34px 0; color: #91A09A; text-align: center; }

@media (max-width: 520px) {
    .affiliate-head { min-height: 62px; }
    .affiliate-head h1 { font-size: 23px; }
    .affiliate-tabs { padding: 0 4px; }
    .affiliate-tabs a { padding: 14px 11px 13px; font-size: 13px; }
    .affiliate-hero-card { margin-top: 16px; padding: 20px; }
    .affiliate-hero-card > strong { font-size: 38px; }
    .affiliate-link-card { grid-template-columns: 105px minmax(0,1fr); gap: 12px; padding: 14px; }
    .affiliate-link-card img { width: 105px; }
    .affiliate-link-card p { margin: 7px 0; padding: 9px; font-size: 12px; }
    .affiliate-link-card button { min-height: 38px; font-size: 12px; }
    .affiliate-share-row a, .affiliate-share-row button { min-width: calc(33.33% - 7px); padding: 0 8px; font-size: 12px; }
    .affiliate-data-card, .affiliate-invite-list { margin: 14px 10px; padding: 16px; }
    .affiliate-invite-list article { align-items: flex-start; }
}

/* Refinamento visual plano da área de afiliados */
.affiliate-page { --affiliate-border: #183D29; background: #161F2C; }
.affiliate-head { border-bottom-color: var(--affiliate-border); background: #161F2C; }
.affiliate-tabs { justify-content: space-around; gap: 0; padding: 0; border-bottom-color: var(--affiliate-border); background: #161F2C; }
.affiliate-tabs a { flex: 1 0 auto; padding-right: 18px; padding-left: 18px; color: #D7DDE5; text-align: center; }
.affiliate-tabs a.active { color: #22C55E; }
.affiliate-tabs a.active::after { right: 20%; left: 20%; background: var(--affiliate-border); }
.affiliate-link-card,
.affiliate-data-card,
.affiliate-invite-list,
.affiliate-performance-head div { border: 1px solid var(--affiliate-border); background: #111923; box-shadow: none; }
.affiliate-link-card { margin-top: 24px; }
.affiliate-link-card img { border-color: var(--affiliate-border); }
.affiliate-link-card p { border-color: var(--affiliate-border); background: #0D131C; }
.affiliate-link-card button { border: 1px solid var(--affiliate-border); background: #13251B; color: #E9F7ED; }
.affiliate-share-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.affiliate-share-row a,
.affiliate-share-row button,
.affiliate-share-row a:first-child,
.affiliate-share-row a:nth-child(2) { display: grid; min-width: 0; min-height: 92px; padding: 9px 4px; place-items: center; gap: 7px; border: 1px solid var(--affiliate-border); border-radius: 14px; background: #111923; color: #D7DDE5; font-size: 12px; font-weight: 500; }
.affiliate-share-row svg { width: 42px; height: 42px; padding: 8px; border-radius: 50%; fill: currentColor; }
.affiliate-share-row .share-whatsapp svg { background: #25D366; color: #fff; }
.affiliate-share-row .share-telegram svg { background: #279FDB; color: #fff; }
.affiliate-share-row .share-instagram svg { background: #B93686; color: #fff; }
.affiliate-share-row .share-native svg { padding: 9px; border: 2px solid var(--affiliate-border); fill: none; stroke: #AEB8C5; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.affiliate-data-card dl div { border-bottom-color: var(--affiliate-border); }
.affiliate-data-card dd,
.affiliate-invite-list article > div:last-child strong { color: #E7C65A; }
.affiliate-invite-list article { border-bottom-color: var(--affiliate-border); }

@media (max-width: 520px) {
    .affiliate-tabs a { padding-right: 13px; padding-left: 13px; }
    .affiliate-link-card { grid-template-columns: 112px minmax(0, 1fr); margin: 18px 10px 12px; }
    .affiliate-share-row { gap: 7px; margin: 14px 10px; }
    .affiliate-share-row a,
    .affiliate-share-row button,
    .affiliate-share-row a:first-child,
    .affiliate-share-row a:nth-child(2) { min-width: 0; min-height: 84px; padding: 7px 2px; font-size: 10px; }
    .affiliate-share-row svg { width: 38px; height: 38px; }
}

/* Menu lateral em cartões, inspirado na referência mobile */
.drawer { transition: background .24s ease, backdrop-filter .24s ease; }
.drawer.open { background: rgba(5, 10, 15, .66); backdrop-filter: blur(8px); }
.drawer-panel { width: min(86vw, 370px); padding: 14px 14px 34px; border-right: 0; background: #101821; box-shadow: 14px 0 34px rgba(0, 0, 0, .38); scrollbar-width: thin; scrollbar-color: #35404E transparent; }
.drawer-head { min-height: 58px; margin-bottom: 12px; padding: 0 4px; }
.drawer-head img { width: 118px; height: 54px; }
.drawer-head .close-btn { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #35404E; border-radius: 50%; background: #202A38; color: #fff; font-size: 0; }
.drawer-head .close-btn::before { content: "×"; font-size: 27px; font-weight: 300; line-height: 1; }
.drawer-chips { gap: 9px; margin-bottom: 10px; }
.drawer-chips .chip { min-height: 54px; padding: 10px 12px; border: 0; border-radius: 13px; background: #222C3A; color: #F2F4F7; font-size: 15px; font-weight: 700; }
.drawer-chips .chip.active { background: #222C3A; color: #F5B73F; }
.drawer-chips .chip svg { width: 25px; height: 25px; color: #F5B73F; }
.drawer-banner { margin-top: 9px; border: 0; border-radius: 13px; background: #222C3A; }
.drawer-banner img { min-height: 82px; object-fit: cover; }
.coupon-box { margin-top: 12px; padding: 13px; border-radius: 13px; background: #222C3A; }
.coupon-box label { margin-bottom: 8px; color: #fff; font-size: 15px; }
.coupon-row input { min-height: 44px; border: 1px solid #3A4655; border-radius: 9px; background: #151E29; color: #fff; }
.coupon-row button { min-height: 44px; border: 0; border-radius: 9px; background: #F5B73F; color: #191C20; font-weight: 900; }
.drawer-links { gap: 11px; margin-top: 13px; }
.drawer-links a,
.drawer-links button { min-height: 66px; padding: 12px 18px; border: 0; border-radius: 14px; background: #222C3A; color: #F6F7F9; font-size: 17px; font-weight: 750; }
.drawer-links form { margin: 0; }
.drawer-links a:hover,
.drawer-links a:focus-visible,
.drawer-links button:hover,
.drawer-links button:focus-visible { background: #293545; color: #fff; }
.drawer-links svg,
.drawer-links .telegram-icon { width: 32px; height: 32px; stroke-width: 2; }
.drawer-links .drawer-link-telegram svg { color: #F29A38; fill: none; stroke: currentColor; }
.drawer-links .drawer-link-instagram svg { color: #E34A73; }
.drawer-links .drawer-link-instagram svg rect,
.drawer-links .drawer-link-instagram svg circle { stroke: currentColor; }
.drawer-links .drawer-link-support svg { color: #F1F3F5; }
.drawer-links .drawer-link-deposit svg { color: #F4B940; }
.drawer-links .drawer-link-withdraw svg { color: #F06A43; }
.drawer-links .drawer-link-invite svg { color: #F4B940; }
.drawer-links a[href*="admin"] svg { color: #A98CF5; }
.drawer-links form button svg { color: #EF6464; }

@media (min-width: 769px) {
    body.public-site .drawer-panel { width: 370px; max-width: 86%; }
}

@media (max-width: 430px) {
    .drawer-panel { width: 86vw; padding-right: 12px; padding-left: 12px; }
    .drawer-links a,
    .drawer-links button { min-height: 62px; padding: 10px 15px; font-size: 16px; }
    .drawer-links svg,
    .drawer-links .telegram-icon { width: 29px; height: 29px; }
}

@keyframes home-text-slide {
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .slider-speaker .speaker-wave { animation: none; opacity: 1; }
    .home-text-slider-track { animation: none; }
    .home-text-slider-track > span[aria-hidden="true"] { display: none; }
}

/* Bingo categories and search */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.game-discovery,
.game-browser {
    display: grid;
    gap: 12px;
    margin: 16px 0;
}

.game-category-tabs {
    display: flex;
    gap: 8px;
    padding: 8px;
    overflow-x: auto;
    border-radius: var(--radius);
    background: #161F2C;
    scrollbar-width: none;
}

.game-category-tabs::-webkit-scrollbar {
    display: none;
}

.game-category-tabs button {
    min-width: max-content;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: #AEB8C5;
    cursor: pointer;
    font-weight: 850;
}

.game-category-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.game-category-tabs button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.game-category-tabs button:hover,
.game-category-tabs button:focus-visible {
    border-color: rgba(34, 197, 94, .35);
    background: rgba(34, 197, 94, .14);
    color: #22C55E;
    outline: none;
}

.game-category-tabs button.active {
    border-color: #22C55E;
    border-radius: 14px;
    background: #22C55E;
    color: #fff;
    outline: none;
}

.game-search {
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid #2A3546;
    border-radius: 8px;
    background: #0E131B;
    color: #AEB8C5;
}

.game-search:focus-within {
    border-color: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .14);
    color: #22C55E;
}

.game-search svg {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.game-search input {
    min-height: 50px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    outline: 0;
}

.game-search input::placeholder {
    color: #AEB8C5;
}

/* Faixa contínua de ganhadores */
.recent-winners { margin: 14px 0 18px; }
.recent-winners h2 { margin: 0 0 9px; color: #fff; font-size: clamp(17px, 2.5vw, 24px); font-weight: 400; text-align: center; }
.recent-winners-viewport { width: 100%; padding: 12px 0; overflow: hidden; border: 0; border-radius: 14px; background: #161F2C; box-shadow: 0 10px 24px rgba(0, 0, 0, .16); }
.recent-winners-track { display: flex; width: max-content; will-change: transform; animation: recent-winners-scroll 32s linear infinite; }
.recent-winners-group { display: flex; flex: none; gap: 10px; padding-left: 10px; }
.winner-card { width: 118px; flex: 0 0 118px; text-align: center; }
.winner-card img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 11px; background: #202A39; }
.winner-card p { display: flex; min-width: 0; justify-content: center; margin: 6px 0 2px; color: #AEB8C5; font-size: 11px; line-height: 1.2; white-space: nowrap; }
.winner-card p strong { overflow: hidden; color: #fff; font-weight: 400; text-overflow: ellipsis; }
.winner-card data { display: block; color: #22C55E; font-size: 13px; font-weight: 400; line-height: 1.25; }

@keyframes recent-winners-scroll { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
    .recent-winners-track { animation: none; }
    .recent-winners-viewport { overflow-x: auto; scrollbar-width: none; }
    .recent-winners-group[aria-hidden="true"] { display: none; }
}

.game-card[hidden],
.games-empty[hidden] {
    display: none !important;
}

.game-card-link {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.favorite-form {
    flex: 0 0 auto;
    margin: 0;
}

.favorite-form button {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid #2A3546;
    border-radius: 50%;
    background: #161F2C;
    color: #22C55E;
    cursor: pointer;
    font-size: 25px;
}

.favorite-form button:hover,
.favorite-form button:focus-visible {
    border-color: #22C55E;
    outline: none;
}

.games-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px 16px;
    border: 1px solid #2A3546;
    border-radius: var(--radius);
    background: #161F2C;
    color: #AEB8C5;
    text-align: center;
}

@media (max-width: 520px) {
    .game-category-tabs {
        gap: 4px;
        padding: 6px;
    }

    .game-category-tabs button {
        flex: 1 0 auto;
        padding: 7px 10px;
        font-size: 12px;
    }

    .game-card-link {
        align-items: stretch;
        flex-direction: column;
    }

    .game-card-link .play-btn {
        align-self: flex-start;
    }

    .recent-winners { margin: 12px -2px 16px; }
    .recent-winners h2 { margin-bottom: 7px; font-size: 16px; }
    .recent-winners-viewport { padding: 9px 0; border-radius: 12px; }
    .recent-winners-group { gap: 7px; padding-left: 7px; }
    .winner-card { width: 84px; flex-basis: 84px; }
    .winner-card img { border-radius: 9px; }
    .winner-card p { margin-top: 5px; font-size: 8px; }
    .winner-card data { font-size: 11px; }
}


/* Grade pÃºblica de bingos */
.games-section {
    margin-top: 18px;
}

.games-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.games-section-header h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #FFFFFF;
    font-size: 20px;
}

.games-section-header h2 svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #22C55E;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.games-view-all {
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 9px;
    background: #202A39;
    color: #AEB8C5;
    cursor: pointer;
    font-weight: 800;
}

.games-view-all:hover,
.games-view-all:focus-visible {
    color: #FFFFFF;
    outline: 2px solid #22C55E;
    outline-offset: 2px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 0;
    overflow: visible;
}

.game-card {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: #161F2C;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
}

.game-card-link {
    display: block;
    height: 100%;
}

.game-cover-wrap {
    width: 100%;
    aspect-ratio: 263 / 308;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #202A39;
}

.game-cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-info {
    padding: 12px;
}

.game-card-info h3 {
    min-width: 0;
    margin: 0 0 9px;
    overflow: hidden;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-card-info p {
    margin: 4px 0;
    color: #AEB8C5;
    font-size: 13px;
    line-height: 1.3;
}

.game-card-info strong {
    color: #FFFFFF;
    font-weight: 800;
}

.favorite-form {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    margin: 0;
}

.favorite-form .favorite-button {
    display: grid;
    width: 32px;
    height: 32px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    background: rgba(13, 19, 28, .72);
    color: #FFFFFF;
    cursor: pointer;
}

.favorite-button svg {
    width: 18px;
    height: 18px;
    fill: transparent;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
}

.favorite-form .favorite-button.is-favorite {
    border-color: rgba(255, 212, 59, .75);
    color: #FFD43B;
}

.favorite-button.is-favorite svg {
    fill: #FFD43B;
}

.favorite-button:focus-visible {
    outline: 2px solid #22C55E;
    outline-offset: 2px;
}

.favorite-button:disabled {
    cursor: wait;
    opacity: .6;
}

/* AdministraÃ§Ã£o dos bingos */
.game-admin-form {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    align-items: end;
}

.game-admin-form label:not(.check-row) {
    display: grid;
    gap: 6px;
    color: #AEB8C5;
    font-size: 13px;
    font-weight: 800;
}

.game-cover-preview {
    width: 132px;
    aspect-ratio: 263 / 308;
    object-fit: cover;
    border-radius: 16px;
    background: #202A39;
}

.admin-game-item {
    padding: 16px 0;
    border-bottom: 1px solid #2A3546;
}

@media (max-width: 720px) {
    .games-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .game-card,
    .game-cover-wrap {
        border-radius: 10px;
    }

    .game-cover-wrap {
        border-radius: 10px 10px 0 0;
    }

    .game-card-info {
        padding: 6px 5px 8px;
    }

    .game-card-info h3 {
        margin-bottom: 5px;
        font-size: 10px;
    }

    .game-card-info p {
        margin: 2px 0;
        font-size: 8px;
    }

    .favorite-form {
        top: 4px;
        right: 4px;
    }

    .favorite-form .favorite-button {
        width: 24px;
        height: 24px;
    }

    .favorite-button svg {
        width: 14px;
        height: 14px;
    }

    .game-admin-form {
        grid-template-columns: 1fr;
    }
}

/* Ãcones da navegaÃ§Ã£o lateral */
.drawer-chips .chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.drawer-chips .chip svg,
.drawer-links svg {
    flex: 0 0 auto;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.drawer-chips .chip svg {
    width: 18px;
    height: 18px;
}

.drawer-links a,
.drawer-links button {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #AEB8C5;
    cursor: pointer;
}

.drawer-links a:hover,
.drawer-links a:focus-visible,
.drawer-links button:hover,
.drawer-links button:focus-visible {
    background: #202F3E;
    color: #22C55E;
    outline: none;
}

.drawer-links .telegram-icon {
    fill: currentColor;
    stroke: none;
}

.drawer-links .solid-dot {
    fill: currentColor;
    stroke: none;
}

.drawer-links span {
    min-width: 0;
}
.site-splash{position:fixed;inset:0;z-index:9999;display:grid;place-content:center;gap:20px;background:#0d131c;transition:.3s}.site-splash.is-hidden{opacity:0;visibility:hidden}.site-splash img{width:min(65vw,280px);max-height:240px;object-fit:contain}.site-splash i{width:40px;height:40px;margin:auto;border:3px solid #ffffff22;border-top-color:var(--green);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.contact-footer{margin:48px -16px -16px;padding:38px 20px 30px;border-top:1px solid var(--line);background:#0a1018;text-align:center}.contact-footer div{display:flex;justify-content:center;gap:12px;margin:20px}.contact-footer div a{padding:12px;border:1px solid var(--line);border-radius:50px;color:var(--green)}.contact-footer>a{color:var(--green)}.contact-footer p{color:var(--muted)}.branding-form label{display:grid;gap:8px}.branding-upload{padding:14px;border:1px solid var(--line)}.branding-upload img{width:160px;height:100px;object-fit:contain}.contact-footer div a{padding:0;width:48px;height:48px;display:grid;place-items:center}.contact-footer div a svg{width:26px;height:26px;fill:currentColor}.contact-footer p strong{color:var(--text);font-weight:900}.contact-footer div a:nth-child(1){border-color:#229ED9;background:#229ED9;color:#fff}.contact-footer div a:nth-child(2){border-color:#25D366;background:#25D366;color:#fff}.contact-footer div a:nth-child(3){border-color:transparent;background:radial-gradient(circle at 32% 100%,#FEDA75 0 16%,#FA7E1E 32%,#D62976 55%,#962FBF 76%,#4F5BD5 100%);color:#fff}.account-trigger{padding:0;overflow:hidden}.account-trigger>svg{display:none}.account-avatar,.account-avatar svg{display:block;width:42px;height:42px}.account-avatar .avatar-bg{fill:#60a5fa}.account-avatar .avatar-face{fill:#f4c7a1}.account-avatar .avatar-shirt{fill:#f97316}.account-avatar .avatar-hair{fill:#3f2d24}.account-avatar .avatar-smile{fill:none;stroke:#7c3f2d;stroke-width:1.5;stroke-linecap:round}.avatar-1 .avatar-bg{fill:#f9a8d4}.avatar-1 .avatar-shirt{fill:#8b5cf6}.avatar-1 .avatar-hair{fill:#713f12}.avatar-2 .avatar-bg{fill:#86efac}.avatar-2 .avatar-shirt{fill:#2563eb}.avatar-2 .avatar-hair{fill:#111827}.avatar-3 .avatar-bg{fill:#fde68a}.avatar-3 .avatar-shirt{fill:#ef4444}.avatar-3 .avatar-hair{fill:#92400e}.avatar-4 .avatar-bg{fill:#c4b5fd}.avatar-4 .avatar-shirt{fill:#059669}.avatar-4 .avatar-hair{fill:#292524}
.slider-settings { margin: 4px 0; padding: 16px; border: 1px solid #2A3546; border-radius: 12px; }
.slider-settings legend { padding: 0 8px; color: var(--text); font-weight: 900; }
.slider-settings small { color: var(--muted); line-height: 1.5; }
.slider-color-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.slider-color-fields input[type="color"] { width: 100%; min-height: 44px; padding: 4px; cursor: pointer; }
@media (max-width: 560px) { .slider-color-fields { grid-template-columns: 1fr; } }
/* Scheduled casino closing */
body.casino-closed { overflow: hidden; }
body.casino-closed .app-shell { filter: blur(8px) brightness(.42); pointer-events: none; user-select: none; }
.casino-closed-overlay { position: fixed; z-index: 10000; inset: 0; display: grid; padding: 24px; place-items: center; background: rgba(5, 8, 12, .48); backdrop-filter: blur(3px); }
.casino-closed-card { width: min(100%, 480px); padding: 34px 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: linear-gradient(145deg, rgba(32,42,57,.97), rgba(13,19,28,.98)); color: #fff; text-align: center; box-shadow: 0 24px 80px rgba(0,0,0,.48); }
.casino-closed-icon { display: grid; width: 64px; height: 64px; margin: 0 auto 18px; place-items: center; border-radius: 50%; background: rgba(34,197,94,.13); color: #22C55E; }
.casino-closed-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.casino-closed-eyebrow { margin: 0 0 8px; color: #22C55E; font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.casino-closed-card h1 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 8vw, 54px); font-weight: 700; letter-spacing: -.03em; }
.casino-closed-card > p:not(.casino-closed-eyebrow) { margin: 8px 0; color: #C7D0DB; font-size: 17px; line-height: 1.55; }
.casino-closed-card .casino-hours { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.055); }
.casino-closed-card .casino-hours strong { color: #fff; font-weight: 950; }
.admin-form-section-title { grid-column: 1 / -1; margin: 8px 0 0; }
.admin-form-section-help { grid-column: 1 / -1; margin: 0 0 8px; color: var(--muted); }
.casino-schedule-test { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 14px; padding: 14px; border-radius: 12px; background: rgba(34,197,94,.08); }
.casino-schedule-test span { color: var(--muted); }
.casino-schedule-test .primary-btn { margin-left: auto; }
.casino-preview-exit { display: inline-flex; margin-top: 18px; padding: 11px 18px; border-radius: 999px; background: #22C55E; color: #07120B; font-weight: 950; }
.casino-closed-art { position: relative; width: min(100%, 512px); max-height: calc(100vh - 24px); aspect-ratio: 2 / 3; }
.casino-closed-art > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.casino-closed-art-hours { position: absolute; z-index: 2; left: 15%; right: 15%; top: 72%; display: grid; gap: 5px; margin: 0; padding: 8px; color: #152236; text-align: center; line-height: 1.1; }
.casino-closed-art-hours span { font-size: clamp(10px, 2.8vw, 15px); font-weight: 900; letter-spacing: .08em; }
.casino-closed-art-hours strong { font-size: clamp(20px, 6vw, 34px); font-weight: 1000; }
.casino-closed-art .casino-preview-exit { position: absolute; z-index: 3; right: 12px; bottom: 12px; margin: 0; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
@media (max-width: 560px) { .casino-closed-overlay { padding: 0; } .casino-closed-art { width: 100vw; max-height: 100vh; } }


/* Conformidade, licenciamento e acabamento da barra móvel */
.compliance-footer {
    margin: 48px -16px 0;
    padding: 38px clamp(20px, 5vw, 56px);
    border-top: 1px solid var(--line);
    background: #0a1018;
    text-align: center;
}
.compliance-footer h2 {
    margin: 0 0 24px;
    font-size: clamp(20px, 4vw, 28px);
}
.compliance-seals {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 26px;
}
.compliance-seal {
    display: flex;
    min-width: 112px;
    height: 68px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    background: #111a25;
    color: #fff;
}
.age-seal {
    min-width: 68px;
    border-color: rgba(239,68,68,.55);
    color: #fff;
    font-size: 27px;
    font-weight: 950;
}
.age-seal span { line-height: 1; }
.age-seal b { margin: -20px 0 0 1px; color: #ef4444; font-size: 18px; }
.pix-seal { gap: 8px; color: #32bcad; }
.pix-seal svg { width: 37px; height: 37px; fill: currentColor; }
.pix-seal strong { color: #fff; font-size: 23px; letter-spacing: -.04em; }
.gc-seal { min-width: 184px; gap: 10px; color: #d8b76a; }
.gc-monogram {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 900;
}
.gc-name { display: grid; text-align: left; line-height: 1.05; }
.gc-name b { font-size: 14px; letter-spacing: .11em; }
.gc-name small { margin-top: 4px; color: #fff; font-size: 10px; letter-spacing: .18em; }
.compliance-footer > p {
    max-width: 900px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}
.compliance-footer + .contact-footer {
    margin-top: 0;
    border-top-color: rgba(255,255,255,.07);
}
@media (max-width: 768px) {
    .mobile-bottom-navigation {
        bottom: -1px;
        box-shadow: 0 -10px 28px rgba(0,0,0,.28);
    }
    .mobile-bottom-navigation::after {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        height: 48px;
        background: var(--bottom-nav-bg);
        content: "";
    }
}
@media (max-width: 480px) {
    .compliance-footer { padding-right: 16px; padding-left: 16px; }
    .compliance-seals { gap: 9px; }
    .compliance-seal { height: 62px; padding: 8px 12px; }
    .gc-seal { min-width: 172px; }
}


.compliance-footer {
    margin: 48px -16px 0;
    padding: 34px clamp(18px, 3vw, 32px) 42px;
    background: #270b72;
    color: #f5f2fa;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
}
.compliance-footer h2 {
    margin: 0 0 42px;
    color: #9a86d1;
    font-size: clamp(20px, 3.4vw, 40px);
    font-weight: 400;
    line-height: 1.2;
}
.compliance-seals {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 255px) minmax(0, 185px);
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 7vw, 76px);
    width: 100%;
    margin: 0;
}
.compliance-logo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: normal;
}
.compliance-logo-gc { max-width: 260px; }
.compliance-logo-pix { max-width: 255px; }
.compliance-logo-age { max-width: 185px; justify-self: end; }
.compliance-divider {
    width: 100%;
    height: 2px;
    margin: 36px 0 44px;
    background: #7454c2;
}
.compliance-footer > p {
    max-width: none;
    margin: 0 auto;
    color: #f5f2fa;
    font-size: clamp(17px, 3.2vw, 37px);
    font-weight: 400;
    line-height: 1.55;
    text-align: center;
}
@media (max-width: 620px) {
    .compliance-footer {
        padding-top: 26px;
        padding-bottom: 34px;
    }
    .compliance-footer h2 {
        margin-bottom: 28px;
        font-size: clamp(19px, 6vw, 27px);
    }
    .compliance-seals {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, .9fr);
        gap: 10px;
    }
    .compliance-divider {
        margin: 24px 0 28px;
        height: 1px;
    }
    .compliance-footer > p {
        font-size: clamp(16px, 4.7vw, 22px);
        line-height: 1.55;
    }
}


/* Cores da secao de conformidade */
.compliance-footer {
    background: #161f2c;
    color: #aeb8c5;
}
.compliance-footer h2 {
    color: #aeb8c5;
}
.compliance-divider {
    background: #2a3546;
}
.compliance-footer > p {
    color: #d8dee7;
}


/* Rodape unificado: conformidade, contato e direitos */
.compliance-footer {
    margin-top: 34px;
    padding-top: 24px;
    padding-bottom: 18px;
    border-top: 2px solid #14532d;
}
.compliance-footer h2 {
    margin: 0 0 24px;
    color: #aeb8c5;
    font-size: 18px;
    text-align: center;
}
.compliance-divider {
    margin: 24px 0 26px;
    background: #2a3546;
}
.compliance-footer > p {
    max-width: 860px;
    font-size: 15px;
    line-height: 1.6;
}
.compliance-footer + .contact-footer {
    margin-top: 0;
    padding-top: 20px;
    border-top: 0;
    background: #161f2c;
}
.compliance-footer + .contact-footer h2 {
    margin-top: 0;
    font-size: 20px;
}
.compliance-footer + .contact-footer div {
    margin-top: 16px;
    margin-bottom: 16px;
}
.compliance-footer + .contact-footer p {
    margin-bottom: 0;
    font-size: 13px;
}
@media (max-width: 620px) {
    .compliance-footer {
        margin-top: 28px;
        padding-top: 20px;
        padding-bottom: 14px;
    }
    .compliance-footer h2 {
        margin-bottom: 20px;
        font-size: 16px;
    }
    .compliance-footer > p {
        font-size: 13px;
        line-height: 1.55;
    }
    .compliance-footer + .contact-footer {
        padding-top: 16px;
    }
    .compliance-footer + .contact-footer h2 {
        font-size: 18px;
    }
}


/* Refinamento compacto solicitado */
.compliance-footer {
    padding-bottom: 6px;
}
.compliance-footer h2 {
    margin-bottom: 18px;
    font-size: 16px;
}
.compliance-footer > p {
    max-width: 820px;
    font-size: 13px;
    line-height: 1.55;
}
.compliance-footer + .contact-footer {
    padding-top: 8px;
}
.compliance-footer + .contact-footer h2 {
    margin-bottom: 10px;
    font-size: 17px;
}
.compliance-footer + .contact-footer div {
    margin-top: 10px;
    margin-bottom: 10px;
}
@media (max-width: 620px) {
    .compliance-footer {
        padding-bottom: 4px;
    }
    .compliance-footer h2 {
        margin-bottom: 16px;
        font-size: 14px;
    }
    .compliance-footer > p {
        font-size: 12px;
        line-height: 1.5;
    }
    .compliance-footer + .contact-footer {
        padding-top: 6px;
    }
    .compliance-footer + .contact-footer h2 {
        font-size: 16px;
    }
}


/* Editor e exibicao proporcional da logo */
.brand {
    min-width: 0;
    justify-content: center;
}
.brand img,
.topbar .brand img {
    width: min(var(--site-logo-width, 110px), 32vw);
    height: 60px;
    object-fit: contain;
    object-position: center;
}
.logo-editor {
    display: grid;
    grid-column: 1 / -1;
    gap: 14px;
    padding: 20px;
    border: 1px solid #2a3546;
    border-radius: 16px;
    background: #111923;
}
.logo-editor h2,
.logo-editor p {
    margin: 0;
}
.logo-editor p {
    color: var(--muted);
    font-size: 13px;
}
.branding-logo-upload {
    gap: 12px !important;
}
.branding-logo-preview {
    display: grid;
    width: 100%;
    min-height: 180px;
    place-items: center;
    padding: 24px;
    overflow: hidden;
    border: 1px dashed #3b4a5e;
    border-radius: 14px;
    background: #0d131c;
}
.branding-logo-preview img {
    width: min(100%, var(--preview-logo-width, 110px)) !important;
    height: 120px !important;
    object-fit: contain !important;
    object-position: center !important;
}
.logo-size-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.logo-size-controls label {
    padding: 14px;
    border-radius: 12px;
    background: #161f2c;
}
.logo-size-controls output {
    color: var(--green);
    font-weight: 900;
}
.logo-size-controls input[type="range"] {
    min-height: 34px;
    padding: 0;
    accent-color: var(--green);
}
@media (max-width: 720px) {
    .brand img,
    .topbar .brand img {
        width: min(var(--site-logo-mobile-width, 76px), 28vw);
        height: 50px;
    }
    .logo-size-controls {
        grid-template-columns: 1fr;
    }
}

/* Mantém o tamanho e as cores do menu acima das regras legadas */
.drawer-panel .drawer-links a,
.drawer-panel .drawer-links button { color: #F6F7F9; }
.drawer-panel .drawer-links svg,
.drawer-panel .drawer-links .telegram-icon { width: 32px; height: 32px; }
.drawer-panel .drawer-links a:hover,
.drawer-panel .drawer-links a:focus-visible,
.drawer-panel .drawer-links button:hover,
.drawer-panel .drawer-links button:focus-visible { background: #293545; color: #fff; }
@media (max-width: 430px) {
    .drawer-panel .drawer-links svg,
    .drawer-panel .drawer-links .telegram-icon { width: 29px; height: 29px; }
}

/* Ajuste definitivo do menu lateral conforme a referencia */
.drawer-panel { width: min(82vw, 330px); padding: 12px 12px 28px; }
.drawer-icon-gradient { position: absolute; width: 0; height: 0; overflow: hidden; }
.drawer-panel .drawer-links { gap: 9px; margin-top: 11px; }
.drawer-panel .drawer-links a,
.drawer-panel .drawer-links button {
    width: 100%; min-height: 58px; padding: 10px 15px; gap: 13px;
    border-radius: 13px; background: #222C3A; color: #F6F7F9;
    font-size: 16px; line-height: 1.2;
}

/* Painel administrativo inspirado no dashboard de referencia */
body.admin-site {
    --admin-bg: #08090b;
    --admin-surface: #17181c;
    --admin-surface-2: #202125;
    --admin-line: #282a2f;
    --admin-text: #f5f5f6;
    --admin-muted: #92929d;
    --admin-green: #08d88b;
    background: var(--admin-bg);
    color: var(--admin-text);
}
body.admin-site .app-shell { min-height: 100vh; background: var(--admin-bg); }
body.admin-site .topbar {
    position: fixed; z-index: 80; top: 0; right: 0; left: 286px;
    height: 76px; padding: 0 28px; border-bottom: 1px solid #202126;
    background: rgba(20,21,24,.97); backdrop-filter: blur(12px);
}
body.admin-site .topbar .brand { display: none; }
body.admin-site .top-actions { margin-left: auto; }
body.admin-site .user-balance,
body.admin-site .wallet-trigger { display: none; }
body.admin-site .account-avatar,
body.admin-site .account-avatar svg { width: 42px; height: 42px; }
body.admin-site .page-content {
    width: auto; max-width: none; min-height: 100vh;
    margin: 0 0 0 286px; padding: 112px clamp(24px, 4vw, 64px) 64px;
}
body.admin-site .mobile-bottom-navigation,
body.admin-site > .drawer,
body.admin-site .app-shell > .drawer { display: none !important; }
.admin-menu-toggle {
    position: fixed; z-index: 91; top: 19px; left: 305px;
    display: none; width: 40px; height: 40px; padding: 8px;
    border: 0; background: transparent; color: var(--admin-muted); cursor: pointer;
}
.admin-menu-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.admin-nav {
    position: fixed; z-index: 100; inset: 0 auto 0 0;
    display: flex; width: 286px; margin: 0; padding: 0 18px 28px;
    flex-direction: column; overflow-y: auto; border-right: 1px solid #25262b;
    background: #17181b; color: var(--admin-text);
}
.admin-nav-brand {
    position: sticky; z-index: 2; top: 0; display: flex; min-height: 92px;
    align-items: center; justify-content: space-between; padding: 0 10px;
    background: #17181b;
}
.admin-nav-brand strong { color: #fff; font-size: 22px; letter-spacing: -.03em; }
.admin-nav-brand button { display: none; border: 0; background: transparent; color: #aaaab3; font-size: 32px; cursor: pointer; }
.admin-nav-list { display: grid; gap: 5px; }
.admin-nav-list a {
    display: flex; min-height: 52px; align-items: center; gap: 13px;
    padding: 12px 14px; border-radius: 12px; background: transparent;
    color: #d1d1d7; font-size: 15px; font-weight: 650; white-space: normal;
}
.admin-nav-list a:hover { background: #202125; color: #fff; }
.admin-nav-list a.active { background: #242529; color: var(--admin-green); }
.admin-nav-list a svg {
    width: 23px; height: 23px; flex: 0 0 23px; fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.admin-nav-section {
    margin: 24px 12px 7px; color: #85858f; font-size: 12px;
    font-weight: 750; letter-spacing: .04em; text-transform: uppercase;
}
.admin-nav-backdrop { display: none; }
.admin-dashboard-head { max-width: 720px; margin-bottom: 44px; }
.admin-dashboard-head > span { color: var(--admin-green); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.admin-dashboard-head h1 { margin: 8px 0 12px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.04em; }
.admin-dashboard-head p,
.admin-dashboard-section p { margin: 0; color: var(--admin-muted); font-size: 16px; line-height: 1.65; }
.admin-dashboard-section { margin-bottom: 20px; }
.admin-dashboard-section h2 { margin: 0 0 6px; font-size: 22px; }
.admin-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-grid .admin-metric-card {
    position: relative; min-height: 210px; padding: 28px; overflow: hidden;
    border: 1px solid var(--admin-line); border-radius: 20px; background: var(--admin-surface);
}
.admin-metric-card .admin-metric-label { color: var(--admin-muted); font-size: 16px; font-weight: 650; }
.admin-grid .admin-metric-card strong { position: relative; z-index: 1; margin-top: 22px; font-size: clamp(34px, 5vw, 54px); letter-spacing: -.04em; }
.admin-metric-card small { position: relative; z-index: 1; display: block; margin-top: 15px; color: var(--admin-green); font-size: 15px; }
.admin-metric-card.negative small { color: #ffbd00; }
.admin-metric-card.neutral small { color: #9a9aa5; }
.admin-metric-card i {
    position: absolute; right: 0; bottom: -1px; left: 0; height: 42px;
    border-bottom: 3px solid var(--admin-green); opacity: .95;
    background: radial-gradient(ellipse at 68% 100%, rgba(8,216,139,.22), transparent 38%);
}
.admin-metric-card.negative i { border-color: #ff6168; background: radial-gradient(ellipse at 68% 100%, rgba(255,97,104,.18), transparent 38%); }
.admin-metric-card.neutral i { border-color: #71717b; background: none; }
body.admin-site .admin-panel {
    margin-bottom: 22px; padding: 26px; border: 1px solid var(--admin-line);
    border-radius: 18px; background: var(--admin-surface); box-shadow: none;
}
body.admin-site .admin-panel h1 { margin-bottom: 22px; font-size: 24px; }
body.admin-site input,
body.admin-site select,
body.admin-site textarea { border-color: #35363c; background: #111216; color: #f4f4f5; }
body.admin-site .admin-form label { color: #b1b1ba; }
body.admin-site .primary-btn,
body.admin-site .admin-form button,
body.admin-site .finance-row button { background: var(--admin-green); color: #07130e; }

@media (max-width: 900px) {
    body.admin-site .topbar { left: 0; height: 72px; padding: 0 20px; }
    body.admin-site .page-content { margin-left: 0; padding: 104px 18px 48px; }
    .admin-menu-toggle { display: grid; top: 16px; left: 14px; place-items: center; }
    .admin-nav { width: min(82vw, 330px); padding-right: 16px; padding-left: 16px; transform: translateX(-105%); transition: transform .25s ease; }
    .admin-nav-brand { min-height: 86px; }
    .admin-nav-brand button { display: block; }
    .admin-nav-backdrop { position: fixed; z-index: 99; inset: 0; background: rgba(0,0,0,.66); backdrop-filter: blur(2px); }
    body.admin-menu-open { overflow: hidden; }
    body.admin-menu-open .admin-nav { transform: translateX(0); }
    body.admin-menu-open .admin-nav-backdrop { display: block; }
    .admin-metric-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    body.admin-site .page-content { padding-right: 16px; padding-left: 16px; }
    .admin-dashboard-head { margin-bottom: 34px; }
    .admin-dashboard-head h1 { font-size: 30px; }
    .admin-dashboard-head p,
    .admin-dashboard-section p { font-size: 15px; }
    .admin-grid .admin-metric-card { min-height: 172px; padding: 24px; border-radius: 18px; }
    .admin-grid .admin-metric-card strong { margin-top: 17px; font-size: 40px; }
    .admin-metric-card small { margin-top: 12px; font-size: 14px; }
    body.admin-site .admin-panel { padding: 20px 16px; border-radius: 16px; }
}

/* Login e cadastro em modal flutuante */
.auth-modal-backdrop {
    position: fixed; z-index: 500; inset: 0;
    background: rgba(3, 9, 16, .72);
    backdrop-filter: blur(10px) brightness(.55);
}
.auth-floating-card,
.auth-card.compact.auth-floating-card {
    position: fixed; z-index: 501; top: 50%; left: 50%;
    width: min(calc(100vw - 32px), 620px); max-height: calc(100dvh - 34px);
    margin: 0; padding: 0 28px 30px; overflow-y: auto;
    transform: translate(-50%, -50%); border: 1px solid #243244;
    border-radius: 30px; background: #111a25; box-shadow: 0 28px 90px rgba(0,0,0,.55);
}
.auth-modal-head {
    position: sticky; z-index: 2; top: 0; display: grid; min-height: 104px;
    place-items: center; margin: 0 -5px 22px; background: #111a25;
}
.auth-modal-head h1 { margin: 0; color: #fff; font-size: 30px; letter-spacing: -.03em; }
.auth-modal-head a {
    position: absolute; top: 25px; right: 0; display: grid; width: 46px; height: 46px;
    place-items: center; color: #89a0bd; font-size: 42px; font-weight: 200; line-height: 1;
}
.auth-floating-card .auth-form { display: grid; gap: 16px; padding: 0; }
.auth-input {
    display: flex !important; min-height: 70px; align-items: center; gap: 14px;
    margin: 0; padding: 0 18px; border: 2px solid #243244;
    border-radius: 17px; background: #111a25; color: #6f819b;
}
.auth-input:focus-within { border-color: #09cf83; box-shadow: 0 0 0 3px rgba(9,207,131,.1); }
.auth-input svg {
    width: 25px; height: 25px; flex: 0 0 25px; fill: none; stroke: currentColor;
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.auth-input input,
.auth-input select,
.auth-floating-card .auth-input input,
.auth-floating-card .auth-input select {
    width: 100%; min-height: 64px; padding: 0; border: 0; outline: 0;
    background: transparent; box-shadow: none; color: #f3f6f9; font-size: 18px; font-weight: 650;
}
.auth-input input::placeholder { color: #7d8693; opacity: 1; }
.auth-phone-input { display: grid !important; grid-template-columns: 128px minmax(0, 1fr); padding-left: 10px; }
.auth-phone-input select { padding: 0 8px !important; border-right: 1px solid #3a4655 !important; border-radius: 0; }
.auth-forgot { margin: 0 0 12px; color: #8d96a2; text-decoration: underline; }
.auth-floating-card .primary-btn {
    min-height: 58px; margin-top: 4px; border: 0; border-radius: 16px;
    background: #08c979; color: #04130c; font-size: 20px; font-weight: 850; box-shadow: none;
}
.auth-floating-card .primary-btn:hover { background: #0ae087; }
.auth-terms { margin: 0; color: #72849d; font-size: 15px; line-height: 1.55; }
.auth-terms a,
.auth-switch a,
.auth-age a { color: #08d486; text-decoration: underline; }
.auth-switch { margin: 4px 0 0; color: #f1f3f6; font-size: 16px; }
.auth-age { display: flex !important; align-items: flex-start; gap: 12px; color: #7587a0 !important; font-size: 15px; line-height: 1.5; }
.auth-age input {
    width: 22px; height: 22px; min-height: 22px; margin: 2px 0 0; flex: 0 0 22px;
    padding: 0; accent-color: #08c979;
}
body:has(.auth-floating-card) .flash { position: fixed; z-index: 502; top: 14px; left: 50%; width: min(90vw, 560px); transform: translateX(-50%); }

@media (max-width: 620px) {
    .auth-floating-card,
    .auth-card.compact.auth-floating-card {
        width: calc(100vw - 24px); max-height: calc(100dvh - 24px);
        padding: 0 18px 24px; border-radius: 25px;
    }
    .auth-modal-head { min-height: 86px; margin-bottom: 15px; }
    .auth-modal-head h1 { font-size: 25px; }
    .auth-modal-head a { top: 17px; right: -4px; font-size: 38px; }
    .auth-floating-card .auth-form { gap: 13px; }
    .auth-input { min-height: 61px; padding: 0 14px; border-radius: 15px; }
    .auth-input input,
    .auth-input select,
    .auth-floating-card .auth-input input,
    .auth-floating-card .auth-input select { min-height: 57px; font-size: 15px; }
    .auth-phone-input { grid-template-columns: 105px minmax(0, 1fr); padding-left: 6px; }
    .auth-floating-card .primary-btn { min-height: 54px; border-radius: 14px; font-size: 18px; }
    .auth-terms,
    .auth-age { font-size: 13px; }
    .auth-switch { font-size: 15px; }
}

.auth-password-input > button {
    display: grid; width: 42px; height: 42px; flex: 0 0 42px; padding: 8px;
    place-items: center; border: 0; background: transparent; color: #8795a8; cursor: pointer;
}
.auth-password-input > button svg { grid-area: 1 / 1; width: 25px; height: 25px; }
.auth-password-input > button .eye-closed,
.auth-password-input > button.is-visible .eye-open { display: none; }
.auth-password-input > button.is-visible .eye-closed { display: block; }
.recovery-intro { margin: -6px 2px 20px; color: #8190a4; font-size: 15px; line-height: 1.55; }
.recovery-success { display: grid; gap: 14px; padding: 10px 8px 24px; place-items: center; text-align: center; }
.recovery-success > span { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 50%; background: #08c979; color: #06140d; font-size: 34px; font-weight: 900; }
.recovery-success h2 { margin: 4px 0 0; color: #fff; }
.recovery-success p { max-width: 470px; margin: 0; color: #8190a4; line-height: 1.6; }
.recovery-success .primary-btn { display: grid; width: 100%; min-height: 56px; place-items: center; margin-top: 8px; }
.recovery-request { margin-top: 20px; padding: 22px; border: 1px solid #30323a; border-radius: 16px; background: #111216; }
.recovery-request > header { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.recovery-request > header div { display: grid; gap: 5px; }
.recovery-request > header span { color: var(--admin-muted); font-size: 13px; }
.recovery-request > header b { padding: 7px 10px; border-radius: 999px; background: rgba(8,216,139,.12); color: var(--admin-green); font-size: 12px; }
.recovery-request:not(.pending) { opacity: .75; }
.recovery-account-data { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 18px 0; }
.recovery-account-data p { display: grid; gap: 5px; margin: 0; padding: 12px; border-radius: 10px; background: #191a1f; }
.recovery-account-data span { color: var(--admin-muted); font-size: 12px; }
.recovery-account-data strong { overflow-wrap: anywhere; font-size: 14px; }
.recovery-action-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.recovery-action-form button { min-height: 46px; }
.recovery-action-form button:disabled { cursor: not-allowed; opacity: .4; }
.recovery-action-form .soft-btn { background: #2a2b31 !important; color: #eee !important; }
.recovery-admin-note { margin: 14px 0 0; color: var(--admin-muted); }
@media (max-width: 620px) {
    .recovery-card .auth-modal-head h1 { font-size: 23px; }
    .recovery-account-data,
    .recovery-action-form { grid-template-columns: 1fr; }
    .recovery-request { padding: 16px; }
    .recovery-request > header { align-items: flex-start; flex-direction: column; }
}

/* Tela dedicada de pagamento PIX */
body:has(.pix-payment-page) { background: #fff; }
body:has(.pix-payment-page) .app-shell { width: min(100%, 620px); max-width: 620px; padding-bottom: 0; background: #fff; box-shadow: none; }
body:has(.pix-payment-page) .topbar,
body:has(.pix-payment-page) .drawer,
body:has(.pix-payment-page) .mobile-bottom-navigation,
body:has(.pix-payment-page) .contact-footer,
body:has(.pix-payment-page) .compliance-footer { display: none !important; }
body:has(.pix-payment-page) .page-content { padding: 0; }
.pix-payment-page { min-height: 100dvh; background: #fff; color: #171717; }
.pix-payment-header {
    display: flex; min-height: 112px; align-items: flex-end; justify-content: space-between;
    padding: 28px 18px 20px; background: #079447; color: #fff;
}
.pix-payment-header h1 { margin: 0; font-size: 27px; font-weight: 500; }
.pix-payment-header a {
    display: grid; width: 38px; height: 38px; place-items: center;
    border: 2px solid #fff; border-radius: 50%; color: #fff; font-size: 31px; font-weight: 300; line-height: 1;
}
.pix-payment-content { display: grid; gap: 14px; padding: 42px 18px 34px; }
.pix-payment-summary,
.pix-qr-card { border: 1px solid #d5e0ea; border-radius: 13px; background: #fff; }
.pix-payment-summary { padding: 18px 16px 0; }
.pix-payment-summary > span { display: block; padding: 0 0 18px; color: #9c9c9c; text-align: right; overflow-wrap: anywhere; }
.pix-payment-summary > div { display: flex; min-height: 84px; align-items: center; justify-content: space-between; border-top: 1px solid #e5e9ed; }
.pix-payment-summary b { font-size: 22px; font-weight: 500; }
.pix-payment-summary strong { font-size: 38px; font-weight: 750; }
.pix-qr-card { display: grid; gap: 24px; padding: 32px 20px 24px; place-items: center; }
.pix-qr-card > img { display: block; width: min(100%, 330px); aspect-ratio: 1; object-fit: contain; image-rendering: pixelated; }
.pix-qr-card > button {
    display: flex; width: 100%; min-height: 70px; align-items: center; justify-content: center; gap: 18px;
    padding: 14px 20px; border: 0; border-radius: 14px; background: #079447; color: #fff;
    cursor: pointer; font-size: 20px; font-weight: 600;
}
.pix-qr-card > button:hover { background: #057c3b; }
.pix-qr-card > button svg { width: 27px; height: 27px; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 2; }
.pix-brand { display: flex; align-items: center; gap: 12px; color: #9d9d9d; }
.pix-brand > strong { color: #35b9b0; font-size: 52px; transform: rotate(45deg); }
.pix-brand > span { display: grid; font-size: 56px; font-weight: 300; line-height: .8; letter-spacing: -.08em; }
.pix-brand small { margin-top: 9px; font-size: 9px; font-weight: 500; letter-spacing: 0; text-align: center; }
.pix-payment-note { padding: 18px; border: 1px solid #f1cf66; border-radius: 13px; background: #fff9e8; color: #88671d; text-align: center; line-height: 1.45; }
.pix-payment-note strong { font-size: 17px; }
.pix-payment-note p { margin: 10px 0 0; }
@media (max-width: 520px) {
    .pix-payment-header { min-height: 104px; }
    .pix-payment-content { padding-top: 36px; }
    .pix-qr-card { padding: 26px 16px 22px; }
    .pix-qr-card > img { width: min(100%, 300px); }
    .pix-qr-card > button { min-height: 64px; font-size: 18px; }
}
.drawer-panel .drawer-links svg,
.drawer-panel .drawer-links .telegram-icon {
    width: 28px; height: 28px; flex: 0 0 28px;
    color: #F5A13B; stroke: url(#drawer-menu-icon-gradient); stroke-width: 1.9;
}
.drawer-panel .drawer-links .telegram-icon { fill: url(#drawer-menu-icon-gradient); stroke: none; }
.drawer-panel .drawer-links .solid-dot { fill: url(#drawer-menu-icon-gradient); stroke: none; }
@media (min-width: 721px) {
    body.public-site .drawer-panel { width: 330px; max-width: 82vw; }
}
@media (max-width: 430px) {
    .drawer-panel { width: 82vw; padding-right: 10px; padding-left: 10px; }
    .drawer-panel .drawer-links a,
    .drawer-panel .drawer-links button { min-height: 56px; padding: 9px 13px; font-size: 15px; }
    .drawer-panel .drawer-links svg,
    .drawer-panel .drawer-links .telegram-icon { width: 27px; height: 27px; flex-basis: 27px; }
}
