@import url("https://cdn.jsdelivr.net/npm/iconoir@7.10.1/css/iconoir.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
    --bg: #6b4a36;
    --surface: #181a2f;
    --surface-2: #222543;
    --text: #f4f5ff;
    --muted: #a9add0;
    --accent: #7c5cff;
    --accent-2: #27d7a1;
    --border: #2f3257;

    /* PainÃ©is (perfil, dados, depÃ³sito, menu lateral, login): deslize/fade mais lentos e uniformes */
    --house-panel-slide-duration: 0.52s;
    --house-panel-slide-easing: cubic-bezier(0.22, 1, 0.36, 1);
    --house-panel-fade-duration: 0.44s;
    --house-panel-fade-easing: cubic-bezier(0.33, 1, 0.68, 1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    --content-half-width: min(250px, 50vw);
    position: relative;
    min-height: 100vh;
    isolation: isolate;
    background-color: var(--page-bg, var(--bg));
    background-image: linear-gradient(
        90deg,
        color-mix(in srgb, var(--page-bg, var(--bg)) 90%, #ffffff 10%) 0,
        color-mix(in srgb, var(--page-bg, var(--bg)) 90%, #ffffff 10%) calc(50% - var(--content-half-width)),
        color-mix(in srgb, var(--page-bg, var(--bg)) 76%, #000000 24%) calc(50% - var(--content-half-width)),
        color-mix(in srgb, var(--page-bg, var(--bg)) 76%, #000000 24%) calc(50% + var(--content-half-width)),
        color-mix(in srgb, var(--page-bg, var(--bg)) 90%, #ffffff 10%) calc(50% + var(--content-half-width)),
        color-mix(in srgb, var(--page-bg, var(--bg)) 90%, #ffffff 10%) 100%
    );
    color: var(--text);
    padding-bottom: 96px;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(500px, 100%);
    background-image: var(--house-content-pattern-image, none);
    background-repeat: repeat;
    background-position: top left;
    background-size: auto;
    opacity: calc(var(--house-content-pattern-opacity, 0.28) * var(--house-content-pattern-enabled, 0) * 0.65);
    pointer-events: none;
    z-index: 0;
}

body.house-page-pattern-icons::before {
    display: none;
}

/* Ícones de fundo (Bootstrap Icons — mesmo padrão do login admin) */
.house-client-bg-icons {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(500px, 100%);
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.house-client-bg-icon {
    position: absolute;
    color: var(--house-ui-accent, #d9a54f);
    opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.42);
    line-height: 1;
    will-change: transform;
    animation: house-client-icon-float 18s ease-in-out infinite;
}

/* 30 ícones — grade 5×6 (esquerda→direita, topo→base) com leve desvio para parecer natural */
.house-client-bg-icon--1 { left: 5%; top: 4%; font-size: 1.85rem; animation-duration: 22s; animation-delay: 0s; }
.house-client-bg-icon--2 { left: 22%; top: 6%; font-size: 2.15rem; animation-duration: 25s; animation-delay: -3s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.34); }
.house-client-bg-icon--3 { left: 42%; top: 3%; font-size: 1.75rem; animation-duration: 19s; animation-delay: -7s; }
.house-client-bg-icon--4 { left: 62%; top: 7%; font-size: 2.05rem; animation-duration: 23s; animation-delay: -11s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.38); }
.house-client-bg-icon--5 { left: 82%; top: 5%; font-size: 2.35rem; animation-duration: 27s; animation-delay: -5s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.3); }

.house-client-bg-icon--6 { left: 8%; top: 18%; font-size: 2.25rem; animation-duration: 21s; animation-delay: -9s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.32); }
.house-client-bg-icon--7 { left: 28%; top: 20%; font-size: 1.65rem; animation-duration: 26s; animation-delay: -14s; }
.house-client-bg-icon--8 { left: 48%; top: 17%; font-size: 2.4rem; animation-duration: 20s; animation-delay: -2s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.28); }
.house-client-bg-icon--9 { left: 68%; top: 19%; font-size: 1.9rem; animation-duration: 24s; animation-delay: -16s; }
.house-client-bg-icon--10 { left: 88%; top: 16%; font-size: 2.1rem; animation-duration: 28s; animation-delay: -8s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.36); }

.house-client-bg-icon--11 { left: 4%; top: 34%; font-size: 2.55rem; animation-duration: 29s; animation-delay: -12s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.26); }
.house-client-bg-icon--12 { left: 24%; top: 36%; font-size: 1.8rem; animation-duration: 18s; animation-delay: -6s; }
.house-client-bg-icon--13 { left: 44%; top: 33%; font-size: 2rem; animation-duration: 22s; animation-delay: -18s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.4); }
.house-client-bg-icon--14 { left: 64%; top: 35%; font-size: 2.3rem; animation-duration: 25s; animation-delay: -4s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.3); }
.house-client-bg-icon--15 { left: 84%; top: 32%; font-size: 1.7rem; animation-duration: 20s; animation-delay: -10s; }

.house-client-bg-icon--16 { left: 12%; top: 50%; font-size: 2.05rem; animation-duration: 23s; animation-delay: -15s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.35); }
.house-client-bg-icon--17 { left: 32%; top: 48%; font-size: 2.45rem; animation-duration: 27s; animation-delay: -7s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.28); }
.house-client-bg-icon--18 { left: 52%; top: 51%; font-size: 1.75rem; animation-duration: 19s; animation-delay: -13s; }
.house-client-bg-icon--19 { left: 72%; top: 49%; font-size: 2.15rem; animation-duration: 24s; animation-delay: -1s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.38); }
.house-client-bg-icon--20 { left: 92%; top: 47%; font-size: 1.95rem; animation-duration: 21s; animation-delay: -17s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.32); }

.house-client-bg-icon--21 { left: 6%; top: 66%; font-size: 2.2rem; animation-duration: 26s; animation-delay: -9s; }
.house-client-bg-icon--22 { left: 26%; top: 64%; font-size: 1.6rem; animation-duration: 18s; animation-delay: -20s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.42); }
.house-client-bg-icon--23 { left: 46%; top: 67%; font-size: 2.35rem; animation-duration: 22s; animation-delay: -5s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.3); }
.house-client-bg-icon--24 { left: 66%; top: 65%; font-size: 1.85rem; animation-duration: 28s; animation-delay: -11s; }
.house-client-bg-icon--25 { left: 86%; top: 63%; font-size: 2.5rem; animation-duration: 20s; animation-delay: -14s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.26); }

.house-client-bg-icon--26 { left: 10%; top: 82%; font-size: 2rem; animation-duration: 24s; animation-delay: -8s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.34); }
.house-client-bg-icon--27 { left: 30%; top: 84%; font-size: 2.25rem; animation-duration: 29s; animation-delay: -16s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.28); }
.house-client-bg-icon--28 { left: 50%; top: 81%; font-size: 1.7rem; animation-duration: 19s; animation-delay: -3s; }
.house-client-bg-icon--29 { left: 70%; top: 83%; font-size: 2.1rem; animation-duration: 25s; animation-delay: -12s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.36); }
.house-client-bg-icon--30 { left: 90%; top: 80%; font-size: 2.4rem; animation-duration: 23s; animation-delay: -19s; opacity: calc(var(--house-content-pattern-opacity, 0.22) * 0.3); }

