/* =====================================================================
   ZEIBAN — Área logada (valores medidos no original com conta real):
   header logado, seletor de saldo, menu do usuário, painéis direitos,
   Carteira/Converter/Cofre/Resgatar, Transações, Configurações,
   Zeiban Wise, Afiliado, Minhas Apostas
   Paleta: #080808 fundo · #121418 painel · #202329 campo/cartão ·
   #2a2e38 controle/borda · #343843 ativo · #828998/#9ba5b4/#bec6d1 textos
   ===================================================================== */

/* ---------------- toggle 42×24 ---------------- */
.z-toggle { width: 42px; height: 24px; border-radius: var(--r-full); background: #2a2e38; position: relative; transition: background var(--dur-fast); flex: none; }
.z-toggle.on { background: var(--purple); }
.z-toggle.disabled { opacity: 0.45; cursor: not-allowed; }
.z-toggle-knob { position: absolute; top: 5px; left: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left var(--dur-fast) var(--ease); }
.z-toggle.on .z-toggle-knob { left: 23px; }

/* ---------------- moedas ---------------- */
.coin-ic { width: 16px; height: 16px; }
.coin-letter { border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-size: 0.56rem; font-weight: 800; line-height: 1; }
.coin-zbt svg { width: 100%; height: 100%; }
.coin-dot.usd { width: 16px; height: 16px; border-radius: 50%; background: #3dd179; color: #080808; display: inline-grid; place-items: center; font-size: 0.6rem; font-weight: 800; flex: none; }
.fiat-ic { width: 16px; height: 16px; border-radius: 50%; background: #3dd179; color: #080808; display: inline-grid; place-items: center; font-size: 0.6rem; font-weight: 800; flex: none; }

/* ---------------- header logado ---------------- */
.header-center { display: flex; align-items: center; gap: 9px; }
@media (min-width: 1025px) { .header-logo { min-width: 172px; } }
.header-center:empty { display: none; }
.bs { position: relative; }
.bs-btn { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; background: transparent; border: 1px solid #2a2e38; border-radius: 6px; font-weight: 400; font-size: 14px; transition: background var(--dur-fast), border-color var(--dur-fast); }
.bs-btn:hover { background: #121418; }
.bs.open .bs-btn { background: #343843; border-color: #886cff; }
.bs-amt { min-width: 76px; text-align: left; }
.bs-caret { display: inline-flex; color: #fff; transition: transform var(--dur); }
.bs-caret svg { width: 16px; height: 16px; }
.bs.open .bs-caret { transform: rotate(180deg); }
.bs-panel { position: absolute; top: 56px; left: 0; width: 273px; background: #202329; border: 1px solid #343843; border-radius: 6px; box-shadow: var(--shadow-pop); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity var(--dur-fast), transform var(--dur-fast); z-index: 70; overflow: hidden; }
.bs.open .bs-panel { opacity: 1; transform: none; pointer-events: auto; }
.bs-search { display: block; padding: 14px 16px; }
.bs-search-in { width: 100%; height: 40px; padding: 0 12px; background: #121418; border: 1px solid #2a2e38; border-radius: 6px; outline: 0; font-size: 14px; color: #fff; }
.bs-search-in:focus { border-color: #886cff; }
.bs-search-in::placeholder { color: #828998; }
.bs-list { max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; scrollbar-width: thin; scrollbar-color: #343843 transparent; }
.bs-item { display: flex; align-items: center; gap: 8px; width: 100%; height: 40px; flex: none; padding: 0 16px; font-size: 14px; font-weight: 400; color: #fff; text-align: left; transition: background var(--dur-fast); }
.bs-item:hover { background: #2a2e38; }
.bs-item.active { background: #343843; font-weight: 700; }
.bs-sym { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-bal { color: #828998; font-weight: inherit; }
.bs-empty { padding: 1rem; text-align: center; font-size: 14px; }
.bs-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #343843; padding: 14px 16px; font-size: 16px; font-weight: 400; }
.hdr-wallet-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: 6px; font-weight: 500; font-size: 14px; }
.hdr-wallet-btn svg { width: 16px; height: 16px; }

.header-auth { gap: 10px; }
.hdr-round { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #2a2e38; color: #fff; transition: background var(--dur-fast); flex: none; }
.hdr-round:hover { background: #343843; }
.hdr-round.on, .user-wrap.open .user-btn { background: var(--purple); }
.hdr-round svg { width: 16px; height: 16px; }
.hdr-more { position: relative; display: none; }
.hdr-more-menu, .user-menu { position: absolute; right: 0; background: #121418; border: 1px solid #343843; border-radius: 8px; box-shadow: var(--shadow-pop); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity var(--dur-fast), transform var(--dur-fast); z-index: 70; }
.hdr-more-menu { top: calc(100% + 10px); min-width: 210px; padding: 8px; }
.hdr-more.open .hdr-more-menu, .user-wrap.open .user-menu { opacity: 1; transform: none; pointer-events: auto; }
.hdr-more-menu button { display: flex; align-items: center; gap: 12px; width: 100%; height: 48px; padding: 0 16px; border-radius: 6px; color: #fff; font-size: 14px; }
.hdr-more-menu button:hover { background: #202329; }

/* ---------------- menu do usuário (260×…) ---------------- */
.user-wrap { position: relative; }
.user-menu { top: 48px; width: 260px; padding: 16px; max-height: calc(100vh - var(--header-h) - 16px); overflow-y: auto; scrollbar-width: none; }
.um-card { display: flex; flex-direction: column; gap: 0; background: #202329; border-radius: 6px; padding: 16px; margin-bottom: 16px; }
.um-user { display: flex; align-items: center; gap: 8px; }
.um-name { font-size: 16px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.um-av { width: 48px; height: 48px; border-radius: 50%; background: #343843; display: grid; place-items: center; color: #fff; flex: none; }
.um-av svg { width: 26px; height: 26px; }
.um-hr { border: 0; border-top: 1px solid #343843; margin: 16px 0; }
.um-rank { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: #fff; margin-bottom: 8px; }
.um-card .vip-bar { margin-bottom: 12px; }
.um-prog { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 400; }
.um-next { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.rank-ic { display: inline-flex; line-height: 0; }
.rank-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.vip-bar { height: 8px; border-radius: 9999px; background: #2a2e38; overflow: hidden; }
.vip-bar > span { display: block; height: 100%; background: linear-gradient(90deg, #7717ff, #886cff); border-radius: inherit; }
.user-menu-item { display: flex; align-items: center; gap: 12px; width: 100%; height: 48px; padding: 0 16px; border-radius: 6px; color: #fff; font-weight: 400; font-size: 14px; text-align: left; }
.user-menu-item:hover { background: #202329; color: #fff; }
.user-menu-item svg { width: 16px; height: 16px; }

/* ---------------- painel direito ---------------- */
.right-panel { background: #121418; border-left-color: #2a2e38; }
.rp-head { padding: 0 16px; border-bottom-color: #2a2e38; background: #121418; }
.rp-title { font-size: 20px; font-weight: 700; margin: 0; }
.rp-head .rp-title { flex: 1; }
.notif-title { font-size: 18.72px; }
.rp-head-actions { display: flex; align-items: center; gap: 10px; }
.rp-x { width: 24px; height: 24px; display: grid; place-items: center; color: #fff; border-radius: 4px; flex: none; }
.rp-x:hover { background: #2a2e38; }
.rp-x svg { width: 12px; height: 12px; }
.rp-sq { width: 40px; height: 40px; border-radius: 6px; background: #2a2e38; color: #fff; display: grid; place-items: center; flex: none; transition: background var(--dur-fast); }
.rp-sq:hover:not(:disabled) { background: #343843; }
.rp-sq:disabled { background: #9ba5b4; cursor: default; }
.rp-sq svg { width: 16px; height: 16px; }
.rp-head .dd-menu { right: -50px; }
.dd-menu button.active { color: #fff; background: #2a2e38; }
.btn-disabled, .btn[disabled], .btn:disabled { background: #9ba5b4 !important; color: #fff !important; cursor: not-allowed; box-shadow: none !important; }

/* boletim */
.slip-title { color: #fff; font-size: 20px; font-weight: 700; gap: 8px; }
.slip-title-caret svg { width: 16px; height: 16px; color: #fff; }
.slip-count { background: #886cff; font-size: 12px; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.rp-head .rp-head-actions .rp-x:first-child svg { width: 16px; height: 16px; }
.slip-menu-title { padding: 8px 12px 4px; font-size: 12px; color: #828998; font-weight: 500; }
.slip-menu button.active { color: #fff; background: #2a2e38; }
.slip-body.center { display: flex; flex-direction: column; justify-content: center; }
.slip-empty { padding: 16px; gap: 0; }
.slip-empty-art { margin-bottom: 16px; }
.slip-empty-art svg { display: block; width: 160px; height: 160px; }
.slip-empty h3 { font-size: 22px; font-weight: 700; line-height: 1.15; margin-bottom: 6px; }
.slip-empty p { font-size: 16px; color: #9ba5b4; margin-bottom: 16px; }
.slip-empty .btn { width: 288px; max-width: 100%; height: 48px; }
.slip-foot { border-top-color: #2a2e38; padding: 16px; }
.slip-foot .btn-outline { height: 48px; margin-top: 0; border-color: #fff; font-weight: 500; font-size: 14px; }
.slip-clear { align-self: flex-end; }
.rp-scroll { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 20px; scrollbar-width: thin; scrollbar-color: #343843 transparent; }
.rp-bottom { flex: none; border-top: 1px solid #2a2e38; }
.rp-bottom .slip-acc-head { height: 70px; padding: 0 24px; font-size: 16px; font-weight: 700; color: #fff; }
.rp-link { display: block; text-align: center; color: #fff; text-decoration: underline; font-size: 14px; font-weight: 500; padding: 0 16px 20px; }

/* VIP */
.vip-card { background: #202329; border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.vip-card-art { height: 141px; border-radius: 6px; overflow: hidden; }
.vip-card-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; }
.vip-card-row b { font-weight: 700; }
.vip-card-row.sm { font-size: 12px; font-weight: 500; color: #fff; margin-bottom: 8px; }
.vip-card-row.sm .dim { color: #fff; }
.vip-card-row span { display: inline-flex; align-items: center; gap: 8px; }
.vip-card .btn { height: 40px; font-size: 14px; font-weight: 500; }
.vip-rew-title { display: flex; align-items: center; gap: 8px; color: #fff; }
.vip-rew-title h4 { font-size: 16px; font-weight: 700; margin: 0; }
.vip-rewards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: -8px; }
.vip-rew { background: #121418; border: 1px solid #2a2e38; border-radius: 8px; padding: 9px 16px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.vip-rew-top { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; font-size: 12px; font-weight: 500; text-align: left; color: #fff; min-height: 36px; }
.vip-rew.locked .vip-rew-top, .vip-rew.locked .vip-rew-name { color: #9ba5b4; }
.vip-rew-top svg { width: 16px; height: 16px; margin-top: 10px; flex: none; }
.vip-rew-art { height: 48px; margin: 8px 0 10px; line-height: 0; }
.vip-rew-art svg { height: 48px; width: auto; }
.vip-rew-name { font-size: 14px; font-weight: 600; min-height: 42px; display: flex; align-items: flex-start; justify-content: center; margin-bottom: 12px; line-height: 1.5; }
.vip-claim { height: 40px; font-size: 14px; font-weight: 500; }
.vip-lock { width: 100%; height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #9ba5b4; border-radius: 6px; color: #9ba5b4; font-size: 14px; font-weight: 500; }
.vip-lock svg { width: 16px; height: 16px; }
.vip-redeem { display: flex; gap: 8px; padding: 0 24px 16px; }
.vip-redeem .gc-box { flex: 1; display: flex; align-items: center; background: #202329; border-radius: 6px; padding: 0 12px; height: 48px; }
.vip-redeem .gc-input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 14px; }
.vip-redeem .btn { height: 48px; }

/* chat */
.chat-room-sel { flex: none; width: 187px; }
.chat-room-sel .zs-btn { height: 48px; background: #202329; border: 0; font-weight: 400; font-size: 14px; }
.chat-msgs { padding: 16px 24px; gap: 14px; }
.chat-line { font-size: 14px; line-height: 16px; animation: fadeUp 0.25s var(--ease); word-break: break-word; color: #f0f0f0; }
.chat-rank { display: inline-flex; vertical-align: -3px; margin-right: 6px; line-height: 0; }
.chat-line .chat-user { font-size: 14px; font-weight: 700; color: #fff; padding: 0; }
.chat-line .chat-user:hover { text-decoration: underline; }
.chat-colon { font-weight: 700; color: #fff; margin-right: 4px; }
.chat-text { color: #f0f0f0; font-weight: 400; }
.chat-mention { color: #886cff; font-weight: 400; }
.chat-unlock { flex: none; padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; border-top: 0; }
.chat-unlock .slip-line { font-size: 14px; }
.chat-unlock .slip-line b { font-weight: 700; }
.chat-unlock .slip-line.dim { color: #fff; font-size: 14px; }
.chat-foot { border-top: 1px solid #2a2e38; padding: 24px; gap: 16px; }
.chat-input-row { height: 48px; align-items: center; background: #202329; border: 1px solid transparent; border-radius: 6px; padding-right: 1px; gap: 0; }
.chat-input-row:focus-within { border-color: #886cff; }
.chat-input-row .chat-input { height: 46px; border: 0; background: none; font-size: 14px; }
.chat-ic { width: 32px; height: 46px; display: grid; place-items: center; color: #9ba5b4; }
.chat-ic:hover { color: #fff; }
.chat-ic svg { width: 16px; height: 16px; }
.chat-rules { font-size: 14px; align-items: center; }
.chat-rules a { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.chat-rules .chat-online { margin-left: 0; color: #fff; font-size: 14px; }

/* notificações */
.notif-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3rem 1rem; }
.notif-art { line-height: 0; margin-bottom: 16px; }
.notif-empty h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.notif-empty p { font-size: 16px; color: #9ba5b4; }
.notif-item { display: flex; gap: 12px; align-items: center; background: #202329; border-radius: 8px; padding: 14px; border-left: 3px solid transparent; }
.notif-item.unread { border-left-color: #886cff; }
.notif-ic { width: 36px; height: 36px; border-radius: 50%; background: #2a2e38; display: grid; place-items: center; color: #886cff; flex: none; }
.notif-ic svg { width: 16px; height: 16px; }
.notif-item b { display: block; font-size: 14px; }
.notif-item .dim { font-size: 12px; }

/* ---------------- modais (540px · padding 40px) ---------------- */
.modal { background: #121418; border: 0; border-radius: 8px; }
.wallet-modal .modal { max-width: 540px; max-height: calc(100vh - 2rem); overflow-y: auto; scrollbar-width: none; }
.wallet-modal.small .modal { max-width: 400px; }
.wallet-modal.narrow .modal { max-width: 400px; }
.modal-close.round { top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 9999px; color: #fff; }
.modal-close.round svg { width: 12px; height: 12px; }
.wm { padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.wm.redeem { padding: 40px 0 0; gap: 0; align-items: stretch; }
.wm.redeem > .wm-art { align-self: center; margin-bottom: 12px; line-height: 0; }
.wm.redeem > .wm-title { margin-bottom: 24px; }
.wm.redeem > .wm-field { padding: 0 24px 24px; gap: 16px; }
.wm-sep { height: 1px; background: #2a2e38; }
.wm.redeem > .wm-link { padding: 20px 24px 24px; align-self: center; }
.wm-title { font-size: 26px; font-weight: 700; text-align: center; margin: 0; line-height: 34px; }
.wm-title.sm { font-size: 22px; line-height: 28px; }
.wm-desc { font-size: 14px; color: #fff; text-align: center; margin-top: -8px; }
.wm-desc.left { text-align: left; margin: 0; color: #bec6d1; }
.wm-tabs { display: flex; border-bottom: 1px solid #4d5361; margin: 0; }
.wm-tab { flex: 1; position: relative; height: 32px; padding: 0 0 11px; font-size: 14px; font-weight: 400; color: #fff; white-space: nowrap; }
.wm-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #886cff; transform: scaleX(0); transition: transform var(--dur) var(--ease); }
.wm-tab.active { color: #886cff; font-weight: 700; }
.wm-tab.active::after { transform: scaleX(1); }
.wm-tab:hover:not(.active) { color: #bec6d1; }
.wm-body { display: flex; flex-direction: column; animation: fadeUp 0.2s var(--ease); }
.wm-field { display: flex; flex-direction: column; gap: 16px; }
.wm-group { display: flex; flex-direction: column; gap: 4px; }
.wm-group.half { max-width: 555px; }
.wf-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 500; color: #fff; line-height: 18px; }
.wf-usd { font-size: 12px; font-weight: 500; color: #9ba5b4; }
.wf-box { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; background: #202329; border: 1px solid transparent; border-radius: 6px; transition: border-color var(--dur-fast); min-width: 0; }
.wf-box.fill { padding: 0 8px 0 16px; }
.wf-box:focus-within { border-color: #886cff; }
.wf-box.line { background: transparent; border-color: #2a2e38; }
.wf-input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 14px; font-weight: 400; color: #fff; height: 46px; }
.wf-input::placeholder { color: #828998; }
.wf-static { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: #fff; }
.wf-select, .pref-sel, .mybets-sel { width: 100%; }
.wf-select .zs-btn, .pref-sel .zs-btn, .mybets-sel .zs-btn { height: 48px; background: #202329; border: 1px solid transparent; border-radius: 6px; width: 100%; padding: 0 16px; font-weight: 400; font-size: 14px; }
.wf-select .zs-btn { justify-content: flex-start; }
.wf-select .zs-label { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; }
.wf-select .zs-btn svg, .pref-sel .zs-caret svg { width: 16px; height: 16px; }
.wf-select .zs-caret { color: #fff; }
.wf-select .zs-list, .pref-sel .zs-list { width: 100%; background: #202329; border-color: #343843; border-radius: 6px; padding: 0; }
.zs-list .zs-opt { height: 40px; padding: 0 16px; border-radius: 0; font-weight: 400; color: #fff; }
.zs-list .zs-opt:hover { background: #2a2e38; }
.zs-list .zs-opt.active { background: #343843; font-weight: 700; color: #fff; }
.dir-sel .zs-btn .z-icon { color: #fff; }
.verified { width: 14px; height: 14px; border-radius: 50%; background: #3dd179; display: grid; place-items: center; color: #080808; flex: none; }
.verified svg { width: 9px; height: 9px; stroke-width: 3.5; }

.wsel { position: relative; }
.wsel-btn { width: 100%; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; background: #202329; border: 1px solid transparent; border-radius: 6px; text-align: left; transition: border-color var(--dur-fast); }
.wsel.open .wsel-btn { border-color: #886cff; }
.wsel-val { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 14px; }
.wsel-val > span:not(.coin-ic):not(.wsel-bal) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wsel-bal { margin-left: auto; color: #fff; }
.wsel .zs-caret { display: inline-flex; color: #fff; transition: transform var(--dur); }
.wsel .zs-caret svg { width: 16px; height: 16px; }
.wsel.open .zs-caret { transform: rotate(180deg); }
.wsel-panel { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #202329; border: 1px solid #343843; border-radius: 6px; box-shadow: var(--shadow-pop); display: none; z-index: 10; overflow: hidden; }
.wsel.short .wsel-panel { width: 220px; left: auto; }
.wsel.open .wsel-panel { display: block; animation: fadeUp 0.15s var(--ease); }
.wsel-panel .bs-list { max-height: 240px; }

.wm-addr-box { display: flex; gap: 8px; align-items: center; height: 48px; padding: 0 8px 0 16px; border: 1px solid #2a2e38; border-radius: 6px; }
.wm-addr { flex: 1; min-width: 0; font-size: 14px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-sq { width: 32px; height: 32px; border-radius: 6px; background: #2a2e38; color: #fff; display: grid; place-items: center; flex: none; transition: background var(--dur-fast); }
.wm-sq.in { background: #202329; }
.wm-sq:hover { background: #343843; }
.wm-sq svg { width: 16px; height: 16px; }
.wm-sq.spin svg { animation: spin 0.6s linear; }
.wm-warn { display: flex; gap: 6px; align-items: flex-start; font-size: 12px; font-weight: 400; color: #ff774a; margin-top: 4px; line-height: 16px; }
.wm-warn svg { width: 16px; height: 16px; flex: none; }
.wm-qr { align-self: center; line-height: 0; margin-top: 8px; }
.wm-qr svg { width: 174px; height: 174px; border-radius: 4px; }
.wm-soon { display: flex; gap: 10px; align-items: flex-start; background: var(--panel-3, #1c1f26); border: 1px solid var(--border-2, #2a2e38); border-radius: 10px; padding: 14px; font-size: 13px; line-height: 18px; color: #bec6d1; }
.wm-soon svg { width: 18px; height: 18px; flex: none; color: #ff9d2e; margin-top: 1px; }
.wm-soon b { display: block; color: #fff; font-size: 14px; margin-bottom: 4px; }
.wm-soon p { margin: 0; overflow-wrap: anywhere; }
.wm-demo-warn { font-weight: 600; }
.wm-link { align-self: center; color: #fff; font-weight: 500; font-size: 14px; text-decoration: underline; padding: 5px 10px; }
.wm-link:hover { color: #bec6d1; }
.wm-demo { align-self: center; font-size: 12px; color: #828998; border: 1px dashed #343843; border-radius: 6px; padding: 6px 12px; margin-top: -8px; }
.wm-demo:hover { color: #fff; border-color: #886cff; }
.wm-pcts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: -8px; }
.wm-pct { height: 40px; border-radius: 6px; border: 1px solid #fff; color: #fff; font-weight: 400; font-size: 12px; transition: background var(--dur-fast); }
.wm-pct:hover { background: rgba(255,255,255,0.08); }
.wm-notes { display: flex; flex-direction: column; gap: 6px; }
.wm-note { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #bec6d1; line-height: 18px; }
.wm-note svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.wm-submit { height: 54px; font-size: 14px; font-weight: 500; }
.wm-row-pay { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 10px; }
.wm-fiat { position: relative; }
.wm-fiat > .fiat-ic { position: absolute; left: 16px; top: 16px; z-index: 1; pointer-events: none; }
.wm-fiat .zs-btn { padding-left: 40px; }
.wm-prov { position: relative; }
.prov-sel .zs-btn { padding-right: 16px; }
.wm-prov-recv { position: absolute; right: 44px; top: 0; height: 48px; display: flex; align-items: center; gap: 8px; font-size: 14px; pointer-events: none; }
.wm-paylogos { display: flex; align-items: center; justify-content: space-around; height: 40px; border: 1px solid #2a2e38; border-radius: 6px; padding: 0 12px; line-height: 0; }
.wm-disclaimer { font-size: 12px; color: #bec6d1; text-align: center; line-height: 18px; border: 1px solid #2a2e38; border-radius: 8px; padding: 12px 16px; }
.wm-toggle-row { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 400; }
.wm-max { height: 32px; padding: 0 12px; border-radius: 6px; background: #2a2e38; color: #fff; font-weight: 500; font-size: 12px; flex: none; }
.wm-max:hover { background: #343843; }
.wm-row-conv { display: grid; grid-template-columns: minmax(0, 1fr) 125px; gap: 10px; }
.wm-forgot { align-self: flex-end; font-size: 12px; font-weight: 700; color: #fff; margin-top: -12px; }
.wm-forgot:hover { text-decoration: underline; }
.conv-spin { display: inline-flex; line-height: 0; margin-left: auto; }
.conv-spin.go .conv-arc { animation: convfill 15s linear forwards; }
@keyframes convfill { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.upload-box { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px; border: 1px dashed #343843; border-radius: 8px; background: #202329; text-align: center; cursor: pointer; font-size: 14px; transition: border-color var(--dur-fast); }
.upload-box:hover { border-color: #886cff; }
.upload-box.done { border-style: solid; border-color: #3dd179; }
.upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-box .dim { font-size: 12px; }
.tfa-secret { display: flex; flex-direction: column; gap: 4px; background: #202329; border-radius: 6px; padding: 12px 16px; font-size: 14px; }
.tfa-secret code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: 0.05em; }

/* ---------------- páginas da conta (1184 úteis) ---------------- */
.page-acct { display: flex; flex-direction: column; width: 100%; max-width: 1184px; margin: 0 auto; padding: 8px 0 0; }
.acct-h1 { font-size: 26px; font-weight: 700; line-height: 39px; margin: 0 0 24px; }
.acct-tabrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-acct > .bar-tabs { margin-bottom: 24px; align-self: flex-start; }
.bar-tabs { display: inline-flex; align-items: center; gap: 0; background: #202329; border-radius: 6px; padding: 6px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.bar-tabs::-webkit-scrollbar { display: none; }
.bar-tab { height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 6px; flex: none; transition: background var(--dur-fast); }
.bar-tab p { font-size: 14px; font-weight: 500; color: #bec6d1; white-space: nowrap; margin: 0; }
.bar-tab.active { background: #343843; }
.bar-tab.active p, .bar-tab:hover p { color: #fff; }
.filter-btn { height: 48px; padding: 0 16px; gap: 8px; font-weight: 500; font-size: 14px; }
.filter-btn .zs-caret svg { width: 10px; height: 10px; }
.acct-body { display: flex; flex-direction: column; gap: 24px; }
.acct-card { border: 1px solid #2a2e38; border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.acct-card-title { font-size: 16px; font-weight: 700; line-height: 24px; margin: 0; }
.acct-card-body { display: flex; flex-direction: column; gap: 24px; border-top: 1px solid #2a2e38; padding-top: 17px; }
.acct-card-body > p { font-size: 14px; line-height: 21px; color: #fff; margin: 0; }
.acct-card-body a.u, a.u { color: #fff; text-decoration: underline; }
.acct-split { display: grid; grid-template-columns: minmax(0, 872px) 288px; gap: 24px; align-items: start; justify-content: space-between; }
.acct-h3 { font-size: 22px; font-weight: 700; line-height: 33px; margin: 0 0 20px; }
.acct-h4 { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.acct-sub { font-size: 14px; color: #bec6d1; margin: 0 0 32px; }
.acct-hr { border: 0; border-top: 1px solid #2a2e38; margin: 0; }
.acct-tab-btn { height: 48px; font-weight: 500; font-size: 14px; }
.sq-btn { width: 40px; height: 40px; border-radius: 6px; background: #2a2e38; color: #fff; display: grid; place-items: center; }

.help-card { border: 1px solid #2a2e38; border-radius: 8px; padding: 48px 16px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; position: sticky; top: 16px; }
.help-art { line-height: 0; margin-bottom: 16px; }
.help-card h4 { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.help-card p { font-size: 14px; color: #fff; line-height: 21px; margin: 0 0 16px; }
.help-card .btn { height: 48px; font-weight: 500; font-size: 14px; }

/* tabela (sem fundo, linhas #2a2e38) */
.z-table-wrap { overflow-x: auto; }
.z-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.z-table thead td { height: 38px; padding: 0 16px; font-size: 12px; font-weight: 400; color: #828998; border-bottom: 1px solid #2a2e38; white-space: nowrap; }
.z-table thead td:first-child, .z-table tbody td:first-child { padding-left: 0; }
.z-table tbody td { height: 54px; padding: 0 16px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.z-table-wrap.striped tbody td:first-child { padding-left: 16px; }
.z-table-wrap.striped thead td:first-child { padding-left: 0; }
.z-table tbody tr:nth-child(even) td { background: #121418; }
.z-table tr.empty td { height: 83px; text-align: center; border-bottom: 1px solid #2a2e38; background: none !important; }
.z-table tr.empty p { font-size: 12px; font-weight: 400; color: #fff; margin: 0; }
/* tabela rola na horizontal no celular: a mensagem de vazio fica presa à área visível */
@media (max-width: 700px) { .z-table tr.empty p { position: sticky; left: 0; width: calc(100vw - 2 * var(--gutter, 16px)); } }
.tx-amt { display: inline-flex; align-items: center; gap: 8px; }
.tx-id { color: #fff; font-weight: 500; font-size: 14px; text-decoration: underline; }
.tx-st { display: inline-block; font-size: 12px; font-weight: 500; padding: 4px 8px; border-radius: 4px; background: #202329; }
.tx-st.ok { color: #3dd179; }
.tx-st.pend { color: var(--gold); }
.tx-st.fail { color: var(--red); }
.skel { display: block; height: 12px; border-radius: 4px; background: linear-gradient(90deg, #202329 0%, #2a2e38 50%, #202329 100%); background-size: 200% 100%; animation: skel 1.1s linear infinite; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* conta */
.ui-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ui-box { background: #202329; border-radius: 8px; height: 96px; padding: 0 24px; display: flex; align-items: center; gap: 16px; }
.ui-box.stats { justify-content: space-between; padding: 0 24px 0 48px; }
.ui-box.stats > div { display: flex; flex-direction: column; gap: 4px; width: 120px; }
.ui-sep { width: 1px; height: 48px; background: #343843; }
.ui-box .lbl { font-size: 14px; font-weight: 500; color: #9ba5b4; }
.ui-box .val { font-size: 14px; font-weight: 500; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.ui-av { width: 48px; height: 48px; border-radius: 50%; background: #343843; color: #fff; display: grid; place-items: center; flex: none; }
.ui-av svg { width: 26px; height: 26px; }
.ui-name { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.ui-rank { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: #fff; }

/* verificar */
.kyc-list { display: flex; flex-direction: column; gap: 12px; }
.kyc-card { display: flex; align-items: center; gap: 24px; border: 1px solid #2a2e38; border-radius: 8px; padding: 24px; }
.kyc-st { width: 16px; height: 16px; display: grid; place-items: center; color: #828998; flex: none; }
.kyc-st.done { color: #3dd179; }
.kyc-st svg { width: 16px; height: 16px; }
.kyc-body { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kyc-body p { font-size: 14px; color: #fff; margin: 0; }
.kyc-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kyc-title h4 { font-size: 16px; font-weight: 700; margin: 0; }
.kyc-tag { font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: 4px; background: #202329; color: #4d5361; }
.kyc-tag.ok { color: #3dd179; }
.kyc-btn { height: 48px; flex: none; font-weight: 500; font-size: 14px; }

/* segurança */
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.sec-p { font-size: 12px; color: #fff; line-height: 18px; margin: -2px 0 0; }
.sec-row { display: flex; align-items: center; gap: 12px; width: 100%; background: #121418; border-radius: 8px; padding: 24px; text-align: left; min-height: 98px; }
button.sec-row:hover { background: #202329; }
.sec-row p { flex: 1; font-size: 18px; font-weight: 700; margin: 0; }
.sec-row svg { flex: none; }
.sec-ill { flex: none; line-height: 0; }
.sec-btn { height: 40px; width: 100px; font-weight: 500; font-size: 14px; }
.link-row { display: flex; align-items: center; gap: 8px; background: #121418; border-radius: 8px; height: 72px; padding: 0 24px; }
.link-name { flex: 1; font-size: 16px; font-weight: 400; margin: 0; }
.link-lbl { font-size: 12px; color: #fff; margin: 0 2px 0 0; }
.link-ic { width: 16px; height: 16px; line-height: 0; flex: none; }
.link-ic svg { width: 100%; height: 100%; }

/* preferências */
.pref-row2 { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 30px; padding: 16px 0; border-bottom: 1px solid #2a2e38; min-height: 65px; }
.pref-row2.nol { grid-template-columns: minmax(0, 1fr) auto; }
.pref-row2:last-child { border-bottom: 0; }
.pref-row2.dim-row { opacity: 0.5; }
.pref-txt h5 { font-size: 14px; font-weight: 500; margin: 0 0 4px; }
.pref-txt p { font-size: 12px; color: #828998; margin: 0; }
.pref-sel { width: 128px; }

/* sessões */
.sess-bar { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.sess-out { height: 48px; font-weight: 400; font-size: 14px; margin-left: 12px; gap: 16px; }
.sess-dev { display: inline-flex; align-items: center; gap: 8px; }

/* wise */
.acct-card.wide { gap: 16px; }
.wise-step { display: flex; align-items: stretch; border: 1px solid #2a2e38; border-radius: 8px; overflow: hidden; }
.wise-ic { width: 85px; flex: none; background: #121418; display: grid; place-items: center; }
.wise-txt { padding: 20px 28px; }
.wise-txt .t { font-size: 14px; font-weight: 700; color: #fff; margin: 0; line-height: 21px; }
.wise-txt .d { font-size: 14px; color: #bec6d1; margin: 0; line-height: 21px; }
.wise-continue { align-self: flex-start; height: 54px; min-width: 164px; font-weight: 500; font-size: 14px; }
.btn.wise-continue:not(.btn-primary) { background: #4700ab; color: #fff; }
.btn.wise-continue:not(.btn-primary):hover { background: #5a10d0; }
.wise-active { display: flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; font-size: 14px; background: rgba(255,196,77,0.08); border: 1px solid rgba(255,196,77,0.25); border-radius: 8px; padding: 12px 16px; }
.limit-list { display: flex; flex-direction: column; gap: 8px; }
.limit-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; background: #202329; border-radius: 6px; padding: 12px 16px; font-size: 14px; }

/* afiliado logado */
.page-aff.is-overview { position: relative; }
.page-aff.is-overview > .acct-h1, .page-aff.is-overview > .acct-tabrow { position: relative; z-index: 2; }
.aff-over { display: flex; flex-direction: column; }
.aff-dash-hero { position: relative; min-height: 330px; margin-top: -8px; padding-top: 30px; }
.aff-glow { position: absolute; left: 108px; top: 120px; width: 969px; height: 112px; background: rgba(119, 23, 255, 0.8); filter: blur(120px); opacity: 0.55; pointer-events: none; }
.aff-mega { position: absolute; right: 0; top: -228px; width: 576px; height: 577px; pointer-events: none; }
.aff-hero-copy { position: relative; z-index: 1; max-width: 533px; }
.aff-dash-h { font-family: var(--font-display); font-size: 56px; line-height: 66px; font-weight: 400; letter-spacing: 0; margin: 0; text-transform: uppercase; white-space: nowrap; }
.aff-purple { color: #886cff; }
.aff-hero-copy p { font-size: 16px; color: #bec6d1; line-height: 24px; margin: 0 0 16px; }
.aff-hero-copy p a { color: #fff; }
.aff-link-row { display: flex; gap: 32px; }
.aff-link { width: 250px; height: 48px; background: #202329; border: 1px solid transparent; border-radius: 6px; padding: 0 16px; font-size: 14px; color: #fff; outline: 0; }
.aff-link-row .btn { height: 48px; font-weight: 500; font-size: 14px; }
.aff-dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.aff-stat { background: #121418; border: 1px solid #2a2e38; border-radius: 8px; padding: 19px 24px; }
.aff-stat > div { border-left: 3px solid #886cff; padding-left: 16px; }
.aff-stat .k { font-size: 14px; color: #9ba5b4; margin: 0; line-height: 21px; }
.aff-stat .v { font-size: 16px; font-weight: 700; margin: 0; line-height: 24px; }
.aff-divider { display: flex; align-items: center; gap: 14px; margin: 36px 0; }
.aff-divider i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #2a2e38 0 6px, transparent 6px 12px); }
.aff-divider span { line-height: 0; opacity: 0.7; }
.aff-sec-h { font-family: var(--font-display); font-size: 35px; line-height: 46px; font-weight: 400; text-align: center; text-transform: uppercase; margin: 0 0 24px; }
.aff-start { display: grid; grid-template-columns: 564px minmax(0, 1fr); gap: 56px; align-items: start; }
.aff-start-art { height: 400px; border-radius: 8px; overflow: hidden; }
.aff-steps { display: flex; flex-direction: column; gap: 32px; padding-top: 24px; }
.aff-step h4 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.aff-step h4 span { color: #3dd179; }
.aff-step p { font-size: 14px; color: #bec6d1; line-height: 21px; margin: 0; }
.aff-green { align-self: flex-start; height: 48px; background: #3dd179; color: #080808; font-weight: 500; font-size: 14px; }
.aff-green:hover { background: #56df8d; }
.aff-comm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aff-comm-card { display: flex; gap: 16px; background: #121418; border: 1px solid #2a2e38; border-radius: 8px; padding: 24px; }
.aff-comm-art { line-height: 0; flex: none; }
.aff-comm-card h4 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.aff-comm-card p { font-size: 14px; color: #bec6d1; line-height: 21px; margin: 0 0 14px; }
.aff-comm-card code { display: block; background: #080808; border: 1px solid #2a2e38; border-radius: 8px; padding: 14px 16px; font-family: inherit; font-size: 14px; color: #fff; }
.aff-comm-card .btn { height: 48px; font-weight: 500; font-size: 14px; }
.camp-list { display: flex; flex-direction: column; gap: 8px; }
.camp-row { display: flex; align-items: center; gap: 16px; background: #121418; border-radius: 8px; height: 51px; padding: 0 16px; }
.camp-name { font-size: 16px; }
.camp-link { flex: 1; font-size: 14px; color: #828998; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.camp-lbl { font-size: 14px; color: #9ba5b4; }
.camp-val { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.camp-copy { width: 16px; height: 16px; color: #fff; line-height: 0; }
.camp-copy svg { width: 16px; height: 16px; }
.earn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.earn-card { display: flex; align-items: center; gap: 12px; background: #121418; border-radius: 8px; height: 112px; padding: 0 24px; }
.earn-card > div { flex: 1; }
.earn-ic { line-height: 0; flex: none; }
.earn-lbl { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #828998; }
.earn-lbl svg { width: 16px; height: 16px; }
.earn-card h4 { font-size: 18px; font-weight: 700; margin: 0; }
.earn-btn { height: 48px; font-weight: 500; font-size: 14px; }

/* minhas apostas (esportes) */
.mybets-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 16px; }
.mybets-head h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; margin: 0; }
.mybets-head h2 svg { color: #886cff; width: 18px; height: 18px; }
.mybets-sel { width: auto; min-width: 150px; }
.mybets-sel .zs-btn { background: #2a2e38; font-weight: 500; }
.mybets-empty { background: #121418; border-radius: 8px; display: flex; justify-content: center; padding: 40px 16px 64px; }
.mybets-empty .slip-empty h3 { font-size: 18px; }
.mybets-empty .slip-empty p { font-size: 14px; }
.mybets-host { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.mybets-host .mybets-empty { grid-column: 1 / -1; }
.mybet-card { background: #121418; border: 1px solid #2a2e38; border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.mybet-top, .mybet-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mybet-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* modo streamer */
html.streamer .bs-amt, html.streamer .bs-bal, html.streamer .wsel-bal, html.streamer .um-name, html.streamer .ui-name { filter: blur(6px); }

/* ---------------- responsivo ---------------- */
@media (max-width: 1280px) {
  .aff-start { grid-template-columns: 1fr 1fr; gap: 32px; }
  .aff-start-art { height: 320px; }
  .aff-mega { width: 420px; height: 420px; top: -150px; }
}
@media (max-width: 1100px) {
  .acct-split { grid-template-columns: 1fr; }
  .help-card { position: static; }
  .aff-mega { display: none; }
  .ui-grid, .sec-grid, .aff-comm { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .rp-ic { display: none; }
  .hdr-more { display: block; }
}
@media (max-width: 768px) {
  .page-acct { padding: 0; }
  .acct-h1 { font-size: 22px; margin-bottom: 16px; }
  .acct-tabrow { margin-bottom: 16px; }
  .aff-dash-stats, .earn-grid, .aff-start { grid-template-columns: 1fr; }
  .aff-dash-h { font-size: 42px; line-height: 46px; }
  .aff-start-art { height: 220px; }
  .pref-row2 { grid-template-columns: 42px minmax(0, 1fr); gap: 16px; }
  .pref-row2.nol { grid-template-columns: 1fr; }
  .pref-row2 > .z-select { grid-column: 1 / -1; justify-self: end; }
  .acct-card { padding: 16px; }
  .kyc-card { flex-wrap: wrap; padding: 16px; gap: 12px; }
  .ui-grid { grid-template-columns: minmax(0, 1fr); }
  .ui-box.stats { padding: 14px 16px; height: auto; min-height: 96px; gap: 12px; }
  .ui-box.stats > div { width: auto; flex: 1 1 0; min-width: 0; }
  .ui-box.stats .lbl { font-size: 12px; }
  .hdr-wallet-btn > span:not(.z-icon) { display: none; }
  .hdr-wallet-btn { padding: 0 14px; }
  .bs-btn { padding: 0 10px; gap: 6px; font-size: 12px; height: 40px; }
  .hdr-wallet-btn { height: 40px; }
  .bs-panel { position: fixed; top: calc(var(--header-h) + 6px); left: 50%; transform: translate(-50%, -6px); width: calc(100vw - 24px); max-width: 320px; }
  .bs.open .bs-panel { transform: translate(-50%, 0); }
  .wm { padding: 32px 20px 24px; }
  .wm-row-pay, .wm-row-conv { grid-template-columns: minmax(0, 1fr) 124px; }
  /* seletor estreito: menos respiro para caber "USD"/"USDT" sem reticências */
  .wm-row-pay .zs-btn, .wm-row-conv .zs-btn { padding-right: 10px; gap: 4px; }
  .wm-fiat .zs-btn { padding-left: 36px; }
  .wm-fiat > .fiat-ic { left: 12px; }
  .mybets-head { flex-direction: column; align-items: stretch; }
  .camp-row { flex-wrap: wrap; height: auto; padding: 12px 16px; }
  .sess-bar { flex-wrap: wrap; }
  .sess-out { margin-left: 0; }
  .aff-link-row { gap: 12px; }
  .aff-link { flex: 1; width: auto; min-width: 0; }
}
@media (max-width: 420px) {
  .hdr-more { display: none; }
  .header-auth { gap: 6px; }
  .hdr-round { width: 36px; height: 36px; }
}
@media (max-width: 768px) { .page-aff { overflow: hidden; } .aff-glow { display: none; } }
/* celular: coluna do ícone mais estreita nos passos do Zeiban Wise e título de seção sem estourar */
@media (max-width: 560px) {
  .wise-ic { width: 52px; }
  .wise-txt { padding: 16px; }
  .aff-sec-h { font-size: 28px; line-height: 34px; overflow-wrap: anywhere; }
}
/* foco 31/10: sem o megafone (telas < 1100px) o topo do painel de afiliado deixava um buraco preto */
@media (max-width: 1100px) { .aff-dash-hero { min-height: 0; padding-bottom: 12px; } }
