/* =====================================================================
   Telas clonadas do layout PNB (conta, gaveta, modais, páginas)
   ===================================================================== */
:root {
  --card: linear-gradient(135deg, #061a3d 0%, #040c1d 55%, #02060f 100%);
  --card-2: linear-gradient(180deg, #071a3b 0%, #040d1f 100%);
  --card-line: rgb(var(--p2-rgb) / .22);
  --ic-grad: linear-gradient(180deg, var(--primary-2) 0%, var(--primary-3) 100%);
  --green-grad: linear-gradient(180deg, #2fd27a 0%, #16a34a 100%);
}

svg.i { width: 18px; height: 18px; flex-shrink: 0; }
.help-pill svg.i, .pin svg.i, .btn-sm svg.i { width: 15px; height: 15px; }
.btn-xl svg.i { width: 18px; height: 18px; }

/* ---------- Header (logado) ---------- */
.hsearch { flex: 1 1 0; max-width: 320px; min-width: 120px; position: relative; }
.hsearch input { width: 100%; height: 40px; border-radius: 12px; background: rgb(var(--s-rgb) / .25); border: 1px solid rgba(255, 255, 255, .06); padding: 0 14px 0 40px; color: var(--text); outline: none; font-size: 14px; }
.hsearch input:focus { border-color: var(--primary); }
.hsearch svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.hbal-wrap { display: flex; align-items: center; gap: 8px; background: rgb(var(--s-rgb) / .25); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 4px 4px 4px 12px; }
.hbal { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.05; padding-right: 4px; }
.hbal small { font-size: 9px; font-weight: 800; letter-spacing: 1.2px; color: var(--muted); text-transform: uppercase; }
.hbal b { font-size: 14px; color: var(--text-strong); font-weight: 800; white-space: nowrap; }
.btn-green { background: var(--green-grad); color: #fff; box-shadow: 0 6px 18px rgba(34, 197, 94, .25); }
.btn-green:hover { filter: brightness(1.08); }
.btn-green svg, .btn svg.i { width: 16px; height: 16px; }
.hav { width: 40px; height: 40px; border-radius: 12px; background: var(--secondary); display: grid; place-items: center; color: #fff; border: 1px solid rgb(var(--p2-rgb) / .35); }
.hav svg { width: 18px; height: 18px; }
.hchev { width: 28px; height: 40px; display: grid; place-items: center; color: var(--muted); }
.hchev svg { width: 14px; height: 14px; }

/* ---------- Gaveta da conta (direita) ---------- */
.ud-bg { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .6); backdrop-filter: blur(2px); animation: fade .2s; }
.ud { position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 100%; z-index: 96; background: linear-gradient(180deg, #03112b 0%, #020814 100%); border-left: 1px solid var(--card-line);
  overflow-y: auto; padding: 22px 18px 28px; animation: slideIn .25s ease; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.ud-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 10px; color: var(--muted); font-size: 16px; }
.ud-x:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.ud-user { display: flex; align-items: center; gap: 12px; padding-right: 40px; }
.ud-av { width: 52px; height: 52px; border-radius: 14px; background: var(--secondary); display: grid; place-items: center; color: #fff; border: 1px solid rgb(var(--p2-rgb) / .35); flex-shrink: 0; }
.ud-av svg { width: 22px; height: 22px; }
.ud-user b { display: block; color: var(--text-strong); font-weight: 800; text-transform: uppercase; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 250px; }
.ud-user small { color: var(--muted); font-size: 11px; font-family: ui-monospace, monospace; }
.ud-total { margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .06); padding-top: 16px; }
.ud-total > small { font-size: 10px; font-weight: 800; letter-spacing: 1.2px; color: var(--muted); text-transform: uppercase; }
.ud-total .v { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.ud-total .v span { font-size: 22px; font-weight: 800; color: #fff; border-right: 1px solid rgba(255, 255, 255, .12); padding-right: 12px; }
.ud-total .v b { font-size: 30px; font-weight: 900; color: #fff; flex: 1; }
.ud-total .v button { color: var(--muted); font-size: 18px; }
.ud-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.ud-boxes div { background: rgb(var(--s-rgb) / .28); border: 1px solid rgb(var(--p2-rgb) / .18); border-radius: 10px; padding: 8px 10px; }
.ud-boxes small { display: block; font-size: 9px; font-weight: 800; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.ud-boxes b { font-size: 12px; color: var(--text-strong); }
.ud .btn-xl { margin-bottom: 18px; }
.ud-list { display: grid; gap: 4px; }
.ud-item { display: flex; align-items: center; gap: 14px; padding: 9px 8px; border-radius: 12px; width: 100%; text-align: left; transition: background .15s; }
.ud-item:hover { background: rgb(var(--p2-rgb) / .08); }
.ud-item .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--ic-grad); display: grid; place-items: center; color: #fff; flex-shrink: 0; box-shadow: 0 4px 12px rgb(var(--p-rgb) / .3); }
.ud-item .ic svg { width: 18px; height: 18px; }
.ud-item b { display: block; color: var(--text-strong); font-size: 14px; font-weight: 700; }
.ud-item small { color: var(--muted); font-size: 11px; }
.ud-item .chev { margin-left: auto; color: var(--muted); }
.ud-out { margin-top: 18px; width: 100%; height: 44px; border-radius: 12px; border: 1px solid rgba(241, 0, 59, .35); color: #ff5c7f; font-weight: 700; background: rgba(241, 0, 59, .06); }

/* ---------- Componentes de página ---------- */
.ph { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; padding: 22px 24px; margin-bottom: 16px; }
.ph.flat { background: none; border: 0; padding: 4px 0; }
.ph-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--ic-grad); display: grid; place-items: center; color: #fff; flex-shrink: 0; box-shadow: 0 6px 18px rgb(var(--p-rgb) / .35); font-size: 20px; }
.ph-ic svg { width: 22px; height: 22px; }
.ph h1 { margin: 0; font-size: 22px; font-weight: 700; color: var(--text-strong); }
.ph p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.ph .ph-act { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pcard { background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; padding: 22px; margin-bottom: 16px; }
.pc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pc-head .ph-ic { width: 40px; height: 40px; border-radius: 12px; font-size: 17px; }
.pc-head h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--text-strong); }
.pc-head p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.pc-head .right { margin-left: auto; }
.count-pill { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 999px; padding: 3px 10px; font-size: 11px; color: var(--muted); font-weight: 700; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.kcard { background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.kcard .kh { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--text-strong); font-size: 16px; }
.kcard .kh .ph-ic { width: 38px; height: 38px; border-radius: 11px; font-size: 16px; }
.kcard .kv { font-size: 28px; font-weight: 900; color: #fff; }
.kcard .kv small { font-size: 16px; color: var(--muted); font-weight: 800; margin-right: 4px; }
.kcard .ks { color: var(--muted); font-size: 12px; }
.kcard .btn { margin-top: auto; }
.mini { background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .06); border-radius: 14px; padding: 16px; }
.mini > small { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; color: var(--muted); text-transform: uppercase; }
.mini > b { display: block; font-size: 24px; font-weight: 900; color: #fff; margin: 4px 0; }
.mini > span { color: var(--muted); font-size: 12px; }
.seg-tabs { display: flex; gap: 4px; background: rgba(0, 0, 0, .35); border: 1px solid var(--card-line); border-radius: 14px; padding: 4px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.seg-tabs a, .seg-tabs button { flex: 1; min-width: max-content; height: 36px; padding: 0 16px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: 13px; }
.seg-tabs a.active, .seg-tabs button.active { background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgb(var(--p-rgb) / .35); }
.seg-tabs svg { width: 15px; height: 15px; }
.empty-card { background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .06); border-radius: 16px; padding: 38px 20px; text-align: center; }
.empty-card b { display: block; color: var(--text-strong); font-size: 16px; margin-bottom: 4px; }
.empty-card p { color: var(--muted); margin: 0; font-size: 13px; }
.empty-card .ei { width: 46px; height: 46px; border-radius: 14px; background: rgb(var(--p2-rgb) / .12); display: grid; place-items: center; margin: 0 auto 12px; font-size: 20px; }
.btn-xl { height: 50px; width: 100%; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; border-radius: 12px; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgb(var(--p-rgb) / .35); }
.btn-grad:hover { filter: brightness(1.08); }
.btn-grad:disabled, .btn-green:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.flbl { font-size: 10px; font-weight: 800; letter-spacing: 1.2px; color: var(--muted); text-transform: uppercase; }
.field2 { display: grid; gap: 8px; }
.field2 input, .field2 select, .field2 textarea { height: 46px; border-radius: 12px; background: rgb(var(--s-rgb) / .25); border: 1px solid rgb(var(--p2-rgb) / .22); padding: 0 14px; color: var(--text-strong); outline: none; width: 100%; }
.field2 textarea { height: 90px; padding: 12px 14px; resize: vertical; }
.field2 input:focus, .field2 select:focus, .field2 textarea:focus { border-color: var(--primary); }
.info-tile { background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.info-tile small { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.info-tile b { display: block; margin-top: 6px; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-ok { color: var(--primary-2); font-weight: 800; font-size: 12px; }

/* Linhas de histórico (apostas / extrato) */
.lrows { background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .06); border-radius: 16px; overflow: hidden; }
.lrow { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.lrow:last-child { border-bottom: 0; }
.lrow .li { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; }
.lrow .li.out { background: rgba(241, 0, 59, .12); color: #ff4d73; }
.lrow .li.in { background: rgb(var(--p2-rgb) / .12); color: var(--primary-2); }
.lrow b { color: var(--text-strong); font-weight: 700; }
.lrow .meta { color: var(--muted); font-size: 12px; }
.lrow .r { text-align: right; display: grid; gap: 3px; justify-items: end; }
.lrow .amt { font-weight: 800; font-size: 16px; }
.lrow .amt.out { color: #ff4d73; } .lrow .amt.in { color: var(--primary-2); }
.lrow .st { font-size: 11px; color: var(--muted); }
.lrow .st.ok { color: var(--primary-2); } .lrow .st.wait { color: var(--amber); } .lrow .st.bad { color: #ff4d73; }
.lrow .bal { font-size: 11px; color: var(--muted); } .lrow .bal b { font-weight: 700; font-size: 11px; }
.lrow .rid { font-size: 10px; color: var(--muted); font-family: ui-monospace, monospace; }

/* ---------- Modais estilo PNB ---------- */
.modal.mdl { max-width: 400px; padding: 0; overflow: hidden auto; background: linear-gradient(180deg, #04112a 0%, #020814 100%); border-color: var(--card-line); }
.mdl-banner { position: relative; aspect-ratio: 2.25 / 1; overflow: hidden; }
.mdl-banner img { width: 100%; height: 100%; object-fit: cover; }
.mdl-banner::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, #04112a); }
.help-pill { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; padding: 6px 12px; font-size: 11px; font-weight: 800; color: #fff; }
.mdl .close { z-index: 3; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 10px; background: rgba(0, 0, 0, .55); color: #fff; }
.mdl-body { padding: 20px 24px 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.mdl-title { font-size: 22px; font-weight: 900; font-style: italic; color: #fff; text-transform: uppercase; letter-spacing: .2px; display: flex; align-items: center; gap: 10px; margin: 0; }
.mdl-title::before { content: ''; width: 4px; height: 22px; background: var(--primary); border-radius: 2px; transform: skewX(-12deg); }
.mdl-sub { color: var(--muted); font-size: 13px; margin: -8px 0 0; }
.amt-in { display: flex; align-items: center; gap: 10px; height: 62px; border-radius: 14px; background: rgb(var(--s-rgb) / .35); border: 1px solid rgb(var(--p2-rgb) / .3); padding: 0 16px; }
.amt-in span { color: #9fb6d1; font-weight: 800; }
.amt-in input { flex: 1; background: none; border: 0; outline: none; font-size: 24px; font-weight: 700; color: #fff; width: 100%; }
.amt-in:focus-within { border-color: var(--primary); }
.amt-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.amt-chips button { position: relative; height: 40px; border-radius: 11px; background: rgb(var(--s-rgb) / .3); border: 1px solid rgb(var(--p2-rgb) / .25); color: #fff; font-weight: 800; font-size: 13px; }
.amt-chips button:hover, .amt-chips button.on { border-color: var(--primary); background: rgb(var(--p-rgb) / .25); }
.amt-chips button i { position: absolute; top: -8px; right: 6px; font-style: normal; font-size: 8px; font-weight: 900; padding: 2px 6px; border-radius: 6px; background: var(--primary); color: #fff; text-transform: none; }
.ident { display: flex; align-items: center; gap: 12px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 10px 14px; }
.ident .ii { font-size: 16px; opacity: .8; }
.ident small { display: block; color: var(--muted); font-size: 10px; font-family: ui-monospace, monospace; letter-spacing: .5px; }
.ident b { color: #cfe0ff; font-weight: 600; font-size: 13px; }
.ident .sh { margin-left: auto; opacity: .6; }
.promo-box { display: flex; gap: 10px; min-width: 0; padding: 14px; border-radius: 14px; border: 1px solid rgb(var(--p2-rgb) / .3);
  background: radial-gradient(120% 140% at 100% 50%, rgba(34, 197, 94, .35) 0%, rgba(4, 17, 42, 0) 55%), linear-gradient(90deg, #04112a 0%, #06204a 100%); background-size: cover; background-position: right center; }
.promo-box .pin { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .08); border-radius: 11px; padding: 0 12px; height: 44px; }
.promo-box .pin input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; }
.promo-box .btn { height: 44px; padding: 0 22px; font-weight: 900; letter-spacing: 1px; }
.pct-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pct-chips button { height: 36px; border-radius: 10px; background: rgb(var(--s-rgb) / .3); border: 1px solid rgb(var(--p2-rgb) / .22); color: #cfe0ff; font-weight: 700; font-size: 12px; }
.pct-chips button:hover { border-color: var(--primary); }
.key-type { height: 64px; border-radius: 12px; border: 1px solid var(--primary); background: rgb(var(--p-rgb) / .12); display: grid; place-items: center; align-content: center; gap: 2px; color: var(--primary-2); font-size: 11px; font-weight: 800; }
.fee { display: flex; justify-content: space-between; font-size: 12px; color: #9fb6d1; padding: 0 4px; }
.fee b { color: var(--primary-2); }
.nota-box { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: grid; gap: 6px; }
.nota-box div { background: rgba(4, 12, 30, .85); border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; padding: 8px 12px; font-size: 11px; color: #cfe0ff; }
.nota-box .sec { text-align: center; color: #9fb6d1; }
.pix-screen { text-align: center; display: grid; gap: 12px; }
.pix-screen .qr { margin: 4px auto; }

/* ---------- Cassino: listas ---------- */
.cat-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cat-lbl { display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding-right: 6px; }
.cat-lbl .ph-ic { width: 38px; height: 38px; border-radius: 11px; font-size: 15px; }
.cat-lbl b { display: block; color: var(--text-strong); font-size: 13px; }
.cat-lbl small { color: var(--muted); font-size: 9px; letter-spacing: 1.2px; font-weight: 800; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; flex: 1; }
.cat-chips a { flex-shrink: 0; height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 11px; background: rgb(var(--s-rgb) / .22); border: 1px solid rgb(var(--p2-rgb) / .18); color: #cfe0ff; font-weight: 600; font-size: 13px; }
.cat-chips a.active { background: rgb(var(--s-rgb) / .6); border-color: var(--primary); color: #fff; font-weight: 800; }
.tools { display: grid; grid-template-columns: 1fr auto 220px 160px; gap: 10px; margin-bottom: 16px; }
.tools .ts { position: relative; }
.tools .ts input { width: 100%; height: 44px; border-radius: 12px; background: rgb(var(--s-rgb) / .22); border: 1px solid rgb(var(--p2-rgb) / .18); padding: 0 14px 0 40px; color: #fff; outline: none; }
.tools .ts svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.tools .tc { height: 44px; display: flex; align-items: center; padding: 0 16px; border-radius: 12px; background: rgb(var(--s-rgb) / .22); border: 1px solid rgb(var(--p2-rgb) / .18); color: #cfe0ff; font-weight: 600; white-space: nowrap; }
.tools select { height: 44px; border-radius: 12px; background: rgb(var(--s-rgb) / .22); border: 1px solid rgb(var(--p2-rgb) / .18); padding: 0 12px; color: #fff; outline: none; }
.grid-games.pnb { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.grid-games.pnb .game { width: auto; }
.more-wrap { text-align: center; margin-top: 22px; display: grid; gap: 8px; justify-items: center; color: var(--muted); font-size: 12px; }

/* Provedores */
.prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.prov-card { background: #000; border: 1px solid var(--card-line); border-radius: 18px; padding: 26px 20px 20px; display: grid; justify-items: center; gap: 14px; transition: border-color .15s, transform .15s; }
.prov-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.prov-card .logo-box { height: 64px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 22px; text-align: center; }
.prov-card .logo-box img { max-height: 64px; max-width: 180px; object-fit: contain; }
.prov-card small { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .8px; }
.prov-card small b { color: #fff; }

/* Página do jogo */
.gp { background: #000; border: 1px solid var(--card-line); border-radius: 18px; overflow: hidden; }
.gp-frame { position: relative; aspect-ratio: 16 / 9; background: #000; display: grid; place-items: center; }
.gp-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gp-frame .gp-cover { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 20px; }
.gp-frame .gp-cover img { width: 150px; border-radius: 14px; box-shadow: var(--shadow); }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgb(var(--p2-rgb) / .2); border-top-color: var(--primary); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gp-bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; background: var(--card-2); }
.gp-bar b { display: block; color: var(--text-strong); font-size: 16px; }
.gp-bar small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.gp-bar .acts { margin-left: auto; display: flex; gap: 6px; }
.gp-bar .acts button, .gp-bar .acts a { height: 36px; padding: 0 12px; border-radius: 10px; display: flex; align-items: center; gap: 8px; color: #9fb6d1; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.gp-bar .acts button:hover, .gp-bar .acts a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.gp-bar .acts .fav-on { color: #ff4d73; }

/* Esportes (sportsbook externo) */
.sb-frame { width: 100%; height: calc(100vh - var(--topbar-h) - var(--header-h) - 40px); min-height: 560px; border: 0; border-radius: 16px; background: #000; display: block; }

/* ---------- Torneios ---------- */
.t-hero { border-radius: 18px; overflow: hidden; border: 1px solid var(--card-line); background: var(--card); margin-bottom: 16px; }
.t-hero .art { aspect-ratio: 2.7 / 1; max-height: 420px; background: linear-gradient(120deg, #0a2a6b, #020814); }
.t-hero .art img { width: 100%; height: 100%; object-fit: cover; }
.t-hero .bar { display: grid; grid-template-columns: 1fr auto 260px; gap: 16px; align-items: center; padding: 16px 20px; }
.t-hero .bar > div > b { display: block; color: #fff; font-weight: 900; text-transform: uppercase; font-size: 16px; }
.t-hero .bar .tp { color: #fff; font-size: 13px; font-weight: 700; } .t-hero .bar .tp em { font-style: normal; color: var(--primary-2); margin-left: 6px; }
.t-count { display: flex; align-items: center; gap: 10px; background: #000; border: 1px solid var(--card-line); border-radius: 12px; padding: 10px 16px; color: var(--muted); font-size: 12px; font-weight: 700; }
.t-count b { font-size: 20px; color: #fff; font-weight: 900; font-variant-numeric: tabular-nums; }
.t-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.t-card { background: var(--card-2); border: 1px solid var(--card-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.t-card .art { position: relative; aspect-ratio: 2.7 / 1; background: linear-gradient(120deg, #0a2a6b, #020814); }
.t-card .art img { width: 100%; height: 100%; object-fit: cover; }
.t-card .tags { position: absolute; left: 8px; top: 8px; display: flex; gap: 4px; }
.t-card .tags span { font-size: 8px; font-weight: 900; padding: 3px 6px; border-radius: 4px; background: var(--primary); color: #fff; text-transform: uppercase; }
.t-card .tags span.soon { background: var(--amber); color: #111; } .t-card .tags span.end { background: #3b4b63; }
.t-card .players { position: absolute; right: 8px; bottom: 8px; font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 6px; background: var(--primary); color: #fff; }
.t-card .tb { padding: 12px 14px 14px; display: grid; gap: 10px; }
.t-card h4 { margin: 0; text-align: center; color: #fff; font-weight: 900; text-transform: uppercase; font-size: 14px; }
.t-card .pz { display: flex; justify-content: center; gap: 14px; font-size: 11px; color: #cfe0ff; font-weight: 700; }
.t-card .pz span { display: flex; align-items: center; gap: 4px; }
.t-card .ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #000; border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 8px 8px 8px 12px; }
.t-card .ft small { display: block; font-size: 9px; font-weight: 800; color: var(--muted); letter-spacing: 1px; }
.t-card .ft b { color: #fff; font-size: 14px; }
.medal { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 9px; font-weight: 900; color: #111; background: linear-gradient(180deg, #ffd76a, #c99212); }
.medal.m2 { background: linear-gradient(180deg, #e9eef5, #9aa6b8); } .medal.m3 { background: linear-gradient(180deg, #f0b27a, #a8622c); }
.t-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.t-stats .mini > b { font-size: 18px; }
.rank-tbl { width: 100%; border-collapse: collapse; }
.rank-tbl th { text-align: left; font-size: 10px; font-weight: 800; letter-spacing: 1px; color: var(--muted); padding: 8px 10px; text-transform: uppercase; }
.rank-tbl td { padding: 10px; border-top: 1px solid rgba(255, 255, 255, .05); color: #e6eefc; }
.rank-tbl td.r { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.rank-tbl tr.me td { background: rgb(var(--p-rgb) / .12); }
.prose-rules { color: #b8c6d8; font-size: 13px; white-space: pre-line; }

/* ---------- Loja ---------- */
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.st-card { background: var(--card-2); border: 1px solid var(--card-line); border-radius: 18px; padding: 16px; display: grid; gap: 10px; }
.st-card .top { display: flex; gap: 12px; align-items: flex-start; }
.st-card .art { width: 58px; height: 58px; border-radius: 14px; background: radial-gradient(circle at 30% 30%, var(--primary-2) 0%, #0b2a6b 70%); display: grid; place-items: center; font-size: 28px; flex-shrink: 0; overflow: hidden; }
.st-card .art img { width: 100%; height: 100%; object-fit: cover; }
.st-card h4 { margin: 0; color: #fff; font-size: 17px; font-weight: 800; }
.st-card p { margin: 2px 0 0; color: #9fb6d1; font-size: 12px; }
.st-card .badge2 { margin-left: auto; font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: rgb(var(--p-rgb) / .2); border: 1px solid rgb(var(--p2-rgb) / .45); color: #cfe0ff; white-space: nowrap; }
.st-card .badge2.lim { background: rgba(245, 179, 1, .12); border-color: rgba(245, 179, 1, .45); color: #ffd76a; }
.st-card .badge2.new { background: rgba(34, 197, 94, .12); border-color: rgba(34, 197, 94, .45); color: #7ef0a8; }
.st-card .rw { background: rgb(var(--p-rgb) / .1); border: 1px solid rgb(var(--p2-rgb) / .3); border-radius: 10px; padding: 9px 12px; color: var(--primary-2); font-weight: 800; font-size: 13px; }
.st-card .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.st-card .cell { background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .06); border-radius: 10px; padding: 8px 12px; }
.st-card .cell small { display: block; font-size: 10px; color: var(--muted); font-weight: 600; }
.st-card .cell b { color: #fff; font-size: 13px; }
.st-card .acts { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.how .mini b { font-size: 15px; }

/* ---------- Missões ---------- */
.ms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.ms-card { background: linear-gradient(160deg, #0a2a6b 0%, #051534 55%, #030b1c 100%); border: 1px solid rgb(var(--p2-rgb) / .35); border-radius: 18px; padding: 16px; display: grid; gap: 10px; }
.ms-card .top { display: flex; gap: 14px; align-items: center; }
.ms-card .art { width: 64px; height: 76px; border-radius: 12px; background: linear-gradient(160deg, #ff7ad9, #7c3aed); display: grid; place-items: center; font-size: 30px; flex-shrink: 0; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); overflow: hidden; }
.ms-card .art img { width: 100%; height: 100%; object-fit: cover; }
.ms-card h4 { margin: 0; color: #fff; font-size: 17px; font-weight: 800; }
.ms-card p { margin: 2px 0 0; color: #b8c6d8; font-size: 12px; }
.ms-card .rw { background: rgba(0, 0, 0, .3); border: 1px solid rgb(var(--p2-rgb) / .3); border-radius: 10px; padding: 9px 12px; color: var(--primary-2); font-weight: 800; font-size: 13px; }
.ms-card .acts { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.ms-card .dur { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-weight: 700; }
.ms-card .dur b { color: #fff; font-variant-numeric: tabular-nums; }
.bar-pct { height: 8px; border-radius: 8px; background: rgba(0, 0, 0, .4); overflow: hidden; }
.bar-pct i { display: block; height: 100%; background: var(--grad); border-radius: 8px; }

/* ---------- Indique e ganhe ---------- */
.inv-hero { position: relative; overflow: hidden; }
.inv-hero .gift { position: absolute; right: 24px; bottom: 10px; font-size: 92px; filter: drop-shadow(0 10px 24px rgba(124, 92, 255, .5)); }
.chip-lbl { display: inline-flex; align-items: center; gap: 6px; background: rgb(var(--p-rgb) / .18); border: 1px solid rgb(var(--p2-rgb) / .4); color: #cfe0ff; font-size: 10px; font-weight: 900; letter-spacing: 1px; padding: 4px 10px; border-radius: 8px; text-transform: uppercase; }
.rules-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.rules-list li { display: flex; gap: 10px; align-items: center; color: #b8c6d8; font-size: 13px; }
.rules-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.copy2 { display: flex; gap: 8px; }
.copy2 input { flex: 1; height: 46px; border-radius: 12px; background: rgba(0, 0, 0, .4); border: 1px solid rgb(var(--p2-rgb) / .25); padding: 0 14px; color: #fff; outline: none; min-width: 0; }
.tbl2 { width: 100%; border-collapse: collapse; }
.tbl2 th { text-align: left; font-size: 10px; font-weight: 800; letter-spacing: 1px; color: var(--muted); padding: 10px; text-transform: uppercase; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.tbl2 td { padding: 12px 10px; border-bottom: 1px solid rgba(255, 255, 255, .04); color: #e6eefc; font-size: 13px; }
.tbl2 td small { display: block; color: var(--muted); font-size: 11px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: #cfe0ff; }
.tag.ok { background: rgba(34, 197, 94, .12); color: #7ef0a8; } .tag.wait { background: rgba(245, 179, 1, .12); color: #ffd76a; } .tag.bad { background: rgba(241, 0, 59, .12); color: #ff7a95; }
.tbl-scroll { overflow-x: auto; }

/* ---------- Central de Ajuda ---------- */
.docs { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; }
.docs-nav { background: var(--card-2); border: 1px solid var(--card-line); border-radius: 16px; padding: 14px; display: grid; gap: 4px; position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 16px); }
.docs-nav h4 { margin: 4px 8px 8px; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.docs-nav a { padding: 10px 12px; border-radius: 10px; color: #cfe0ff; font-size: 14px; font-weight: 600; }
.docs-nav a.active { background: var(--grad); color: #fff; }
.docs-main { background: var(--card-2); border: 1px solid var(--card-line); border-radius: 18px; padding: 28px 32px; }
.docs-main h1 { font-size: 34px; font-weight: 900; font-style: italic; text-transform: uppercase; color: #fff; margin: 0 0 18px; line-height: 1.1; }
.docs-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 12px 16px; margin-bottom: 22px; }
.docs-meta small { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1px; color: var(--muted); }
.docs-meta b { color: #fff; }
.docs-meta .acts { display: flex; gap: 8px; }
.prose { color: #c4d0df; font-size: 15px; line-height: 1.7; }
.prose h2 { color: #fff; font-size: 22px; font-weight: 800; margin: 30px 0 10px; }
.prose p { margin: 14px 0; } .prose ul { margin: 14px 0; padding-left: 22px; } .prose li { margin: 6px 0; }
.prose strong { color: #fff; }

/* ---------- Status do jogador ---------- */
.acc-hero { display: flex; gap: 20px; align-items: center; }
.acc-av { width: 92px; height: 92px; border-radius: 16px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--muted); font-size: 11px; position: relative; flex-shrink: 0; }
.acc-av .ed { position: absolute; right: -6px; bottom: -6px; width: 24px; height: 24px; border-radius: 8px; background: var(--primary); display: grid; place-items: center; color: #fff; font-size: 12px; }
.acc-hero h2 { margin: 0 0 10px; font-size: 26px; font-weight: 900; font-style: italic; text-transform: uppercase; color: #fff; line-height: 1.1; }
.mail-chip { display: inline-block; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .12); color: #cfe0ff; text-transform: uppercase; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.radio-cards button { height: 46px; border-radius: 12px; background: rgb(var(--s-rgb) / .22); border: 1px solid rgb(var(--p2-rgb) / .18); color: #cfe0ff; font-weight: 800; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; }
.radio-cards button.on { border-color: var(--primary); background: rgb(var(--p-rgb) / .22); color: #fff; }
.limit-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; }
.limit-row b { color: #fff; } .limit-row small { color: var(--muted); display: block; font-size: 12px; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .hsearch { display: none; }
}
@media (max-width: 1100px) {
  .tools { grid-template-columns: 1fr auto; }
  .tools select { grid-column: span 1; }
  .t-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hsearch { display: none; }
  .grid3, .grid2, .how { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .docs-nav { position: static; }
  .t-hero .bar { grid-template-columns: 1fr; }
  .rules-list { grid-template-columns: 1fr; }
  .ph { padding: 16px; }
  .ph .ph-act { margin-left: 0; }
  .ph { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .hbal-wrap { padding-left: 8px; }
  .hbal small { display: none; }
  .btn-green .txt { display: none; }
  .hchev { display: none; }
  .amt-chips { grid-template-columns: repeat(3, 1fr); }
  .tools { grid-template-columns: 1fr 1fr; }
  .tools .ts { grid-column: 1 / -1; }
  .lrow { grid-template-columns: 30px 1fr; }
  .lrow .r { grid-column: 2; justify-items: start; text-align: left; }
  .acc-hero { flex-direction: column; align-items: flex-start; }
  .docs-main { padding: 20px; }
  .docs-main h1 { font-size: 24px; }
  .gp-bar { flex-wrap: wrap; }
  .gp-bar .acts { margin-left: 0; }
}
.pcard.slim { padding: 14px 18px; margin-bottom: 12px; }
.pcard.slim .pc-head { margin-bottom: 0; }
.mode-tabs svg.i { width: 16px; height: 16px; }
.mode-tabs a { display: inline-flex; align-items: center; gap: 6px; }
.ph.flat { flex-wrap: nowrap; }
@media (max-width: 600px) { .ph.flat h1 { font-size: 19px; } .ph.flat p { font-size: 12px; } }

/* ---------- Top 10 (número em degradê atrás do card, como na referência) ---------- */
.top-game { --tw: 150px; position: relative; display: inline-block; flex-shrink: 0; padding-left: calc(var(--tw) * 4 / 3 * .75 * var(--rr) * .85); }
.top-game .rank { position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: calc(var(--tw) * 4 / 3 * .75); z-index: 0; pointer-events: none; display: flex; }
.top-game .rank svg { height: 100%; width: auto; display: block; overflow: visible; }
.game { display: block; }
.top-game .game { position: relative; z-index: 1; width: var(--tw); border: 0; border-radius: 15px; }
@media (max-width: 1023px) { .top-game { --tw: 130px; } }
@media (max-width: 767px) { .top-game { --tw: 94px; } }

/* selo dos cards ("EM ALTA", "AO VIVO"...) encaixado no topo, como na referência */
.game .badge { top: 0; border-radius: 0 0 10px 10px; padding: 3px 11px 4px; font-size: 9px; font-weight: 900; background: linear-gradient(180deg, var(--primary-2), var(--primary-3)); box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.game .badge.live { background: linear-gradient(180deg, #ff2d5a, #c8002e); }
.top-game .rank img { height: 100%; width: auto; max-width: none; display: block; object-fit: contain; object-position: left; user-select: none; }
.top-game .rank img + svg { display: none; }
/* fundo original do cupom (public/img/pnb/promocode-bg.webp) por cima do degradê, quando existir */
.promo-box { background-image: url('/img/pnb/promocode-bg.webp'), radial-gradient(120% 140% at 100% 50%, rgba(34, 197, 94, .35) 0%, rgba(4, 17, 42, 0) 55%), linear-gradient(90deg, #04112a 0%, #06204a 100%); background-size: cover, auto, auto; background-position: right center; }
.inv-hero .gift-img { position: absolute; right: 18px; bottom: 0; height: 150px; width: auto; }
.inv-hero .gift-img + .gift { display: none; }

/* ---------- Rodapé: linha de separação no topo, mesma distância do conteúdo da referência ---------- */
.main { padding-bottom: 0; }
.footer { margin-top: 40px; padding-top: 0; }
.footer .inner { border-top: 1px solid rgba(255, 255, 255, .05); padding-top: 32px; }
@media (max-width: 767px) {
  .footer { margin-top: 26px; }
  .footer .inner { padding-top: 24px; }
}
@media (max-width: 720px) {
  .footer { padding-left: 12px; padding-right: 12px; }
}

/* ---------- Rodapé: linha final e "Voltar ao topo" (medidas da referência) ---------- */
.footer .inner { position: relative; padding-bottom: 40px; }
.footer .foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: nowrap; margin-top: 24px; }
.footer .age18 { display: flex; align-items: center; gap: 16px; }
.footer .age18 > b { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; border: 4px solid rgb(var(--s-rgb) / .6); background: rgba(0, 0, 0, .6); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; color: var(--text); }
.footer .age18 > div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer .age18 > div span { font-size: 10px; line-height: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.footer .age18 > div strong { font-size: 12px; line-height: 16px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; color: var(--text); }
.footer .copy-line { margin: 0; max-width: 100%; white-space: nowrap; text-align: right; font-size: 10px; line-height: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.footer .to-top { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 5; margin: 0; width: auto; height: 56px; padding: 0 32px; display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255, 255, 255, .05); border-bottom: 0; border-radius: 12px 12px 0 0; background: rgb(var(--s-rgb) / .3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 12px; font-weight: 700; letter-spacing: normal; text-transform: uppercase; color: var(--text); transition: background .2s; }
.footer .to-top:hover { background: rgb(var(--s-rgb) / .4); color: var(--text); }
.footer .to-top svg { transition: transform .3s; }
.footer .to-top:hover svg { transform: translateY(-4px); }
@media (max-width: 767px) {
  .footer .inner { padding-bottom: 80px; }
  .footer .to-top { display: none; }
}
@media (max-width: 639px) {
  .footer .foot-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer .copy-line { text-align: center; white-space: normal; }
}
/* caixa "Informações legais" com o texto branco da referência */
.footer .legal { background: rgba(0, 0, 0, .5); }
.footer .legal-body { font-size: 10px; line-height: 1.625; color: #fff; }

/* ---------- Header (medidas e efeitos da referência) ---------- */
/* botão "vidro": borda clara em degradê + fundo em degradê + brilho no topo */
.gloss-blue, .mode-tabs a.active, .gloss-green, .hbal-wrap .btn-green { border: 1px solid transparent; box-shadow: none; }
.gloss-blue, .mode-tabs a.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, 0) 100%) padding-box,
    linear-gradient(180deg, var(--primary) 0%, var(--primary-mid, #0a63ef) 50%, var(--primary-dark) 100%) padding-box,
    linear-gradient(to bottom right, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .1) 50%, rgba(0, 0, 0, .4) 100%) border-box,
    linear-gradient(var(--primary), var(--primary)) border-box; }
.gloss-green, .hbal-wrap .btn-green {
  background: linear-gradient(180deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, 0) 100%) padding-box,
    linear-gradient(180deg, #10b981 0%, #10b981 50%, #0b825a 100%) padding-box,
    linear-gradient(to bottom right, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .1) 50%, rgba(0, 0, 0, .4) 100%) border-box,
    linear-gradient(#10b981, #10b981) border-box; }
.header { padding: 0; gap: 0; border-bottom-color: rgba(255, 255, 255, .1); }
.header-left { width: 240px; padding: 0 16px; gap: 8px; }
.header-left .icon-btn { width: 40px; height: 40px; border-radius: 6px; margin-left: auto; color: rgba(217, 223, 229, .5); }
.header-left .icon-btn:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.hdiv { width: 1px; height: 32px; background: rgba(255, 255, 255, .1); flex-shrink: 0; }
.mode-tabs { margin-left: 16px; height: 40px; padding: 2px; gap: 0; border: 1px solid rgba(255, 255, 255, .05); border-radius: 12px; background: rgb(var(--s-rgb) / .3); }
.mode-tabs a { flex: 1; min-width: 104px; height: 100%; padding: 0 16px; gap: 8px; justify-content: center; border-radius: 9px; font-size: 12px; font-weight: 700; line-height: 16px; color: #6a839d; transition: color .2s; }
.mode-tabs a:not(.active):hover { color: var(--text); }
.mode-tabs a.active { color: #f4f9ff; }
.mode-tabs a svg.i { width: 18px; height: 18px; }
.hsearch { margin-left: 8px; }
.hsearch input { border-color: rgba(255, 255, 255, .05); background: rgb(var(--s-rgb) / .3); }
body.is-home .hsearch { display: none; }
.header-actions { padding: 0 16px; gap: 8px; }
.hbal-wrap { height: 40px; gap: 8px; padding: 2px 2px 2px 8px; border: 1px solid rgba(255, 255, 255, .05); border-radius: 12px; background: rgb(var(--s-rgb) / .3); }
.hbal { padding-right: 0; align-items: flex-end; }
.hbal small { font-size: 10px; line-height: 10px; font-weight: 600; letter-spacing: .14em; color: #6a839d; }
.hbal b { font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: -.025em; color: var(--text); font-variant-numeric: tabular-nums; }
.hbal-wrap .btn-green { height: 34px; padding: 0 16px; gap: 8px; border-radius: 9px; font-size: 12px; font-weight: 700; color: #fff; }
.hbal-wrap .btn-green svg.i { width: 16px; height: 16px; opacity: .9; }
.hacc { height: 40px; display: flex; align-items: center; gap: 6px; padding: 2px 8px 2px 2px; border: 1px solid rgba(255, 255, 255, .05); border-radius: 12px; background: rgb(var(--s-rgb) / .3); transition: border-color .2s; }
.hacc:hover { border-color: rgba(255, 255, 255, .1); }
.hacc .hav { width: 34px; height: 34px; border: 0; border-radius: 9px; background: rgb(var(--s-rgb) / .8); display: grid; place-items: center; color: #fff; }
.hacc .hav svg.i { width: 16px; height: 16px; }
.hacc .hchv { height: 100%; min-width: 32px; padding: 0 8px; display: grid; place-items: center; border-radius: 9px; color: #6a839d; transition: background .2s, color .2s; }
.hacc:hover .hchv { background: rgba(0, 0, 0, .6); color: var(--text); }
.hacc .hchv svg.i { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .header-left { width: auto; padding: 0 0 0 12px; }
  .header-left .icon-btn { margin-left: 0; }
  .hdiv { display: none; }
  .header-actions { padding: 0 12px; }
}
@media (max-width: 600px) {
  .hbal-wrap .btn-green { padding: 0 10px; }
  .hacc { padding-right: 2px; }
  .hacc .hchv { display: none; }
}

/* ---------- Ícones da referência nos títulos, setas e listas ---------- */
.section-head h2 a { display: flex; align-items: center; gap: 12px; color: inherit; }
/* quadrado do ícone: cor da seção + borda clara em degradê + brilho em cima + reflexo embaixo (igual à referência) */
.section-head h2 { min-width: 0; }
.section-head h2 .sh-t { min-width: 0; }
.section-head h2 .sq { --sq: var(--primary); position: relative; display: block; width: 40px; height: 40px; border: 0; border-radius: 12px; overflow: hidden;
  background: var(--sq); color: #fff; flex-shrink: 0; pointer-events: none; }
.section-head h2 .sq::before { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .1) 50%, rgba(0, 0, 0, .35) 100%); }
.section-head h2 .sq::after { content: ""; position: absolute; inset: 1px; border-radius: inherit;
  background:
    radial-gradient(ellipse 75% 62% at 50% 100%, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .05) 55%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, .12) 100%),
    var(--sq); }
.section-head h2 .sq .sq-ic { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.section-head h2 .sq svg.i { width: 20px; height: 20px; }
.section-head h2 .sq img { width: 24px; height: 24px; object-fit: contain; }
/* setas + "ver todos" à direita: setas juntas (4px) e o "+" separado (8px) */
.section-head .actions { gap: 8px; flex-shrink: 0; }
.section-head .actions .arrows { display: flex; align-items: center; gap: 4px; }
.arrow-btn.see-all svg.i { width: 18px; height: 18px; }
@media (max-width: 639px) {
  .section-head h2 { font-size: 15px; }
  .section-head h2 .sq { width: 30px; height: 30px; }
  .section-head h2 .sq svg.i { width: 16px; height: 16px; }
  .section-head h2 .sq img { width: 20px; height: 20px; }
  .section-head .actions .arrows { display: none; }
  .section-head .actions .arrow-btn { width: 30px; height: 30px; }
  .arrow-btn.see-all svg.i { width: 16px; height: 16px; }
}
.arrow-btn { width: 40px; height: 40px; border-radius: 12px; background: rgb(var(--s-rgb) / .3); border: 1px solid rgba(255, 255, 255, .05); color: #6a839d; display: grid; place-items: center; transition: color .2s, border-color .2s; }
.arrow-btn:hover { color: var(--text); border-color: rgba(255, 255, 255, .1); }
.arrow-btn svg.i { width: 16px; height: 16px; }
.ud-out { display: flex; align-items: center; justify-content: center; gap: 8px; }
.ud-out svg.i { width: 16px; height: 16px; }
.ident .ii svg.i, .ident .sh svg.i { width: 18px; height: 18px; color: #9fb6d1; }
.nota-box .sec svg.i { width: 13px; height: 13px; vertical-align: -2px; color: var(--primary-2); }
.t-card .players svg.i { width: 11px; height: 11px; vertical-align: -1px; }
.t-count svg.i { width: 15px; height: 15px; color: var(--primary-2); }
.mini > small svg.i { width: 12px; height: 12px; vertical-align: -2px; color: var(--primary-2); }
.cat-bar .arrow-btn { flex-shrink: 0; }
.header-left .icon-btn svg.i { width: 20px; height: 20px; }
.empty-card .ei { color: var(--primary-2); }
.empty-card .ei svg.i, .pcard .ei svg.i { width: 22px; height: 22px; color: var(--primary-2); }
.pcard > div > .ei { width: 52px; height: 52px; border-radius: 16px; background: rgb(var(--p2-rgb) / .12); display: grid; place-items: center; }
.lrow .li svg.i { width: 16px; height: 16px; }
.lrow .li.in svg.i { transform: rotate(180deg); }
.lrow .li.in:has(use[href="#ic-gift"]) svg.i, .lrow .li.in:has(use[href="#ic-mission"]) svg.i, .lrow .li.in:has(use[href="#ic-shield"]) svg.i { transform: none; }
.st-card .art svg.i { width: 28px; height: 28px; color: #fff; }
.ms-card .art svg.i { width: 30px; height: 30px; color: #fff; }
.inv-hero .gift { font-size: 0; color: #7c5cff; }
.inv-hero .gift svg.i { width: 110px; height: 110px; filter: drop-shadow(0 10px 24px rgba(124, 92, 255, .5)); }
.chip-lbl svg.i, .rw svg.i, .st-card .cell b svg.i, .mini > b svg.i, #pixStatus svg.i { width: 15px; height: 15px; vertical-align: -2px; }
.info-tile small svg.i { width: 12px; height: 12px; color: var(--primary-2); }
.game .badge svg.i { width: 9px; height: 9px; margin-right: 3px; vertical-align: -1px; }
.modal .tabs svg.i { width: 15px; height: 15px; vertical-align: -2px; }
.ud-item .chev { font-size: 18px; }

/* ---------- Barra de anúncio do topo (medidas da referência) ---------- */
:root { --topbar-h: 42.4px; }
body.no-topbar { --topbar-h: 0px; }
.topbar { display: block; height: auto; min-height: 36px; padding: 6px 0; background: linear-gradient(90deg, var(--tb-from, rgb(23, 178, 106)) 0%, var(--tb-to, rgb(21, 112, 239)) 100%); color: var(--tb-text, #fff);
  border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); font-size: 14px; font-weight: 400; line-height: 20px; text-transform: none; letter-spacing: normal; }
.topbar.hidden { display: none; }
.topbar .tb-inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 40px 0 16px; min-height: 29.6px; cursor: pointer; }
.topbar .bell { flex-shrink: 0; opacity: 1; }
.topbar .txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.topbar .cta { flex-shrink: 0; background: #fff; color: #000; border: 1px solid rgba(0, 0, 0, .1); border-radius: 6px; padding: 6px 12px; font-size: 12px; line-height: 16px; font-weight: 600; text-transform: none; transition: opacity .2s; }
.topbar .cta:hover { opacity: .9; }
.topbar .x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 6px; color: currentColor; opacity: .8; font-size: 0; transition: opacity .2s, background .2s; }
.topbar .x:hover { opacity: 1; background: rgba(0, 0, 0, .1); }
@media (max-width: 639px) {
  .topbar .tb-inner { padding: 0 40px 0 12px; justify-content: flex-start; }
  .topbar .x { right: 8px; }
}

/* ---------- Sem barras de rolagem sobrando ---------- */
/* menu lateral: continua rolando, só a barra fica escondida */
.sidebar { scrollbar-width: none; -ms-overflow-style: none; }
.sidebar::-webkit-scrollbar { display: none; width: 0; height: 0; }
/* títulos do menu ("ATALHOS DE CASSINO"...) com a linha fina depois do texto, como na referência */
.side-title { display: flex; align-items: center; padding-left: 8px; padding-right: 8px; white-space: nowrap; }
/* borda em vez de fundo: o navegador encaixa a borda no pixel da tela, então todas as linhas saem com a mesma espessura (mesmo com zoom) */
.side-title::after { content: ""; flex: 1; min-width: 0; height: 0; margin-left: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
/* nada do conteúdo pode empurrar a página para os lados (a referência corta da mesma forma) */
.content { overflow-x: clip; }

/* ---------- Luz azul de fundo da área da plataforma (igual à referência) ---------- */
/* elipse que nasce no canto de cima/esquerda (atrás do cabeçalho) e some até a metade da página */
.content { background: radial-gradient(ellipse at 0 calc(-1 * (var(--topbar-h) + var(--header-h))), rgb(var(--glow-rgb, var(--s-rgb)) / calc(.15 * var(--glow-k, 1))), transparent 50%); }
/* rodapé: dois brilhos azuis bem fracos (embaixo à esquerda e em cima à direita) */
.footer { position: relative; isolation: isolate; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at calc(20% + 250px) calc(120% - 250px), rgb(var(--glow2-rgb, var(--p-rgb)) / calc(.04 * var(--glow-k, 1))) 0, rgb(var(--glow2-rgb, var(--p-rgb)) / calc(.04 * var(--glow-k, 1))) 130px, transparent 370px),
    radial-gradient(circle at calc(110% - 200px) calc(10% + 200px), rgb(var(--glow-rgb, var(--s-rgb)) / calc(.04 * var(--glow-k, 1))) 0, rgb(var(--glow-rgb, var(--s-rgb)) / calc(.04 * var(--glow-k, 1))) 80px, transparent 320px); }
/* rodapé: a coluna "Ajuda" fica do tamanho do botão "Suporte ao vivo", as outras dividem o resto */
@media (min-width: 640px) { .footer .foot-links { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } }

/* ---------- Atalhos redondos da inicial (medidas da referência: arte 65px, nome 14px, 12px entre eles) ---------- */
.cats-wrap { position: relative; margin: 0 0 12px; }
.cats { display: block; overflow-x: auto; overflow-y: hidden; padding: 0 2px; margin: 0 -2px; scrollbar-width: none; justify-content: normal; gap: 0; }
.cats::-webkit-scrollbar { display: none; }
.cats-in { display: flex; width: max-content; min-width: 100%; justify-content: center; gap: 12px; }
.cats .cat { display: flex; flex-direction: column; align-items: center; gap: 2px; flex-shrink: 0; width: 65px; min-width: 65px; max-width: 65px; color: var(--text); }
.cats .cat-img { display: flex; width: 65px; height: 65px; align-items: center; justify-content: center; border-radius: 16px; }
.cats .cat-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease-out; -webkit-user-drag: none; }
.cats .cat:hover .cat-img img { transform: scale(1.03); }
.cats .cat-name { display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-size: 14px; line-height: 1.35; font-weight: 500; color: var(--text); }
.cats.dragging { cursor: grabbing; }
.cats.dragging a { pointer-events: none; }
.cats-wrap .lc-arrow.prev { left: 8px; }
.cats-wrap .lc-arrow.next { right: 8px; }
@media (min-width: 1024px) { .cats-wrap:hover .lc-arrow { opacity: 1; pointer-events: auto; } }
.searchbar { margin: 0 0 16px; }
@media (min-width: 768px) { .cats .cat { gap: 8px; } }
@media (max-width: 767px) {
  .cats-wrap { margin-bottom: 6px; }
  .searchbar { margin-bottom: 12px; }
}
@media (max-width: 720px) {
  .cats { margin: 0 -12px; padding: 0 12px; }
}

/* ---------- Banners da inicial: altura fixa e um ao lado do outro, em loop (referência: 300px / 150px no celular) ---------- */
.banners { display: block; overflow: hidden; grid-auto-flow: initial; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.bn-track { display: flex; gap: 16px; will-change: transform; }
.bn-track.anim { transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.banners .banner { flex: 0 0 auto; height: 300px; width: auto; aspect-ratio: 1440 / 640; border: 0; border-radius: 16px; scroll-snap-align: none; -webkit-user-drag: none; }
.banners .banner img { -webkit-user-drag: none; }
.banners.loop { cursor: grab; }
.banners.dragging { cursor: grabbing; }
.banners.dragging .banner { pointer-events: none; }
@media (max-width: 767px) {
  .bn-track { gap: 10px; }
  .banners .banner { height: 150px; padding: 14px; }
  .banners .banner h3 { font-size: 26px; }
}

/* ---------- Lançamentos: aba + painel azul com "Pagou hoje" (medidas da referência) ---------- */
.lc-head { position: relative; margin-bottom: 6px; }
.lc-tab { position: relative; z-index: 0; display: inline-flex; max-width: calc(100% - 8px); align-items: center; gap: 8px; overflow: hidden;
  border-radius: 18px 18px 0 0; padding: 6px 14px 8px 10px; background: var(--primary); box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.lc-tab::before, .lc-tab::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.lc-tab::before { background: rgba(0, 0, 0, .3); }
.lc-tab::after { background: linear-gradient(135deg, rgba(255, 255, 255, .12), transparent 42%, rgba(0, 0, 0, .26) 100%); }
.lc-tab > * { position: relative; z-index: 1; }
.lc-ic { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.lc-ic svg.i { width: 16px; height: 16px; }
.lc-tab h2 { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; line-height: 22.5px; font-weight: 700; letter-spacing: .03em; color: #fff; }
.lc-panel { position: relative; z-index: 1; margin-top: -12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 0 16px 16px 16px;
  padding: 10px 12px 6px; background: var(--primary); box-shadow: 0 8px 28px rgba(0, 0, 0, .18); }
.lc-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, .18), transparent 34%), radial-gradient(circle at bottom right, rgba(0, 0, 0, .24), transparent 36%); }
.lc-wrap { position: relative; margin: 0 -2px; }
.lc-row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; padding: 0 2px; cursor: grab;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 90%, transparent 100%); mask-image: linear-gradient(to right, #000 0%, #000 90%, transparent 100%); }
.lc-row::-webkit-scrollbar { display: none; }
.lc-wrap.at-end .lc-row { -webkit-mask-image: none; mask-image: none; }
.lc-row.dragging { cursor: grabbing; -webkit-user-select: none; user-select: none; }
.lc-row.dragging a { pointer-events: none; }
.lc-item { flex: 0 0 auto; min-width: 0; font-size: 16px; line-height: 24px; }
.lc-in { display: inline-flex; min-width: 0; align-items: stretch; gap: 8px; }
.lc-thumb { position: relative; display: block; width: 50px; min-height: 68px; flex-shrink: 0; align-self: stretch; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; background-color: rgba(0, 0, 0, .2); }
.lc-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.lc-info { display: flex; min-width: 0; max-width: 152px; flex-direction: column; justify-content: center; padding: 2px 0; }
.lc-lbl { margin: 0; font-size: 9px; line-height: 1; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.lc-amt { margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; line-height: 1.25; font-weight: 900; letter-spacing: -.025em; color: #fff; }
.lc-btn { display: inline-flex; align-self: flex-start; align-items: center; justify-content: center; height: 24px; margin-top: 6px; padding: 0 10px; border-radius: 6px;
  background: #fff; color: #0f172a; font-size: 9px; line-height: 1; font-weight: 700; white-space: nowrap; transition: background-color .2s; -webkit-user-drag: none; }
.lc-btn:hover { background: rgba(255, 255, 255, .9); color: #0f172a; }
.lc-arrow { position: absolute; top: 50%; z-index: 2; display: none; width: 40px; height: 40px; transform: translateY(-50%); align-items: center; justify-content: center;
  border: 0; background: none; color: #fff; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .55)); transition: opacity .2s; }
.lc-arrow svg.i { width: 20px; height: 20px; }
.lc-arrow.prev { left: 4px; }
.lc-arrow.next { right: 4px; }
.lc-arrow[hidden] { display: none !important; }
@media (min-width: 640px) { .lc-arrow { display: flex; } }
@media (min-width: 1024px) {
  .lc-arrow { opacity: 0; pointer-events: none; }
  .lc-wrap:hover .lc-arrow { opacity: 1; pointer-events: auto; }
}
@media (max-width: 1023px) {
  .lc-tab { gap: 6px; padding: 4px 10px 6px 8px; }
  .lc-ic { width: 20px; height: 20px; }
  .lc-ic svg.i { width: 14px; height: 14px; }
  .lc-tab h2 { font-size: 13px; line-height: 19.5px; }
  .lc-panel { margin-top: -10px; padding: 6px 8px 4px; }
  .lc-row { gap: 8px; }
  .lc-in { gap: 6px; }
  .lc-thumb { width: 43px; min-height: 58px; }
  .lc-info { max-width: 116px; }
  .lc-lbl { font-size: 8px; }
  .lc-amt { font-size: 12px; }
  .lc-btn { height: 20px; margin-top: 4px; padding: 0 8px; font-size: 8px; }
}
@media (max-width: 720px) { .lc-row { cursor: auto; } }

/* ---------- Provedoras: faixa infinita com os cards da referência ---------- */
.pv-vp { overflow: hidden; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 92%, transparent 100%); mask-image: linear-gradient(to right, #000 0%, #000 92%, transparent 100%); }
.pv-vp.dragging { cursor: grabbing; }
.pv-vp.dragging .pv-card { pointer-events: none; }
.pv-track { display: flex; width: max-content; will-change: transform; }
.pv-card, .pv-card img { -webkit-user-drag: none; }
.pv-card { flex: 0 0 auto; width: 164px; height: 80px; margin-right: 12px; padding: 0 20px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08); background: rgb(var(--s-rgb) / .3); color: #fff;
  transition: background-color .2s cubic-bezier(.4, 0, .2, 1), border-color .2s cubic-bezier(.4, 0, .2, 1); }
.pv-card:hover { border-color: rgb(var(--p-rgb) / .25); background: rgb(var(--s-rgb) / .4); }
.pv-card img { display: block; width: 100%; height: 36px; object-fit: contain; filter: brightness(0) invert(1); transition: transform .2s cubic-bezier(.4, 0, .2, 1); }
.pv-card:hover img { transform: scale(1.03); }
.pv-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: center;
  font-size: 12px; line-height: 1.25; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: #fff; overflow-wrap: normal; word-break: normal; }
@media (max-width: 1023px) { .pv-card { width: 148px; } }
@media (max-width: 767px) { .pv-card { width: 132px; margin-right: 8px; padding: 0 14px; } .pv-name { font-size: 11px; } }
@media (max-width: 720px) { .pv-vp { margin-right: -12px; } }
@media (prefers-reduced-motion: reduce) {
  .pv-card, .pv-card img { transition: none; }
}

/* ---------- App instalável (só aparece com a opção ligada em Admin → Personalização → Marca) ---------- */
.app-hint { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px;
  background: rgb(var(--s-rgb) / .95); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 16px 40px rgba(0, 0, 0, .55); backdrop-filter: blur(8px); }
.app-hint img { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; object-fit: cover; }
.app-hint div { flex: 1; min-width: 0; }
.app-hint b { display: block; font-size: 14px; color: #fff; }
.app-hint small { display: block; font-size: 12px; color: var(--muted); }
.app-hint .x { width: 30px; height: 30px; border: 0; background: none; color: var(--muted); font-size: 14px; cursor: pointer; flex-shrink: 0; }
.app-modal { text-align: center; }
.app-modal img { width: 84px; height: 84px; border-radius: 20px; margin: 4px auto 14px; display: block; object-fit: cover; }

/* ---------- Página inicial com blocos fora da ordem padrão (Admin → Personalização → Home) ----------
   Na ordem padrão (atalhos → busca → banners → seções) nada aqui se aplica; em outra ordem os blocos ganham o mesmo respiro das seções. */
#app > [data-hb="search"]:not(:first-child):not([data-hb="cats"] + [data-hb="search"]),
#app > [data-hb="banners"]:not(:first-child):not([data-hb="search"] + [data-hb="banners"]),
#app > [data-hb="cats"]:not(:first-child) { margin-top: 26px; }

/* ---------- Janela de depósito: medidas iguais às da PNB ---------- */
.modal.mdl.dep { max-width: 480px; border: 0; border-radius: 20px; background: linear-gradient(160deg, #000 0%, #000 56%, color-mix(in srgb, var(--primary) 72%, #000) 140%); }
.dep .mdl-banner { aspect-ratio: 480 / 214; }
.dep .mdl-banner::after { display: none; }
.dep .help-pill { left: 24px; top: 24px; gap: 8px; padding: 8px 12px; border-radius: 8px; background: rgba(0, 0, 0, .2); border: 1px solid rgba(255, 255, 255, .1); font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-strong); }
.dep .help-pill svg.i { width: 14px; height: 14px; }
.dep .mdl-body { position: relative; padding: 40px; gap: 24px; }
.dep .mdl-body > .close { top: 0; right: 0; width: 52px; height: 52px; border-radius: 0 0 0 20px; background: rgb(var(--s-rgb) / .3); color: rgb(106 131 157 / .6); font-size: 18px; display: grid; place-items: center; }
.dep .mdl-body > .close:hover { color: var(--text); }
.dep .mdl-title { font-size: 24px; line-height: 32px; font-weight: 900; color: var(--text); gap: 8px; }
.dep .mdl-title::before { width: 9px; height: 24px; border-radius: 0; }
.dep .mdl-sub { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.dep .dep-form { display: grid; gap: 24px; }
.dep .amt-in { position: relative; display: block; height: 66px; padding: 0; border: 0; background: none; }
.dep .amt-in span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 16px; font-weight: 700; color: var(--muted); pointer-events: none; }
.dep .amt-in input { width: 100%; height: 100%; padding: 16px 16px 16px 48px; border-radius: 18px; background: rgb(var(--s-rgb) / .5); border: 1px solid var(--secondary); font-size: 24px; font-weight: 700; color: var(--text); }
.dep .amt-in input::placeholder { color: rgb(106 131 157 / .5); }
.dep .amt-in input:focus { border-color: var(--primary); }
.dep .amt-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dep .amt-chips button { height: 46px; border-radius: 18px; background: rgb(var(--s-rgb) / .5); border: 1px solid var(--secondary); color: var(--muted); font-size: 14px; font-weight: 700; }
.dep .amt-chips button:hover, .dep .amt-chips button.on { border-color: var(--primary); color: var(--text-strong); background: rgb(var(--s-rgb) / .5); }
.dep .amt-chips button i { top: -8px; right: -4px; height: 13px; line-height: 13px; padding: 0 6px; border-radius: 999px; font-size: 9px; font-weight: 900; color: var(--text-strong); }
.dep .ident { position: relative; display: block; height: 54px; padding: 24px 40px 8px 48px; border-radius: 18px; background: rgb(var(--s-rgb) / .2); border: 1px solid transparent; }
.dep .ident .ii { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); opacity: 1; line-height: 0; }
.dep .ident .ii svg.i { width: 18px; height: 18px; color: var(--muted); }
.dep .ident small { position: absolute; left: 48px; top: 12px; font: 700 10px/15px Inter, sans-serif; letter-spacing: 0; text-transform: uppercase; color: var(--muted); }
.dep .ident b { display: block; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dep .ident .sh { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); opacity: 1; line-height: 0; }
.dep .ident .sh svg.i { width: 16px; height: 16px; color: var(--muted); }
.dep .promo-box { margin-top: -8px; padding: 20px; gap: 12px; border-radius: 18px; border: 1px solid rgb(var(--p-rgb) / .2); background: #000 url('/img/pnb/promocode-bg.webp') center / cover no-repeat; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 18px 40px rgba(10, 6, 24, .24); }
.dep .promo-box .pin { height: 54px; border-radius: 14px; background: rgb(var(--s-rgb) / .5); border: 1px solid var(--secondary); padding: 0 16px; gap: 12px; color: var(--muted); }
.dep .promo-box .pin input { font-size: 14px; font-weight: 500; color: var(--text); }
.dep .promo-box .pin input::placeholder { color: var(--muted); font-weight: 400; font-size: 13px; }
.dep .promo-box .btn { width: 120px; height: 52px; margin: auto 0; padding: 0 12px; border-radius: 14px; font-size: 14px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
/* botão com brilho (ATIVAR e GERAR PIX), como o da PNB */
.btn-gloss, .dep .promo-box .btn { position: relative; overflow: hidden; color: var(--text-strong); border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1) 0%, transparent 50%), linear-gradient(180deg, var(--primary) 0%, rgb(var(--p-rgb) / .9) 50%, color-mix(in srgb, var(--primary) 50%, #001040) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .3); }
.btn-gloss:hover, .dep .promo-box .btn:hover { filter: brightness(1.1); }
.btn-gloss:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.dep .btn-gloss { height: 48px; width: 100%; border-radius: 12px; font-size: 14px; font-weight: 900; text-transform: uppercase; gap: 8px; }
.dep .btn-gloss svg.i { width: 16px; height: 16px; }
/* tamanhos como na PNB: 480px no computador, 95% da tela no tablet, tela cheia no celular; a janela rola junto com o fundo */
.modal-bg:has(.dep) { overflow-y: auto; align-items: start; padding: 24px 16px; }
.modal.mdl.dep { max-height: none; overflow: hidden; }
@media (max-width: 767px) {
  .modal.mdl.dep { width: 95vw; max-width: 512px; }
  .dep .mdl-body { padding: 24px; }
  .dep .dep-sub-l { display: none; }
}
@media (max-width: 639px) {
  .modal-bg:has(.dep) { padding: 0; scrollbar-width: none; }
  .modal.mdl.dep { width: 100vw; max-width: none; min-height: 100dvh; border-radius: 0; animation: none; }
  .dep .mdl-body { padding: 56px 24px 24px; }
  .dep .amt-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dep .ident small { right: 40px; }
  .dep .promo-box { flex-direction: column; padding: 16px; }
  .dep .promo-box .pin { flex: none; }
  .dep .promo-box .btn { width: 100%; }
}

/* fundo atrás da janela: preto 80%, sem desfoque (igual à PNB); ícones nos tamanhos da PNB */
.modal-bg:has(.dep) { background: rgba(0, 0, 0, .8); backdrop-filter: none; -webkit-backdrop-filter: none; }
.dep .mdl-body > .close svg.i { width: 20px; height: 20px; }
.dep .promo-box .pin svg.i { width: 18px; height: 18px; color: var(--muted); }

/* ---------- Menu do jogador (seta do perfil): medidas iguais às da PNB ---------- */
.ud-bg { background: rgba(0, 0, 0, .5); backdrop-filter: none; -webkit-backdrop-filter: none; }
.ud { width: 360px; padding: 0; overflow-x: hidden; scrollbar-width: none; background: #000; border-left: 1px solid rgba(255, 255, 255, .05); }
.ud > * { position: relative; z-index: 1; }
.ud > .ud-glow { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(64px); }
.ud-glow.g1 { filter: blur(150px); width: 251px; height: 441px; left: 180px; top: -126px; background: rgb(var(--p-rgb) / .2); }
.ud-glow.g2 { filter: blur(160px); width: 287px; height: 504px; left: -36px; top: 315px; background: rgb(var(--p-rgb) / .3); }
.ud-glow.g3 { filter: blur(100px); width: 144px; height: 252px; left: 108px; top: 252px; background: rgb(var(--s-rgb) / .05); }
.ud .ud-x { position: absolute; z-index: 2; top: 0; right: 0; width: 52px; height: 52px; padding: 16px; border-radius: 0 0 0 20px; background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .6); display: grid; place-items: center; }
.ud .ud-x:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.ud .ud-x svg.i { width: 20px; height: 20px; }
.ud-head { padding: 48px 24px 24px; }
.ud-user { display: flex; align-items: center; gap: 16px; padding-right: 56px; }
.ud-av { position: relative; width: 64px; height: 64px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); background: none; overflow: hidden; flex-shrink: 0; display: block; }
.ud-av .in { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(var(--s-rgb) / .8); color: #fff; }
.ud-av .in svg.i { width: 28px; height: 28px; }
.ud-av .ed { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .45); color: #fff; opacity: 0; transition: opacity .15s; }
.ud-av:hover .ed { opacity: 1; }
.ud-name { min-width: 0; padding-bottom: 8px; }
.ud-name b { display: block; max-width: none; font-size: 16px; line-height: 20px; font-weight: 700; color: var(--text); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ud-name button { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--muted); }
.ud-name button span { max-width: 73px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ud-name button svg.i { width: 12px; height: 12px; }
.ud-name button:hover { color: var(--text); }
.ud-sec { padding: 24px 24px 0; }
.ud .ud-total { margin: 0; padding: 0; border: 0; }
.ud-total .lbl { display: flex; align-items: center; gap: 16px; }
.ud-total .lbl small { font-size: 10px; line-height: 15px; font-weight: 700; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.ud-total .lbl i { flex: 1; height: 1px; background: rgba(255, 255, 255, .1); }
.ud .ud-total .v { display: flex; align-items: center; gap: 16px; margin-top: 16px; height: 32px; }
.ud .ud-total .v span { font-size: 24px; font-weight: 700; color: #fff; border: 0; padding: 0; }
.ud .ud-total .v i { width: 1px; height: 32px; background: rgba(255, 255, 255, .1); }
.ud .ud-total .v b { flex: 1; font-size: 30px; font-weight: 700; letter-spacing: -.75px; color: #fff; }
.ud .ud-total .v button { color: var(--muted); line-height: 0; }
.ud .ud-total .v button:hover { color: var(--text); }
.ud .ud-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 24px 0 0; }
.ud .ud-boxes div { background: rgb(var(--s-rgb) / .2); border: 0; border-radius: 12px; padding: 12px; }
.ud .ud-boxes small { display: block; font-size: 10px; line-height: 15px; font-weight: 700; letter-spacing: 0; color: var(--muted); text-transform: uppercase; }
.ud .ud-boxes b { display: block; margin-top: 4px; font-size: 12px; line-height: 16px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ud .ud-dep { margin-top: 16px; width: 100%; height: 48px; border-radius: 12px; gap: 8px; font-size: 16px; font-weight: 700; text-transform: uppercase; color: #fff; border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1) 0%, transparent 50%), linear-gradient(180deg, #10b981 0%, #10b981 50%, #047857 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .25); }
.ud .ud-dep:hover { filter: brightness(1.08); }
.ud .ud-dep svg.i { width: 16px; height: 16px; }
.ud .ud-list { display: grid; gap: 8px; padding: 32px 24px 24px; }
.ud .ud-item { display: flex; align-items: center; gap: 0; height: 64px; padding: 12px 0; border-radius: 0; background: none; text-align: left; }
.ud .ud-item:hover { background: none; }
.ud .ud-item:hover b { color: #fff; }
.ud .ud-item .ic { position: relative; width: 40px; height: 40px; border-radius: 12px; margin-right: 16px; flex-shrink: 0; display: grid; place-items: center; color: var(--text-strong); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .35);
  background: linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, transparent 40%), linear-gradient(180deg, var(--primary) 0%, rgb(var(--p-rgb) / .9) 50%, color-mix(in srgb, var(--primary) 50%, #001040) 100%); }
.ud .ud-item .ic svg.i { width: 20px; height: 20px; }
.ud .ud-item .tx { min-width: 0; flex: 1; }
.ud .ud-item b { display: block; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--text); }
.ud .ud-item small { display: block; font-size: 10px; line-height: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ud .ud-item .chev { margin-left: 12px; color: rgb(106 131 157 / .5); line-height: 0; font-size: 0; }
.ud .ud-item .chev svg.i { width: 16px; height: 16px; }
.ud .ud-outw { margin-top: 4px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.ud .ud-out { display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; height: 16px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: 12px; font-weight: 600; color: #f9566a; }
.ud .ud-out:hover { color: #ff7a8a; }
.ud .ud-out svg.i { width: 14px; height: 14px; }
@media (max-width: 639px) { .ud { width: 100%; border-left: 0; } }