@keyframes house-client-icon-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    33% {
        transform: translate3d(8px, -12px, 0) rotate(5deg);
    }
    66% {
        transform: translate3d(-6px, 10px, 0) rotate(-4deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .house-client-bg-icon {
        animation: none;
    }
}

body > * {
    position: relative;
    z-index: 1;
}

/* Paginas do admin: sem faixas nem padding do app cliente (evita barras coloridas no fim da rolagem) */
body.adm-layout {
    padding-bottom: 0;
    background-image: none;
    background-color: color-mix(in srgb, var(--house-ui-background, #1f2447) 78%, #000 22%);
}

body.adm-layout::before {
    display: none;
}

/* Login admin: assets/css/admin-login.css (pagina isolada, sem body.adm-layout) */

.page-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.35s ease;
}

.top-strip-bar {
    width: min(500px, 100%);
    margin: 0 auto;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 78%, #000 22%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform-origin: bottom center;
    transition: opacity 0.32s ease, transform 0.32s ease, max-height 0.32s ease, padding 0.32s ease, border-color 0.32s ease;
    max-height: 72px;
    overflow: hidden;
}

.top-strip-bar img {
    max-height: 32px;
    width: auto;
    object-fit: contain;
}

.top-strip-close {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #c7c8d8;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.top-strip-cta {
    margin-left: auto;
    background: var(--house-ui-accent, #d9a54f);
    color: #1f1208;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    padding: 6px 13px;
    font-size: 13px;
}

.top-strip-bar.is-closing {
    opacity: 0;
    transform: scaleY(0);
    min-height: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom-color: transparent;
}

.top-strip-bar.is-hidden-init {
    opacity: 0;
    transform: scaleY(0);
    min-height: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
    border-bottom-color: transparent;
}

.top-strip-bar.is-closed {
    opacity: 0;
    transform: scaleY(0);
    min-height: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
    border-bottom-color: transparent;
}

.page-loading-overlay img {
    max-width: min(42vw, 220px);
    max-height: 42vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.page-loading-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.site-header,
.admin-header {
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #1d2040 0%, #151730 100%);
}

.header-content,
.admin-header-content {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.brand,
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.brand-text {
    font-weight: 700;
}

.site-header {
    background: transparent;
    border-bottom: none;
    padding: 0;
    /* CabeÃ§alho fixo no topo da viewport ao rolar (atalhos/banners passam por baixo). */
    position: sticky;
    top: 0;
    z-index: 320;
}

.mobile-header-shell {
    width: min(500px, 100%);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: color-mix(in srgb, var(--page-bg, var(--house-ui-background, #5a3421)) 76%, #000000 24%);
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 2px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 72%, transparent);
    border-radius: 0 0 18px 18px;
}

.mobile-header-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--house-header-pattern-image, none);
    background-repeat: repeat;
    background-position: top left;
    background-size: auto;
    opacity: calc(var(--house-header-pattern-opacity, 0.28) * var(--house-header-pattern-enabled, 1));
    pointer-events: none;
}

.site-header .header-content {
    position: relative;
    z-index: 1;
    min-height: 64px;
    padding: 8px 6px 8px 4px;
}

.quick-shortcuts-strip {
    width: min(500px, 100%);
    margin: 6px auto 0;
    padding: 8px 6px 8px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    background: transparent;
}

.quick-shortcuts-item {
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.quick-shortcuts-item img {
    width: 100%;
    max-width: 82px;
    height: 56px;
    object-fit: contain;
    display: block;
}

.quick-shortcuts-item span {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 1;
    transform: translate(-50%, 2%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 18px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    max-width: calc(100% + 4px);
    box-sizing: border-box;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}

/* Cores por posiÃ§Ã£o: 1 PromoÃ§Ã£o, 2 Recompensas, 3 Juros, 4 Rebate, 5 VIP */
.quick-shortcuts-item--slot-1 span,
.quick-shortcuts-item--slot-2 span,
.quick-shortcuts-item--slot-5 span {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

.quick-shortcuts-item--slot-3 span {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
}

.quick-shortcuts-item--slot-4 span {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

/* Carrossel de anÃºncios â€” levemente mais estreito que a faixa de atalhos (~4px por lado). */
.marketing-banners {
    position: relative;
    z-index: 5;
    width: min(472px, calc(100% - 28px));
    max-width: 100%;
    margin: 8px auto 0;
    padding: 0;
    box-sizing: border-box;
    pointer-events: auto;
}

/* Swiper (mesmo conceito do lobby Versace: biblioteca trata mouse + touch). */
.marketing-banners-swiper,
.marketing-banners-single {
    --marketing-banner-h: clamp(82px, 18vw, 112px);
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #1b222f) 82%, #000 18%);
}

.marketing-banners-swiper {
    position: relative;
}

.marketing-banners-swiper .swiper-slide {
    height: auto;
}

.marketing-banners-slide-link {
    display: block;
    line-height: 0;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.marketing-banners-slide-link img {
    width: 100%;
    height: var(--marketing-banner-h, 120px);
    object-fit: contain;
    object-position: center center;
    display: block;
    cursor: pointer;
    -webkit-user-drag: none;
    user-drag: none;
    background: transparent;
}

@media (max-width: 767px) {
    .quick-shortcuts-item img {
        max-width: 70px;
        height: 48px;
    }

    .house-marquee-strip__chunk {
        font-size: 0.52rem;
    }

    .marketing-banners-swiper,
    .marketing-banners-single {
        --marketing-banner-h: clamp(88px, 22vw, 118px);
    }
}

/*
 * PaginaÃ§Ã£o dentro do banner (ref): bolinhas cinza semi-transparentes + ativo em pÃ­lula branca sÃ³lida.
 */
.marketing-banners-swiper .marketing-banners-pagination.swiper-pagination-horizontal {
    position: absolute;
    left: 50%;
    bottom: 10px;
    top: auto;
    right: auto;
    width: auto !important;
    max-width: calc(100% - 24px);
    margin: 0;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    z-index: 11;
    pointer-events: auto;
}

.marketing-banners-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 !important;
    padding: 0;
    border-radius: 999px;
    /* Inativos: cinza claro semi-transparente (como na ref), nÃ£o branco forte */
    background: rgba(255, 255, 255, 0.38);
    opacity: 1;
    transition:
        width 0.28s ease,
        background 0.22s ease,
        opacity 0.22s ease;
}

.marketing-banners-pagination .swiper-pagination-bullet-active {
    width: 24px;
    height: 7px;
    border-radius: 999px;
    /* Ativo: pÃ­lula branca sÃ³lida */
    background: #ffffff;
    opacity: 1;
}

/*
 * Faixa jackpot: meio-termo entre faixa estreita (~360px) e largura mÃ¡xima (~500px).
 */
.house-jackpot-strip {
    width: min(430px, calc(100% - 22px));
    max-width: 100%;
    margin: 7px auto 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
    background: transparent;
}

.house-jackpot-strip__frame {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    background: transparent;
}

.house-jackpot-strip__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.house-jackpot-strip__counter-wrap {
    position: absolute;
    left: 50%;
    bottom: var(--jackpot-counter-bottom, 24%);
    transform: translateX(-50%);
    width: min(96%, 390px);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

/* Jogo LAFS em destaque na home (tile estilo lobby PG Slots) */
.house-lafs-home-game {
    width: min(430px, calc(100% - 22px));
    max-width: 100%;
    margin: 10px auto 0;
    padding: 0 11px;
    box-sizing: border-box;
    position: relative;
    z-index: 4;
}

.house-lafs-home-game__slot {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-width: 100%;
}

.house-lafs-home-game__category {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px 4px;
    margin: 0 0 0 2px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(180deg, #e85a4a 0%, #c9352f 100%);
    border-radius: 8px 8px 0 0;
    line-height: 1.2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.house-lafs-home-game__tile {
    display: block;
    width: 118px;
    aspect-ratio: 104 / 140;
    padding: 0;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #3a1a12;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    color: inherit;
    font: inherit;
}

.house-lafs-home-game__tile:hover,
.house-lafs-home-game__tile:focus-visible {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.38);
    outline: none;
}

.house-lafs-home-game__tile.is-loading {
    opacity: 0.72;
    pointer-events: none;
}

.house-lafs-home-game__art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.house-lafs-home-game__art-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    line-height: 1;
    background: linear-gradient(180deg, #f0a040 0%, #c9352f 100%);
}

.house-lafs-home-game__fav {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.38);
    color: rgba(255, 255, 255, 0.92);
    pointer-events: none;
}

.house-lafs-home-game__fav svg {
    width: 12px;
    height: 12px;
    display: block;
}

/* Player LAFS — overlay + iframe (jogo.php) */
.house-lafs-game-overlay {
    position: fixed;
    inset: 0;
    z-index: 12050;
    display: flex;
    justify-content: center;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}

.house-lafs-game-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.house-lafs-game-overlay__shell {
    width: min(500px, 100%);
    height: 100%;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #0a0605;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
}

.house-lafs-game-overlay__bar {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: calc(6px + env(safe-area-inset-top, 0px)) 10px 6px;
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 92%, #000 8%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.house-lafs-game-overlay__back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 0;
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font: 600 0.78rem/1.2 system-ui, sans-serif;
    cursor: pointer;
}

.house-lafs-game-overlay__back:hover,
.house-lafs-game-overlay__back:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    outline: none;
}

.house-lafs-game-overlay__title {
    margin: 0;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.94);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.house-lafs-game-overlay__spacer {
    width: 72px;
}

.house-lafs-game-overlay__stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    background: #000;
}

.house-lafs-game-overlay__frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.house-lafs-game-overlay__loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #120a08;
    color: rgba(255, 255, 255, 0.88);
    font: 600 0.82rem/1.3 system-ui, sans-serif;
}

.house-lafs-game-overlay__loading.is-hidden {
    display: none;
}

.house-lafs-game-overlay__loading-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.18);
    border-top-color: var(--house-ui-accent, #d9a54f);
    animation: house-lafs-game-spin 0.75s linear infinite;
}

@keyframes house-lafs-game-spin {
    to { transform: rotate(360deg); }
}

body.house-lafs-game-open {
    overflow: hidden;
}

/* Marquee (Rs.Marquee no Versace): avisos em scroll + Ã­cones nas pontas (Bootstrap Icons CDN) */
.house-marquee-strip {
    width: min(430px, calc(100% - 22px));
    max-width: 100%;
    margin: 8px auto 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 4;
    border-radius: 6px;
    overflow: hidden;
    background: color-mix(in srgb, var(--house-ui-background, #4c0113) 88%, #000 12%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, transparent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.house-marquee-strip__row {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 38px;
}

.house-marquee-strip__icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    font-size: 1.15rem;
    line-height: 1;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 85%, #a8c4ff 15%);
    background: color-mix(in srgb, var(--house-ui-background, #1a1020) 55%, transparent);
    border-right: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
}

.house-marquee-strip__icon--end {
    border-right: none;
    border-left: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
}

/* Coluna do som: SVG com ondas animadas (som â€œativoâ€) */
.house-marquee-strip__icon--sound {
    width: 48px;
    padding: 0 4px;
}

.house-marquee-strip__sound-svg {
    display: block;
    overflow: visible;
    color: inherit;
}

.house-marquee-strip__speaker-body {
    opacity: 1;
}

.house-marquee-strip__snd-wave {
    opacity: 0.28;
    animation: house-marquee-snd-wave 0.95s ease-in-out infinite;
}

.house-marquee-strip__snd-wave--1 {
    animation-delay: 0ms;
}

.house-marquee-strip__snd-wave--2 {
    animation-delay: 160ms;
}

.house-marquee-strip__snd-wave--3 {
    animation-delay: 320ms;
}

@keyframes house-marquee-snd-wave {
    0%,
    100% {
        opacity: 0.2;
        stroke-width: 1.35px;
    }

    40% {
        opacity: 1;
        stroke-width: 2.25px;
    }

    65% {
        opacity: 0.5;
        stroke-width: 1.65px;
    }
}

.house-marquee-strip__scroll {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.house-marquee-strip__inner {
    overflow: hidden;
    padding: 8px 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.house-marquee-strip__track {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 3rem;
    width: max-content;
    animation: house-marquee-scroll 38s linear infinite;
    will-change: transform;
}

.house-marquee-strip__chunk {
    flex-shrink: 0;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Segoe UI", Arial, Roboto,
        "PingFang SC", miui, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    /* Branco suave, fixo â€” nÃ£o segue o preset de cor */
    color: #f1f2f5;
}

@keyframes house-marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .house-marquee-strip__track {
        animation: none;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        white-space: normal;
        text-align: center;
        gap: 0;
    }

    .house-marquee-strip__chunk[aria-hidden="true"] {
        display: none;
    }

    .house-marquee-strip__snd-wave {
        animation: none;
        opacity: 0.75;
        stroke-width: 1.85px;
    }
}

.house-jackpot-strip__counter {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Segoe UI", Arial, Roboto,
        "PingFang SC", miui, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: clamp(1.02rem, 4.6vw, 1.78rem);
    line-height: 1;
    /* Tom amarelo escolhido + contorno alaranjado/vermelho */
    color: #ffff6f;
    letter-spacing: 0.02em;
    text-shadow:
        0 0 1px rgba(160, 40, 20, 0.95),
        0 1px 0 rgba(130, 35, 12, 0.88),
        0 2px 4px rgba(0, 0, 0, 0.45),
        0 0 12px rgba(255, 255, 111, 0.42);
    white-space: nowrap;
}

.menu-toggle {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    cursor: pointer;
    color: var(--house-left-icon-color, #d7cec6);
    margin-right: 1px;
}

.menu-toggle svg {
    font-size: 24px;
}

.menu-toggle ._arrow-icon_107a1_42 {
    font-size: 24px;
    line-height: 1;
    transition: all 0.3s;
    color: var(--house-left-icon-color, #d7cec6);
    transform: rotate(180deg);
}

.menu-toggle.is-open ._arrow-icon_107a1_42 {
    transform: rotate(0deg);
}

.house-side-menu-overlay {
    position: fixed;
    top: calc(64px + env(safe-area-inset-top, 0px));
    left: 50%;
    bottom: 0;
    width: min(500px, 100%);
    transform: translateX(-50%);
    z-index: 300;
    background: rgba(0, 0, 0, 0.46);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition:
        opacity var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        visibility 0s linear var(--house-panel-fade-duration);
}

.house-side-menu-overlay[hidden] { display: none !important; }

.house-side-menu-overlay[aria-hidden="true"] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.house-side-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.house-side-menu {
    width: min(210px, 60vw);
    height: 100%;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 90%, #000 10%);
    border-right: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 26%, transparent);
    padding: 12px 10px calc(14px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    transform: translateX(-120%);
    opacity: 0.98;
    transition:
        transform var(--house-panel-slide-duration) var(--house-panel-slide-easing),
        opacity var(--house-panel-fade-duration) var(--house-panel-fade-easing);
}

.house-side-menu > * {
    width: calc(100% - 10px);
    margin-left: auto;
    margin-right: auto;
}

.house-side-menu::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.house-side-menu-overlay.is-open .house-side-menu {
    transform: translateX(0);
    opacity: 1;
}

.house-side-menu-overlay[aria-hidden="true"] .house-side-menu {
    transform: translateX(-100%);
}

.house-side-menu__search { position: relative; margin-bottom: 10px; }

.house-side-menu__search input {
    width: 100%;
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 20%, transparent);
    background: color-mix(in srgb, #fff 8%, transparent);
    color: #fff;
    padding: 0 36px 0 12px;
}

.house-side-menu__search i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.75);
}

.house-side-menu__quick {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.house-side-menu__tile {
    min-height: 64px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 20%, transparent);
    background: color-mix(in srgb, #fff 6%, transparent);
    color: rgba(255, 255, 255, 0.92);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
}

.house-side-menu__tile i { font-size: 18px; }

.house-side-menu__links { display: grid; gap: 8px; margin-bottom: 10px; }

.house-side-menu__links a,
.house-side-menu__social a {
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
    background: color-mix(in srgb, #fff 7%, transparent);
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    text-decoration: none;
}

.house-side-menu__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 6px;
}

.house-side-menu__promo-card {
    min-height: 48px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 42%, #2b2d55 58%);
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: #fff;
    display: inline-flex;
    align-items: flex-start;
    padding: 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
}

.house-side-menu__promo-card span {
    background: transparent;
    border-radius: 0;
    padding: 0;
    white-space: normal;
    word-break: break-word;
    max-width: 90%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.house-side-menu__promo-shell {
    margin-bottom: 10px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, #fff 6%, transparent);
    padding: 6px;
}

.house-side-menu__promo-head {
    min-height: 36px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
    background: color-mix(in srgb, #fff 5%, transparent);
    color: rgba(255, 255, 255, 0.92);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 0 10px;
    font-size: 15px;
    font-weight: 700;
    width: 100%;
}

.house-side-menu__section-title {
    margin: 10px 2px 8px;
    color: rgba(255, 255, 255, 0.68);
    font-weight: 700;
}

.house-side-menu__social { display: grid; gap: 8px; }

.site-header .brand {
    gap: 6px;
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
    margin-left: -6px;
}

.brand-logo-image {
    max-height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.brand-logo-fallback {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border: 1px dashed var(--house-ui-accent, #d9a54f);
    border-radius: 8px;
    padding: 8px 10px;
}

.main-nav,
.admin-nav {
    display: inline-flex;
    gap: 14px;
}

.main-nav a,
.admin-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
}

.main-nav a:hover,
.admin-nav a:hover {
    color: var(--text);
}

.header-actions {
    display: inline-flex;
    gap: 9px;
    align-items: center;
}

.btn {
    border: 1px solid transparent;
    padding: 5px 13px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.1;
}

.btn-secondary {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.btn-primary {
    background: var(--accent-2);
    color: #0b1f17;
}

.btn-login {
    background: var(--house-ui-accent, #d9a54f);
    color: #1b1007;
    border-color: var(--house-ui-accent, #d9a54f);
    min-height: 33px;
}

.btn-register {
    background: transparent;
    border-color: var(--house-ui-accent, #d9a54f);
    color: #fff;
    min-height: 33px;
}

/* Botão primário com gradiente do preset (app + admin) */
.house-btn-preset-accent,
.house-profile-google-auth-next {
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #f9dd8f 30%);
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 88%, #fff) 0%,
        var(--house-ui-accent, #d9a54f) 52%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 78%, #000) 100%
    );
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 38%, #1a1208 62%);
    font-weight: 700;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, transparent);
    transition: filter 0.18s ease, transform 0.12s ease;
}

.house-btn-preset-accent:hover,
.house-btn-preset-accent:focus-visible,
.house-profile-google-auth-next:hover,
.house-profile-google-auth-next:focus-visible {
    filter: brightness(1.06);
}

.house-btn-preset-accent:disabled,
.house-profile-google-auth-next:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: none;
}

body.adm-layout .btn.btn-register,
body.adm-layout a.btn.btn-register,
body.adm-layout .admin-settings-form .btn.btn-login,
body.adm-layout .admin-form-actions .btn.btn-login {
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #f9dd8f 30%);
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 88%, #fff) 0%,
        var(--house-ui-accent, #d9a54f) 52%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 78%, #000) 100%
    );
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 38%, #1a1208 62%);
    font-weight: 700;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, transparent);
}

body.adm-layout .btn.btn-register:hover,
body.adm-layout a.btn.btn-register:hover,
body.adm-layout .admin-settings-form .btn.btn-login:hover,
body.adm-layout .admin-form-actions .btn.btn-login:hover {
    filter: brightness(1.06);
}

.adm-detail-card--danger .btn {
    border-color: rgba(239, 68, 68, 0.72);
    background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(185, 28, 28, 0.35);
}

.adm-detail-card--danger .btn:hover {
    filter: brightness(1.08);
}

.header-balance-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 33px;
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 40%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #1b222f) 74%, #000 26%);
    color: #fff;
    line-height: 1;
}

.header-balance-pill__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.78;
    text-transform: uppercase;
}

.header-balance-pill__value {
    font-size: 13px;
    font-weight: 700;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #fff 30%);
}

.btn-deposit {
    background: var(--house-ui-accent, #d9a54f);
    border-color: var(--house-ui-accent, #d9a54f);
    color: #1b1007;
    min-height: 33px;
    font-weight: 600;
}

.header-balance-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 40%, rgba(255, 255, 255, 0.12) 60%);
    border-radius: 999px;
    background: transparent;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 78%, #fff 22%);
    min-height: 38px;
    padding: 0 9px 0 7px;
    cursor: pointer;
}

.header-balance-mini__flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    border: 2px solid var(--house-ui-accent, #d9a54f);
}

.header-balance-mini__flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-balance-mini__value {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: underline;
    text-underline-offset: 2px;
    min-width: 0;
}

.header-balance-mini__refresh {
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 80%, #fff 20%);
    font-size: 15px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-balance-mini__refresh svg {
    display: block;
}

.header-balance-mini__refresh .animate__spin {
    animation: none;
}

.header-balance-mini.is-refreshing .header-balance-mini__refresh .animate__spin {
    animation: header-refresh-spin 0.75s linear;
}

@keyframes header-refresh-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.header-deposit-mini {
    display: inline-flex;
    align-items: center;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    min-height: 32px;
    padding: 0 10px 0 11px;
    cursor: pointer;
}

.header-deposit-mini__caret {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    min-height: 32px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0;
    font-size: 10px;
    cursor: pointer;
}

.header-deposit-mini__caret i {
    transition: transform 0.18s ease;
}

/* ===========================================================
   Modal "Defina sua senha de saque"
   =========================================================== */
.house-withdraw-pass-pop {
    position: fixed;
    inset: 0;
    z-index: 12200;
    background: rgba(2, 6, 17, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity var(--house-panel-fade-duration, 0.24s) var(--house-panel-fade-easing, ease),
        visibility 0s linear var(--house-panel-fade-duration, 0.24s);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.house-withdraw-pass-pop,
.house-withdraw-pass-pop * {
    touch-action: manipulation;
}

.house-withdraw-pass-cell,
.house-withdraw-pass-key,
.house-withdraw-pass-eye,
.house-withdraw-pass-back,
.house-withdraw-pass-submit,
.house-withdraw-pass-segments,
.house-withdraw-pass-warn,
.house-withdraw-pass-warn__bullet,
.house-withdraw-pass-title,
.house-withdraw-pass-intro,
.house-withdraw-pass-field__label {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
.house-withdraw-pass-pop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
.house-withdraw-pass-pop[hidden] {
    display: none !important;
}

.house-withdraw-pass-sheet {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: min(500px, 100%);
    height: 100%;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 92%, #050309 8%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.house-withdraw-pass-pop.is-open .house-withdraw-pass-sheet {
    transform: translateX(-50%) translateY(0);
}

.house-withdraw-pass-head {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 8px;
    padding: 12px 12px 10px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 86%, var(--house-ui-accent, #d9a54f) 14%);
    border-bottom: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
}
.house-withdraw-pass-back {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: #ffffff;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    border-radius: 8px;
}
.house-withdraw-pass-back:hover {
    background: color-mix(in srgb, #ffffff 12%, transparent);
}
.house-withdraw-pass-title {
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}
.house-withdraw-pass-head-spacer {
    width: 36px;
    height: 36px;
}

.house-withdraw-pass-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.house-withdraw-pass-intro {
    margin: 0;
    text-align: center;
    color: #2ed47a;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
}

.house-withdraw-pass-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.house-withdraw-pass-field__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.house-withdraw-pass-field__label {
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 600;
}
.house-withdraw-pass-eye {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
    outline: 0;
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.house-withdraw-pass-eye:focus { outline: 0; }
.house-withdraw-pass-eye:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 60%, transparent);
    outline-offset: 2px;
}
@media (hover: hover) {
    .house-withdraw-pass-eye:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.12);
    }
}
.house-withdraw-pass-eye:active {
    transform: scale(0.92);
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 26%, rgba(255, 255, 255, 0.08));
    color: #ffffff;
}
.house-withdraw-pass-eye[aria-pressed="true"] {
    color: var(--house-ui-accent, #d9a54f);
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
}
.house-withdraw-pass-eye i {
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
    transform-origin: center;
    display: inline-flex;
}
.house-withdraw-pass-eye.is-pulsed {
    animation: housePassEyePulse 0.4s ease;
}
.house-withdraw-pass-eye.is-pulsed i {
    transform: scale(1.18) rotate(-6deg);
}
@keyframes housePassEyePulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--house-ui-accent, #d9a54f) 55%, transparent); }
    60% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 0%, transparent); }
    100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--house-ui-accent, #d9a54f) 0%, transparent); }
}

.house-withdraw-pass-segments {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}
.house-withdraw-pass-cell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 70%, #1a0e07 30%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, rgba(255, 255, 255, 0.08));
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}
.house-withdraw-pass-cell.is-filled {
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 60%, #221008 40%);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 60%, transparent);
}
.house-withdraw-pass-cell.is-active {
    border-color: var(--house-ui-accent, #d9a54f);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, transparent);
}
.house-withdraw-pass-cell.is-error {
    border-color: #ef4444;
    color: #ffe4e4;
    background: color-mix(in srgb, #ef4444 18%, color-mix(in srgb, var(--house-ui-background, #5a3421) 70%, #1a0e07 30%));
    animation: housePassCellShake 0.32s ease;
}
.house-withdraw-pass-cell.is-error.is-active {
    box-shadow: 0 0 0 2px color-mix(in srgb, #ef4444 35%, transparent);
}
@keyframes housePassCellShake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-3px); }
    40% { transform: translateX(3px); }
    60% { transform: translateX(-2px); }
    80% { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

.house-withdraw-pass-mismatch {
    margin: 0 0 -2px;
    color: #ef4444;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
}
.house-withdraw-pass-mismatch[hidden] {
    display: none;
}

.house-withdraw-pass-warn {
    margin: 4px 0 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #f87171;
    font-size: 12.5px;
    line-height: 1.4;
}
.house-withdraw-pass-warn__bullet {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f87171;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    margin-top: 1px;
}
.house-withdraw-pass-warn strong {
    color: #f87171;
}

.house-withdraw-pass-error {
    margin: 0;
    color: #fca5a5;
    font-size: 12.5px;
    text-align: center;
}
.house-withdraw-pass-error[hidden] {
    display: none;
}

.house-withdraw-pass-submit {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #f9dd8f 30%);
    border-radius: 999px;
    /* Pega a cor do preset (mesmo tratamento usado em .house-deposit-submit) */
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 90%, #f6d57f 10%) 0%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #2a1a05 30%) 100%
    );
    color: #ffffff;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    min-height: 44px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.18s ease, filter 0.2s ease;
    margin-top: 4px;
}
.house-withdraw-pass-submit:disabled {
    cursor: not-allowed;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #2a1a05 30%) 0%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 50%, #1a1003 50%) 100%
    );
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 50%, transparent);
    color: #ffffff;
    filter: saturate(0.85);
}
.house-withdraw-pass-submit.is-empty:disabled {
    opacity: 0.55;
}
.house-withdraw-pass-submit.is-incomplete:disabled,
.house-withdraw-pass-submit.is-mismatch:disabled {
    opacity: 1;
}
.house-withdraw-pass-submit.is-mismatch:disabled {
    background: linear-gradient(180deg, #b83b3b 0%, #822020 100%);
    filter: saturate(0.9);
}
.house-withdraw-pass-submit.is-ready {
    opacity: 1;
    filter: none;
}
.house-withdraw-pass-submit:not(:disabled):hover {
    transform: translateY(-1px);
}

.house-withdraw-pass-keyboard {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 8px 8px calc(10px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 76%, #06050b 24%);
    border-top: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
    transform: translateY(0);
    opacity: 1;
    max-height: 320px;
    overflow: hidden;
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.22s ease,
        max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        padding-top 0.32s ease,
        padding-bottom 0.32s ease;
    will-change: transform, max-height;
}
.house-withdraw-pass-keyboard.is-hidden {
    transform: translateY(100%);
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
}
.house-withdraw-pass-key {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    border-radius: 8px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 60%, #1c1009 40%);
    color: #ffffff;
    font-family: inherit;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    min-height: 46px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.12s ease, transform 0.08s ease;
    -webkit-tap-highlight-color: transparent;
    /* Sem isso o Android Chrome pode disparar 2 cliques pelo delay de 300ms
       de detecÃ§Ã£o de double-tap, fazendo o digito aparecer duplicado. */
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    outline: 0;
}
.house-withdraw-pass-key:focus { outline: 0; }
.house-withdraw-pass-key:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 60%, transparent);
    outline-offset: 2px;
}
@media (hover: hover) {
    .house-withdraw-pass-key:hover {
        background: color-mix(in srgb, var(--house-ui-background, #5a3421) 50%, var(--house-ui-accent, #d9a54f) 18%);
    }
}
.house-withdraw-pass-key.is-pressed,
.house-withdraw-pass-key:active {
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 40%, var(--house-ui-accent, #d9a54f) 30%);
    transform: scale(0.96);
}
.house-withdraw-pass-key--icon {
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 80%, #06050b 20%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 20px;
}

.header-deposit-mini-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 60%, rgba(255, 255, 255, 0.2) 40%);
    border-radius: 10px;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 80%, #ffdf9a 20%);
    min-height: 34px;
    overflow: hidden;
}

.header-deposit-mini-wrap.is-open .header-deposit-mini__caret i {
    transform: rotate(180deg);
}

.header-deposit-mini__dropdown {
    position: fixed;
    top: 0;
    left: 0;
    background: color-mix(in srgb, var(--page-bg, var(--house-ui-background, #5a3421)) 82%, #000000 18%);
    color: #ffffff;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 14px 32px rgba(2, 6, 17, 0.45);
    z-index: 12000;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
}

.header-deposit-mini__dropdown[hidden] {
    display: none;
}

.header-deposit-mini__option {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    text-align: left;
    padding: 0;
    cursor: pointer;
    line-height: 1.2;
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
}

.header-deposit-mini__option > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.header-deposit-mini__option:hover > span,
.header-deposit-mini__option:focus-visible > span {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    outline: none;
}

/*
 * Login / registro â€” layout Versace; cores herdadas do preset (--house-ui-accent / --house-ui-background no body).
 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html.house-auth-no-scroll {
    overflow: hidden;
}

.house-auth-overlay {
    /* Mesmo tom da coluna do lobby (.mobile-header-shell): integra o modal ao preset */
    --house-auth-accent: var(--house-ui-accent, #d9a54f);
    --house-auth-bg-tint: color-mix(
        in srgb,
        var(--page-bg, var(--house-ui-background, #5a3421)) 76%,
        #000000 24%
    );
    --house-auth-modal-bg: var(--house-auth-bg-tint);
    --house-auth-input-bg: color-mix(in srgb, var(--house-auth-bg-tint) 82%, #ffffff 18%);
    /* Borda mais suave (ref: inputs â€œblocoâ€, sem contorno forte) */
    --house-auth-border: color-mix(in srgb, var(--house-auth-bg-tint) 82%, rgba(255, 255, 255, 0.12) 18%);
    --house-auth-muted: rgba(255, 255, 255, 0.62);
    --house-auth-placeholder: rgba(255, 255, 255, 0.46);
    --house-auth-text: rgba(255, 255, 255, 0.93);
    /* PÃ­lula bÃ´nus: tom â€œmenu inferiorâ€ (marrom/dourado do preset, nÃ£o cinza neutro) */
    --house-auth-bonus-pill-mid: color-mix(
        in srgb,
        var(--house-auth-bg-tint) 56%,
        var(--house-auth-accent) 32%,
        #fff6ec 12%
    );
    /* Recuo interno lateral â€” menor para campos/botÃ£o ocuparem mais a largura do cartÃ£o */
    --house-auth-modal-pad-x: clamp(12px, 4vw, 24px);
    /* Margem externa: afasta o modal da borda esquerda/direita da viewport */
    --house-auth-screen-gutter: clamp(20px, 5.5vw, 40px);

    position: fixed;
    inset: 0;
    z-index: 11200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px var(--house-auth-screen-gutter);
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0));
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        visibility var(--house-panel-fade-duration) var(--house-panel-fade-easing);
}

.house-auth-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.house-auth-overlay[hidden] {
    display: none !important;
}

.house-auth-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    /* Largura mÃ¡xima um pouco menor + gutter do overlay = mais â€œarâ€ nas laterais da tela */
    max-width: min(460px, calc(100vw - 2 * var(--house-auth-screen-gutter, 20px)));
    max-height: min(92vh, 720px);
    box-sizing: border-box;
}

.house-auth-modal--versace {
    position: relative;
    width: 100%;
    max-height: min(78vh, 620px);
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 10px var(--house-auth-modal-pad-x) 12px;
    border-radius: 20px;
    box-sizing: border-box;
    background: var(--house-auth-modal-bg);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.42),
        0 2px 12px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border: 1px solid color-mix(in srgb, var(--house-auth-accent) 35%, rgba(0, 0, 0, 0.35) 65%);
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition:
        transform var(--house-panel-slide-duration) var(--house-panel-slide-easing),
        opacity var(--house-panel-fade-duration) var(--house-panel-fade-easing);
}

.house-auth-overlay.is-open .house-auth-modal--versace {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.house-auth-tabs-wrap {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--house-auth-modal-bg);
    padding-top: 4px;
    /* Volta Ã  largura total do cartÃ£o; linha das abas alinha com a borda do modal */
    margin: 0 calc(-1 * var(--house-auth-modal-pad-x)) 10px;
}

.house-auth-tabs {
    display: flex;
    width: 100%;
    gap: 0;
}

.house-auth-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 4px 8px 0;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.15;
    cursor: pointer;
    color: var(--house-auth-placeholder);
    transition: color 0.2s ease;
}

.house-auth-tab:focus,
.house-auth-tab:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Sublinhado sÃ³ na largura do Ã­cone + texto (nÃ£o na metade inteira da aba) */
.house-auth-tab-inner {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: border-color 0.2s ease;
}

/* Ãcones Versace (SVG embutido): cor via currentColor das abas */
.house-auth-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.88;
}

.house-auth-svg svg {
    display: block;
    width: 1.08rem;
    height: 1.08rem;
}

.house-auth-svg--tab svg {
    width: 1.02em;
    height: 1.02em;
}

.house-auth-tab.is-active {
    color: var(--house-auth-accent);
}

.house-auth-tab.is-active .house-auth-tab-inner {
    border-bottom-color: var(--house-auth-accent);
}

.house-auth-tab.is-active .house-auth-svg {
    opacity: 1;
}

.house-auth-tabs-rule {
    height: 1px;
    background: color-mix(in srgb, rgba(255, 255, 255, 0.14) 70%, var(--house-auth-accent) 30%);
    /* Mesma abertura lateral do formulÃ¡rio â€” nÃ£o vai de borda a borda do cartÃ£o */
    width: auto;
    margin: 0 var(--house-auth-modal-pad-x);
}

/*
 * PainÃ©is Login / Registro: sÃ³ o ativo entra no fluxo (altura = conteÃºdo da aba).
 * Com grid na mesma cÃ©lula, a linha crescia atÃ© o painel mais alto (registro) e o login â€œesticavaâ€.
 */
.house-auth-panels {
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.house-auth-panel {
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    /* SaÃ­da um pouco mais lenta; visibility sÃ³ no fim do fade */
    transition:
        opacity var(--house-panel-slide-duration) var(--house-panel-slide-easing) 0s,
        transform var(--house-panel-slide-duration) var(--house-panel-slide-easing) 0s,
        visibility 0s linear var(--house-panel-slide-duration);
    z-index: 0;
}

/* Inativo: fora do fluxo â€” nÃ£o forÃ§a altura do container */
.house-auth-panel:not(.is-active) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.house-auth-panel.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    /* Pequeno delay: o painel que sai comeÃ§a primeiro, depois o novo entra */
    transition:
        opacity var(--house-panel-slide-duration) var(--house-panel-slide-easing) 0.1s,
        transform var(--house-panel-slide-duration) var(--house-panel-slide-easing) 0.1s,
        visibility 0s linear 0s;
    z-index: 1;
}

.house-auth-hint {
    margin: 0 0 6px;
    font-size: 11px;
    line-height: 1.3;
    color: var(--house-auth-muted);
}

.house-auth-form {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.house-auth-field {
    display: flex;
    align-items: stretch;
    background: var(--house-auth-input-bg);
    border: 1px solid var(--house-auth-border);
    border-radius: 8px;
    overflow: hidden;
    min-height: 40px;
}

.house-auth-field-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    flex-shrink: 0;
    color: var(--house-auth-placeholder);
}

.house-auth-field-icon .house-auth-svg svg {
    width: 1.05rem;
    height: 1.05rem;
}

.house-auth-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 7px 10px 7px 0;
    font-size: 14px;
    font-family: inherit;
    color: var(--house-auth-text);
    outline: none;
}

/*
 * Safari iOS (e alguns Android) aplicam zoom ao focar input com fonte < 16px.
 * Mantemos 14px no desktop e forÃ§amos 16px no mobile para nÃ£o dar zoom indesejado.
 */
.house-auth-input::placeholder {
    color: var(--house-auth-placeholder);
}

.house-auth-field--password .house-auth-input {
    padding-right: 6px;
}

.house-auth-eye {
    flex-shrink: 0;
    width: 38px;
    border: none;
    background: transparent;
    color: var(--house-auth-placeholder);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.house-auth-eye-ico {
    display: flex;
    align-items: center;
    justify-content: center;
}

.house-auth-eye-ico svg {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
}

.house-auth-eye-ico--on {
    display: none;
}

.house-auth-eye.is-visible .house-auth-eye-ico--off {
    display: none;
}

.house-auth-eye.is-visible .house-auth-eye-ico--on {
    display: flex;
}

.house-auth-eye:hover {
    color: var(--house-auth-accent);
}

.house-auth-field--phone {
    padding-left: 0;
}

.house-auth-phone-prefix {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 8px 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--house-auth-muted);
    border-right: 1px solid color-mix(in srgb, var(--house-auth-accent) 28%, rgba(0, 0, 0, 0.35) 72%);
    flex-shrink: 0;
    background: color-mix(in srgb, var(--house-auth-bg-tint) 68%, #ffffff 18%);
}

.house-auth-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.house-auth-flag-img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.house-auth-input--phone {
    padding-left: 12px;
}

.house-auth-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 1px;
    font-size: 12px;
    line-height: 1.35;
    color: var(--house-auth-muted);
    cursor: pointer;
    user-select: none;
}

.house-auth-check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.house-auth-check-ui {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    border-radius: 3px;
    /* Sempre no tom do accent (ouro do preset), nÃ£o verde */
    background: var(--house-auth-accent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--house-auth-accent) 55%, rgba(0, 0, 0, 0.45) 45%);
    position: relative;
}

.house-auth-check input:checked + .house-auth-check-ui::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid rgba(255, 255, 255, 0.96);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.house-auth-check input:focus-visible + .house-auth-check-ui {
    outline: 2px solid var(--house-auth-accent);
    outline-offset: 2px;
}

.house-auth-check--terms .house-auth-check-ui {
    margin-top: 2px;
}

.house-auth-inline-link {
    color: var(--house-auth-accent);
    text-decoration: none;
}

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

.house-auth-strength {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: -3px;
}

.house-auth-strength-label {
    font-size: 11px;
    color: var(--house-auth-muted);
    width: 36px;
    flex-shrink: 0;
}

.house-auth-strength-bars {
    display: flex;
    gap: 4px;
    flex: 1;
}

.house-auth-strength-bars span {
    flex: 1;
    height: 5px;
    border-radius: 2px;
    background: color-mix(in srgb, rgba(255, 255, 255, 0.12) 75%, var(--house-auth-bg-tint) 25%);
    transition: background 0.2s ease;
}

.house-auth-strength-bars span.is-on {
    background: var(--house-auth-accent);
}

.house-auth-pass-hint {
    margin: -2px 0 2px;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.3;
    color: rgba(255, 238, 222, 0.95);
    background: color-mix(in srgb, var(--house-auth-bg-tint) 84%, rgba(255, 255, 255, 0.16) 16%) !important;
    border: 1px solid color-mix(in srgb, var(--house-auth-accent) 36%, rgba(255, 255, 255, 0.18) 64%) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 1px 3px rgba(0, 0, 0, 0.16);
    display: none;
}

.house-auth-pass-hint.is-visible {
    display: block;
}

.house-auth-field-hint {
    margin: -2px 0 2px;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.3;
    color: rgba(255, 238, 222, 0.95);
    background: color-mix(in srgb, var(--house-auth-bg-tint) 84%, rgba(255, 255, 255, 0.16) 16%);
    border: 1px solid color-mix(in srgb, var(--house-auth-accent) 36%, rgba(255, 255, 255, 0.18) 64%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 1px 3px rgba(0, 0, 0, 0.16);
    display: none;
}

.house-auth-field-hint.is-visible {
    display: block;
}

.house-auth-login-totp[hidden] {
    display: none !important;
}

.house-auth-modal--versace.is-login-totp {
    display: flex;
    flex-direction: column;
    max-height: min(92vh, 720px);
    overflow: hidden;
    padding-bottom: 0;
}

.house-auth-modal--versace.is-login-totp .house-auth-tabs-wrap,
.house-auth-modal--versace.is-login-totp .house-auth-login-totp {
    flex-shrink: 0;
}

.house-auth-modal--versace.is-login-totp #houseAuthTabRegister {
    display: none;
}

.house-auth-modal--versace.is-login-totp #houseAuthTabLogin {
    flex: 1;
    pointer-events: none;
    cursor: default;
}

.house-auth-totp-cancel-pop {
    z-index: 7;
}

/* Conteúdo TOTP é curto: sem flex-grow nem scroll interno no painel */
.house-auth-modal--versace.is-login-totp .house-auth-panels {
    flex: 0 1 auto;
    min-height: auto;
    overflow: visible;
}

.house-auth-login-totp {
    padding-bottom: 2px;
}

.house-auth-login-totp #houseAuthLoginTotpSubmit {
    margin-bottom: 0;
}

.house-auth-modal--versace.is-login-totp #houseAuthLoginTotpKeyboard:not(.is-hidden) {
    flex-shrink: 0;
    margin: 16px calc(-1 * var(--house-auth-modal-pad-x)) 0;
    width: calc(100% + 2 * var(--house-auth-modal-pad-x));
    padding-top: 12px;
    border-radius: 0 0 20px 20px;
    border-top: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
}

.house-auth-modal--versace.is-login-totp #houseAuthLoginTotpKeyboard.is-hidden {
    margin-top: 0;
    border-top: none;
}

.house-auth-input--totp[readonly] {
    cursor: pointer;
    caret-color: transparent;
}

.house-auth-totp-label {
    margin: 0 0 10px;
    font-size: 13px;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 75%, #fff 25%);
    text-align: center;
}

.house-auth-field--totp .house-auth-field-icon--ga {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    flex-shrink: 0;
    border: none;
    background: transparent;
}

.house-auth-field--totp .house-icon-google-auth {
    width: 22px;
    height: 22px;
}

.house-auth-input--totp {
    font-size: 18px;
    letter-spacing: 0.2em;
    text-align: center;
}

.house-auth-totp-back {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
    cursor: pointer;
}

.house-auth-submit {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 4px;
    padding: 11px 14px;
    border: none;
    border-radius: 8px;
    background: var(--house-auth-accent);
    color: #1b1007;
    font-size: 15px;
    font-weight: 400;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 2px 10px color-mix(in srgb, var(--house-auth-accent) 42%, transparent);
    animation: house-auth-submit-breathe 1.2s ease-in-out infinite alternate;
    transition:
        filter 0.2s ease,
        transform 0.15s ease;
}

/* Brilho deslizante indo e voltando */
.house-auth-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.68;
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0) 12%,
        rgba(255, 255, 255, 0.52) 38%,
        rgba(255, 255, 255, 0.24) 52%,
        rgba(255, 255, 255, 0) 74%
    );
    transform: translateX(-78%);
    animation: house-auth-submit-sheen 1.2s ease-in-out infinite alternate;
}

.house-auth-submit:hover {
    filter: brightness(1.05);
}

.house-auth-submit:active {
    transform: scale(0.99);
}

@keyframes house-auth-submit-breathe {
    0% {
        filter: brightness(0.9);
        box-shadow:
            0 2px 8px color-mix(in srgb, var(--house-auth-accent) 30%, transparent),
            0 0 0 rgba(0, 0, 0, 0);
    }
    100% {
        filter: brightness(1.16);
        box-shadow:
            0 6px 20px color-mix(in srgb, var(--house-auth-accent) 62%, transparent),
            0 0 26px color-mix(in srgb, var(--house-auth-accent) 36%, transparent);
    }
}

@keyframes house-auth-submit-sheen {
    0% {
        transform: translateX(-78%);
    }
    100% {
        transform: translateX(78%);
    }
}

.house-auth-links-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    padding: 0;
}

.house-auth-link {
    font-size: 13px;
    color: var(--house-auth-accent);
    text-decoration: none;
}

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

.house-auth-footer-center {
    text-align: center;
    margin: 0;
    padding-top: 2px;
}

.house-auth-terms-pop {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 10px;
    border-radius: inherit;
    background: rgba(14, 11, 9, 0.74);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        visibility var(--house-panel-fade-duration) var(--house-panel-fade-easing);
}

.house-auth-terms-pop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.house-auth-terms-pop[hidden] {
    display: none !important;
}

.house-auth-terms-card {
    width: min(100%, 390px);
    max-height: min(62vh, 420px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 12px 12px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--house-auth-bg-tint) 88%, #000 12%);
    border: 1px solid color-mix(in srgb, var(--house-auth-accent) 35%, rgba(255, 255, 255, 0.16) 65%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.house-auth-terms-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--house-auth-accent);
}

.house-auth-terms-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    line-height: 1.35;
    max-height: min(36vh, 220px);
    overflow: auto;
    padding-right: 2px;
}

.house-auth-terms-body p {
    margin: 0;
}

.house-auth-terms-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.house-auth-terms-btn {
    border: none;
    border-radius: 10px;
    padding: 11px 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #1b1007;
    background: var(--house-auth-accent);
}

.house-auth-terms-btn--ghost {
    color: rgba(255, 255, 255, 0.95);
    background: color-mix(in srgb, var(--house-auth-bg-tint) 70%, #ffffff 30%);
    border: 1px solid color-mix(in srgb, var(--house-auth-accent) 34%, rgba(255, 255, 255, 0.35) 66%);
}

.house-auth-terms-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.95);
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
}

.house-auth-terms-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.house-auth-terms-close:active {
    transform: scale(0.96);
}

.house-auth-success-pop {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(500px, 100%);
    transform: translateX(-50%);
    z-index: 305;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 10px;
    border-radius: 0;
    background: rgba(10, 8, 7, 0.68);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        visibility var(--house-panel-fade-duration) var(--house-panel-fade-easing);
}

.house-auth-success-pop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.house-auth-success-pop[hidden] {
    display: none !important;
}

.house-auth-success-card {
    width: min(100%, 390px);
    padding: 14px 12px 12px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--house-auth-accent) 42%, rgba(255, 255, 255, 0.1) 58%);
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-auth-bg-tint) 90%, #0a0d12 10%) 0%,
        color-mix(in srgb, var(--house-auth-bg-tint) 96%, #000000 4%) 100%
    );
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.3),
        0 0 0 1px color-mix(in srgb, var(--house-auth-accent) 12%, transparent) inset;
}

.house-auth-success-check {
    width: 58px;
    height: 58px;
    margin: 0 auto 8px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-auth-accent) 72%, #a8ffe1 28%) 0%,
        color-mix(in srgb, var(--house-auth-accent) 86%, #123725 14%) 100%
    );
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.26),
        0 0 0 1px color-mix(in srgb, var(--house-auth-accent) 46%, transparent) inset;
}

.house-auth-success-title {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.1;
    font-weight: 800;
    text-align: center;
}

.house-auth-success-sub {
    margin: 10px 0 8px;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    font-weight: 600;
}

.house-auth-success-sub strong {
    color: color-mix(in srgb, var(--house-auth-accent) 82%, #ffe7a3 18%);
    text-shadow: 0 1px 8px color-mix(in srgb, var(--house-auth-accent) 38%, transparent);
}

.house-auth-success-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.house-auth-success-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 30px;
    border-radius: 999px;
    padding: 4px 10px;
    color: rgba(244, 245, 255, 0.92);
    font-size: 12px;
    font-weight: 700;
    border: 1px solid color-mix(in srgb, var(--house-auth-accent) 38%, rgba(255, 255, 255, 0.14) 62%);
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-auth-bg-tint) 84%, var(--house-auth-accent) 16%) 0%,
        color-mix(in srgb, var(--house-auth-bg-tint) 92%, #000000 8%) 100%
    );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 4px 10px rgba(0, 0, 0, 0.14);
}

.house-auth-success-gift {
    display: inline-flex;
    width: 20px;
    height: 20px;
    color: inherit;
}

.house-auth-success-gift svg {
    width: 100%;
    height: 100%;
    display: block;
}

.house-auth-success-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.house-auth-success-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--house-auth-accent) 42%, rgba(255, 255, 255, 0.2) 58%);
    text-decoration: none;
    color: rgba(244, 245, 255, 0.92);
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-auth-bg-tint) 82%, var(--house-auth-accent) 18%) 0%,
        color-mix(in srgb, var(--house-auth-bg-tint) 92%, #000000 8%) 100%
    );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 6px 14px rgba(0, 0, 0, 0.16);
}

.house-auth-success-btn-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    font-size: 16px;
    line-height: 1;
    color: #fff;
    background: transparent;
}

.house-auth-success-btn-ico .bi {
    font-size: 16px;
    line-height: 1;
}

.house-auth-success-btn--alt {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-auth-bg-tint) 88%, rgba(255, 255, 255, 0.08) 12%) 0%,
        color-mix(in srgb, var(--house-auth-bg-tint) 95%, #000000 5%) 100%
    );
}

.house-auth-success-btn:hover,
.house-auth-success-btn:focus-visible {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-auth-bg-tint) 76%, var(--house-auth-accent) 24%) 0%,
        color-mix(in srgb, var(--house-auth-bg-tint) 88%, #000000 12%) 100%
    );
    border-color: color-mix(in srgb, var(--house-auth-accent) 58%, rgba(255, 255, 255, 0.14));
    color: #fff;
}

.house-auth-success-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.95);
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
}

.house-auth-success-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.house-auth-success-close:active {
    transform: scale(0.96);
}

/* Quando popup de sucesso abre, oculta o X do modal principal */
.house-auth-overlay.is-success-open #houseAuthClose {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* No sucesso, o modal de login/registro some completamente do fundo. */
.house-auth-overlay.is-success-open .house-auth-modal--versace {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(0.98);
}

/* PÃ­lula de bÃ´nus: shell no tom do preset (marrom claro + borda dourada + texto branco, estilo menu inferior) */
.house-auth-bonus-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    align-self: center;
    margin: -2px auto 0;
    padding: 7px 16px;
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-auth-bonus-pill-mid) 74%, #ffffff 26%) 0%,
        color-mix(in srgb, var(--house-auth-bonus-pill-mid) 88%, #0c0806 12%) 100%
    );
    color: rgba(255, 255, 255, 0.98);
    border: 1px solid color-mix(in srgb, var(--house-auth-accent) 46%, rgba(255, 245, 228, 0.78) 54%);
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
    box-shadow:
        0 1px 0 color-mix(in srgb, var(--house-auth-accent) 32%, rgba(255, 255, 255, 0.28)) inset,
        0 2px 6px rgba(0, 0, 0, 0.22),
        0 0 0 1px color-mix(in srgb, var(--house-auth-bg-tint) 40%, transparent) inset;
}

.house-auth-bonus-pill .bi {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.96);
    opacity: 1;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.22));
}

/* Fora do cartÃ£o, centralizado abaixo (referÃªncia Versace): anel branco + X */
.house-auth-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.95);
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    transition:
        background 0.2s ease,
        transform 0.15s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.house-auth-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.house-auth-close:active {
    transform: scale(0.96);
}

.house-auth-close span {
    margin-top: -2px;
}

@media (max-width: 380px) {
    .house-auth-overlay {
        --house-auth-modal-pad-x: clamp(11px, 4.5vw, 20px);
        --house-auth-screen-gutter: clamp(16px, 4.5vw, 24px);
    }

    .house-auth-modal--versace {
        padding-top: 8px;
        padding-bottom: 10px;
    }

    .house-auth-tab {
        font-size: 12px;
        padding: 3px 6px 0;
    }

    .house-auth-tab-inner {
        gap: 4px;
        padding-bottom: 5px;
    }

    .house-auth-tabs-wrap {
        padding-top: 3px;
        margin-bottom: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .house-auth-modal--versace {
        transition: none;
        transform: none;
        opacity: 1;
    }

    .house-auth-panel {
        transition: none !important;
        transform: none !important;
    }

    .house-auth-submit::before,
    .house-auth-submit::after {
        animation: none !important;
        opacity: 0 !important;
    }
}

.client-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(500px, 100%);
    min-height: 94px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 90%, #120c08 10%);
    border-top: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 32%, transparent);
    z-index: 120;
    overflow: visible;
}

.client-bottom-nav-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 46%, #f4efe8 54%);
    text-decoration: none;
    font-size: 29px;
    line-height: 1;
    padding: 14px 4px 16px;
    transition: color 0.22s ease, opacity 0.22s ease;
    opacity: 0.92;
}

.client-bottom-nav-item > i {
    font-size: 36px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.client-bottom-nav-item > svg {
    width: 36px;
    height: 36px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    transition: transform 0.26s ease, filter 0.26s ease;
    overflow: visible;
}

.client-bottom-nav-item > svg,
.client-bottom-nav-item > svg * {
    pointer-events: none;
}

.client-bottom-nav-icon-shell {
    fill: #ffffff;
    transition: fill 0.22s ease;
}

.client-bottom-nav-icon-core {
    fill: var(--house-ui-accent, #d9a54f);
    transition: fill 0.22s ease;
}

.client-bottom-nav-item.is-active > svg {
    transform: translateY(-3px) scale(1.06);
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 38%, transparent));
}

.client-bottom-nav-item.is-active .client-bottom-nav-icon-shell {
    fill: var(--house-ui-accent, #d9a54f);
}

.client-bottom-nav-item.is-active .client-bottom-nav-icon-core {
    fill: #ffffff;
}

.client-bottom-nav--wave .client-bottom-nav-item.nav-deposit > i,
.client-bottom-nav--wave .client-bottom-nav-item.nav-deposit > svg {
    width: 55px;
    height: 55px;
    position: relative;
    border-radius: 50%;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 58%, var(--house-ui-accent, #d9a54f) 42%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 66%, #ffffff 34%);
    box-shadow: 0 8px 16px color-mix(in srgb, var(--house-ui-background, #5a3421) 66%, transparent);
    transform: translateY(-20px);
}

.client-bottom-nav--wave .client-bottom-nav-item.nav-deposit > svg {
    padding: 10px;
}

.client-bottom-nav--wave .client-bottom-nav-item.nav-deposit {
    isolation: isolate;
}

.client-bottom-nav--wave .client-bottom-nav-item.nav-deposit::before,
.client-bottom-nav--wave .client-bottom-nav-item.nav-deposit::after,
.client-bottom-nav--wave .client-bottom-nav-item.nav-deposit > i::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.client-bottom-nav--wave .client-bottom-nav-item.nav-deposit::before {
    left: 20%;
    top: -1px;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 14% 20%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 50%, #ffffff 50%) 0 1.4px, transparent 1.6px),
        radial-gradient(circle at 30% 10%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 45%, #ffffff 55%) 0 1.2px, transparent 1.4px),
        radial-gradient(circle at 76% 16%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 44%, #ffffff 56%) 0 1.3px, transparent 1.5px),
        radial-gradient(circle at 88% 34%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 42%, #ffffff 58%) 0 1.1px, transparent 1.3px),
        radial-gradient(circle at 84% 72%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 40%, #ffffff 60%) 0 1.2px, transparent 1.4px),
        radial-gradient(circle at 58% 92%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 38%, #ffffff 62%) 0 1.0px, transparent 1.2px),
        radial-gradient(circle at 24% 82%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 44%, #ffffff 56%) 0 1.3px, transparent 1.5px),
        radial-gradient(circle at 8% 58%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, #ffffff 64%) 0 1.1px, transparent 1.3px),
        radial-gradient(circle at 8% 58%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, #ffffff 64%) 0 1.1px, transparent 1.3px),
        radial-gradient(circle at 8% 58%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, #ffffff 64%) 0 1.1px, transparent 1.3px),
        radial-gradient(circle at 8% 58%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, #ffffff 64%) 0 1.1px, transparent 1.3px),
        radial-gradient(circle at 8% 58%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, #ffffff 64%) 0 1.1px, transparent 1.3px),
        radial-gradient(circle at 8% 58%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, #ffffff 64%) 0 1.1px, transparent 1.3px),
        radial-gradient(circle at 8% 58%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, #ffffff 64%) 0 1.1px, transparent 1.3px),
        radial-gradient(circle at 8% 58%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, #ffffff 64%) 0 1.1px, transparent 1.3px),
        radial-gradient(circle at 8% 58%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, #ffffff 64%) 0 1.1px, transparent 1.3px),
        radial-gradient(circle at 8% 58%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, #ffffff 64%) 0 1.1px, transparent 1.3px),
        radial-gradient(circle at 8% 58%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, #ffffff 64%) 0 1.1px, transparent 1.3px);

    opacity: 0.5;
    filter: drop-shadow(0 0 5px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 45%, transparent));
    animation: promo-stars-twinkle 1.5s ease-in-out infinite;
    z-index: 0;
}

.client-bottom-nav--wave .client-bottom-nav-item.nav-deposit::after {
    left: 44%;
    top: -28px;
    transform: translateX(-50%);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 44% 8%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 52%, #ffffff 48%) 0 1.2px, transparent 1.4px),
        radial-gradient(circle at 67% 30%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 48%, #ffffff 52%) 0 1.1px, transparent 1.3px),
        radial-gradient(circle at 38% 68%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 46%, #ffffff 54%) 0 1.1px, transparent 1.3px),
        radial-gradient(circle at 62% 84%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 42%, #ffffff 58%) 0 1.2px, transparent 1.4px);
    opacity: 0.42;
    animation: promo-stars-twinkle-2 2.1s ease-in-out infinite;
    z-index: 0;
}

.client-bottom-nav--wave .client-bottom-nav-item.nav-deposit > i::after {
    inset: -4px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 54%, #d8fff5 46%);
    opacity: 0.52;
    box-shadow: 0 0 14px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 42%, transparent);
    animation: promo-shell-glow 2.2s ease-in-out infinite;
    z-index: 0;
}

.client-bottom-nav--wave .client-bottom-nav-item.nav-deposit > span {
    font-size: var(--wave-promo-text-size, 13px);
    transform: translateY(-10px);
}

/* Logado: destaque leve do depósito no centro (classic / highlight) */
.client-bottom-nav.client-bottom-nav--auth .client-bottom-nav-item.nav-deposit > svg {
    transform: translateY(-4px) scale(1.05);
    filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, transparent));
}

.client-bottom-nav.client-bottom-nav--auth.client-bottom-nav--highlight .client-bottom-nav-item.nav-deposit:not(.is-active) > svg,
.client-bottom-nav.client-bottom-nav--auth.client-bottom-nav--wave .client-bottom-nav-item.nav-deposit:not(.is-active) > svg {
    transform: none;
    filter: none;
}

.client-bottom-nav-item span {
    font-size: 14px;
    font-weight: 550;
    line-height: 1;
    letter-spacing: 0.1px;
    color: #ffffff;
}

.client-bottom-nav-item.is-active {
    color: var(--house-ui-accent, #d9a54f);
    opacity: 1;
    text-shadow: 0 0 10px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
}

@keyframes promo-shell-glow {
    0%, 100% {
        opacity: 0.35;
        transform: scale(1);
    }
    50% {
        opacity: 0.58;
        transform: scale(1.03);
    }
}

@keyframes promo-stars-twinkle {
    0%, 100% {
        opacity: 0.28;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.04) rotate(4deg);
    }
}

@keyframes promo-stars-twinkle-2 {
    0%, 100% {
        opacity: 0.24;
        transform: translateX(-50%) scale(0.98) rotate(0deg);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1.03) rotate(-5deg);
    }
}

.client-bottom-nav-item:hover {
    color: var(--house-ui-accent, #d9a54f);
    opacity: 1;
}

.client-bottom-nav--highlight {
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 86%, #0d1116 14%);
}

.client-bottom-nav--wave {
    border-top-color: transparent;
    background-color: transparent;
    background-image: var(--bottom-nav-wave-image, none);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
}

/* No perfil aberto: nav permanece visÃ­vel acima do conteÃºdo. */
html.house-profile-open .client-bottom-nav--wave {
    z-index: 12050;
}

html.house-profile-open .client-bottom-nav:not(.client-bottom-nav--wave) {
    z-index: 12050;
}

html.house-profile-open.house-deposit-open .client-bottom-nav--wave {
    z-index: 120;
}

html.house-profile-open.house-deposit-open .client-bottom-nav:not(.client-bottom-nav--wave) {
    z-index: 120;
}

/* Painel Dados aberto: esconde menu inferior (permanecem sÃ³ Retornar / Salvar no painel). */
html.house-profile-dados-open .client-bottom-nav {
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

/* Painel Meus Registros aberto: tambÃ©m oculta menu inferior. */
html.house-profile-records-open .client-bottom-nav {
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

/* Painel SeguranÃ§a aberto: oculta menu inferior. */
html.house-profile-security-open .client-bottom-nav {
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

html.house-profile-security-withdraw-open .client-bottom-nav {
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

.client-bottom-nav--highlight .client-bottom-nav-item,
.client-bottom-nav--wave .client-bottom-nav-item {
    position: relative;
    z-index: 1;
    transition: color 0.22s ease, opacity 0.22s ease, transform 0.26s ease;
}

.client-bottom-nav--highlight .client-bottom-nav-item > i,
.client-bottom-nav--highlight .client-bottom-nav-item > svg,
.client-bottom-nav--wave .client-bottom-nav-item > i,
.client-bottom-nav--wave .client-bottom-nav-item > svg {
    transition: transform 0.26s ease;
}

.client-bottom-nav--highlight .client-bottom-nav-item.is-active {
    transform: translateY(-18px);
    text-shadow: none;
}

.client-bottom-nav--highlight .client-bottom-nav-item.is-active > i,
.client-bottom-nav--highlight .client-bottom-nav-item.is-active > svg {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 75%, #ffffff 25%);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 78%, #2d55ff 22%);
    transform: translateY(-4px);
}

.client-bottom-nav--highlight .client-bottom-nav-item.is-active > svg {
    padding: 12px;
}

.client-bottom-nav--highlight .client-bottom-nav-item.is-active .client-bottom-nav-icon-shell,
.client-bottom-nav--highlight .client-bottom-nav-item.is-active .client-bottom-nav-icon-core {
    fill: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 78%, #2d55ff 22%);
}

.client-bottom-nav--highlight .client-bottom-nav-item.is-active span,
.client-bottom-nav--wave .client-bottom-nav-item.is-active span {
    color: #ffffff;
}

.admin-brand strong {
    display: block;
    font-size: 14px;
}

.admin-brand small {
    color: var(--muted);
    font-size: 12px;
}

.admin-profile {
    border: 1px solid var(--border);
    background: var(--surface-2);
    border-radius: 10px;
    padding: 8px 12px;
    color: var(--text);
    font-size: 13px;
}

.admin-page {
    padding: 0;
}

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

/* Coluna unica: um campo por linha (abas Imagens / formularios longos) */
.admin-form-grid--stacked {
    grid-template-columns: 1fr;
    gap: 14px;
}

.admin-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

.admin-form-grid input {
    background: #12142a;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 45%, #2c315a);
    color: #f4f5ff;
    border-radius: 8px;
    padding: 10px;
}

.admin-form-grid select {
    background: #12142a;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 45%, #2c315a);
    color: #f4f5ff;
    border-radius: 8px;
    padding: 10px;
}

.admin-form-actions {
    grid-column: 1 / -1;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-settings-form > .admin-form-actions {
    margin-top: 18px;
}

.admin-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.admin-checkbox-inline {
    margin-top: 24px;
}

/* Toggle switch (substitui checkbox em linha no admin) */
.admin-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.admin-toggle:hover {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 45%, rgba(255, 255, 255, 0.12));
    background: rgba(0, 0, 0, 0.28);
}

.admin-toggle-text {
    font-size: 13px;
    font-weight: 600;
    color: rgba(244, 245, 255, 0.94);
    line-height: 1.35;
}

.admin-toggle-control {
    position: relative;
    width: 50px;
    height: 30px;
    flex-shrink: 0;
}

.admin-toggle-control input {
    position: absolute;
    inset: 0;
    opacity: 0;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.admin-toggle-track {
    position: relative;
    display: block;
    width: 50px;
    height: 30px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(55, 58, 78, 0.95) 0%, rgba(35, 38, 52, 0.98) 100%);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.45),
        0 1px 0 rgba(255, 255, 255, 0.06);
    transition: background 0.28s ease, box-shadow 0.28s ease;
    pointer-events: none;
}

.admin-toggle-track::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f6f7fb 0%, #d4d6e0 100%);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.35) inset;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.admin-toggle-control input:focus-visible + .admin-toggle-track {
    outline: 2px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #fff);
    outline-offset: 3px;
}

.admin-toggle-control input:checked + .admin-toggle-track {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 72%, #22c55e) 0%,
        color-mix(in srgb, var(--house-ui-accent, #c9a227) 40%, #15803d) 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 12px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, transparent);
}

.admin-toggle-control input:checked + .admin-toggle-track::after {
    transform: translateX(20px);
}

.admin-form-grid .admin-toggle {
    grid-column: 1 / -1;
}

/* Indicador da secao (uma aba so), fora do painel principal */
.adm-page-section-tab-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 12px 36px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 26%, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
    box-sizing: border-box;
}

.adm-page-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: rgba(244, 245, 255, 0.88);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 32%, rgba(255, 255, 255, 0.1));
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.adm-page-tab:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.adm-page-tab.is-active {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, rgba(255, 255, 255, 0.06));
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 72%, rgba(255, 255, 255, 0.2));
    color: #fff;
}

/* Sub-abas dentro de Imagens (radios + labels) */
.adm-tabs-shell {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 26%, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
    padding: 14px 14px 18px;
    margin-top: 8px;
}

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

.adm-tab-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.adm-tab-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(244, 245, 255, 0.88);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, rgba(255, 255, 255, 0.1));
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.adm-tab-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

#adm-img-geral:checked ~ .adm-tab-bar label[for='adm-img-geral'],
#adm-img-faixa:checked ~ .adm-tab-bar label[for='adm-img-faixa'],
#adm-img-atalhos:checked ~ .adm-tab-bar label[for='adm-img-atalhos'],
#adm-img-carrossel:checked ~ .adm-tab-bar label[for='adm-img-carrossel'],
#adm-img-jackpot:checked ~ .adm-tab-bar label[for='adm-img-jackpot'],
#adm-img-textura:checked ~ .adm-tab-bar label[for='adm-img-textura'] {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 20%, rgba(255, 255, 255, 0.05));
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 68%, rgba(255, 255, 255, 0.15));
    color: #fff;
}

/* Painel so controla visibilidade; o grid fica no wrapper interno (.admin-form-grid),
   para nao brigar com display:grid do mesmo elemento (painels inativos reapareciam no fim da pagina). */
.adm-tabs-shell > .adm-tab-panel {
    display: none !important;
}

#adm-img-geral:checked ~ .adm-tab-panel--geral,
#adm-img-faixa:checked ~ .adm-tab-panel--faixa,
#adm-img-atalhos:checked ~ .adm-tab-panel--atalhos,
#adm-img-carrossel:checked ~ .adm-tab-panel--carrossel,
#adm-img-jackpot:checked ~ .adm-tab-panel--jackpot,
#adm-img-textura:checked ~ .adm-tab-panel--textura {
    display: block !important;
}

.adm-pattern-mode-fieldset {
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.adm-pattern-mode-legend {
    padding: 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.adm-pattern-mode-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
}

.adm-pattern-mode-option:last-child {
    margin-bottom: 0;
}

.adm-pattern-field {
    margin-bottom: 12px;
}

.adm-pattern-field[hidden] {
    display: none !important;
}

/* Grupo visual dentro das sub-abas Imagens */
.adm-field-group-shell {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, rgba(255, 255, 255, 0.07));
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.adm-field-group-shell .admin-toggle {
    margin: 0;
}

.adm-field-group-title {
    margin: 0 0 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 65%, rgba(244, 245, 255, 0.85));
}

.adm-field-help {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(244, 245, 255, 0.65);
}

.alert-success,
.alert-error {
    margin-top: 12px;
    border-radius: 8px;
    padding: 10px 12px;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.adm-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0 18px;
    border-bottom: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 24%, transparent);
}

.adm-tab {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 10px 10px 0 0;
    border: 1px solid transparent;
    border-bottom: none;
    color: color-mix(in srgb, #ffffff 70%, var(--house-ui-accent, #d9a54f) 30%);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: -1px;
    background: transparent;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.adm-tab:hover {
    color: #fff;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 14%, transparent);
}

.adm-tab.is-active {
    color: #fff;
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 64%, var(--house-ui-accent, #d9a54f) 36%);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 48%, transparent);
}

.adm-metrics-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.adm-metric-card {
    border-radius: 12px;
    padding: 14px 16px;
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 70%, #000 30%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.adm-metric-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.adm-metric-value {
    font-size: 22px;
    font-weight: 700;
    color: color-mix(in srgb, #fff 80%, var(--house-ui-accent, #d9a54f) 20%);
}

.adm-detail-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 14px;
    align-items: start;
}

.adm-detail-card {
    border-radius: 12px;
    padding: 14px 16px;
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 70%, #000 30%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.adm-detail-card h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: color-mix(in srgb, #fff 88%, var(--house-ui-accent, #d9a54f) 12%);
    letter-spacing: 0.2px;
}

.adm-detail-card--danger {
    border-color: rgba(239, 68, 68, 0.55);
    background: color-mix(in srgb, #401414 70%, var(--house-ui-background, #1f2447) 30%);
}

.adm-detail-list {
    margin: 0;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 6px 12px;
    font-size: 13px;
}

.adm-detail-list dt {
    color: rgba(255, 255, 255, 0.65);
}

.adm-detail-list dd {
    margin: 0;
    color: #fff;
    word-break: break-word;
}

/* Admin remaster shell (novo, inspirado no layout kkkversace) */
.adm-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 290px 1fr;
    column-gap: 12px;
    background: radial-gradient(circle at top, color-mix(in srgb, var(--house-ui-background, #1f2447) 85%, #ffffff 15%) 0%, var(--house-ui-background, #121529) 56%, #0d1020 100%);
    transition: grid-template-columns 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.adm-sidebar {
    border-right: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, transparent);
    background: linear-gradient(180deg, rgba(15, 12, 32, 0.97) 0%, rgba(8, 7, 22, 0.99) 100%);
    padding: 14px 12px;
    margin: 10px 0 10px 10px;
    border-radius: 22px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, transparent);
    height: calc(100vh - 20px);
    overflow-y: auto;
    overflow-x: hidden;
    position: sticky;
    top: 10px;
    transition: margin 0.28s ease, border-radius 0.28s ease, opacity 0.24s ease;
}

.adm-sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    padding: 14px 10px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, transparent);
    border-radius: 14px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.01);
}

.adm-sidebar-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 85%, #fff), color-mix(in srgb, var(--house-ui-accent, #d9a54f) 65%, #000));
    color: #261707;
    font-weight: 800;
    font-size: 13px;
    flex: 0 0 auto;
}

.adm-sidebar-brand-logo {
    width: min(190px, 100%);
    max-height: 62px;
    border-radius: 8px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    display: block;
}

.adm-sidebar-brand-text strong {
    display: block;
    font-size: 13px;
}

.adm-sidebar-brand-text small {
    color: #c0c4e6;
    font-size: 11px;
}

.adm-sidebar-brand-only-fallback {
    color: #e9ecff;
    font-size: 13px;
    font-weight: 700;
}

.adm-sidebar-section-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b7bbd9;
    margin: 12px 8px 8px;
    font-weight: 700;
}

.adm-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.adm-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #dee3ff;
    padding: 12px 13px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease, opacity 0.18s ease;
}

.adm-nav-link:hover {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 14%, transparent);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, transparent);
}

.adm-nav-link.is-active {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 45%, transparent);
}

.adm-nav-link.is-active.is-muted-active {
    background: transparent;
    border-color: transparent;
}

.adm-nav-toggle.is-current {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 42%, transparent);
}

.adm-nav-arrow {
    margin-left: auto;
    color: #bfc3e1;
    transition: transform 0.2s ease;
}

.adm-sidebar-divider {
    border-top: 1px dashed color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, transparent);
    margin: 14px 6px;
}

.adm-nav-icon {
    font-size: 22px;
    color: #f1f2ff;
    display: inline-flex;
}

.adm-nav-toggle {
    width: 100%;
    cursor: pointer;
}

.adm-nav-toggle.is-open .adm-nav-arrow {
    transform: rotate(90deg);
}

.adm-submenu {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 4px 0 4px 34px;
    transform: translateY(-4px);
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, transform 0.25s ease;
}

.adm-submenu.is-open {
    max-height: 520px;
    opacity: 1;
    transform: translateY(0);
}

.adm-submenu-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d6daf4;
    text-decoration: none;
    padding: 10px 11px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-3px);
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.adm-submenu-link i {
    font-size: 17px;
    color: #d6daf4;
    width: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
}

.adm-submenu-link:hover,
.adm-submenu-link.is-active {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 20%, transparent);
    color: #fff;
}

.adm-submenu.is-open .adm-submenu-link {
    opacity: 1;
    transform: translateY(0);
}

.adm-main {
    display: grid;
    grid-template-rows: auto 1fr;
    width: min(1320px, calc(100% - 24px));
    margin: 10px auto 0;
    position: relative;
}

.adm-topbar {
    height: 92px;
    border-bottom: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 25%, transparent);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: linear-gradient(180deg, rgba(11, 10, 26, 0.96), rgba(8, 7, 22, 0.95));
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, transparent);
    overflow: visible;
    position: relative;
    z-index: 200;
}

.adm-topbar-left,
.adm-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: visible;
}

.adm-menu-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, transparent);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.adm-menu-toggle span {
    width: 16px;
    height: 2px;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 80%, #fff);
    border-radius: 2px;
}

.adm-topbar-welcome-card {
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 20%, transparent);
    border-radius: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    min-width: 230px;
}

.adm-topbar-welcome-card strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.adm-topbar-welcome-card small {
    color: #a6abd1;
    display: block;
    font-size: 11px;
    margin-top: 2px;
}

.adm-top-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, transparent);
    background: rgba(255, 255, 255, 0.02);
    color: #f0e8d0;
    font-size: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.adm-top-icon-bell .iconoir-bell {
    font-size: 20px;
}

.adm-top-icon-badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.adm-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #f0f2ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, transparent);
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.adm-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Menu perfil admin */
.adm-profile-wrap {
    position: relative;
    flex-shrink: 0;
    z-index: 1201;
}

.adm-profile-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 240px;
    margin: 0;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, transparent);
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-background, #1f2447) 92%, #000) 0%,
        color-mix(in srgb, var(--house-ui-background, #1f2447) 98%, #000) 100%
    );
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    z-index: 1202;
}

.adm-profile-wrap.is-open .adm-profile-panel {
    display: block;
}

.adm-profile-dropdown-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 4px;
}

.adm-profile-dropdown-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, transparent);
}

.adm-profile-dropdown-user-text {
    min-width: 0;
    flex: 1;
}

.adm-profile-dropdown-user-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #f0f2ff;
    line-height: 1.25;
}

.adm-profile-dropdown-user-text small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: #a6abd1;
    line-height: 1.3;
}

.adm-profile-dropdown-user-email {
    word-break: break-all;
}

.adm-profile-dropdown-divider {
    height: 1px;
    margin: 4px 0 6px;
    background: rgba(255, 255, 255, 0.08);
}

.adm-profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #ffb4bc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
}

.adm-profile-dropdown-item:hover {
    background: rgba(220, 53, 69, 0.12);
    color: #ff8a96;
}

.adm-profile-dropdown-item i {
    font-size: 16px;
}

.adm-content {
    padding: 14px 0 18px;
    position: relative;
    z-index: 1;
}

.adm-panel {
    background: rgba(17, 20, 40, 0.82);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, transparent);
    border-radius: 14px;
    padding: 18px;
}

.is-sidebar-collapsed {
    grid-template-columns: 84px 1fr;
}

.is-sidebar-collapsed .adm-sidebar-brand-text,
.is-sidebar-collapsed .adm-sidebar-section-title,
.is-sidebar-collapsed .adm-nav-link span:not(.adm-nav-icon) {
    display: none;
}

.is-sidebar-collapsed .adm-sidebar {
    opacity: 0.98;
}

/* Admin mobile/tablet: assets/css/admin-responsive.css */

@media (max-width: 640px) {
    .brand-logo-image {
        max-height: 34px;
        max-width: 140px;
    }

    .btn {
        font-size: 13px;
        padding: 4px 10px;
    }

    .client-bottom-nav {
        min-height: 86px;
    }

    .client-bottom-nav-item {
        font-size: 28px;
        padding: 12px 4px 14px;
    }

    .client-bottom-nav-item > i {
        font-size: 32px;
    }

    .client-bottom-nav-item > svg {
        width: 32px;
        height: 32px;
    }

    .client-bottom-nav-item span {
        font-size: 12px;
    }

    .client-bottom-nav--highlight .client-bottom-nav-item.is-active {
        transform: translateY(-14px);
    }

    .client-bottom-nav--highlight .client-bottom-nav-item.is-active > i,
    .client-bottom-nav--highlight .client-bottom-nav-item.is-active > svg {
        width: 64px;
        height: 64px;
        border-width: 2px;
    }

    .client-bottom-nav--highlight .client-bottom-nav-item.is-active > svg {
        padding: 10px;
    }

    .client-bottom-nav--wave {
        background-size: 100% 100%;
    }
}

.house-profile-pop {
    position: fixed;
    top: 0;
    left: 50%;
    bottom: 0;
    width: min(500px, 100%);
    transform: translateX(-50%);
    z-index: 11000;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition:
        opacity var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        visibility 0s linear var(--house-panel-fade-duration);
}

.house-profile-pop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.house-profile-sheet {
    position: absolute;
    inset: 0;
    width: 100%;
    max-height: 100%;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 94%, #070402 6%);
    border-radius: 0;
    border-top: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(120%);
    transition: transform var(--house-panel-slide-duration) var(--house-panel-slide-easing);
}

.house-profile-pop.is-open .house-profile-sheet {
    transform: translateX(0);
}

.house-profile-pop[aria-hidden="true"] .house-profile-sheet {
    transform: translateX(100%);
}

.house-profile-back,
.house-profile-head-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, #fff 82%, var(--house-ui-accent, #d9a54f) 18%);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 70%, #ffffff 6%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, transparent);
}

.house-profile-back {
    cursor: pointer;
}

.house-profile-title {
    margin: 0;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.house-profile-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 12px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

@media (max-width: 767px) {
    .house-profile-body {
        /* MantÃ©m espaÃ§o para a nav inferior sem mostrar textura do fundo */
        padding-bottom: calc(98px + env(safe-area-inset-bottom, 0px));
    }

    .house-profile-checkin {
        margin-top: 8px;
        border-radius: 9px;
        padding: 6px 6px 6px;
        gap: 4px;
    }

    .house-profile-checkin-head-row {
        gap: 6px;
    }

    .house-profile-checkin-title {
        font-size: 12px;
        line-height: 1.1;
    }

    .house-profile-checkin-head {
        --checkin-head-chip-size: 34px;
        --checkin-head-chip-glyph: 15px;
    }

    .house-profile-checkin-more {
        padding: 0;
        font-size: 9px;
    }

    .house-profile-checkin-more i {
        width: var(--checkin-head-chip-glyph, 15px);
        height: var(--checkin-head-chip-glyph, 15px);
        flex-basis: var(--checkin-head-chip-glyph, 15px);
    }

    .house-profile-checkin-list {
        gap: 5px;
        padding-bottom: 2px;
    }

    .house-profile-checkin-card {
        width: 50px;
        min-height: 58px;
        border-radius: 7px;
        padding: 3px 2px;
        gap: 1px;
    }

    .house-profile-checkin-amount {
        font-size: 9px;
        line-height: 0.95;
    }

    .house-profile-checkin-bag {
        width: 16px;
        height: 16px;
    }

    .house-profile-checkin-money {
        width: 12px;
        height: 10px;
    }

    .house-profile-checkin-check {
        width: 10px;
        height: 10px;
    }

    .house-profile-checkin-day {
        font-size: 7px;
        letter-spacing: 0.02em;
    }

    .house-profile-checkin-collect,
    .house-profile-checkin-status {
        min-height: 12px;
        padding: 1px 0;
        font-size: 7px;
        border-radius: 5px;
    }
}

.house-profile-hero {
    position: relative;
    min-height: 176px;
    margin: -12px -12px 0;
    padding: 14px;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(180deg, transparent 78%, color-mix(in srgb, var(--house-ui-background, #5a3421) 94%, #070402 6%) 100%),
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent) 0%, transparent 52%),
        linear-gradient(135deg,
            color-mix(in srgb, var(--house-ui-background, #5a3421) 88%, #ffffff 12%) 0%,
            color-mix(in srgb, var(--house-ui-background, #5a3421) 68%, #000000 32%) 100%);
}

.house-profile-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("https://ik.imagekit.io/ww0g3wxda/Aba-Promocoes/textuta-deposito.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.85;
    mix-blend-mode: soft-light;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
    z-index: -1;
}

.house-profile-hero > * {
    position: relative;
    z-index: 1;
}

.house-profile-hero-top {
    position: absolute;
    inset: 12px 14px auto 14px;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
}

.house-profile-back--inline {
    flex-shrink: 0;
    cursor: pointer;
}

.house-profile-top-actions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.house-profile-top-action {
    border: none;
    background: transparent;
    color: color-mix(in srgb, #fff 78%, var(--house-ui-accent, #d9a54f) 22%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 0;
    cursor: default;
}

.house-profile-top-action i {
    font-size: 22px;
}

.house-profile-top-action > span:not(.house-profile-top-action-svg) {
    display: none;
}

.house-profile-top-action-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
}

.house-profile-main-row {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 54px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.house-profile-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 74%, #fff 26%);
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 12%, rgba(255, 255, 255, 0.04));
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 32%, transparent);
    overflow: hidden;
}

.house-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.house-profile-main-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.house-profile-main-name-row,
.house-profile-main-id-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.house-profile-main-name-row i,
.house-profile-main-id-row i {
    font-size: 16px;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 62%, #eaf0ff 38%);
}

.house-profile-copy-btn {
    border: none;
    padding: 0;
    background: transparent;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 62%, #eaf0ff 38%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.house-profile-user {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.house-profile-user-id {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.house-profile-balance-box {
    position: absolute;
    left: 14px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 38%, rgba(255, 255, 255, 0.28) 62%);
    background: color-mix(in srgb, #ffffff 16%, var(--house-ui-background, #5a3421) 84%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.house-profile-balance-flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 34%, transparent);
}

.house-profile-balance-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.house-profile-balance-value {
    font-size: 18px;
    line-height: 1;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 80%, #fff 20%);
}

.house-profile-balance-refresh {
    width: 20px;
    height: 20px;
    border: none;
    padding: 0;
    background: transparent;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 62%, #e6edff 38%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.house-profile-balance-refresh .iconoir-refresh-circle {
    font-size: 20px;
    line-height: 1;
}

.house-profile-balance-box.is-refreshing .house-profile-balance-refresh .iconoir-refresh-circle {
    animation: header-refresh-spin 0.75s linear;
}

.house-profile-shortcuts {
    position: absolute;
    right: 14px;
    bottom: 14px;
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: min(170px, 46%);
}

.house-profile-shortcut {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    min-height: 48px;
    font-size: 26px;
    cursor: pointer;
}

.house-profile-shortcut i {
    width: 36px;
    height: 36px;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #dfe8ff 30%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.house-profile-shortcut-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.house-profile-shortcut span {
    font-size: 12px;
    line-height: 1;
}

.house-profile-shortcut:disabled {
    opacity: 0.82;
    cursor: default;
}

.house-profile-vip-card {
    margin-top: 14px;
    width: 100%;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, transparent);
    border-radius: 12px;
    padding: 10px 12px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 86%, #000 14%);
    color: rgba(255, 255, 255, 0.92);
    display: grid;
    grid-template-columns: minmax(150px, 1.3fr) 1.6fr auto;
    align-items: center;
    gap: 12px;
    text-align: left;
    cursor: pointer;
}

.house-profile-vip-card:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #fff 30%);
    outline-offset: 2px;
}

.house-profile-vip-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.house-profile-vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.house-profile-vip-badge-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.house-profile-vip-badge-label {
    font-style: italic;
    font-weight: 800;
    font-size: 18px;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #fff 30%);
    letter-spacing: 0.4px;
    line-height: 1;
}

.house-profile-vip-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.house-profile-vip-bar {
    position: relative;
    height: 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.32);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.house-profile-vip-bar-fill {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 92%, #ffffff 8%) 0%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, var(--house-ui-background, #5a3421) 30%) 100%);
    transition: width 0.4s ease;
    min-width: 0;
}

.house-profile-vip-bar-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.2px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.house-profile-vip-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.house-profile-vip-bonus,
.house-profile-vip-req {
    margin: 0;
    font-size: 13px;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.86);
}

.house-profile-vip-bonus strong,
.house-profile-vip-req strong {
    font-weight: 800;
    color: #ffffff;
}

.house-profile-vip-link {
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    font: inherit;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 60%, transparent);
    text-underline-offset: 2px;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #fff 30%);
    cursor: pointer;
    line-height: inherit;
}

.house-profile-vip-link:hover,
.house-profile-vip-link:focus-visible {
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 88%, #fff 12%);
    text-decoration-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 90%, transparent);
    outline: none;
}

.house-profile-vip-caret {
    font-size: 22px;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 68%, #fff 32%);
}

.house-profile-checkin {
    margin-top: 10px;
    border-radius: 14px;
    padding: 12px 12px 14px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 86%, #000 14%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.house-profile-checkin-head {
    --checkin-head-chip-size: 40px;
    --checkin-head-chip-glyph: 18px;
    display: block;
    width: 100%;
}

.house-profile-checkin-head-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: var(--checkin-head-chip-size, 40px);
}

.house-profile-checkin-head-center {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.house-profile-checkin-title {
    margin: 0;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: .01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.house-profile-checkin-info {
    flex: 0 0 var(--checkin-head-chip-size, 40px);
}

.house-profile-checkin-more {
    flex: 0 0 auto;
}

.house-profile-checkin-info {
    flex: 0 0 auto;
    width: var(--checkin-head-chip-size, 40px);
    height: var(--checkin-head-chip-size, 40px);
    min-width: var(--checkin-head-chip-size, 40px);
    min-height: var(--checkin-head-chip-size, 40px);
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--house-ui-background, #5a3421) 55%, #000 45%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 62%, #fff 38%);
    color: color-mix(in srgb, var(--house-ui-background, #5a3421) 88%, #000 12%);
    cursor: pointer;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.house-profile-checkin-info:hover {
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, transparent);
}

.house-profile-checkin-info.is-active {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 72%, #fff 28%);
    color: color-mix(in srgb, var(--house-ui-background, #5a3421) 90%, #000 10%);
}

.house-profile-checkin-info-flip {
    display: block;
    width: var(--checkin-head-chip-glyph, 18px);
    height: var(--checkin-head-chip-glyph, 18px);
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.48s cubic-bezier(0.34, 1.2, 0.48, 1);
}

.house-profile-checkin-info.is-active .house-profile-checkin-info-flip {
    transform: rotateY(180deg);
}

.house-profile-checkin-info-face {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.house-profile-checkin-info-face--close {
    transform: rotateY(180deg);
}

.house-profile-checkin-info-face i {
    font-size: var(--checkin-head-chip-glyph, 18px);
    line-height: 1;
}

.house-profile-checkin-info-face--close i {
    font-size: calc(var(--checkin-head-chip-glyph, 18px) - 1px);
    font-weight: 700;
}

.house-profile-checkin-stats-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.house-profile-checkin-stats-panel.is-open {
    grid-template-rows: 1fr;
}

.house-profile-checkin-stats-panel[hidden] {
    display: none !important;
}

.house-profile-checkin-stats-panel.is-open[hidden] {
    display: grid !important;
}

.house-profile-checkin-stats-panel-inner {
    overflow: hidden;
    min-height: 0;
}

.house-profile-checkin-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 0;
    padding: 0 10px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 78%, #000 22%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
    opacity: 0;
    transform: translateY(-8px);
    transition:
        opacity 0.45s cubic-bezier(0.33, 1, 0.68, 1) 0.05s,
        transform 0.5s cubic-bezier(0.33, 1, 0.68, 1) 0.03s,
        padding 0.5s cubic-bezier(0.33, 1, 0.68, 1),
        margin-top 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.house-profile-checkin-stats-panel.is-open .house-profile-checkin-stats {
    margin-top: 8px;
    padding: 10px 12px;
    opacity: 1;
    transform: translateY(0);
}

.house-profile-checkin-stats-streak {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: color-mix(in srgb, #fff 58%, transparent);
    flex: 1 1 auto;
    min-width: 0;
}

.house-profile-checkin-stats-streak strong {
    color: #fff;
    font-weight: 700;
}

.house-profile-checkin-stats-redeemed {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.house-profile-checkin-stats-redeemed-label {
    font-size: 12px;
    color: color-mix(in srgb, #fff 58%, transparent);
}

.house-profile-checkin-stats-redeemed strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--house-ui-accent, #d9a54f);
}

.house-profile-checkin-stats-refresh {
    width: 22px;
    height: 22px;
    padding: 0;
    margin-left: 2px;
    border: 0;
    background: transparent;
    color: #2ec27e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.35s ease, opacity 0.2s ease;
}

.house-profile-checkin-stats-refresh:hover {
    opacity: 0.85;
}

.house-profile-checkin-stats-refresh.is-loading i {
    animation: house-checkin-stats-spin 0.7s linear infinite;
}

@keyframes house-checkin-stats-spin {
    to { transform: rotate(360deg); }
}

.house-profile-checkin-stats-refresh i {
    font-size: 18px;
    line-height: 1;
}

.house-profile-checkin-titles p {
    margin: 0;
    font-size: 12px;
    color: color-mix(in srgb, #fff 68%, transparent);
    line-height: 1.35;
}

.house-profile-checkin-gate {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.house-profile-checkin-gate.is-open {
    grid-template-rows: 1fr;
}

.house-profile-checkin-gate[hidden] {
    display: none !important;
}

.house-profile-checkin-gate.is-open[hidden] {
    display: grid !important;
}

.house-profile-checkin-gate-inner {
    overflow: hidden;
    min-height: 0;
}

.house-profile-checkin-gate-sheet {
    margin-top: 0;
    padding: 0 12px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, transparent);
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition:
        opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1) 0.06s,
        transform 0.55s cubic-bezier(0.33, 1, 0.68, 1) 0.04s,
        padding 0.5s cubic-bezier(0.33, 1, 0.68, 1),
        margin-top 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.house-profile-checkin-gate.is-open .house-profile-checkin-gate-sheet {
    margin-top: 10px;
    padding: 12px;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.house-profile-checkin-gate-close {
    float: right;
    width: 28px;
    height: 28px;
    margin: -2px -2px 0 8px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: color-mix(in srgb, #fff 80%, transparent);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.house-profile-checkin-gate-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.house-profile-checkin-gate-message {
    margin: 0 0 12px;
    padding: 0;
    font-size: 11px;
    line-height: 1.5;
    color: color-mix(in srgb, #fff 82%, transparent);
}

.house-profile-checkin-gate-message strong {
    color: #fff;
    font-weight: 700;
}

.house-profile-checkin-gate-deposit {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    color: #1a1208;
    background: linear-gradient(180deg, var(--house-ui-accent, #d9a54f), color-mix(in srgb, var(--house-ui-accent, #d9a54f) 72%, #000));
    box-shadow: 0 4px 12px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 32%, transparent);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.house-profile-checkin-gate-deposit:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.house-profile-checkin-more {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    width: var(--checkin-head-chip-size, 40px);
    min-width: var(--checkin-head-chip-size, 40px);
    height: var(--checkin-head-chip-size, 40px);
    min-height: var(--checkin-head-chip-size, 40px);
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 32%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 75%, #000 25%);
    color: color-mix(in srgb, #fff 90%, transparent);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    transition: width .28s ease, gap .28s ease, padding .28s ease, border-color .22s ease, background-color .22s ease;
}

.house-profile-checkin-more.is-open {
    width: 172px;
    gap: 8px;
    justify-content: flex-start;
    padding-left: 12px;
    padding-right: 12px;
}

.house-profile-checkin-more i {
    width: var(--checkin-head-chip-glyph, 18px);
    height: var(--checkin-head-chip-glyph, 18px);
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 80%, #fff 20%);
    flex: 0 0 var(--checkin-head-chip-glyph, 18px);
}

.house-profile-checkin-more span {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    transform: translateX(-6px);
    overflow: hidden;
    transition: max-width .28s ease, opacity .2s ease, transform .28s ease;
}

.house-profile-checkin-more.is-open span {
    max-width: 142px;
    opacity: 1;
    transform: translateX(0);
}

.house-profile-checkin-more:disabled {
    opacity: .85;
    cursor: default;
}

.house-profile-checkin-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.house-profile-checkin-list::-webkit-scrollbar {
    height: 4px;
}

.house-profile-checkin-list::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, transparent);
    border-radius: 4px;
}

.house-profile-checkin-card {
    flex: 0 0 auto;
    width: 78px;
    min-height: 102px;
    border-radius: 12px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 78%, #000 22%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
    color: #fff;
    scroll-snap-align: start;
    position: relative;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.house-profile-checkin-amount {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    color: color-mix(in srgb, #fff 92%, transparent);
}

.house-profile-checkin-bag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 55%, #1a0f08 45%),
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 25%, #1a0f08 75%));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 38%, transparent);
}

.house-profile-checkin-money {
    width: 24px;
    height: 20px;
    overflow: visible;
}

.house-profile-checkin-money rect,
.house-profile-checkin-money circle {
    fill: #ffffff;
    stroke: rgba(0, 0, 0, 0.18);
    stroke-width: 1;
}

.house-profile-checkin-money path {
    fill: none;
    stroke: rgba(0, 0, 0, 0.55);
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.house-profile-checkin-check {
    width: 22px;
    height: 22px;
    overflow: visible;
}

.house-profile-checkin-check path {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.house-profile-checkin-day {
    font-size: 11px;
    font-weight: 600;
    color: color-mix(in srgb, #fff 65%, transparent);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.house-profile-checkin-card.is-today {
    border-color: #2ec27e;
    background: color-mix(in srgb, #2ec27e 14%, color-mix(in srgb, var(--house-ui-background, #5a3421) 78%, #000 22%));
    box-shadow: 0 0 0 1px color-mix(in srgb, #2ec27e 35%, transparent);
}

.house-profile-checkin-card.is-today .house-profile-checkin-amount {
    color: #5edaa1;
}

.house-profile-checkin-card.is-today .house-profile-checkin-day {
    color: color-mix(in srgb, #fff 85%, transparent);
}

.house-profile-checkin-card.is-past {
    opacity: .55;
    filter: saturate(.85);
}

.house-profile-checkin-card.is-past .house-profile-checkin-amount {
    color: color-mix(in srgb, #fff 60%, transparent);
}

.house-profile-checkin-card.is-future .house-profile-checkin-amount {
    color: color-mix(in srgb, #fff 80%, transparent);
}

.house-profile-checkin-collect {
    margin-top: 2px;
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 5px 0;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(180deg, #36d186, #1f9b5d);
    color: #08110b;
    box-shadow: 0 4px 10px color-mix(in srgb, #2ec27e 30%, transparent);
    transition: transform .12s ease, filter .12s ease, opacity .12s ease;
}

.house-profile-checkin-collect:hover:not(:disabled) {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.house-profile-checkin-collect:disabled,
.house-profile-checkin-collect.is-loading {
    opacity: .6;
    cursor: wait;
    transform: none;
}

.house-profile-checkin-status {
    margin-top: 2px;
    width: 100%;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: color-mix(in srgb, #fff 65%, transparent);
    padding: 5px 0;
    border-radius: 8px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 90%, #000 10%);
    border: 1px dashed color-mix(in srgb, #fff 18%, transparent);
}

.house-profile-quick-functions {
    margin-top: 10px;
    margin-bottom: 0;
    border-radius: 12px;
    padding: 12px 12px 14px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 86%, #000 14%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
}

.house-profile-quick-title {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
}

.house-profile-quick-grid {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 12px 8px;
    align-content: start;
}

.house-profile-quick-item {
    min-width: 0;
    border: 0;
    padding: 6px 4px;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    line-height: 1.16;
    text-align: center;
    cursor: pointer;
    border-radius: 10px;
}

.house-profile-quick-item:disabled {
    cursor: default;
}

.house-profile-quick-item svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.9;
    color: #ffffff;
}

.house-profile-quick-item .lucide-badge-percent {
    color: #ffffff;
}

.house-profile-quick-item .lucide-badge-percent path[d="m15 9-6 6"] {
    stroke: var(--house-ui-accent);
}

.house-profile-quick-item .lucide-badge-percent path[d="M15 15h.01"],
.house-profile-quick-item .lucide-badge-percent path[d="M9 9h.01"] {
    stroke: var(--house-ui-accent);
}

.house-profile-quick-item .lucide-clipboard-list {
    color: #ffffff;
}

.house-profile-quick-item .lucide-clipboard-list path[d="M12 11h4"],
.house-profile-quick-item .lucide-clipboard-list path[d="M12 16h4"],
.house-profile-quick-item .lucide-clipboard-list path[d="M8 11h.01"],
.house-profile-quick-item .lucide-clipboard-list path[d="M8 16h.01"] {
    stroke: var(--house-ui-accent);
}

.house-profile-quick-item .lucide-wallet-cards {
    color: #ffffff;
}

.house-profile-quick-item .lucide-wallet-cards path[d="M3 11h3c.8 0 1.6.3 2.1.9l1.1.9c1.6 1.6 4.1 1.6 5.7 0l1.1-.9c.5-.5 1.3-.9 2.1-.9H21"] {
    stroke: var(--house-ui-accent);
}

.house-profile-quick-item .lucide-crown {
    color: #ffffff;
}

.house-profile-quick-item .lucide-crown path[d="M5 21h14"] {
    stroke: var(--house-ui-accent);
}

.house-profile-quick-item .lucide-badge-plus {
    color: #ffffff;
}

.house-profile-quick-item .lucide-badge-plus line[x1="12"][x2="12"][y1="8"][y2="16"],
.house-profile-quick-item .lucide-badge-plus line[x1="8"][x2="16"][y1="12"][y2="12"] {
    stroke: var(--house-ui-accent);
}

.house-profile-quick-item .lucide-user-round-cog,
.house-profile-quick-item .lucide-shield-check {
    color: #ffffff;
}

.house-profile-quick-item .lucide-user-round-cog circle[cx="18"][cy="18"][r="3"] {
    stroke: var(--house-ui-accent);
}

.house-profile-quick-item .lucide-user-round-cog path[d="m19.148 15.228.383-.923"],
.house-profile-quick-item .lucide-user-round-cog path[d="m19.53 21.696-.382-.924"],
.house-profile-quick-item .lucide-user-round-cog path[d="m14.305 19.53.923-.382"],
.house-profile-quick-item .lucide-user-round-cog path[d="m15.228 16.852-.923-.383"],
.house-profile-quick-item .lucide-user-round-cog path[d="m16.852 15.228-.383-.923"],
.house-profile-quick-item .lucide-user-round-cog path[d="m16.852 20.772-.383.924"],
.house-profile-quick-item .lucide-user-round-cog path[d="m20.772 16.852.924-.383"],
.house-profile-quick-item .lucide-user-round-cog path[d="m20.772 19.148.924.383"] {
    stroke: var(--house-ui-accent);
}

.house-profile-quick-item .lucide-shield-check path[d="m9 12 2 2 4-4"],
.house-profile-quick-item .lucide-shield-check path[d="m22 22-5-10-5 10"],
.house-profile-quick-item .lucide-shield-check path[d="M14 18h6"] {
    stroke: var(--house-ui-accent);
}

.house-profile-quick-item .lucide-languages {
    color: #ffffff;
}

.house-profile-quick-item .lucide-languages path[d="m22 22-5-10-5 10"],
.house-profile-quick-item .lucide-languages path[d="M14 18h6"] {
    stroke: var(--house-ui-accent);
}

.house-profile-quick-item .lucide-help-circle {
    color: #ffffff;
}

.house-profile-quick-item .lucide-help-circle path[d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"],
.house-profile-quick-item .lucide-help-circle path[d="M12 17h.01"] {
    stroke: var(--house-ui-accent);
}

.house-profile-quick-item .lucide-gift {
    color: #ffffff;
}

.house-profile-quick-item .lucide-gift path[d="M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5"],
.house-profile-quick-item .lucide-gift path[d="M12 7v14"] {
    stroke: var(--house-ui-accent);
}

.house-profile-quick-item .lucide-monitor-smartphone {
    color: #ffffff;
}

.house-profile-quick-item .lucide-monitor-smartphone rect[width="6"][height="10"][x="16"][y="12"][rx="2"] {
    stroke: var(--house-ui-accent);
}

.house-profile-quick-item .lucide-log-out {
    color: #ffffff;
}

.house-profile-quick-item .lucide-log-out path[d="m16 17 5-5-5-5"],
.house-profile-quick-item .lucide-log-out path[d="M21 12H9"] {
    stroke: var(--house-ui-accent);
}

.house-profile-quick-item span:last-child {
    max-width: 64px;
    min-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.house-profile-quick-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.house-profile-quick-badge {
    position: absolute;
    left: 14px;
    top: -7px;
    min-width: 28px;
    padding: 1px 4px;
    border-radius: 999px;
    background: #22c55e;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    line-height: 1.1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

.house-profile-menu {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.house-profile-menu-item {
    min-height: 46px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 86%, #000 14%);
    color: rgba(255, 255, 255, 0.92);
    display: grid;
    grid-template-columns: 24px 1fr 24px;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.house-profile-menu-item i {
    font-size: 18px;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 68%, #fff 32%);
}

.house-profile-menu-item:disabled {
    opacity: 0.75;
    cursor: default;
}

.house-profile-menu-item--logout {
    border-color: color-mix(in srgb, #f87171 58%, transparent);
    background: color-mix(in srgb, #3a1313 72%, var(--house-ui-background, #5a3421) 28%);
}

.house-profile-menu-item--logout i,
.house-profile-menu-item--logout span {
    color: #ffd9d9;
}

@media (max-width: 420px) {
    .house-profile-main-row {
        grid-template-columns: 42px 1fr;
    }
    .house-profile-avatar {
        width: 42px;
        height: 42px;
        font-size: 24px;
    }
    .house-profile-user {
        font-size: 18px;
    }
    .house-profile-user-id {
        font-size: 14px;
    }
    .house-profile-balance-value {
        font-size: 18px;
    }
    .house-profile-balance-box {
        grid-column: 1 / -1;
        align-items: flex-start;
        margin-top: 2px;
    }
}

/* Painel Dados (sobre o perfil; acima do depÃ³sito) */
.house-profile-dados-pop {
    position: fixed;
    top: 0;
    left: 50%;
    bottom: 0;
    width: min(500px, 100%);
    transform: translateX(-50%);
    z-index: 11150;
    background: rgba(2, 6, 17, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition:
        opacity var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        visibility 0s linear var(--house-panel-fade-duration);
}

.house-profile-dados-pop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.house-profile-dados-sheet {
    position: absolute;
    inset: 0;
    width: 100%;
    max-height: 100%;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 94%, #070402 6%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(102%);
    transition: transform var(--house-panel-slide-duration) var(--house-panel-slide-easing);
}

.house-profile-dados-pop.is-open .house-profile-dados-sheet {
    transform: translateX(0);
}

.house-profile-dados-pop[aria-hidden="true"] .house-profile-dados-sheet {
    transform: translateX(110%);
}

.house-profile-dados-head {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 8px;
    border-bottom: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    background: color-mix(
        in srgb,
        var(--house-ui-background, #5a3421) 82%,
        var(--house-ui-accent, #d9a54f) 18%
    );
}

.house-profile-dados-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.house-profile-dados-head-spacer {
    width: 36px;
    height: 36px;
}

.house-profile-dados-head .house-profile-back {
    transition:
        background var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        border-color var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        color var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        box-shadow var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        transform var(--house-panel-slide-duration) var(--house-panel-slide-easing);
}

.house-profile-dados-head .house-profile-back:hover {
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 56%, #ffffff 12%);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 46%, transparent);
}

.house-profile-dados-head .house-profile-back:active {
    transform: scale(0.93);
}

.house-profile-dados-head .house-profile-back:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 58%, transparent);
    outline-offset: 2px;
}

.house-profile-dados-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    /* O badge VIP fica absoluto logo abaixo da foto; evita sobrepor o bloco seguinte. */
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.house-profile-dados-avatar-wrap {
    position: relative;
    width: 56px;
    /* Altura da foto; o badge VIP fica em position absolute abaixo, fora desta caixa. */
    min-height: 56px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: visible;
}

.house-profile-dados-avatar {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 12%, rgba(255, 255, 255, 0.05));
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 32%, transparent);
}

.house-profile-dados-vip-badge {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: auto;
    /* Logo abaixo da foto, quase colado (sobe ~3px para â€œencostarâ€ na borda inferior). */
    top: calc(100% - 3px);
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    max-width: 64px;
    padding: 2px 5px 2px 4px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
    pointer-events: none;
}

.house-profile-dados-vip-badge-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.house-profile-dados-vip-badge-img[hidden] {
    display: none !important;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

.house-profile-dados-vip-badge-label {
    font-style: italic;
    font-weight: 800;
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.25px;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 55%, #bfe8d8 45%);
    white-space: nowrap;
}

.house-profile-dados-hero-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 2px;
}

.house-profile-dados-config {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 78%, #7ec8ff 22%);
    text-align: left;
    text-decoration: none;
    font-family: inherit;
}

.house-profile-dados-config:hover {
    text-decoration: underline;
}

.house-profile-dados-id-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.house-profile-dados-id {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}

.house-profile-dados-hero + .house-profile-dados-section-label {
    margin-top: 10px;
}

.house-profile-dados-section-label--spaced {
    margin-top: 22px;
}

#houseProfileDadosUsuarioSection.house-profile-dados-section-label {
    margin-bottom: 14px;
}

.house-profile-dados-field--readonly {
    cursor: default;
    align-items: center;
}

/* Nome de usuÃ¡rio: sÃ³ leitura, sem interaÃ§Ã£o (evita zoom de foco em mobile). */
.house-profile-dados-field--usuario-display {
    align-items: center;
    padding: 8px 12px 8px 10px;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
}

.house-profile-dados-field--usuario-display .house-profile-dados-field-icon--usuario {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1;
}

.house-profile-dados-field--usuario-display .house-profile-dados-readonly {
    display: flex;
    align-items: center;
    align-self: center;
    font-size: 16px;
    line-height: 1.2;
}

.house-profile-dados-field--telefone-display {
    padding: 8px 12px 8px 10px;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
}

.house-profile-dados-field--telefone-display .house-profile-dados-field-icon--phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    font-size: 18px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.52);
}

.house-profile-dados-field--telefone-display .house-profile-dados-readonly--tel {
    display: flex;
    align-items: center;
    align-self: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.72);
}

.house-profile-dados-field--email-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) max-content;
    align-items: center;
    gap: 8px;
    column-gap: 10px;
    padding: 8px 8px 8px 10px;
    min-height: 46px;
}

.house-profile-dados-email-slot {
    min-width: 0;
    display: flex;
    align-items: center;
    align-self: center;
}

.house-profile-dados-email-slot .house-profile-dados-email-input {
    width: 100%;
}

/* E-mail vinculado: sÃ³ leitura, mesmo tratamento visual do telefone (sem â€œaÃ§Ã£oâ€). */
.house-profile-dados-field.house-profile-dados-field--email-row.house-profile-dados-field--email-linked {
    grid-template-columns: 34px minmax(0, 1fr);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
}

.house-profile-dados-field--email-row:not(.house-profile-dados-field--email-linked) {
    cursor: default;
}

.house-profile-dados-field--email-linked .house-profile-dados-email-text {
    color: rgba(255, 255, 255, 0.72);
}

.house-profile-dados-field--email-linked .house-profile-dados-field-icon--email {
    color: rgba(255, 255, 255, 0.52);
}

.house-profile-dados-field.house-profile-dados-field--cpf-display.house-profile-dados-field--cpf-linked {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
}

/* Painel um pouco mais escuro (WhatsApp + CPF), alinhado ao tom do telefone/e-mail vinculado. */
.house-profile-dados-field--tone-muted {
    padding: 8px 12px 8px 10px;
    align-items: center;
    align-self: stretch;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 66%, #000 34%);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 20%, rgba(255, 255, 255, 0.1));
}

.house-profile-dados-field--tone-muted.house-profile-dados-field--whatsapp-display input {
    color: rgba(255, 255, 255, 0.72);
}

.house-profile-dados-field--tone-muted.house-profile-dados-field--whatsapp-display input::placeholder {
    color: rgba(255, 255, 255, 0.34);
}

.house-profile-dados-field--cpf-linked .house-profile-dados-readonly--cpf,
.house-profile-dados-field--cpf-linked .house-profile-dados-cpf-masked {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    align-self: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.72);
}

.house-profile-dados-field-icon--email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 34px;
    height: 34px;
    font-size: 18px;
    line-height: 1;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 52%, #7eb8ff 48%);
}

.house-profile-dados-email-text {
    display: flex;
    align-items: center;
    align-self: center;
    min-width: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
}

.house-profile-dados-placeholder {
    color: rgba(255, 255, 255, 0.42);
    font-weight: 500;
}

.house-profile-dados-vincular {
    flex-shrink: 0;
    justify-self: end;
    align-self: center;
    margin: 0;
    margin-left: auto;
    padding: 4px 0 4px 10px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
}

.house-profile-dados-vincular span {
    font-size: inherit;
    color: inherit;
}

.house-profile-dados-vincular:hover {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: underline;
}

.house-profile-dados-vincular:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 55%, transparent);
    outline-offset: 2px;
    border-radius: 6px;
}

.house-profile-dados-field-icon--muted {
    color: rgba(255, 255, 255, 0.48);
}

.house-profile-dados-readonly {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.94);
    line-height: 1.35;
}

.house-profile-dados-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 12px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.house-profile-dados-section-label {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
}

.house-profile-dados-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.house-profile-dados-field {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin: 0;
    padding: 2px 12px 2px 10px;
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 26%, rgba(255, 255, 255, 0.12));
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 78%, #000 22%);
}

/*
 * Sobrescreve stretch e margin:0 da .house-profile-dados-field (mesma especificidade dupla
 * para o espaÃ§amento nÃ£o ser anulado pela shorthand margin depois no arquivo).
 */
.house-profile-dados-field.house-profile-dados-field--usuario-display,
.house-profile-dados-field.house-profile-dados-field--telefone-display {
    align-items: center;
    margin-bottom: 18px;
}

.house-profile-dados-field.house-profile-dados-field--email-row {
    display: grid;
    align-items: center;
    margin-bottom: 20px;
}

.house-profile-dados-field.house-profile-dados-field--cpf-display {
    align-items: center;
    margin-bottom: 20px;
}

.house-profile-dados-field-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    flex-shrink: 0;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.78);
}

.house-profile-dados-field-icon--whatsapp {
    color: #25d366;
}

.house-profile-dados-field-icon--facebook {
    color: #1877f2;
}

.house-profile-dados-field-icon--telegram {
    color: #26a4e3;
}

.house-profile-dados-field-icon--x {
    color: #f5f5f5;
}

.house-profile-dados-field-icon--instagram {
    color: #e4405f;
}

.house-profile-dados-field-icon--cpf {
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 72%, #fff 28%);
}

.house-profile-dados-field input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.94);
    /* â‰¥16px evita zoom automÃ¡tico ao focar em Chrome/Safari no Android/iOS */
    font-size: 16px;
    font-weight: 500;
    outline: none;
}

.house-profile-dados-field input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.house-profile-dados-footer {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 88%, #000 12%);
}

.house-profile-dados-btn {
    min-height: 46px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 55%, transparent);
    transition:
        background var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        border-color var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        color var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        box-shadow var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        transform var(--house-panel-slide-duration) var(--house-panel-slide-easing),
        opacity var(--house-panel-fade-duration) var(--house-panel-fade-easing);
}

.house-profile-dados-btn--secondary {
    background: transparent;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 92%, #fff 8%);
}

.house-profile-dados-btn--secondary:hover:not(:disabled) {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 14%, transparent);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 68%, transparent);
}

.house-profile-dados-btn--primary {
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #f9dd8f 30%);
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 88%, #fff) 0%,
        var(--house-ui-accent, #d9a54f) 52%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 78%, #000) 100%
    );
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 38%, #1a1208 62%);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, transparent);
}

.house-profile-dados-btn--primary:hover:not(:disabled) {
    filter: brightness(1.06);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 82%, transparent);
}

.house-profile-dados-btn:active:not(:disabled) {
    transform: scale(0.97);
}

.house-profile-dados-btn:focus-visible:not(:disabled) {
    outline: 2px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 58%, transparent);
    outline-offset: 3px;
}

.house-profile-dados-btn:disabled {
    opacity: 0.55;
    cursor: default;
}

@media (max-width: 767px) {
    .house-profile-dados-body {
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    }
}

.house-deposit-pop {
    position: fixed;
    inset: 0;
    z-index: 11100;
    background: rgba(2, 6, 17, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        visibility 0s linear var(--house-panel-fade-duration);
}

.house-deposit-pop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.house-deposit-sheet {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 100%);
    width: min(500px, 100%);
    height: calc(100vh - 62px);
    max-height: calc(100vh - 62px);
    min-height: min(92vh, calc(100vh - 62px));
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 94%, #070402 6%);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    border-top: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 40%, transparent);
    box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: auto;
    z-index: 2;
    transition: transform var(--house-panel-slide-duration) var(--house-panel-slide-easing);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.house-deposit-pop.is-open .house-deposit-sheet {
    transform: translate(-50%, 0);
}

@supports (height: 100dvh) {
    .house-deposit-sheet {
        height: min(92dvh, calc(100dvh - env(safe-area-inset-bottom, 0px) - 8px));
        max-height: min(92dvh, calc(100dvh - env(safe-area-inset-bottom, 0px) - 8px));
        min-height: min(92dvh, calc(100dvh - env(safe-area-inset-bottom, 0px) - 8px));
    }
}

.house-deposit-head {
    position: sticky;
    top: 0;
    z-index: 6;
    flex-shrink: 0;
    min-height: 62px;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 6px;
    border-bottom: 0;
    background: inherit;
}

.house-deposit-back {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: color-mix(in srgb, #fff 78%, var(--house-ui-accent, #d9a54f) 22%);
    font-size: 22px;
    cursor: pointer;
}

.house-deposit-title {
    margin: 0;
    font-size: 19px;
    line-height: 1;
    text-align: center;
    color: #fff;
    font-weight: 700;
}

.house-deposit-head-icons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.house-deposit-head-svg {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, #fff 78%, var(--house-ui-accent, #d9a54f) 22%);
    font-size: 18px;
}

.house-deposit-head-svg-btn {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.house-deposit-pop.is-history-view #houseDepositOpenHistory {
    display: none !important;
}

.house-deposit-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.house-deposit-body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.house-deposit-section {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 20%, transparent);
}

.house-deposit-body > .house-deposit-section:last-of-type {
    border-bottom: 0;
    margin-bottom: 8px;
    padding-bottom: 6px;
}

.house-deposit-tab-title {
    margin: 0 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--house-ui-accent, #d9a54f);
}

.house-deposit-tab-row {
    width: 100%;
    display: flex;
    align-items: flex-end;
    position: relative;
    margin-bottom: 12px;
}

.house-deposit-tab-row::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 20%, rgba(255, 255, 255, 0.08));
}

.house-deposit-tab-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--house-ui-accent, #d9a54f);
}

.house-deposit-method-grid,
.house-deposit-channel-grid {
    display: grid;
    gap: 10px;
}

.house-deposit-method-grid {
    grid-template-columns: minmax(0, 240px);
    margin-bottom: 14px;
}

.house-deposit-channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
}

.house-deposit-choice {
    min-height: 44px;
    border-radius: 9px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 20%, rgba(255, 255, 255, 0.08));
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 82%, #000 18%);
    color: color-mix(in srgb, #fff 78%, var(--house-ui-accent, #d9a54f) 22%);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 0 12px;
    cursor: pointer;
    position: relative;
}

.house-deposit-choice--group {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    gap: 8px;
    text-transform: none;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
}

.house-deposit-choice--group img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    object-fit: cover;
    display: block;
    background: #fff;
}

.house-deposit-choice-prefix {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.house-deposit-choice.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 22px;
    height: 22px;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #f1d47a 30%);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    border-bottom-right-radius: 8px;
    opacity: 0.98;
}

.house-deposit-choice.is-active::before {
    content: "";
    position: absolute;
    right: 4px;
    bottom: 6px;
    width: 6px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    transform-origin: center;
    z-index: 1;
}

.house-deposit-choice.is-active {
    box-shadow: none;
}

.house-deposit-choice.is-active {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, #2c1a0f 72%);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 40%, #f9d981 10%);
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 82%, #ffffff 18%);
}

.house-deposit-section-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 16px;
}

.house-deposit-amount-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.house-deposit-amount {
    min-height: 50px;
    border-radius: 9px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 26%, rgba(255, 255, 255, 0.15));
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 82%, #000 18%);
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    position: relative;
}

.house-deposit-amount > span {
    transform: translateY(-4px);
    font-size: 16px;
    font-weight: 500;
}

.house-deposit-amount.has-bonus > span {
    transform: translateY(-6px);
}

.house-deposit-amount small {
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 88%, #fff2b3 12%);
    font-size: 16px;
    font-weight: 600;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 9px 9px;
    background: color-mix(in srgb, #000 66%, var(--house-ui-accent, #d9a54f) 34%);
    border-top: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 20%, transparent);
    line-height: 1;
}

.house-deposit-pop.is-offer-expired .house-deposit-amount small {
    display: none;
}

.house-deposit-pop.is-offer-expired .house-deposit-amount.has-bonus > span {
    transform: translateY(0);
    font-size: 18px;
    font-weight: 600;
}

.house-deposit-pop.is-offer-expired .house-deposit-amount > span::before {
    content: "R$ ";
    font-size: 0.72em;
    font-weight: 700;
    opacity: 0.96;
}

.house-deposit-amount {
    overflow: hidden;
    isolation: isolate;
}

.house-deposit-amount > span {
    position: relative;
    z-index: 2;
}

.house-deposit-amount:not(.is-active)::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        118deg,
        transparent 16%,
        rgba(255, 255, 255, 0.03) 34%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0.04) 66%,
        transparent 84%
    );
    transform: translateX(-145%);
    animation: houseDepositWaveSweep 2.8s ease-in-out infinite;
}

.house-deposit-amount:not(.is-active):nth-child(1)::after { animation-delay: 0s; }
.house-deposit-amount:not(.is-active):nth-child(2)::after { animation-delay: 0.12s; }
.house-deposit-amount:not(.is-active):nth-child(3)::after { animation-delay: 0.24s; }
.house-deposit-amount:not(.is-active):nth-child(4)::after { animation-delay: 0.36s; }
.house-deposit-amount:not(.is-active):nth-child(5)::after { animation-delay: 0.48s; }
.house-deposit-amount:not(.is-active):nth-child(6)::after { animation-delay: 0.60s; }
.house-deposit-amount:not(.is-active):nth-child(7)::after { animation-delay: 0.72s; }
.house-deposit-amount:not(.is-active):nth-child(8)::after { animation-delay: 0.84s; }

@keyframes houseDepositWaveSweep {
    0% { transform: translateX(-145%); }
    52% { transform: translateX(145%); }
    100% { transform: translateX(145%); }
}

.house-deposit-amount.is-active {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 24%, #2b1a10 76%);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 74%, #f2d67a 26%);
}

.house-deposit-amount.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 22px;
    height: 22px;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #f1d47a 30%);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    border-bottom-right-radius: 8px;
    opacity: 0.98;
}

.house-deposit-amount.is-active::before {
    content: "";
    position: absolute;
    right: 4px;
    bottom: 6px;
    width: 6px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    transform-origin: center;
    z-index: 1;
}

.house-deposit-input-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, rgba(255, 255, 255, 0.16));
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 84%, #000 16%);
    padding: 0 10px;
    color: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.house-deposit-input-wrap.is-filled {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #ffffff 30%);
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, var(--house-ui-background, #5a3421) 82%);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 26%, transparent) inset,
        0 0 16px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 16%, transparent);
}

.house-deposit-input-wrap input {
    width: 100%;
    min-height: 42px;
    border: 0;
    background: transparent;
    color: #fff;
    outline: none;
    font-size: 15px;
}

/*
 * Evita zoom automÃ¡tico no foco (iOS Safari: inputs com fonte < 16px).
 */
@media (max-width: 767px) {
    .house-auth-input {
        font-size: 16px;
    }

    .house-deposit-input-wrap input {
        font-size: 16px;
    }
}

.house-deposit-reminder-title {
    margin: 0 0 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.house-deposit-reminder {
    margin-bottom: 12px;
}

.house-deposit-offer {
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, transparent);
    border-radius: 10px;
    padding: 10px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 76%, #110a07 24%);
    position: relative;
}

.house-deposit-offer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #fff;
}

.house-deposit-offer-head strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
}

.house-deposit-offer-ico {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 82%, #ffefb9 18%);
    font-size: 34px;
    line-height: 0;
}

.house-deposit-offer-ico svg {
    width: 100%;
    height: 100%;
}

.house-deposit-offer-title-text {
    color: #fff;
}

.house-deposit-offer-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 78%, #000 22%);
    box-shadow: 0 0 0 1px color-mix(in srgb, #000 38%, transparent) inset;
    color: rgba(255, 255, 255, 0.92);
}

.house-deposit-offer-timer-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    opacity: 0.72;
}

.house-deposit-offer-timer-value {
    font-size: 12px;
    font-weight: 800;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 78%, #fff 22%);
    font-variant-numeric: tabular-nums;
}

.house-deposit-offer-sub {
    margin: 8px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 700;
}

.house-deposit-offer-item {
    min-height: 40px;
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #fff;
    font-size: 14px;
}

.house-deposit-offer-extra {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease;
}

.house-deposit-offer-extra.is-open {
    opacity: 1;
    transform: translateY(0);
    padding-top: 4px;
}

.house-deposit-offer-item span:first-child {
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.house-deposit-bonus-label {
    color: #fff;
}

.house-deposit-offer-item .house-deposit-bonus-value {
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 86%, #fff1b5 14%);
}

.house-deposit-bonus-ico {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 74%, #d887ff 26%);
    flex-shrink: 0;
    font-size: 32px;
    line-height: 0;
}

.house-deposit-bonus-ico svg {
    width: 100%;
    height: 100%;
}

.house-deposit-offer-item span:first-child .house-deposit-bonus-ico {
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 74%, #d887ff 26%);
}

.house-deposit-expand {
    width: 100%;
    min-height: 36px;
    border: 0;
    background: transparent;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.house-deposit-offer.is-locked {
    overflow: hidden;
}

.house-deposit-offer.is-locked > * {
    opacity: 0.22;
    pointer-events: none;
    filter: grayscale(0.15);
}

.house-deposit-offer.is-locked::after {
    content: attr(data-locked-msg);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 16px 14px;
    background: rgba(0, 0, 0, 0.62);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1px;
    z-index: 2;
}

.house-deposit-offer.is-locked::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, calc(-50% - 28px));
    z-index: 3;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.98;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2.4' stroke='%23f7f7f7' stroke-width='1.9'/%3E%3Cpath d='M8 10.5V8.2a4 4 0 0 1 8 0v2.3' stroke='%23f7f7f7' stroke-width='1.9' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='15.6' r='1.35' fill='%23f7f7f7'/%3E%3C/svg%3E");
}

.house-deposit-submit {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 74%, #f9dd8f 26%);
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 82%, #f6d57f 18%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

/* PIX (estado dentro do mesmo modal de depÃ³sito) */
.house-deposit-pix-state {
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 88%, #000 12%);
    min-height: 100%;
    border-radius: 0;
    overflow: hidden;
    display: block;
    width: 100%;
}

.house-deposit-pix-state[hidden] {
    display: none !important;
}

.house-deposit-pix-state.is-entering {
    animation: housePixStateIn 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes housePixStateIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.house-pix-body {
    padding: 14px 18px 16px;
}

.house-deposit-body.is-pix-state {
    padding: 0;
    overflow-y: auto;
}

/* HistÃ³rico de depÃ³sitos dentro do modal */
.house-deposit-history-state {
    min-height: 100%;
    width: 100%;
    display: block;
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 92%, #05070f 8%);
    transform: translateX(0);
    opacity: 1;
    position: relative;
}

.house-deposit-history-state[hidden] {
    display: none !important;
}

.house-deposit-history-state.is-entering {
    animation: houseDepositHistoryInX 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.house-deposit-history-state.is-leaving {
    animation: houseDepositHistoryOutX 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes houseDepositHistoryInX {
    from {
        transform: translateX(-12%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes houseDepositHistoryOutX {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-10%);
        opacity: 0;
    }
}

.house-deposit-body.is-history-state {
    padding: 0;
    overflow-y: auto;
}

.house-deposit-history-head {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 8px 12px 8px;
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 96%, #04060d 4%);
    border-bottom: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 32%, transparent);
}

.house-deposit-history-filter {
    margin-top: 0;
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 45%, rgba(255, 255, 255, 0.12));
    border-radius: 999px;
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 82%, #0a1123 18%);
    color: color-mix(in srgb, #ffffff 78%, var(--house-ui-accent, #d9a54f) 22%);
    min-height: 30px;
    min-width: 86px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    line-height: 1;
}

.house-deposit-history-head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
}

.house-deposit-history-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    min-width: 132px;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, rgba(255, 255, 255, 0.1));
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 90%, #070b18 10%);
    display: grid;
    gap: 4px;
    z-index: 5;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.38);
    animation: houseDepositFilterInX 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.house-deposit-history-dropdown[hidden] {
    display: none !important;
}

@keyframes houseDepositFilterInX {
    from {
        transform: translateX(-14px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#houseDepositHistoryPeriodPop {
    left: 0;
}

#houseDepositHistoryStatusPop {
    left: 104px;
}

.house-deposit-history-dropdown button {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, rgba(255, 255, 255, 0.12));
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 82%, #0a1224 18%);
    color: #fff;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1;
    padding: 7px 9px;
    cursor: pointer;
    text-align: left;
}

.house-deposit-history-dropdown button:hover {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 52%, rgba(255, 255, 255, 0.2));
}

.house-deposit-history-filter--apply {
    min-width: 72px;
    justify-content: center;
    font-weight: 700;
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 58%, rgba(255, 255, 255, 0.2));
}

.house-deposit-history-filter--clear {
    min-width: 70px;
    justify-content: center;
    font-weight: 600;
    border-color: rgba(255, 255, 255, 0.22);
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 74%, #10192f 26%);
}

.house-deposit-history-list {
    padding: 10px 10px calc(12px + env(safe-area-inset-bottom, 0px));
    display: grid;
    gap: 8px;
}

.house-deposit-history-list.is-leaving,
.house-deposit-history-pagination.is-leaving {
    animation: houseHistoryResultsOut 0.28s ease forwards;
}

.house-deposit-history-list.is-entering,
.house-deposit-history-pagination.is-entering {
    animation: houseHistoryResultsIn 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes houseHistoryResultsOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-8%);
    }
}

@keyframes houseHistoryResultsIn {
    from {
        opacity: 0;
        transform: translateX(8%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.house-deposit-history-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 2px 10px calc(12px + env(safe-area-inset-bottom, 0px));
}

.house-deposit-history-pagination button {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, rgba(255, 255, 255, 0.2));
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 80%, #0a1224 20%);
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    padding: 7px 10px;
    cursor: pointer;
}

.house-deposit-history-pagination button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.house-deposit-history-pagination span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
}

.house-deposit-history-loading {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 10, 22, 0.48);
    backdrop-filter: blur(1px);
}

.house-deposit-history-loading[hidden] {
    display: none !important;
}

.house-deposit-history-loading__spinner {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.22);
    border-top-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 76%, #fff 24%);
    animation: houseHistorySpin 0.9s linear infinite;
}

@keyframes houseHistorySpin {
    to { transform: rotate(360deg); }
}

.house-deposit-history-empty {
    margin: 6px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.house-deposit-history-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 84%, #0a1020 16%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, rgba(255, 255, 255, 0.07));
    border-radius: 12px;
    padding: 11px 10px;
}

.house-deposit-history-item__logo {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.house-deposit-history-item__logo img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    display: block;
}

.house-deposit-history-item__main {
    min-width: 0;
}

.house-deposit-history-item__top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 4px;
}

.house-deposit-history-item__top strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.house-deposit-history-item__top span {
    color: color-mix(in srgb, #ffffff 94%, var(--house-ui-accent, #d9a54f) 6%);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.house-deposit-history-item__sub {
    display: flex;
    gap: 8px;
    align-items: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 11px;
    line-height: 1;
    margin-bottom: 6px;
    white-space: nowrap;
}

.house-deposit-history-item__order {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 138px;
    font-size: 10px;
    line-height: 1;
}

.house-deposit-history-pill-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.house-deposit-history-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, rgba(255, 255, 255, 0.2));
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 76%, #0a1426 24%);
    color: #ffffff;
    padding: 4px 8px;
    max-width: 100%;
}

.house-deposit-history-pill--id {
    min-height: 20px;
    max-width: 170px;
    padding: 3px 7px;
    gap: 4px;
}

.house-deposit-history-pill--status {
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    padding: 5px 9px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    overflow: hidden;
    justify-content: flex-start;
    width: 30px;
    min-width: 30px;
    height: 30px;
    transition: width 0.26s ease;
    padding: 0;
    justify-content: center;
    position: relative;
}

.house-deposit-history-pill__icon {
    width: 16px;
    min-width: 16px;
    text-align: center;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.house-deposit-history-pill__icon img {
    width: 16px;
    height: 16px;
    display: block;
}

.house-deposit-history-pill__text {
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    margin-left: 0;
    transition: opacity 0.2s ease, max-width 0.26s ease, margin-left 0.26s ease;
}

.house-deposit-history-pill--status.is-open {
    width: 164px;
    padding: 5px 9px;
    justify-content: flex-start;
    height: auto;
}

.house-deposit-history-pill--status.is-open .house-deposit-history-pill__icon {
    position: static;
    transform: none;
}

.house-deposit-history-pill--status.is-open .house-deposit-history-pill__text {
    opacity: 1;
    max-width: 126px;
    margin-left: 6px;
}

.house-deposit-history-pill--amount {
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
    padding: 5px 9px;
}

.house-deposit-history-copy {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: #ffffff;
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    font-size: 10px;
}

.house-deposit-history-item__right {
    display: grid;
    gap: 5px;
    align-items: center;
    justify-items: end;
}

.house-deposit-history-item__right i {
    color: #ffffff;
    font-size: 16px;
}

.house-deposit-history-item__status,
.house-deposit-history-pill--status {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-align: right;
}

.house-deposit-history-item__status.is-paid,
.house-deposit-history-pill--status.is-paid {
    color: #e9fff3;
    background: linear-gradient(180deg, #0fb85f 0%, #0a8e49 100%);
    border-color: rgba(16, 185, 129, 0.85);
}

.house-deposit-history-item__status.is-pending,
.house-deposit-history-pill--status.is-pending {
    color: #ffffff;
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    border-color: rgba(245, 158, 11, 0.9);
}

.house-deposit-history-item__status.is-failed,
.house-deposit-history-pill--status.is-failed {
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, #ef4444 70%);
}

.house-deposit-history-item__right .house-deposit-history-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 32%, rgba(255, 255, 255, 0.06));
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 85%, #0a1020 15%);
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.house-deposit-history-item__right .house-deposit-history-arrow i {
    color: inherit;
    font-size: 16px;
    line-height: 1;
}

.house-deposit-history-item__right .house-deposit-history-arrow:hover,
.house-deposit-history-item__right .house-deposit-history-arrow:focus-visible {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, var(--house-ui-background, #1f2447) 78%);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 60%, transparent);
    transform: translateX(1px);
    outline: none;
}

/* HistÃ³rico de depÃ³sitos alinhado visualmente aos cards de saque. */
.house-deposit-history-item {
    position: relative;
    display: flex;
    align-items: center;
    grid-template-columns: none;
    gap: 12px;
    min-height: 94px;
    padding: 18px 12px 14px;
    border-radius: 12px;
    background:
        radial-gradient(120% 100% at 0% 0%,
            color-mix(in srgb, var(--house-ui-accent, #d9a54f) 10%, transparent) 0%,
            transparent 60%),
        rgba(255, 255, 255, 0.04);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
/* Quando hÃ¡ flag motivacional acima do tÃ­tulo, reserva um respiro extra no
   topo do card pra ela nÃ£o sobrepor o "Deposito via PIX". */
.house-deposit-history-item.has-mood {
    padding-top: 40px;
}
.house-deposit-history-item__mood {
    position: absolute;
    top: 8px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 140px);
    height: 22px;
    padding: 0 10px 0 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.house-deposit-history-item__mood i {
    font-size: 11px;
    line-height: 1;
    flex-shrink: 0;
}
.house-deposit-history-item__mood span {
    overflow: hidden;
    text-overflow: ellipsis;
}
.house-deposit-history-item__mood.is-paid {
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.40);
    color: #86efac;
}
.house-deposit-history-item__mood.is-paid i {
    color: #4ade80;
}
.house-deposit-history-item__mood.is-pending {
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.42);
    color: #fcd34d;
}
.house-deposit-history-item__mood.is-pending i {
    color: #fbbf24;
}
.house-deposit-history-item__mood.is-expired {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.42);
    color: #fecaca;
}
.house-deposit-history-item__mood.is-expired i {
    color: #f87171;
}
.house-deposit-history-item__logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(50, 188, 173, 0.18);
    border: 1px solid rgba(50, 188, 173, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.house-deposit-history-item__logo img {
    width: 24px;
    height: 24px;
    display: block;
}
.house-deposit-history-item__main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.house-deposit-history-item__title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.house-deposit-history-item__title span {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 700;
}
.house-deposit-history-item__meta {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11.5px;
    line-height: 1.2;
}
.house-deposit-history-item__order {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    min-width: 0;
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.42);
}
.house-deposit-history-copy {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 80%, #fff 20%);
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
    -webkit-tap-highlight-color: transparent;
}
.house-deposit-history-copy:hover {
    background: rgba(255, 255, 255, 0.06);
}
.house-deposit-history-copy:active {
    transform: scale(0.92);
}
.house-deposit-history-copy i {
    transition: transform 180ms ease, opacity 180ms ease;
}
.house-deposit-history-copy__idle {
    opacity: 1;
    transform: scale(1);
}
.house-deposit-history-copy__ok {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    color: #34d399;
}
.house-deposit-history-copy.is-copied {
    background: rgba(52, 211, 153, 0.12);
}
.house-deposit-history-copy.is-copied .house-deposit-history-copy__idle {
    opacity: 0;
    transform: scale(0.6);
}
.house-deposit-history-copy.is-copied .house-deposit-history-copy__ok {
    opacity: 1;
    transform: scale(1.05);
}
.house-deposit-history-item__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 11px;
    flex-shrink: 0;
}
.house-deposit-history-item__amount {
    font-weight: 700;
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.01em;
    line-height: 1;
}
.house-deposit-history-item__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.15;
    white-space: nowrap;
    text-align: center;
}
.house-deposit-history-item__status.is-pending {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.42);
}
.house-deposit-history-item__status.is-paid {
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.42);
}
.house-deposit-history-item__status.is-failed {
    background: rgba(239, 68, 68, 0.16);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}
.house-deposit-history-arrow {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 36px;
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    padding: 0;
}
.house-deposit-history-arrow i {
    color: inherit;
    font-size: 24px;
    line-height: 1;
}
.house-deposit-history-arrow:hover,
.house-deposit-history-arrow:focus-visible {
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 72%, #fff 28%);
    outline: none;
}
@media (max-width: 420px) {
    .house-deposit-history-item {
        gap: 9px;
        padding: 18px 10px 12px;
    }
    .house-deposit-history-item.has-mood {
        padding-top: 38px;
    }
    .house-deposit-history-item__logo {
        width: 32px;
        height: 32px;
    }
    .house-deposit-history-item__logo img {
        width: 22px;
        height: 22px;
    }
    .house-deposit-history-item__title {
        font-size: 14px;
    }
    .house-deposit-history-item__meta {
        flex-wrap: wrap;
        gap: 4px 7px;
    }
    .house-deposit-history-item__side {
        gap: 9px;
    }
    .house-deposit-history-item__amount {
        font-size: 15px;
    }
    .house-deposit-history-arrow i {
        font-size: 21px;
    }
}

.house-deposit-details-state {
    min-height: 100%;
    width: 100%;
    display: block;
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 92%, #05070f 8%);
    transform: translateX(0);
    opacity: 1;
    position: relative;
    padding: 20px 18px 26px;
    box-sizing: border-box;
}

.house-deposit-details-card {
    width: 100%;
    min-height: 0;
    box-sizing: border-box;
    padding: 20px 16px 10px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 88%, #050309 12%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 16%, transparent);
    box-shadow: 0 16px 32px -22px rgba(0, 0, 0, 0.45);
}

.house-deposit-details-state[hidden] {
    display: none !important;
}

.house-deposit-details-state.is-entering {
    animation: houseDepositHistoryInX 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.house-deposit-details-state.is-leaving {
    animation: houseDepositHistoryOutX 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}

.house-deposit-body.is-details-state {
    padding: 0;
    overflow-y: auto;
}

.house-deposit-details-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 6px 0 18px;
}

.house-deposit-details-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.house-deposit-details-status__circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    background: linear-gradient(180deg, #16c46a 0%, #0a8e49 100%);
    box-shadow: 0 14px 30px -14px rgba(16, 185, 129, 0.55);
}

.house-deposit-details-status__circle i {
    font-size: 32px;
    line-height: 1;
}

.house-deposit-details-status.is-pending .house-deposit-details-status__circle {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 14px 30px -14px rgba(245, 158, 11, 0.55);
}

.house-deposit-details-status.is-failed .house-deposit-details-status__circle {
    background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
    box-shadow: 0 14px 30px -14px rgba(239, 68, 68, 0.55);
}

.house-deposit-details-status.is-expired .house-deposit-details-status__circle {
    background: linear-gradient(180deg, #6b7280 0%, #4b5563 100%);
    box-shadow: 0 14px 30px -14px rgba(107, 114, 128, 0.5);
}

.house-deposit-details-status.is-expired .house-deposit-details-status__label {
    color: #9ca3af;
}

.house-deposit-details-status__label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #16c46a;
}

.house-deposit-details-status.is-pending .house-deposit-details-status__label {
    color: #f59e0b;
}

.house-deposit-details-status.is-failed .house-deposit-details-status__label {
    color: #ef4444;
}

.house-deposit-details-amount {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.house-deposit-details-amount strong {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
}

.house-deposit-details-copy {
    background: transparent;
    border: 0;
    color: color-mix(in srgb, #ffffff 70%, var(--house-ui-accent, #d9a54f) 30%);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: color 0.18s ease, background 0.18s ease;
}

.house-deposit-details-copy:hover,
.house-deposit-details-copy:focus-visible {
    color: var(--house-ui-accent, #d9a54f);
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 14%, transparent);
    outline: none;
}

.house-deposit-details-copy i {
    font-size: 14px;
    line-height: 1;
}

.house-deposit-details-list {
    list-style: none;
    margin: 0;
    padding: 14px 0 0;
    border-top: 1px dashed color-mix(in srgb, #ffffff 18%, transparent);
}

.house-deposit-details-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
}
/* Sem essa regra, `display: flex` acima venceria o `[hidden]` do user-agent
   e linhas opcionais (Hora do Pagamento, Motivo, etc.) ficariam visÃ­veis. */
.house-deposit-details-row[hidden] {
    display: none !important;
}

.house-deposit-details-row + .house-deposit-details-row {
    border-top: 1px solid color-mix(in srgb, #ffffff 6%, transparent);
}

.house-deposit-details-row__label {
    color: color-mix(in srgb, #ffffff 58%, transparent);
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.house-deposit-details-row__value {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    word-break: break-all;
}

.house-deposit-details-row__value--with-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

.house-pix-brand {
    display: grid;
    place-items: center;
    gap: 3px;
    padding: 4px 0 6px;
}

.house-pix-brand-img {
    max-width: 220px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.house-pix-brand small {
    color: color-mix(in srgb, #fff 72%, var(--house-ui-accent, #d9a54f) 28%);
    font-weight: 600;
}

.house-pix-rule {
    height: 1px;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 26%, transparent);
    margin: 6px 0 8px;
}

.house-pix-notes {
    margin: 0;
    padding-left: 16px;
    display: grid;
    gap: 7px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    line-height: 1.34;
}

.house-pix-notes .is-warn {
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 86%, #ffb25c 14%);
    font-weight: 700;
}

.house-pix-amount-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.house-pix-amount {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
}

.house-pix-copy-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, transparent);
    background: color-mix(in srgb, #fff 12%, transparent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: color-mix(in srgb, #fff 78%, var(--house-ui-accent, #d9a54f) 22%);
}

.house-pix-qr-wrap {
    display: grid;
    place-items: center;
    margin: 8px 0 4px;
    min-height: 168px;
    position: relative;
}

.house-pix-qr-wrap.is-qr-loading::before {
    content: '';
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid color-mix(in srgb, #fff 18%, transparent);
    border-top-color: var(--house-ui-accent, #d9a54f);
    animation: house-pix-qr-spin 0.75s linear infinite;
    z-index: 1;
}

.house-pix-qr-wrap.is-qr-loading .house-pix-qr-img {
    opacity: 0;
}

@keyframes house-pix-qr-spin {
    to { transform: rotate(360deg); }
}

.house-pix-qr-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    image-rendering: pixelated;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    transition: opacity 0.2s ease;
}

.house-deposit-submit.is-loading {
    opacity: 0.82;
    cursor: wait;
}

.house-pix-effective {
    text-align: center;
    margin: 6px 0 8px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 12px;
}

.house-pix-copy-btn {
    width: min(260px, 92%);
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 54%, transparent);
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 72%, var(--house-ui-background, #5a3421) 28%);
    color: color-mix(in srgb, #fff 92%, var(--house-ui-background, #5a3421) 8%);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    margin: 0 auto;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
}

.house-pix-payload-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 11px;
    text-align: center;
    min-height: 32px;
}

.house-pix-meta {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    display: grid;
    gap: 7px;
}

.house-pix-meta-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.74);
}

.house-pix-status {
    border: 0;
    background: color-mix(in srgb, #fff 9%, transparent);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, #fff 22%, var(--house-ui-accent, #d9a54f) 78%);
    font-weight: 800;
    color: #f4c542;
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(2px);
}

.house-pix-status.is-paid {
    color: #57d48c;
    cursor: default;
}

.house-pix-status.is-failed {
    color: #ff7b7b;
}

.house-pix-spin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    font-size: 14px;
    line-height: 1;
    width: 14px;
    height: 14px;
    transform-origin: center;
}

.house-pix-status.is-refreshing .house-pix-spin {
    animation: housePixSpin 0.9s linear infinite;
}

@keyframes housePixSpin {
    to { transform: rotate(360deg); }
}

.house-pix-meta-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
}

.house-copy-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    z-index: 12050;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    max-width: min(92vw, 420px);
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(38, 38, 38, 0.92);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.house-copy-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.house-copy-toast__icon {
    flex-shrink: 0;
    box-sizing: border-box;
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    border-radius: 999px;
    background: #13be4a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.house-copy-toast.is-error .house-copy-toast__icon {
    background: #ef4444;
}

.house-copy-toast.is-attention .house-copy-toast__icon {
    background: #f59e0b;
}

.house-copy-toast__text {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35;
}

/* Data de nascimento (Dados) + date picker estilo roda iOS */
.house-profile-dados-field.house-profile-dados-field--dn-display {
    align-items: center;
    margin-bottom: 20px;
}

.house-profile-dados-field-icon--calendar {
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 48%, #a8d4ff 52%);
}

.house-profile-dados-date-trigger {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 2px 0;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    color: inherit;
}

.house-profile-dados-date-trigger:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 55%, transparent);
    outline-offset: 2px;
    border-radius: 6px;
}

.house-profile-dados-date-placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.house-profile-dados-date-value {
    font-weight: 500;
}

/* Contraste ao escolher data (ainda nÃ£o salva): levemente mais claro */
.house-profile-dados-field--dn-display .house-profile-dados-date-trigger {
    color: rgba(255, 255, 255, 0.96);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.96);
}

/* Depois de salva: mesmo tom que telefone / e-mail / CPF (rgba 0.72) */
.house-profile-dados-field--dn-locked .house-profile-dados-date-trigger,
.house-profile-dados-field--dn-locked .house-profile-dados-date-value {
    color: rgba(255, 255, 255, 0.72);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
}

.house-profile-dados-field--dn-locked .house-profile-dados-date-trigger {
    cursor: default;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
}

.house-profile-dados-dn-error {
    margin: 6px 4px 4px;
    padding: 0;
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 500;
    color: #ff7a7a;
    letter-spacing: 0.01em;
}

.house-profile-dados-dn-error[hidden] {
    display: none !important;
}

.house-profile-dados-field--dn-error {
    border-color: rgba(255, 99, 99, 0.55) !important;
    box-shadow: 0 0 0 1px rgba(255, 99, 99, 0.28) !important;
}

.house-profile-dados-field--dn-error .house-profile-dados-field-icon--calendar {
    color: #ff7a7a !important;
}

.house-profile-dados-field--dn-locked .house-profile-dados-field-icon--calendar {
    color: rgba(255, 255, 255, 0.52);
}

.house-date-picker-overlay[hidden] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.house-date-picker-overlay {
    position: absolute;
    inset: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

.house-date-picker-overlay:not([hidden]) {
    pointer-events: auto;
}

.house-date-picker-backdrop {
    flex: 1 1 auto;
    min-height: 0;
    border: none;
    padding: 0;
    margin: 0;
    background: rgba(2, 6, 17, 0.52);
    cursor: pointer;
}

.house-date-picker-sheet {
    flex-shrink: 0;
    width: 100%;
    max-height: min(72vh, 420px);
    background: #fff;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.28);
}

.house-date-picker-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px 12px;
    background: #f2f2f7;
    border-bottom: 1px solid rgba(60, 60, 67, 0.18);
}

.house-date-picker-title {
    grid-column: 2;
    font-size: 15px;
    font-weight: 600;
    color: #1c1c1e;
    text-align: center;
    white-space: nowrap;
}

.house-date-picker-btn {
    margin: 0;
    padding: 8px 4px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.2;
}

.house-date-picker-btn--ghost {
    grid-column: 1;
    justify-self: start;
    color: #8e8e93;
}

.house-date-picker-btn--confirm {
    grid-column: 3;
    justify-self: end;
    color: #007aff;
    font-weight: 600;
}

.house-date-picker-body {
    position: relative;
    background: #fff;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.house-date-picker-highlight {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    height: 44px;
    margin-top: -1px;
    border-top: 1px solid rgba(60, 60, 67, 0.22);
    border-bottom: 1px solid rgba(60, 60, 67, 0.22);
    pointer-events: none;
    z-index: 2;
}

.house-date-picker-cols {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 8px 0 16px;
}

.house-date-wheel-wrap {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
}

.house-date-wheel-scroll {
    height: 220px;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    position: relative;
    z-index: 1;
    scrollbar-width: none;
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 14%,
        #000 86%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 14%,
        #000 86%,
        transparent 100%
    );
}

.house-date-wheel-scroll::-webkit-scrollbar {
    display: none;
}

.house-date-wheel-inner {
    padding-top: 88px;
    padding-bottom: 88px;
}

.house-date-wheel-item {
    height: 44px;
    line-height: 44px;
    text-align: center;
    font-size: 21px;
    font-variant-numeric: tabular-nums;
    font-weight: 400;
    color: rgba(60, 60, 67, 0.35);
    scroll-snap-align: center;
}

/* DepÃ³sito: opt-in bÃ´nus + overlay pago */
.house-deposit-bonus-opt {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, rgba(255, 255, 255, 0.08));
    font-size: 13px;
    line-height: 1.35;
    color: rgba(244, 245, 255, 0.9);
    cursor: pointer;
    user-select: none;
}

.house-deposit-bonus-opt input {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: var(--house-ui-accent, #d9a54f);
    flex-shrink: 0;
}

.house-deposit-bonus-opt:has(input:disabled) {
    opacity: 0.55;
    cursor: not-allowed;
}

.house-deposit-pix-exit-pop {
    position: fixed;
    inset: 0;
    z-index: 11250;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}

.house-deposit-pix-exit-pop[hidden] {
    display: none !important;
}

.house-deposit-pix-exit-pop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.house-deposit-pix-exit-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 17, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.house-deposit-pix-exit-card {
    position: relative;
    z-index: 1;
    width: min(360px, calc(100vw - 24px));
    padding: 18px 16px 14px;
    border-radius: 16px;
    background:
        radial-gradient(120% 100% at 0% 0%,
            color-mix(in srgb, var(--house-ui-accent, #d9a54f) 12%, transparent) 0%,
            transparent 60%),
        color-mix(in srgb, var(--house-ui-background, #2a1f18) 94%, #050309 6%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, rgba(255, 255, 255, 0.08));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.house-deposit-pix-exit-pop.is-open .house-deposit-pix-exit-card {
    transform: translateY(0) scale(1);
}

.house-deposit-pix-exit-title {
    margin: 0 0 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}

.house-deposit-pix-exit-text {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.45;
}

.house-deposit-pix-exit-actions {
    display: grid;
    gap: 8px;
}

.house-deposit-pix-exit-btn {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
}

.house-deposit-pix-exit-btn--ghost {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
}

.house-deposit-pix-exit-btn--danger {
    border-color: color-mix(in srgb, #e85d5d 55%, rgba(255, 255, 255, 0.12));
    background: color-mix(in srgb, #e85d5d 28%, var(--house-ui-background, #2a1f18) 72%);
    color: #fff;
}

html.house-deposit-pix-exit-open {
    overflow: hidden;
}

.house-deposit-paid-overlay {
    position: fixed;
    inset: 0;
    z-index: 11220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(2, 6, 17, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.house-deposit-paid-overlay[hidden] {
    display: none !important;
}

html.house-deposit-paid-open {
    overflow: hidden;
}

.house-deposit-paid-overlay__panel {
    width: min(360px, 100%);
    padding: 28px 22px 24px;
    border-radius: 18px;
    text-align: center;
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 92%, #070402 8%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 42%, rgba(255, 255, 255, 0.1));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.house-deposit-paid-overlay__check {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    line-height: 1;
    color: #0d1f12;
    background: linear-gradient(145deg, #5fe08a 0%, #2bbf6a 55%, #1a8f4d 100%);
    box-shadow: 0 8px 24px rgba(47, 200, 120, 0.35);
}

.house-deposit-paid-overlay__title {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(244, 245, 255, 0.96);
}

.house-deposit-paid-overlay__text {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(244, 245, 255, 0.78);
}

.house-deposit-paid-overlay__count {
    margin: 0;
    font-size: 14px;
    color: rgba(244, 245, 255, 0.72);
}

.house-deposit-paid-overlay__count strong {
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 85%, #fff 15%);
    font-size: 1.1em;
}

/* Toast: depÃ³sito aprovado fora do modal (canto superior direito, desliza como o painel de perfil) */
.house-deposit-approved-toast {
    position: fixed;
    top: calc(64px + env(safe-area-inset-top, 0px) + 10px);
    right: max(12px, calc((100vw - min(500px, 100vw)) / 2 + 10px));
    left: auto;
    z-index: 11190;
    width: min(340px, calc(min(500px, 100vw) - 20px));
    max-width: calc(100vw - 24px);
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        visibility 0s linear var(--house-panel-fade-duration);
}

.house-deposit-approved-toast[hidden] {
    display: none !important;
}

.house-deposit-approved-toast__inner {
    pointer-events: auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px 10px 10px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--house-ui-background, #2a1f18) 94%, #000 6%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 4px solid #2bbf6a;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    transform: translateX(135%);
    opacity: 0;
    transition:
        transform var(--house-panel-slide-duration) var(--house-panel-slide-easing),
        opacity var(--house-panel-fade-duration) var(--house-panel-fade-easing);
    will-change: transform;
}

.house-deposit-approved-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.house-deposit-approved-toast.is-visible .house-deposit-approved-toast__inner {
    transform: translateX(0);
    opacity: 1;
}

.house-deposit-approved-toast__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #0d1f12;
    background: linear-gradient(145deg, #5fe08a 0%, #2bbf6a 100%);
    margin-top: 2px;
}

.house-deposit-approved-toast__body {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.house-deposit-approved-toast__title {
    font-size: 14px;
    font-weight: 700;
    color: #3ddc84;
    margin: 0 0 4px;
    line-height: 1.2;
}

.house-deposit-approved-toast__msg {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(244, 245, 255, 0.88);
}

.house-deposit-approved-toast__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    font-size: 11px;
}

.house-deposit-approved-toast__link {
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 90%, #fff 10%);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
}

.house-deposit-approved-toast__link:hover {
    filter: brightness(1.1);
}

.house-deposit-approved-toast__sep {
    color: rgba(255, 255, 255, 0.35);
    user-select: none;
}

.house-deposit-approved-toast__close {
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    margin: -3px -4px 0 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-family: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.house-deposit-approved-toast__close:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
}

/* ===========================================================
   Painel SeguranÃ§a (perfil â†’ funÃ§Ã£o rÃ¡pida)
   =========================================================== */
.house-profile-security-pop {
    z-index: 11155;
}

/* Dados aberto a partir de Segurança (telefone/e-mail) fica acima do painel Segurança. */
.house-profile-dados-pop.house-profile-dados-pop--from-security {
    z-index: 11158;
}

.house-profile-google-auth-pop {
    z-index: 11159;
}

html.house-profile-google-auth-open .client-bottom-nav {
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

.house-profile-google-auth-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 14px 16px 24px;
    -webkit-overflow-scrolling: touch;
}

.house-profile-google-auth-sheet .house-withdraw-pass-keyboard:not(.is-hidden) {
    flex-shrink: 0;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
}

.house-profile-google-auth-sheet.has-ga-code-keyboard .house-profile-google-auth-body {
    flex: 0 1 auto;
    min-height: auto;
    overflow: visible;
    padding-bottom: 8px;
}

.house-profile-google-auth-code-input[readonly] {
    cursor: pointer;
    caret-color: transparent;
}

.house-profile-google-auth-step {
    margin-bottom: 18px;
}

.house-profile-google-auth-step__title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.house-profile-google-auth-step__text {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
    color: color-mix(in srgb, #fff 72%, transparent);
}

.house-profile-google-auth-stores {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
}

.house-profile-google-auth-store-badge {
    display: block;
    flex: 0 1 auto;
    line-height: 0;
    border-radius: 8px;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.house-profile-google-auth-store-badge:hover,
.house-profile-google-auth-store-badge:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.house-profile-google-auth-store-badge:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 65%, transparent);
    outline-offset: 3px;
}

.house-profile-google-auth-store-badge img {
    display: block;
    width: min(156px, 42vw);
    height: auto;
    max-height: 46px;
}

.house-profile-google-auth-next {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
}

.house-profile-google-auth-qr-wrap {
    display: flex;
    justify-content: center;
    margin: 12px 0 14px;
}

.house-profile-google-auth-qr {
    display: block;
    border-radius: 10px;
    background: #fff;
    padding: 8px;
}

.house-profile-google-auth-key-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 40px;
    align-items: center;
    gap: 8px;
}

.house-profile-google-auth-key-label {
    font-size: 13px;
    color: color-mix(in srgb, #fff 70%, transparent);
}

.house-profile-google-auth-key-value {
    display: block;
    font-size: 12px;
    word-break: break-all;
    color: #fff;
    background: color-mix(in srgb, #000 25%, transparent);
    padding: 8px 10px;
    border-radius: 8px;
}

.house-profile-google-auth-copy {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
}

.house-profile-google-auth-copy i {
    font-size: 20px;
}

.house-profile-google-auth-code-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 40%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 82%, #fff 18%);
    overflow: hidden;
}

.house-profile-google-auth-code-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    flex-shrink: 0;
    color: #fff;
    font-size: 18px;
}

.house-profile-google-auth-code-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 16px;
    padding: 12px 8px;
}

.house-profile-google-auth-code-input::placeholder {
    color: color-mix(in srgb, #fff 40%, transparent);
    font-size: 14px;
}

.house-profile-google-auth-paste {
    flex-shrink: 0;
    border: 0;
    border-left: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 25%, transparent);
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 0 14px;
    cursor: pointer;
}

.house-profile-google-auth-error {
    margin: 0 0 10px;
    font-size: 13px;
    color: #ff8a80;
}

.house-profile-google-auth-error[hidden] {
    display: none;
}

.house-profile-google-auth-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 16px;
    border-radius: 12px;
    background: color-mix(in srgb, #22c55e 18%, transparent);
    color: #86efac;
    font-size: 15px;
}

.house-profile-google-auth-success .bi {
    font-size: 22px;
    flex-shrink: 0;
}

.house-profile-security-withdraw-pop {
    z-index: 11157;
    touch-action: manipulation;
}

.house-profile-security-withdraw-pop input,
.house-profile-security-withdraw-pop button {
    touch-action: manipulation;
}

.house-profile-security-withdraw-sheet {
    color: #ffffff;
}

.house-profile-security-withdraw-main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.house-profile-security-withdraw-main .house-withdraw-pass-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 16px 8px;
}

.house-profile-security-withdraw-main .house-withdraw-pass-keyboard {
    flex-shrink: 0;
}

.house-profile-security-withdraw-login {
    margin-bottom: 14px;
}

.house-profile-security-withdraw-login-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: color-mix(in srgb, #ffffff 88%, transparent);
}

.house-profile-security-withdraw-login-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.house-profile-security-withdraw-login-input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 78%, #ffffff 22%);
    color: #ffffff;
    /* >= 16px evita zoom automático ao focar no iOS/Android */
    font-size: 16px;
    line-height: 1.25;
    -webkit-text-size-adjust: 100%;
}

.house-profile-security-withdraw-login-input::placeholder {
    color: color-mix(in srgb, #ffffff 42%, transparent);
    font-size: 16px;
}

.house-profile-security-withdraw-login-input:focus {
    outline: 2px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 55%, transparent);
    outline-offset: 1px;
}

.house-profile-security-withdraw-login-eye {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 70%, #ffffff 30%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.house-profile-security-withdraw-login-eye .bi {
    font-size: 18px;
}

.house-profile-security-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 14px 24px;
    -webkit-overflow-scrolling: touch;
}

.house-profile-security-card {
    border-radius: 14px;
    background: color-mix(in srgb, #000 22%, var(--house-ui-background, #5a3421) 78%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
    overflow: hidden;
}

.house-profile-security-row {
    display: grid;
    grid-template-columns: 40px minmax(0, max-content) minmax(0, 1fr) 22px;
    align-items: center;
    gap: 8px 10px;
    width: 100%;
    min-height: 54px;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.house-profile-security-row--static {
    cursor: default;
    grid-template-columns: 40px minmax(0, 1fr) auto 44px;
}

.house-profile-security-row:not(:last-child) {
    border-bottom: 1px solid color-mix(in srgb, #fff 8%, transparent);
}

.house-profile-security-row:not(.house-profile-security-row--static):hover {
    background: color-mix(in srgb, #fff 4%, transparent);
}

.house-profile-security-row:not(.house-profile-security-row--static):active {
    background: color-mix(in srgb, #fff 7%, transparent);
}

.house-profile-security-divider {
    margin: 0;
    border: 0;
    border-top: 1px solid color-mix(in srgb, #fff 12%, transparent);
}

/* Ícones alinhados ao menu hambúrguer (.house-side-menu__links — Bootstrap Icons) */
.house-profile-security-icon {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
    background: color-mix(in srgb, #fff 7%, transparent);
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1;
}

.house-profile-security-icon .bi {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.house-icon-google-auth {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 1;
    shape-rendering: geometricPrecision;
}

.house-icon-google-auth path {
    stroke: #fff;
    opacity: 1;
}

.house-profile-security-icon--google-auth {
    color: #fff;
}

.house-profile-security-icon--google-auth .house-icon-google-auth {
    width: 20px;
    height: 20px;
}

.house-profile-google-auth-code-icon .house-icon-google-auth {
    width: 22px;
    height: 22px;
}

.house-profile-security-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3b30;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--house-ui-background, #5a3421) 80%, #000 20%);
}

.house-profile-security-badge[hidden] {
    display: none !important;
}

.house-profile-security-label {
    font-size: 14px;
    font-weight: 600;
    color: color-mix(in srgb, #fff 92%, transparent);
    min-width: 0;
}

.house-profile-security-value {
    font-size: 13px;
    color: color-mix(in srgb, #fff 72%, transparent);
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
}

.house-profile-security-meta {
    font-size: 12px;
    line-height: 1.25;
    color: color-mix(in srgb, #fff 58%, transparent);
    text-align: right;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    justify-self: end;
    padding-inline-end: 4px;
}

.house-profile-security-meta--empty {
    min-width: 0;
    padding: 0;
}

.house-profile-security-chevron {
    font-size: 18px;
    color: color-mix(in srgb, #fff 42%, transparent);
    justify-self: center;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

.house-profile-security-copy {
    justify-self: end;
    align-self: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #eaf0ff 30%);
}

.house-profile-security-copy i {
    font-size: 22px;
    line-height: 1;
}

.house-profile-security-copy:hover {
    background: color-mix(in srgb, #fff 8%, transparent);
}

.house-profile-security-copy:active {
    transform: scale(0.94);
}

.house-profile-security-row--static .house-profile-security-chevron {
    display: none;
}

/* ===========================================================
   Painel Meus Registros (deslizando da direita)
   =========================================================== */
.house-profile-records-pop {
    position: fixed;
    top: 0;
    left: 50%;
    bottom: 0;
    width: min(500px, 100%);
    transform: translateX(-50%);
    z-index: 11160;
    background: rgba(2, 6, 17, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition:
        opacity var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        visibility 0s linear var(--house-panel-fade-duration);
}

.house-profile-records-pop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.house-profile-records-sheet {
    position: absolute;
    inset: 0;
    width: 100%;
    max-height: 100%;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 94%, #070402 6%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(102%);
    transition: transform var(--house-panel-slide-duration) var(--house-panel-slide-easing);
}

.house-profile-records-pop.is-open .house-profile-records-sheet {
    transform: translateX(0);
}

.house-profile-records-pop[aria-hidden="true"] .house-profile-records-sheet {
    transform: translateX(110%);
}

.house-profile-records-details {
    position: absolute;
    inset: 0;
    z-index: 18;
    display: flex;
    flex-direction: column;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 94%, #070402 6%);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.22s ease,
        visibility 0s linear 0.34s;
    will-change: transform, opacity;
}

.house-profile-records-details[hidden] {
    display: none !important;
}

.house-profile-records-details.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.22s ease,
        visibility 0s linear 0s;
}

.house-profile-records-details-head {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 8px;
    border-bottom: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 82%, var(--house-ui-accent, #d9a54f) 18%);
}

.house-profile-records-details-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.house-profile-records-details-card {
    min-height: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 18px 26px;
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 92%, #05070f 8%);
    border-radius: 0;
}

.house-profile-records-head {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 8px;
    border-bottom: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 82%, var(--house-ui-accent, #d9a54f) 18%);
}

.house-profile-records-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.house-profile-records-head-spacer {
    width: 36px;
    height: 36px;
}

.house-profile-records-head .house-profile-back {
    transition:
        background var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        border-color var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        color var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        box-shadow var(--house-panel-fade-duration) var(--house-panel-fade-easing),
        transform var(--house-panel-slide-duration) var(--house-panel-slide-easing);
}

.house-profile-records-head .house-profile-back:hover {
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 56%, #ffffff 12%);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 46%, transparent);
}

.house-profile-records-head .house-profile-back:active {
    transform: scale(0.93);
}

.house-profile-records-head .house-profile-back:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 58%, transparent);
    outline-offset: 2px;
}

.house-profile-records-tabs {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    padding: 4px 12px 0;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 96%, #04060d 4%);
    border-bottom: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 16%, transparent);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
}

.house-profile-records-tabs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.house-profile-records-tab {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    color: color-mix(in srgb, #ffffff 62%, transparent);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 14px 14px;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.01em;
    transition: color 0.22s ease;
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    min-width: 96px;
    white-space: nowrap;
    scroll-snap-align: center;
}

.house-profile-records-tab::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--house-ui-accent, #d9a54f);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.house-profile-records-tab:hover {
    color: color-mix(in srgb, #ffffff 86%, var(--house-ui-accent, #d9a54f) 14%);
}

.house-profile-records-tab.is-active {
    color: var(--house-ui-accent, #d9a54f);
}

.house-profile-records-tab.is-active::after {
    transform: scaleX(1);
}

.house-profile-records-tab-indicator {
    display: none;
}

.house-profile-records-filters {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 92%, #04060d 8%);
    border-bottom: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 14%, transparent);
}

.house-profile-records-filter {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, rgba(255, 255, 255, 0.1));
    border-radius: 999px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 78%, #0a1123 22%);
    color: color-mix(in srgb, #ffffff 80%, var(--house-ui-accent, #d9a54f) 20%);
    min-height: 30px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    max-width: 100%;
}

.house-profile-records-filter > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

.house-profile-records-filter:hover {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 60%, transparent);
    color: #ffffff;
}

.house-profile-records-filter i {
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 88%, transparent);
    font-size: 14px;
    line-height: 1;
    transition: transform 0.18s ease;
}

.house-profile-records-filter.is-open i {
    transform: rotate(180deg);
}

.house-profile-records-filter.is-open {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, transparent);
    color: #ffffff;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 60%, #0a1123 40%);
}

.house-profile-records-filter-wrap {
    position: relative;
    display: inline-flex;
}

.house-profile-records-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 12;
    min-width: 160px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 92%, #04060d 8%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.house-profile-records-dropdown[hidden] {
    display: none;
}

.house-profile-records-dropdown button {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: color-mix(in srgb, #ffffff 78%, var(--house-ui-accent, #d9a54f) 22%);
    font-family: inherit;
    font-size: 13px;
    text-align: left;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1.2;
}

.house-profile-records-dropdown button:hover {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 14%, transparent);
    color: #ffffff;
}

.house-profile-records-dropdown button.is-active {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    color: #ffffff;
    font-weight: 600;
}

.house-profile-records-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 12px 12px;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.house-profile-records-loading {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 10, 22, 0.48);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    pointer-events: auto;
}

.house-profile-records-loading[hidden] {
    display: none !important;
}

.house-profile-records-loading__spinner {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.22);
    border-top-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 76%, #ffffff 24%);
    animation: houseProfileRecordsSpin 0.9s linear infinite;
}

@keyframes houseProfileRecordsSpin {
    to { transform: rotate(360deg); }
}

.house-profile-records-panel[hidden] {
    display: none !important;
}

.house-profile-records-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.house-profile-records-empty {
    padding: 18px 8px;
    text-align: center;
    color: color-mix(in srgb, #ffffff 60%, transparent);
    font-size: 13px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 84%, #0a1020 16%);
    border-radius: 12px;
    border: 1px dashed color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, rgba(255, 255, 255, 0.06));
}

.house-profile-records-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px 10px;
    align-items: center;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 84%, #0a1020 16%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, rgba(255, 255, 255, 0.06));
    border-radius: 12px;
    padding: 10px 12px;
}

.house-profile-records-item__title {
    grid-column: 1 / 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    min-width: 0;
}

.house-profile-records-item__tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 65%, #ffffff 35%);
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, transparent);
    white-space: nowrap;
}

.house-profile-records-item__tag.is-paid {
    color: #e9fff3;
    background: linear-gradient(180deg, #0fb85f 0%, #0a8e49 100%);
    border-color: rgba(16, 185, 129, 0.85);
}

.house-profile-records-item__tag.is-pending {
    color: #ffffff;
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    border-color: rgba(245, 158, 11, 0.9);
}

.house-profile-records-item__tag.is-failed {
    color: #ffffff;
    background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
    border-color: rgba(239, 68, 68, 0.85);
}

.house-profile-records-item__tag.is-expired {
    color: #ffffff;
    background: linear-gradient(180deg, #6b7280 0%, #4b5563 100%);
    border-color: rgba(107, 114, 128, 0.85);
}

.house-profile-records-item__bonus {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    height: 16px;
    color: #ffffff;
    background: linear-gradient(180deg, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 32%, #2a1a05 68%) 0%, color-mix(in srgb, var(--house-ui-accent, #d9a54f) 14%, #1a1003 86%) 100%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 55%, transparent);
    vertical-align: middle;
}

.house-profile-records-item__bonus span {
    color: #ffffff;
}

.house-profile-records-item__bonus i {
    color: var(--house-ui-accent, #d9a54f);
    font-size: 11px;
    line-height: 1;
}

.house-profile-records-item__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.house-profile-records-details-bonus {
    color: var(--house-ui-accent, #d9a54f) !important;
    font-weight: 700 !important;
}

.house-profile-records-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 10px 6px;
}

.house-profile-records-pagination[hidden] {
    display: none !important;
}

.house-profile-records-pagination button {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, rgba(255, 255, 255, 0.2));
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 80%, #0a1224 20%);
    color: #fff;
    border-radius: 999px;
    font-family: inherit;
    font-size: 12px;
    line-height: 1;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.house-profile-records-pagination button:hover:not(:disabled) {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 60%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 70%, var(--house-ui-accent, #d9a54f) 14%);
}

.house-profile-records-pagination button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.house-profile-records-pagination span {
    color: color-mix(in srgb, #ffffff 80%, var(--house-ui-accent, #d9a54f) 20%);
    font-size: 12px;
    font-weight: 500;
}

.house-profile-records-item__date {
    grid-column: 1 / 2;
    color: color-mix(in srgb, #ffffff 55%, transparent);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

.house-profile-records-item__date-text {
    color: inherit;
}

.house-profile-records-item__amount {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    text-align: right;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.house-profile-records-item__amount.is-negative {
    color: #ff6f6f;
}

.house-profile-records-item__source {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    text-align: right;
    color: color-mix(in srgb, #ffffff 55%, transparent);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

.house-profile-records-item__arrow {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 80%, #ffffff 20%);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    transition: background 0.18s ease, transform 0.18s ease;
}

.house-profile-records-item__arrow:hover,
.house-profile-records-item__arrow:focus-visible {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
    transform: translateX(1px);
    outline: none;
}

.house-profile-records-footer {
    flex-shrink: 0;
    padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 90%, #04060d 10%);
    border-top: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.house-profile-records-footer-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.house-profile-records-footer-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.house-profile-records-footer-label {
    color: color-mix(in srgb, #ffffff 70%, transparent);
    font-size: 13px;
    font-weight: 500;
}

.house-profile-records-footer-value {
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.house-profile-records-footer-value--positive {
    color: #2ed47a;
}

.house-profile-records-footer-value--negative {
    color: #ff6b6b;
}

.house-profile-records-footer-value--accent {
    color: var(--house-ui-accent, #d9a54f);
}

@media (max-width: 480px) {
    .house-profile-records-tab {
        font-size: 13px;
        padding: 11px 12px 13px;
        min-width: 86px;
    }

    .house-profile-records-tab::after {
        left: 10px;
        right: 10px;
    }

    .house-profile-records-filters {
        gap: 6px;
        padding: 9px 10px;
    }

    .house-profile-records-filter {
        font-size: 12px;
        padding: 0 10px;
    }

    .house-profile-records-filter > span {
        max-width: 150px;
    }

    .house-profile-records-footer-row {
        gap: 10px;
    }
}

/* ===== Painel "Saques" (quando senha jÃ¡ estÃ¡ configurada) ===== */
.house-withdraw-panel-pop {
    position: fixed;
    inset: 0;
    z-index: 12200;
    background: rgba(2, 6, 17, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity var(--house-panel-fade-duration, 0.24s) var(--house-panel-fade-easing, ease),
        visibility 0s linear var(--house-panel-fade-duration, 0.24s);
    -webkit-tap-highlight-color: transparent;
}
.house-withdraw-panel-pop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
.house-withdraw-panel-pop[hidden] {
    display: none !important;
}
.house-withdraw-panel-sheet {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: min(500px, 100%);
    height: 100%;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 92%, #050309 8%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.house-withdraw-panel-pop.is-open .house-withdraw-panel-sheet {
    transform: translateX(-50%) translateY(0);
}
.house-withdraw-panel-head {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 8px;
    padding: 10px 10px 0;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 88%, var(--house-ui-accent, #d9a54f) 12%);
    border-bottom: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
}
.house-withdraw-panel-back,
.house-withdraw-panel-support {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: #ffffff;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.18s ease, color 0.18s ease;
}
.house-withdraw-panel-back:hover,
.house-withdraw-panel-support:hover {
    background-color: rgba(255, 255, 255, 0.08);
}
.house-withdraw-panel-support {
    color: var(--house-ui-accent, #f5c46d);
}
.house-withdraw-panel-tabs {
    display: flex;
    align-items: stretch;
    gap: 0;
    /* Quando os tÃ­tulos somam mais que o espaÃ§o do header, libera scroll
       horizontal pra acessar os tabs cortados â€” sem barra visÃ­vel. */
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-height: 44px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    /* Pequeno respiro Ã  direita pra Ãºltima aba nÃ£o colar na borda. */
    padding-right: 4px;
    cursor: grab;
    user-select: none;
}
.house-withdraw-panel-tabs.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}
.house-withdraw-panel-tabs::-webkit-scrollbar {
    display: none;
}
.house-withdraw-panel-tab .house-withdraw-panel-tab__label {
    display: inline;
}
.house-withdraw-panel-tab {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 6px 12px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    transition: color 0.18s ease;
}
.house-withdraw-panel-tab + .house-withdraw-panel-tab {
    margin-left: 12px;
}
.house-withdraw-panel-tab.is-active {
    color: var(--house-ui-accent, #f5c46d);
}
.house-withdraw-panel-tab.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    border-radius: 2px;
    background: var(--house-ui-accent, #f5c46d);
}
/* Badge contendo número de tarefas pendentes na aba "Aposta pendente". */
.house-withdraw-panel-tab__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: linear-gradient(180deg, #f87171, #ef4444);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    vertical-align: middle;
    flex-shrink: 0;
}
.house-withdraw-panel-tab__badge[hidden] { display: none; }
.house-withdraw-panel-body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}
.house-withdraw-panel-track {
    display: flex;
    width: 400%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.house-withdraw-panel-track[data-active="solicitar"] { transform: translate3d(0, 0, 0); }
.house-withdraw-panel-track[data-active="conta"] { transform: translate3d(-25%, 0, 0); }
.house-withdraw-panel-track[data-active="registros"] { transform: translate3d(-50%, 0, 0); }
.house-withdraw-panel-track[data-active="apostar"] { transform: translate3d(-75%, 0, 0); }
.house-withdraw-panel-pane {
    width: 25%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 16px 24px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    min-height: 0;
}
.house-withdraw-panel-pane[aria-hidden="true"] {
    pointer-events: none;
}
.house-withdraw-panel-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin: 32px 0;
}

/* ===== Aba "Registros" (lista de saques solicitados) ===== */
.house-withdraw-records-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 0 14px;
    position: relative;
}
.house-withdraw-records-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}
.house-withdraw-records-filter-wrap {
    position: relative;
    display: inline-flex;
}
.house-withdraw-records-filter {
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 108px;
    height: 34px;
    padding: 0 12px 0 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--house-ui-background, #2a1f18) 70%, #000 30%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 45%, rgba(255, 255, 255, 0.12));
    color: color-mix(in srgb, #ffffff 78%, var(--house-ui-accent, #d9a54f) 22%);
    outline: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.house-withdraw-records-filter i {
    font-size: 13px;
    pointer-events: none;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 75%, #fff 25%);
    transition: transform 0.22s ease;
}
.house-withdraw-records-filter:hover,
.house-withdraw-records-filter.is-open {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 65%, rgba(255, 255, 255, 0.18));
    background: color-mix(in srgb, var(--house-ui-background, #2a1f18) 76%, #000 24%);
}
.house-withdraw-records-filter.is-open i {
    transform: rotate(180deg);
}
.house-withdraw-records-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 132px;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, rgba(255, 255, 255, 0.1));
    background: color-mix(in srgb, var(--house-ui-background, #2a1f18) 90%, #070b18 10%);
    display: grid;
    gap: 4px;
    z-index: 20;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.38);
    animation: houseDepositFilterInX 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.house-withdraw-records-dropdown[hidden] {
    display: none !important;
}
.house-withdraw-records-dropdown button {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, rgba(255, 255, 255, 0.12));
    background: color-mix(in srgb, var(--house-ui-background, #2a1f18) 82%, #0a1224 18%);
    color: #fff;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1;
    padding: 7px 9px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.house-withdraw-records-dropdown button:hover,
.house-withdraw-records-dropdown button.is-active {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 58%, rgba(255, 255, 255, 0.2));
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, var(--house-ui-background, #2a1f18) 82%);
    color: color-mix(in srgb, #ffffff 84%, var(--house-ui-accent, #d9a54f) 16%);
}
.house-withdraw-records-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.1;
}
.house-withdraw-records-total strong {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}
.house-withdraw-records-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
    overflow-x: hidden;
}
.house-withdraw-records-list[hidden] { display: none; }
.house-withdraw-records-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    padding: 0 4px 4px;
}
.house-withdraw-records-pagination[hidden] {
    display: none !important;
}
.house-withdraw-records-pagination button {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, rgba(255, 255, 255, 0.2));
    background: color-mix(in srgb, var(--house-ui-background, #1f2447) 80%, #0a1224 20%);
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    padding: 7px 10px;
    cursor: pointer;
}
.house-withdraw-records-pagination button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.house-withdraw-records-pagination span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}
.house-withdraw-records-item {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    min-height: 0;
    overflow: hidden;
    overflow-anchor: none;
    padding: 9px 10px;
    border-radius: 12px;
    background:
        radial-gradient(120% 100% at 0% 0%,
            color-mix(in srgb, var(--house-ui-accent, #d9a54f) 10%, transparent) 0%,
            transparent 60%),
        rgba(255, 255, 255, 0.04);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.house-withdraw-records-item__logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(50, 188, 173, 0.18);
    border: 1px solid rgba(50, 188, 173, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.house-withdraw-records-item__logo img {
    width: 20px;
    height: 20px;
    display: block;
}
.house-withdraw-records-item__main {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}
.house-withdraw-records-item__title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.house-withdraw-records-item__title span {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 700;
}
.house-withdraw-records-item__amount {
    font-weight: 700;
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.01em;
    line-height: 1;
}
.house-withdraw-records-item__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.15;
    white-space: nowrap;
}
.house-withdraw-records-item__status.is-pending {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.42);
}
.house-withdraw-records-item__status.is-paid {
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.42);
}
.house-withdraw-records-item__status.is-rejected,
.house-withdraw-records-item__status.is-canceled {
    background: rgba(239, 68, 68, 0.16);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}
.house-withdraw-records-item__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 7px;
    min-width: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11.5px;
    line-height: 1.35;
}
.house-withdraw-records-item__meta-date {
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
}
.house-withdraw-records-item__meta-id-row {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    flex: 0 1 auto;
    max-width: 100%;
}
.house-withdraw-records-item__id {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 11ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.42);
}
.house-withdraw-records-item__copy {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 80%, #fff 20%);
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    flex: 0 0 auto;
    flex-shrink: 0;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
    -webkit-tap-highlight-color: transparent;
}
.house-withdraw-records-item__copy:hover {
    background: rgba(255, 255, 255, 0.06);
}
.house-withdraw-records-item__copy:active {
    transform: scale(0.92);
}
.house-withdraw-records-item__copy i {
    transition: transform 180ms ease, opacity 180ms ease;
}
/* Dois Ã­cones empilhados: clipboard (idle) e check (ok). O check fica
   absoluto pra nÃ£o ocupar largura e a troca acontece via opacity/scale. */
.house-withdraw-records-item__copy-i--idle {
    opacity: 1;
    transform: scale(1);
}
.house-withdraw-records-item__copy-i--ok {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    color: #34d399;
}
.house-withdraw-records-item__copy.is-copied {
    background: rgba(52, 211, 153, 0.12);
}
.house-withdraw-records-item__copy.is-copied .house-withdraw-records-item__copy-i--idle {
    opacity: 0;
    transform: scale(0.6);
}
.house-withdraw-records-item__copy.is-copied .house-withdraw-records-item__copy-i--ok {
    opacity: 1;
    transform: scale(1.05);
}
.house-withdraw-records-item__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
}
.house-withdraw-records-item__cancel-toggle {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: max-content;
    max-width: min(280px, calc(100vw - 72px));
    min-height: 30px;
    margin: 0;
    padding: 5px 10px;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(239, 68, 68, 0.55);
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    cursor: pointer;
    transition:
        gap 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        opacity 0.18s ease;
}
.house-withdraw-records-item__cancel-toggle:hover,
.house-withdraw-records-item__cancel-toggle.is-open {
    background: rgba(239, 68, 68, 0.2);
    color: #fee2e2;
    border-color: rgba(239, 68, 68, 0.75);
}
.house-withdraw-records-item__cancel-toggle.is-open {
    gap: 8px;
}
.house-withdraw-records-item__cancel-toggle:disabled {
    opacity: 0.55;
    cursor: progress;
}
.house-withdraw-records-item__cancel-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    font-size: 18px;
    line-height: 1;
    transform: translateY(-1px);
}
.house-withdraw-records-item__cancel-text-wrap {
    display: block;
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.house-withdraw-records-item__cancel-toggle.is-open .house-withdraw-records-item__cancel-text-wrap {
    max-width: var(--cancel-text-w, 120px);
}
.house-withdraw-records-item__cancel-text {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top;
}
.house-withdraw-records-item__chev {
    color: rgba(255, 255, 255, 0.42);
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
    align-self: center;
}
/* Ícone (i) à esquerda — expande na mesma linha; texto longo quebra dentro da pílula. */
.house-withdraw-records-item__reason-toggle {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: max-content;
    max-width: min(280px, calc(100vw - 72px));
    min-height: 30px;
    margin: 0;
    padding: 5px 10px;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(239, 68, 68, 0.55);
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    touch-action: manipulation;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}
.house-withdraw-records-item__reason-toggle:hover,
.house-withdraw-records-item__reason-toggle.is-open {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
    border-color: rgba(239, 68, 68, 0.75);
}
.house-withdraw-records-item__reason-toggle.is-open {
    gap: 8px;
    transition:
        gap 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}
.house-withdraw-records-item:has(.house-withdraw-records-item__reason-toggle.is-open) .house-withdraw-records-item__logo {
    flex: 0 0 0;
    width: 0;
    min-width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border-width: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
.house-withdraw-records-item:has(.house-withdraw-records-item__reason-toggle.is-open) .house-withdraw-records-item__main {
    flex: 1 1 0;
    min-width: 0;
}
.house-withdraw-records-item:has(.house-withdraw-records-item__reason-toggle.is-open) .house-withdraw-records-item__meta {
    flex-wrap: nowrap;
}
.house-withdraw-records-item__reason-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    line-height: 1;
    flex-shrink: 0;
}
.house-withdraw-records-item__reason-icon--info {
    font-size: 14px;
    line-height: 1;
}
.house-withdraw-records-item__reason-icon--close {
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-1px);
}
.house-withdraw-records-item__reason-toggle.is-open .house-withdraw-records-item__reason-icon--info {
    display: none;
}
.house-withdraw-records-item__reason-toggle.is-open .house-withdraw-records-item__reason-icon--close {
    display: inline-flex;
}
.house-withdraw-records-item__reason-text-wrap {
    display: block;
    max-width: 0;
    overflow: hidden;
    transition: none;
}
.house-withdraw-records-item__reason-toggle.is-open .house-withdraw-records-item__reason-text-wrap {
    max-width: var(--reason-text-w, 120px);
    transition: max-width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.house-withdraw-records-item__reason-text {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;
}
.house-withdraw-records-item__reason-toggle.is-open .house-withdraw-records-item__reason-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
}
/* Check verde — saque aprovado (mesmo slide do motivo cancelado). */
.house-withdraw-records-item__reason-toggle--approved {
    border-color: rgba(34, 197, 94, 0.55);
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
}
.house-withdraw-records-item__reason-toggle--approved:hover,
.house-withdraw-records-item__reason-toggle--approved.is-open {
    background: rgba(34, 197, 94, 0.22);
    color: #bbf7d0;
    border-color: rgba(34, 197, 94, 0.72);
}
.house-withdraw-records-item__reason-icon--check {
    font-size: 14px;
    line-height: 1;
}
.house-withdraw-records-item__reason-toggle--approved.is-open .house-withdraw-records-item__reason-icon--check {
    display: none;
}
.house-withdraw-cancel-pop {
    position: fixed;
    inset: 0;
    z-index: 12600;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}
.house-withdraw-cancel-pop[hidden] {
    display: none !important;
}
.house-withdraw-cancel-pop.is-open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.house-withdraw-cancel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.house-withdraw-cancel-card {
    position: relative;
    z-index: 1;
    width: min(500px, calc(100vw - 24px));
    padding: 16px 18px;
    border-radius: 14px;
    background:
        radial-gradient(120% 100% at 0% 0%,
            color-mix(in srgb, var(--house-ui-accent, #d9a54f) 12%, transparent) 0%,
            transparent 60%),
        color-mix(in srgb, var(--house-ui-background, #2a1f18) 94%, #050309 6%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, rgba(255, 255, 255, 0.08));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.house-withdraw-cancel-pop.is-open .house-withdraw-cancel-card {
    transform: translateY(0) scale(1);
}
.house-withdraw-cancel-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}
.house-withdraw-cancel-options {
    display: grid;
    gap: 10px;
}
.house-withdraw-cancel-options button,
.house-withdraw-cancel-close {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.house-withdraw-cancel-options button {
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 42%, rgba(255, 255, 255, 0.12));
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, var(--house-ui-background, #2a1f18) 78%);
    color: #fff;
    text-align: left;
    padding: 0 14px;
    transition: transform 0.16s ease, border-color 0.18s ease, background 0.18s ease;
}
.house-withdraw-cancel-options button:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 68%, rgba(255, 255, 255, 0.18));
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 32%, var(--house-ui-background, #2a1f18) 68%);
}
.house-withdraw-cancel-close {
    margin-top: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
}
.house-withdraw-cancel-step[hidden] {
    display: none !important;
}
.house-withdraw-cancel-confirm-text {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}
.house-withdraw-cancel-confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.house-withdraw-cancel-confirm-no,
.house-withdraw-cancel-confirm-yes {
    -webkit-appearance: none;
    appearance: none;
    min-height: 42px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.18s ease, background 0.18s ease;
}
.house-withdraw-cancel-confirm-no {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
}
.house-withdraw-cancel-confirm-no:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.1);
}
.house-withdraw-cancel-confirm-yes {
    border: 1px solid rgba(239, 68, 68, 0.55);
    background: rgba(239, 68, 68, 0.22);
    color: #fee2e2;
}
.house-withdraw-cancel-confirm-yes:hover {
    transform: translateY(-1px);
    border-color: rgba(239, 68, 68, 0.75);
    background: rgba(239, 68, 68, 0.32);
}
.house-withdraw-cancel-confirm-yes:disabled {
    opacity: 0.55;
    cursor: progress;
    transform: none;
}
@media (max-width: 420px) {
    .house-withdraw-cancel-confirm-actions {
        grid-template-columns: 1fr;
    }
    .house-withdraw-records-item {
        gap: 8px;
        padding: 8px 9px;
    }
    .house-withdraw-records-item__logo {
        width: 30px;
        height: 30px;
    }
    .house-withdraw-records-item__title {
        font-size: 13px;
    }
    .house-withdraw-records-item__meta {
        flex-wrap: wrap;
        gap: 4px 7px;
    }
    .house-withdraw-records-item__chev {
        font-size: 21px;
    }
}

/* === Detalhes de Retiradas â€” estado deslizante (espelha pix-form-state) ==== */
.house-withdraw-records-details-state {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 92%, #050309 8%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease, visibility 0s linear 0.32s;
    z-index: 6;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.house-withdraw-records-details-state.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.house-withdraw-records-details-state[hidden] {
    display: none !important;
}
.house-withdraw-records-details-body {
    flex: 1 1 auto;
    padding: 14px 14px 28px;
}
.house-withdraw-records-details-card {
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 88%, #050309 12%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 16%, transparent);
    border-radius: 14px;
    padding: 20px 16px 10px;
    box-shadow: 0 16px 32px -22px rgba(0, 0, 0, 0.45);
}
.house-withdraw-records-details-method {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.house-withdraw-records-details-method__logo {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.house-withdraw-records-details-reason {
    color: #ef4444;
    font-weight: 600;
}
.house-withdraw-records-details-order {
    display: inline-block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.78);
}

/* Loading state do botÃ£o "Confirmar retirada" */
.house-withdraw-submit-btn.is-spinning {
    pointer-events: none;
    filter: saturate(0.8);
    opacity: 0.85;
}

/* ===== Toast de aviso de saque (canto superior direito, slide-in) =========
   Mesmo padrÃ£o visual do toast de depÃ³sito aprovado, mas tematizado pela
   cor do preset (var(--house-ui-accent)) e com acento Ã¢mbar/aviso na borda
   direita para sinalizar "atenÃ§Ã£o/pendÃªncia". */
/* Toast global do sistema (notice). Centralizado dentro do limite visual de
   500px (mesma rÃ©gua dos modais). Posicionado com translate3d em vez de
   left:50%/translateX porque position:fixed em descendentes de elementos com
   transform fica preso ao parent transformado â€” por isso o markup precisa
   estar no nÃ­vel do <body>. */
.house-withdraw-notice-toast {
    position: fixed;
    top: calc(64px + env(safe-area-inset-top, 0px) + 10px);
    /* Colado FLUSH na borda direita da rÃ©gua visual de 500px â€” em telas
       largas, encosta no limite direito do "trilho" central; em telas
       estreitas, encosta na borda direita da viewport. */
    right: max(0px, calc((100vw - min(500px, 100vw)) / 2));
    left: auto;
    z-index: 12500;
    width: min(340px, calc(100vw - 0px));
    max-width: min(500px, 100vw);
    pointer-events: none;
    /* overflow: hidden faz o slide do __inner ser "engolido" pela borda do
       wrapper â€” efeito de "entra/sai pela direita".
       Cantos arredondados sÃ³ na esquerda (a direita estÃ¡ flush no limite). */
    overflow: hidden;
    border-radius: 10px 0 0 10px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--house-panel-fade-duration, 0.24s) var(--house-panel-fade-easing, ease),
        visibility 0s linear var(--house-panel-fade-duration, 0.24s);
}
.house-withdraw-notice-toast[hidden] { display: none !important; }
.house-withdraw-notice-toast__inner {
    pointer-events: auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px 10px 10px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--house-ui-background, #2a1f18) 94%, #000 6%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px 0 0 10px;
    /* Cor da borda direita controlada por variante de tom (.is-error, .is-success, etc.).
       Default neutro (preset) caso nenhum tom seja aplicado. */
    border-right: 4px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 75%, #f59e0b 25%);
    box-shadow: -16px 16px 40px rgba(0, 0, 0, 0.45);
    /* AnimaÃ§Ã£o de entrada/saÃ­da: slide pela direita.
       O wrapper externo permanece centralizado (left:0/right:0/margin:auto)
       e o slide Ã© aplicado no inner â€” entÃ£o visualmente o toast surge pelo
       canto direito da rÃ©gua de 500px e Ã© "engolido" de volta ao fechar. */
    transform: translateX(135%);
    opacity: 0;
    transition:
        transform var(--house-panel-slide-duration, 0.42s) var(--house-panel-slide-easing, cubic-bezier(0.22, 1, 0.36, 1)),
        opacity var(--house-panel-fade-duration, 0.24s) var(--house-panel-fade-easing, ease);
    will-change: transform, opacity;
}
/* === Variantes de tom (independentes do preset) =========================
   - is-error â†’ borda VERMELHA, Ã­cone/tÃ­tulo avermelhados.
   - is-success â†’ borda VERDE, Ã­cone/tÃ­tulo verdes.
   - is-warn â†’ borda Ã‚MBAR.
   - is-info (default) â†’ borda preset/Ã¢mbar (jÃ¡ definida acima). */
.house-withdraw-notice-toast.is-error .house-withdraw-notice-toast__inner {
    border-right-color: #ef4444;
}
.house-withdraw-notice-toast.is-error .house-withdraw-notice-toast__icon {
    background:
        radial-gradient(circle at 30% 30%,
            rgba(239, 68, 68, 0.55) 0%,
            rgba(239, 68, 68, 0.18) 70%),
        rgba(255, 255, 255, 0.04);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.22);
    color: #fff;
}
.house-withdraw-notice-toast.is-error .house-withdraw-notice-toast__title {
    color: #f87171;
}
.house-withdraw-notice-toast.is-error .house-withdraw-notice-toast__progress-fill {
    background: linear-gradient(90deg, #f87171, #ef4444);
}
.house-withdraw-notice-toast.is-error .house-withdraw-notice-toast__progress-meta {
    color: #fca5a5;
}

.house-withdraw-notice-toast.is-success .house-withdraw-notice-toast__inner {
    border-right-color: #22c55e;
}
.house-withdraw-notice-toast.is-success .house-withdraw-notice-toast__icon {
    background:
        radial-gradient(circle at 30% 30%,
            rgba(34, 197, 94, 0.55) 0%,
            rgba(34, 197, 94, 0.18) 70%),
        rgba(255, 255, 255, 0.04);
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.22);
    color: #fff;
}
.house-withdraw-notice-toast.is-success .house-withdraw-notice-toast__title {
    color: #4ade80;
}
.house-withdraw-notice-toast.is-success .house-withdraw-notice-toast__progress-fill {
    background: linear-gradient(90deg, #86efac, #22c55e);
}
.house-withdraw-notice-toast.is-success .house-withdraw-notice-toast__progress-meta {
    color: #86efac;
}

.house-withdraw-notice-toast.is-warn .house-withdraw-notice-toast__inner {
    border-right-color: #f59e0b;
}
.house-withdraw-notice-toast.is-warn .house-withdraw-notice-toast__title {
    color: #fbbf24;
}
.house-withdraw-notice-toast.is-warn .house-withdraw-notice-toast__progress-fill {
    background: linear-gradient(90deg, #fcd34d, #f59e0b);
}
.house-withdraw-notice-toast.is-warn .house-withdraw-notice-toast__progress-meta {
    color: #fcd34d;
}

/* Variante info (default visual quando nenhum tom Ã© aplicado, mas explicita
   pra deixar a regra clara). Usa o accent do preset. */
.house-withdraw-notice-toast.is-info .house-withdraw-notice-toast__inner {
    border-right-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 75%, #fff 8%);
}
.house-withdraw-notice-toast.is-info .house-withdraw-notice-toast__title {
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #fff 30%);
}
.house-withdraw-notice-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.house-withdraw-notice-toast.is-visible .house-withdraw-notice-toast__inner {
    transform: translateX(0);
    opacity: 1;
}
.house-withdraw-notice-toast__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background:
        radial-gradient(circle at 30% 30%,
            color-mix(in srgb, var(--house-ui-accent, #d9a54f) 60%, #fff 8%) 0%,
            color-mix(in srgb, var(--house-ui-accent, #d9a54f) 40%, transparent) 70%),
        rgba(255, 255, 255, 0.04);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 60%, rgba(255, 255, 255, 0.1));
    box-shadow: 0 0 14px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    margin-top: 2px;
}
.house-withdraw-notice-toast__body {
    flex: 1;
    min-width: 0;
    text-align: left;
}
.house-withdraw-notice-toast__title {
    font-size: 14px;
    font-weight: 700;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #fff 30%);
    margin: 0 0 4px;
    line-height: 1.2;
}
.house-withdraw-notice-toast__msg {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(244, 245, 255, 0.88);
    word-wrap: break-word;
}
/* Barra de progresso (0-100%) â€” substitui o bloco "Falta apostar" antigo.
   O fill respeita o tom do toast (.is-error â†’ vermelho, .is-success â†’ verde,
   etc.) via overrides em cada variante. */
.house-withdraw-notice-toast__progress {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.house-withdraw-notice-toast__progress[hidden] { display: none; }
.house-withdraw-notice-toast__progress-bar {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.house-withdraw-notice-toast__progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 80%, #fff 20%),
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 50%, transparent)
    );
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.house-withdraw-notice-toast__progress-meta {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 80%, #fff 20%);
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.house-withdraw-notice-toast__close {
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    margin-top: 2px;
    transition: color 0.18s ease, background 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.house-withdraw-notice-toast__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
@media (max-width: 540px) {
    .house-withdraw-notice-toast {
        top: calc(56px + env(safe-area-inset-top, 0px) + 8px);
        right: 0;
        width: min(320px, 100vw);
    }
}

/* SweetAlert2 removido: todos os toasts do sistema agora usam o componente
   global house-withdraw-notice-toast (definido acima), centralizado dentro
   do limite de 500px e com variantes de tom (is-error/is-success/is-warn/is-info). */

/* ===== Aba "Conta para recebimento" (chaves PIX) ===== */
.house-withdraw-pix-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 78%, #050309 22%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13.5px;
    font-weight: 500;
}
.house-withdraw-pix-header__label {
    flex: 1;
    color: #ffffff;
}
.house-withdraw-pix-header__count {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12.5px;
}
.house-withdraw-pix-header__refresh {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--house-ui-accent, #f5c46d);
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    font-size: 14px;
    transition: background-color 0.18s ease;
}
.house-withdraw-pix-header__refresh:hover {
    background: rgba(255, 255, 255, 0.08);
}
.house-withdraw-pix-header__refresh.is-spinning i {
    animation: houseWithdrawBalanceSpin 0.7s linear infinite;
}
.house-withdraw-pix-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.house-withdraw-pix-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 80%, #050309 20%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
    border-radius: 10px;
    color: #ffffff;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.12s ease;
}
.house-withdraw-pix-item--add {
    cursor: pointer;
}
.house-withdraw-pix-item--add:hover,
.house-withdraw-pix-item--add:focus-visible {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 50%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 70%, #050309 30%);
    outline: none;
}
.house-withdraw-pix-item__logo {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    flex-shrink: 0;
}
.house-withdraw-pix-item__logo img {
    width: 22px;
    height: 22px;
    display: block;
}
.house-withdraw-pix-item__main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.house-withdraw-pix-item__name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}
.house-withdraw-pix-item__value {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}
.house-withdraw-pix-item.is-readonly {
    cursor: default;
}
.house-withdraw-pix-item--placeholder .house-withdraw-pix-item__name {
    flex: 1;
    color: #ffffff;
    font-weight: 600;
}
.house-withdraw-pix-item__action {
    color: var(--house-ui-accent, #f5c46d);
    font-weight: 600;
    font-size: 13.5px;
}
.house-withdraw-pix-item__chev {
    color: rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.house-withdraw-pix-item__remove {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    transition: background-color 0.18s ease, color 0.18s ease;
}
.house-withdraw-pix-item__remove:hover {
    background: rgba(255, 80, 80, 0.16);
    color: #ff8a8a;
}
.house-withdraw-pix-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin: 4px 2px 0;
}

/* ===== Form de cadastro de chave PIX ===== */
.house-withdraw-pix-form-state {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 92%, #050309 8%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease, visibility 0s linear 0.32s;
    z-index: 5;
}
.house-withdraw-pix-form-state.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.house-withdraw-pix-form-state[hidden] {
    display: none !important;
}
.house-withdraw-pix-form-head {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 8px;
    padding: 12px 10px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 88%, var(--house-ui-accent, #d9a54f) 12%);
    border-bottom: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
}
.house-withdraw-pix-form-title {
    margin: 0;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}
.house-withdraw-panel-head__spacer {
    width: 36px;
    height: 36px;
    display: inline-block;
}
.house-withdraw-pix-form-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.house-withdraw-pix-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.house-withdraw-pix-form-group[hidden] {
    display: none;
}
.house-withdraw-pix-form-label {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}
.house-withdraw-pix-types {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    align-items: center;
    padding: 4px 6px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 6%, color-mix(in srgb, var(--house-ui-background, #5a3421) 88%, #ffffff 12%));
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 14%, transparent);
    align-self: flex-start;
}
.house-withdraw-pix-type {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 78%, #050309 22%);
    color: rgba(255, 255, 255, 0.82);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.house-withdraw-pix-type:hover {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 55%, transparent);
    color: #ffffff;
}
.house-withdraw-pix-type.is-active {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, transparent);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 80%, transparent);
    color: #ffffff;
    box-shadow: 0 4px 12px -6px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 60%, transparent);
}
.house-withdraw-pix-type.is-registered:not(.is-active) {
    color: rgba(255, 255, 255, 0.58);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
}
.house-withdraw-pix-type.is-registered:not(.is-active)::after {
    content: "\2713";
    margin-left: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--house-ui-accent, #d9a54f);
}
.house-withdraw-pix-input {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 80%, #050309 20%);
    color: #ffffff;
    border-radius: 10px;
    padding: 12px 14px;
    /* iOS Safari sÃ³ dispensa o auto-zoom quando o font-size Ã© >= 16px CSS,
       entÃ£o usamos 16.01px (alguns devices fazem rounding) + text-size-adjust
       para evitar reflow/escala automÃ¡tica. */
    font-size: 16.01px;
    line-height: 1.25;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    outline: 0;
    transition: border-color 0.18s ease;
}
.house-withdraw-pix-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.house-withdraw-pix-input:focus,
.house-withdraw-pix-input.is-active {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 75%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 70%, #050309 30%);
}
.house-withdraw-pix-input.is-locked,
.house-withdraw-pix-input[readonly].is-locked {
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 70%, #050309 30%);
    color: rgba(255, 255, 255, 0.78);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 14%, transparent);
    cursor: not-allowed;
    user-select: none;
    -webkit-user-select: none;
}
.house-withdraw-pix-input.is-locked:focus {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 14%, transparent);
}
.house-withdraw-pix-form-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}
.house-withdraw-pix-existing {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 76%, #050309 24%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
}
.house-withdraw-pix-existing[hidden] {
    display: none;
}
.house-withdraw-pix-existing__label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.58);
}
.house-withdraw-pix-existing__value {
    font-size: 14px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.house-withdraw-pix-form-error {
    font-size: 13px;
    font-weight: 600;
    color: #ff8a8a;
    margin: 0;
    padding: 10px 12px;
    background: rgba(255, 80, 80, 0.12);
    border: 1px solid rgba(255, 80, 80, 0.32);
    border-radius: 10px;
}
.house-withdraw-pix-form-submit {
    -webkit-appearance: none;
    appearance: none;
    /* Pega a cor do preset (mesmo tratamento dos outros submits do fluxo de saque) */
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #f9dd8f 30%);
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: auto;
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 90%, #f6d57f 10%) 0%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #2a1a05 30%) 100%
    );
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    transition: filter 0.18s ease, transform 0.12s ease, opacity 0.18s ease, background 0.2s ease;
}
.house-withdraw-pix-form-submit:hover {
    filter: brightness(1.05);
}
.house-withdraw-pix-form-submit:active {
    transform: translateY(1px);
}
.house-withdraw-pix-form-submit:disabled {
    cursor: not-allowed;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 50%, #1a1003 50%) 0%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, #050309 70%) 100%
    );
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, transparent);
    box-shadow: none;
    color: rgba(255, 255, 255, 0.85);
    filter: saturate(0.85);
}
.house-withdraw-pix-form-submit.is-saving {
    pointer-events: none;
    filter: saturate(0.6);
}

/* ===== Popup "Inserir PIN" (verificaÃ§Ã£o de senha de saque) ===== */
.house-withdraw-pin-pop {
    position: fixed;
    inset: 0;
    z-index: 12300;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0s linear 0.24s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.house-withdraw-pin-pop[hidden] {
    display: none !important;
}
.house-withdraw-pin-pop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
.house-withdraw-pin-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 17, 0.6);
}
.house-withdraw-pin-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92vw, 380px);
    transform: translate(-50%, calc(-50% + 14px)) scale(0.96);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 90%, #050309 10%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    border-radius: 14px;
    padding: 18px 18px 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
    opacity: 0;
}
.house-withdraw-pin-pop.is-open .house-withdraw-pin-card {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.house-withdraw-pin-title {
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
}
.house-withdraw-pin-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.house-withdraw-pin-field__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.house-withdraw-pin-field__label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}
.house-withdraw-pin-eye {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    font-size: 16px;
    transition: background-color 0.18s ease, color 0.18s ease;
}
.house-withdraw-pin-eye:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
.house-withdraw-pin-eye[aria-pressed="true"] {
    color: var(--house-ui-accent, #f5c46d);
}
.house-withdraw-pin-eye.is-pulse {
    animation: housePassEyePulse 0.32s ease;
}
.house-withdraw-pin-segments {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}
.house-withdraw-pin-cell {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 78%, #050309 22%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
    border-radius: 6px;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
    -webkit-user-select: none;
    user-select: none;
}
.house-withdraw-pin-cell.is-active {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, transparent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
}
.house-withdraw-pin-cell.is-filled {
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 60%, #050309 40%);
}
.house-withdraw-pin-cell.is-error {
    border-color: rgba(255, 80, 80, 0.7);
    background: rgba(255, 80, 80, 0.14);
    animation: housePinShake 0.32s ease;
}
@keyframes housePinShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-2px); }
}
.house-withdraw-pin-foot {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.house-withdraw-pin-hint {
    margin: 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
    flex: 1;
    line-height: 1.4;
}
.house-withdraw-pin-forgot {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--house-ui-accent, #f5c46d);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.house-withdraw-pin-forgot:hover {
    text-decoration: underline;
}
.house-withdraw-pin-error {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #ff8a8a;
    padding: 8px 10px;
    background: rgba(255, 80, 80, 0.12);
    border: 1px solid rgba(255, 80, 80, 0.32);
    border-radius: 8px;
}
.house-withdraw-pin-submit {
    -webkit-appearance: none;
    appearance: none;
    /* Pega a cor do preset (mesmo tratamento do .house-withdraw-submit-btn) */
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #f9dd8f 30%);
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 14.5px;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 90%, #f6d57f 10%) 0%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #2a1a05 30%) 100%
    );
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    transition: filter 0.18s ease, transform 0.12s ease, background 0.2s ease;
}
.house-withdraw-pin-submit:hover {
    filter: brightness(1.05);
}
.house-withdraw-pin-submit:active {
    transform: translateY(1px);
}
.house-withdraw-pin-submit:disabled {
    cursor: not-allowed;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 50%, #1a1003 50%) 0%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, #050309 70%) 100%
    );
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, transparent);
    box-shadow: none;
    color: rgba(255, 255, 255, 0.85);
    filter: saturate(0.85);
}
.house-withdraw-pin-keyboard {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 0;
    width: min(500px, 100%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 10px calc(env(safe-area-inset-bottom, 0px) + 12px);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 90%, #050309 10%);
    border-top: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, transparent);
    border-left: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 10%, transparent);
    border-right: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 10%, transparent);
    box-sizing: border-box;
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, max-height 0.28s ease, padding 0.28s ease;
    max-height: 280px;
    overflow: hidden;
    will-change: transform;
}
.house-withdraw-pin-keyboard.is-hidden {
    transform: translateX(-50%) translateY(110%);
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top-color: transparent;
}

.house-withdraw-balance-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}
.house-withdraw-balance-label {
    font-weight: 500;
}
.house-withdraw-balance-value {
    color: var(--house-ui-accent, #f5c46d);
    font-weight: 700;
    font-size: 14px;
}
.house-withdraw-balance-refresh {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--house-ui-accent, #f5c46d);
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    font-size: 14px;
    transition: background-color 0.18s ease;
}
.house-withdraw-balance-refresh:hover {
    background: rgba(255, 255, 255, 0.08);
}
.house-withdraw-balance-refresh.is-spinning i {
    animation: houseWithdrawBalanceSpin 0.7s linear infinite;
}
@keyframes houseWithdrawBalanceSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.house-withdraw-account-wrap {
    position: relative;
    display: block;
}
.house-withdraw-account-row {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 80%, #050309 20%);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 14px 12px;
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}
.house-withdraw-account-row:hover {
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 70%, #050309 30%);
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 45%, transparent);
}
.house-withdraw-account-row.has-multi .house-withdraw-account-row__chev i {
    transition: transform 0.18s ease;
}
.house-withdraw-account-wrap.is-open .house-withdraw-account-row.has-multi .house-withdraw-account-row__chev i {
    transform: rotate(90deg);
}
.house-withdraw-account-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    list-style: none;
    margin: 0;
    padding: 6px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 90%, #050309 10%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, transparent);
    box-shadow: 0 18px 32px -12px rgba(0, 0, 0, 0.45);
    z-index: 5;
    max-height: 240px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.house-withdraw-account-dropdown.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.house-withdraw-account-dropdown[hidden] {
    display: none;
}
.house-withdraw-account-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    color: #ffffff;
    transition: background-color 0.14s ease;
}
.house-withdraw-account-option:hover {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 14%, transparent);
}
.house-withdraw-account-option.is-selected {
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
}
.house-withdraw-account-option__icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    flex-shrink: 0;
}
.house-withdraw-account-option__icon img {
    width: 18px;
    height: 18px;
    display: block;
}
.house-withdraw-account-option__main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.house-withdraw-account-option__label {
    font-size: 13px;
    font-weight: 600;
}
.house-withdraw-account-option__value {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.house-withdraw-account-option__check {
    color: var(--house-ui-accent, #f5c46d);
    font-size: 16px;
    margin-left: 6px;
    flex-shrink: 0;
}
.house-withdraw-account-row__icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--house-ui-accent, #f5c46d);
    font-size: 18px;
    flex-shrink: 0;
}
.house-withdraw-account-row__text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}
.house-withdraw-account-row__chev {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.house-withdraw-amount-label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin: 4px 0 -4px;
}
.house-withdraw-amount-field {
    display: flex;
    align-items: center;
    gap: 8px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 80%, #050309 20%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 24%, transparent);
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}
.house-withdraw-amount-field:focus-within {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 60%, transparent);
}
.house-withdraw-amount-field__currency {
    color: var(--house-ui-accent, #f5c46d);
    font-weight: 700;
    font-size: 14px;
}
.house-withdraw-amount-field__input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    color: #ffffff;
    font-size: 14px;
    min-width: 0;
}
.house-withdraw-amount-field__input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.house-withdraw-amount-field__input:disabled {
    cursor: not-allowed;
}
.house-withdraw-actions {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
}
.house-withdraw-submit-btn {
    -webkit-appearance: none;
    appearance: none;
    /* Pega a cor do preset (mesmo tratamento usado em .house-deposit-submit) */
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #f9dd8f 30%);
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 90%, #f6d57f 10%) 0%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #2a1a05 30%) 100%
    );
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    transition: filter 0.18s ease, transform 0.12s ease, background 0.2s ease;
    min-width: 180px;
}
.house-withdraw-submit-btn:hover {
    filter: brightness(1.05);
}
.house-withdraw-submit-btn:active {
    transform: translateY(1px);
}
.house-withdraw-submit-btn:disabled {
    cursor: not-allowed;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 50%, #1a1003 50%) 0%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, #050309 70%) 100%
    );
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 30%, transparent);
    box-shadow: none;
    color: rgba(255, 255, 255, 0.85);
    filter: saturate(0.85);
}

html.house-withdraw-panel-open,
html.house-withdraw-panel-open body {
    overflow: hidden;
}

/* ===== Teclado numÃ©rico do modal de depÃ³sito ===== */
.house-deposit-keyboard {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 92%, #050309 8%);
    border-top: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.32);
    padding: 10px 10px calc(env(safe-area-inset-bottom, 0px) + 10px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(0);
    opacity: 1;
    max-height: 360px;
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.22s ease,
        max-height 0.28s ease,
        padding 0.28s ease;
    will-change: transform, max-height;
    overflow: hidden;
}
.house-deposit-keyboard.is-hidden {
    transform: translateY(110%);
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top-color: transparent;
    pointer-events: none;
}
.house-deposit-keyboard__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.house-deposit-keyboard__ok {
    -webkit-appearance: none;
    appearance: none;
    /* Mesmo tratamento dos demais botÃµes primÃ¡rios (preset accent) */
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #f9dd8f 30%);
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 90%, #f6d57f 10%) 0%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #2a1a05 30%) 100%
    );
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    transition: filter 0.18s ease, transform 0.12s ease, background 0.2s ease;
    margin-top: 2px;
}
.house-deposit-keyboard__ok:hover {
    filter: brightness(1.06);
}
.house-deposit-keyboard__ok:active {
    transform: translateY(1px);
    filter: brightness(0.96);
}
.house-deposit-keyboard__ok.is-pressed {
    transform: translateY(1px);
    filter: brightness(0.94);
}
.house-deposit-keyboard__ok:disabled,
.house-deposit-keyboard__ok[aria-disabled="true"] {
    cursor: not-allowed;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 60%, #1a0f04 40%) 0%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 40%, #0d0702 60%) 100%
    );
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 40%, transparent);
    color: rgba(255, 255, 255, 0.78);
    filter: saturate(0.85);
    box-shadow: none;
}
.house-deposit-sheet.has-keyboard .house-deposit-body {
    padding-bottom: 320px;
}

/* ===== Teclado numÃ©rico do form de chave PIX (CPF/Telefone) ===== */
.house-withdraw-pix-form-state {
    position: absolute;
}
.house-withdraw-pix-keyboard {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 92%, #050309 8%);
    border-top: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.32);
    padding: 10px 10px calc(env(safe-area-inset-bottom, 0px) + 10px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(0);
    opacity: 1;
    max-height: 360px;
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.22s ease,
        max-height 0.28s ease,
        padding 0.28s ease;
    will-change: transform, max-height;
    overflow: hidden;
}
.house-withdraw-pix-keyboard.is-hidden {
    transform: translateY(110%);
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top-color: transparent;
    pointer-events: none;
}
.house-withdraw-pix-keyboard__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.house-withdraw-pix-keyboard__ok {
    -webkit-appearance: none;
    appearance: none;
    /* Mesmo tratamento dos demais botÃµes primÃ¡rios (preset accent) */
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #f9dd8f 30%);
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 90%, #f6d57f 10%) 0%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #2a1a05 30%) 100%
    );
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    transition: filter 0.18s ease, transform 0.12s ease, background 0.2s ease;
    margin-top: 2px;
}
.house-withdraw-pix-keyboard__ok:hover {
    filter: brightness(1.06);
}
.house-withdraw-pix-keyboard__ok:active {
    transform: translateY(1px);
    filter: brightness(0.96);
}
.house-withdraw-pix-keyboard__ok.is-pressed {
    transform: translateY(1px);
    filter: brightness(0.94);
}
/* Quando o teclado custom estiver aberto, ele cobre o "Salvar chave"
   por cima (como o teclado nativo do celular faz) â€” nÃ£o empurramos
   mais o conteÃºdo. */

/* ===== Teclado numÃ©rico do form de saque (aba "Solicitar saque") ===== */
.house-withdraw-amount-keyboard {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 92%, #050309 8%);
    border-top: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.32);
    padding: 10px 10px calc(env(safe-area-inset-bottom, 0px) + 10px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(0);
    opacity: 1;
    max-height: 360px;
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.22s ease,
        max-height 0.28s ease,
        padding 0.28s ease;
    will-change: transform, max-height;
    overflow: hidden;
}
.house-withdraw-amount-keyboard.is-hidden {
    transform: translateY(110%);
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top-color: transparent;
    pointer-events: none;
}
.house-withdraw-amount-keyboard__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.house-withdraw-amount-keyboard__ok {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #f9dd8f 30%);
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 90%, #f6d57f 10%) 0%,
        color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #2a1a05 30%) 100%
    );
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    transition: filter 0.18s ease, transform 0.12s ease;
    margin-top: 2px;
}
.house-withdraw-amount-keyboard__ok:hover {
    filter: brightness(1.05);
}
.house-withdraw-amount-keyboard__ok:active {
    transform: translateY(1px);
}
.house-withdraw-amount-keyboard__ok.is-pressed {
    transform: translateY(1px);
    filter: brightness(0.95);
}

.house-deposit-keyboard__ok,
.house-withdraw-pix-keyboard__ok,
.house-withdraw-amount-keyboard__ok {
    align-self: center;
    width: min(148px, 44vw);
    min-height: 38px;
    padding: 8px 26px;
    border-radius: 999px;
    font-size: 13.5px;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.house-withdraw-panel-sheet.has-amount-kb .house-withdraw-panel-body {
    padding-bottom: 320px;
}

/* ===== Aba "Apostar" â€” exigÃªncias de apostas (rollover por depÃ³sito) ===== */
.house-withdraw-apostar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* Card de resumo agregado â€” agora renderizado como um <li> dentro da lista
   de tarefas (substitui a "tarefa pendente" quando nÃ£o hÃ¡ entradas
   por depÃ³sito). */
.house-withdraw-apostar-item--summary {
    background:
        radial-gradient(120% 100% at 0% 0%,
            color-mix(in srgb, var(--house-ui-accent, #d9a54f) 14%, transparent) 0%,
            transparent 60%),
        rgba(255, 255, 255, 0.03) !important;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 24%, rgba(255, 255, 255, 0.08)) !important;
    border-left: 3px solid #f59e0b !important;
    border-radius: 14px;
    padding: 0 !important;
    gap: 0 !important;
    overflow: hidden;
    /* Quando o backend recusa o saque por aposta pendente, jogamos a classe
       .is-pulse via JS pra chamar atenÃ§Ã£o do usuÃ¡rio com uma "onda" suave
       indo e voltando nas bordas (vÃ¡rios ciclos contÃ­nuos). */
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
/* Onda principal â€” anel externo que sai expandindo e se desfaz suavemente.
   Combinada com a animaÃ§Ã£o de "respiraÃ§Ã£o" interna abaixo, dÃ¡ a sensaÃ§Ã£o
   de duas ondas viajando em direÃ§Ãµes opostas. Usa color-mix com o accent
   do preset (--house-ui-accent) pra integrar com o tema da casa. */
@keyframes house-apostar-pulse-wave {
    0% {
        box-shadow:
            0 0 0 0   color-mix(in srgb, var(--house-ui-accent, #d9a54f) 45%, transparent),
            0 0 18px 0 color-mix(in srgb, var(--house-ui-accent, #d9a54f) 16%, transparent),
            inset 0 0 0 1px transparent;
        border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 24%, rgba(255, 255, 255, 0.08));
    }
    35% {
        box-shadow:
            0 0 0 6px  color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, transparent),
            0 0 28px 2px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 32%, transparent),
            inset 0 0 0 1px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 50%, transparent);
        border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 80%, transparent);
    }
    65% {
        box-shadow:
            0 0 0 12px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 10%, transparent),
            0 0 36px 4px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 42%, transparent),
            inset 0 0 0 1px color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, transparent);
        border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 95%, transparent);
    }
    100% {
        box-shadow:
            0 0 0 18px transparent,
            0 0 18px 0  color-mix(in srgb, var(--house-ui-accent, #d9a54f) 16%, transparent),
            inset 0 0 0 1px transparent;
        border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 24%, rgba(255, 255, 255, 0.08));
    }
}
.house-withdraw-apostar-item--summary.is-pulse {
    /* 1.8s por ciclo + ease-in-out + 3 iteraÃ§Ãµes = 5.4s total. SensaÃ§Ã£o de
       onda contÃ­nua respirando, nÃ£o de "tique" curto. */
    animation: house-apostar-pulse-wave 1.8s ease-in-out 0s 3;
    will-change: box-shadow, border-color;
}
.house-withdraw-apostar-summary__main-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 14px 12px;
    transition: background 0.2s ease;
}
.house-withdraw-apostar-item--summary.is-expandable .house-withdraw-apostar-summary__main-wrap {
    cursor: pointer;
    user-select: none;
}
.house-withdraw-apostar-item--summary.is-expandable .house-withdraw-apostar-summary__main-wrap:hover {
    background: rgba(255, 255, 255, 0.02);
}
.house-withdraw-apostar-summary__chevron {
    margin-left: auto;
    margin-right: 2px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), color 0.18s ease;
    flex-shrink: 0;
    align-self: center;
}
.house-withdraw-apostar-item--summary.is-open .house-withdraw-apostar-summary__chevron {
    transform: rotate(180deg);
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 80%, #fff 20%);
}
/* Dropdown com a lista de depÃ³sitos vinculados â€” colapsado por padrÃ£o.
   Truque grid-template-rows 0fr â†’ 1fr sÃ³ funciona com UM filho direto, entÃ£o
   tudo Ã© embrulhado em "__details-inner" que carrega o overflow: hidden. */
.house-withdraw-apostar-summary__details {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0);
}
.house-withdraw-apostar-summary__details-inner {
    overflow: hidden;
    min-height: 0;
}
.house-withdraw-apostar-item--summary.is-open .house-withdraw-apostar-summary__details {
    grid-template-rows: 1fr;
    border-top-color: rgba(255, 255, 255, 0.06);
}
.house-withdraw-apostar-summary__empty {
    padding: 12px 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}
.house-withdraw-apostar-detail {
    padding: 10px 14px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.house-withdraw-apostar-detail:last-child {
    border-bottom: 0;
}
.house-withdraw-apostar-detail__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}
.house-withdraw-apostar-detail__src strong {
    color: #fff;
    font-weight: 700;
}
.house-withdraw-apostar-amount-mult {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    max-width: 100%;
}
.house-withdraw-apostar-amount-mult .house-withdraw-apostar-detail__amount {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
}
.house-withdraw-apostar-detail__amount {
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
}
.house-withdraw-apostar-detail__mult {
    font-weight: 500;
    font-size: 11px;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #fff 30%);
    flex-shrink: 0;
}
.house-withdraw-apostar-item__amount-mult {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.house-withdraw-apostar-item__mult {
    font-weight: 500;
    font-size: 11px;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #fff 30%);
}
/* Linha do bÃ´nus â€” quebra abaixo do valor do depÃ³sito, com Ã­cone de presente
   Ã  esquerda. Usa o accent do preset pra integraÃ§Ã£o visual. */
.house-withdraw-apostar-detail__bonus {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px 2px 6px;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, transparent);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 80%, #fff 20%);
    line-height: 1.2;
    width: -moz-fit-content;
    width: fit-content;
}
.house-withdraw-apostar-detail__bonus-icon {
    font-size: 12px;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 90%, #fff 10%);
    line-height: 1;
}
/* Variante "sem bÃ´nus" â€” pÃ­lula vermelha pra deixar claro que aquele
   depÃ³sito nÃ£o trouxe bÃ´nus atrelado (independente do preset, vermelho
   transmite "ausente/zerado"). */
.house-withdraw-apostar-detail__bonus.is-empty {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}
.house-withdraw-apostar-detail__bonus.is-empty .house-withdraw-apostar-detail__bonus-icon {
    color: #f87171;
}
.house-withdraw-apostar-detail__date {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    opacity: 0.8;
}
/* Quando a 2Âª linha do detalhe carrega mÃºltiplas informaÃ§Ãµes em cada lado
   (valor + bÃ´nus Ã  esquerda; data + pÃ­lula de rollover Ã  direita), usamos
   __row--cols pra que ambas as colunas sejam stacks verticais alinhadas
   no topo. Garante que as pÃ­lulas dos dois lados fiquem em linhas
   correspondentes. */
.house-withdraw-apostar-detail__row--cols {
    align-items: flex-start;
}
.house-withdraw-apostar-detail__col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.house-withdraw-apostar-detail__col--left {
    flex: 1 1 auto;
    align-items: flex-start;
}
.house-withdraw-apostar-detail__col--right {
    flex: 0 0 auto;
    align-items: flex-end;
    text-align: right;
}
.house-withdraw-apostar-detail__bonus-rollover-note {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 78%, #fff 22%);
    opacity: 0.92;
}
.house-withdraw-apostar-detail__checkin-day {
    display: block;
    font-size: 9.5px;
    font-weight: 600;
    color: color-mix(in srgb, var(--house-ui-text, #e8e8e8) 72%, transparent);
}
.house-withdraw-apostar-detail.is-checkin-bonus .house-withdraw-apostar-detail__bonus.is-checkin {
    margin-bottom: 2px;
}
.house-withdraw-apostar-detail__rollover-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    padding: 2px 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 34%, transparent);
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 82%, #fff 18%);
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.house-withdraw-apostar-detail__status {
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.house-withdraw-apostar-detail__status.is-pending {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.36);
}
.house-withdraw-apostar-detail__status.is-completed {
    background: rgba(34, 197, 94, 0.16);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.4);
}
.house-withdraw-apostar-summary__head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.house-withdraw-apostar-summary__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 80%, #fff 20%);
    background:
        radial-gradient(circle at 30% 30%,
            color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, transparent) 0%,
            transparent 70%),
        rgba(255, 255, 255, 0.04);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 36%, rgba(255, 255, 255, 0.08));
    flex-shrink: 0;
}
.house-withdraw-apostar-summary__main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.house-withdraw-apostar-summary__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
}
.house-withdraw-apostar-summary__value {
    font-size: 18px;
    font-weight: 700;
    color: #f87171;
    letter-spacing: 0.005em;
}
.house-withdraw-apostar-summary__bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.house-withdraw-apostar-summary__fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #4ade80, #22c55e);
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.house-withdraw-apostar-summary__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}
.house-withdraw-apostar-summary__meta strong { color: #fff; }

.house-withdraw-apostar-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.house-withdraw-apostar-chip {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.house-withdraw-apostar-chip:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.house-withdraw-apostar-chip.is-active {
    color: #fff;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, rgba(255, 255, 255, 0.04));
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 60%, rgba(255, 255, 255, 0.1));
}

.house-withdraw-apostar-section-title {
    list-style: none;
    margin: 6px 0 0;
    padding: 0 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--house-ui-text, #e8e8e8) 55%, transparent);
}
.house-withdraw-apostar-section-title + .house-withdraw-apostar-item {
    margin-top: 0;
}
.house-withdraw-apostar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.house-withdraw-apostar-list[hidden] { display: none; }

.house-withdraw-apostar-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid #f59e0b;
    transition: border-color 0.2s ease;
}
.house-withdraw-apostar-item.is-completed {
    border-left-color: #22c55e;
    opacity: 0.85;
}
.house-withdraw-apostar-item__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.house-withdraw-apostar-item__title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.house-withdraw-apostar-item__src {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 700;
}
.house-withdraw-apostar-item__deposit {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.house-withdraw-apostar-item__bonus {
    font-size: 11px;
    font-weight: 600;
    color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, #fff 30%);
    margin-top: 1px;
}
.house-withdraw-apostar-item__status {
    flex-shrink: 0;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.house-withdraw-apostar-item__status.is-pending {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}
.house-withdraw-apostar-item__status.is-completed {
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.42);
}
.house-withdraw-apostar-item__bar {
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.house-withdraw-apostar-item__fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.house-withdraw-apostar-item.is-completed .house-withdraw-apostar-item__fill {
    background: linear-gradient(90deg, #4ade80, #22c55e);
    width: 100% !important;
}
.house-withdraw-apostar-item__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}
.house-withdraw-apostar-item__meta strong { color: #fff; }

.house-withdraw-apostar-hint {
    margin: 6px 0 0;
    font-size: 11.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.06);
}

/* —— Modal idioma (Fase 1 i18n) —— */
.house-lang-pop-backdrop {
    position: fixed;
    inset: 0;
    z-index: 12500;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}

.house-lang-pop-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.house-lang-pop {
    position: fixed;
    inset: 0;
    z-index: 12501;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}

.house-lang-pop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.house-lang-pop-sheet {
    width: min(500px, 100%);
    max-height: min(70vh, 420px);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 94%, #070402 6%);
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 28%, transparent);
    border-radius: 16px 16px 12px 12px;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
    padding: 14px 14px 18px;
    transform: translateY(24px);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.house-lang-pop.is-open .house-lang-pop-sheet {
    transform: translateY(0);
}

.house-lang-pop-head {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.house-lang-pop-title {
    margin: 0;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.house-lang-pop-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 70%, #ffffff 6%);
    color: color-mix(in srgb, #fff 82%, var(--house-ui-accent, #d9a54f) 18%);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.house-lang-pop-sub {
    margin: 0 0 14px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
}

.house-lang-pop-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.house-lang-pop-option {
    width: 100%;
    display: grid;
    grid-template-columns: 40px 1fr 24px;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--house-ui-accent, #d9a54f) 22%, transparent);
    background: color-mix(in srgb, var(--house-ui-background, #5a3421) 78%, #ffffff 4%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.house-lang-pop-option:hover {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 45%, transparent);
}

.house-lang-pop-option.is-active {
    border-color: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 70%, transparent);
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 18%, var(--house-ui-background, #5a3421) 82%);
}

.house-lang-pop-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    background: color-mix(in srgb, var(--house-ui-accent, #d9a54f) 35%, #1a120c 65%);
}

.house-lang-pop-check {
    opacity: 0;
    font-size: 18px;
    color: var(--house-ui-accent, #d9a54f);
    justify-self: end;
    transition: opacity 0.2s ease;
}

.house-lang-pop-option.is-active .house-lang-pop-check {
    opacity: 1;
}
