/* Casca "Terminal" (03/12/2026): barra lateral fixa no PC, barra de baixo com "Mais" no celular. */
/* Títulos fora do app (login/cadastro): mesma regra que o antigo fundo.css tinha. */
h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif; font-weight: 700; letter-spacing: 0; }
.rail { position: fixed; inset: 0 auto 0 0; z-index: 45; width: 92px; display: flex; flex-direction: column; gap: 4px; padding: 10px 8px; background: #0b100e; border-right: 1px solid #1b2620; overflow-y: auto; }
.rail-logo { display: block; margin-bottom: 12px; } .rail-logo img { display: block; width: 100%; height: auto; }
.rail-it { display: flex; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 10px 0; border: 0; border-radius: 6px; background: none; color: #93a096; font: 500 12px/1.2 var(--fonte); cursor: pointer; }
.rail-it svg { width: 21px; height: 21px; }
.rail-it:hover { color: #e6ece6; background: #111815; }
.rail-it.ativo, .rail-it[aria-expanded="true"] { color: #6dff2a; background: #12210f; box-shadow: inset 3px 0 #6dff2a; }
.rail-it:focus-visible { outline: 2px solid #6dff2a; outline-offset: -2px; }
.rail-conta { margin-top: auto; }
.rail .so-cel { display: none; }
.dk-pop { position: fixed; z-index: 60; left: 100px; bottom: 10px; min-width: 240px; max-width: calc(100vw - 16px); max-height: calc(100dvh - 20px); overflow: auto; padding: 8px; border-radius: 8px; background: #0d1311; border: 1px solid #2c4033; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.dk-pop-cab { padding: 8px 12px 10px; border-bottom: 1px solid var(--borda); margin-bottom: 6px; }
.dk-pop-cab b { display: block; font-size: 15px; } .dk-pop-cab small { color: var(--suave); font-size: 12px; overflow-wrap: anywhere; }
.dk-pop a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 6px; color: var(--texto); font-weight: 600; font-size: 14px; }
.dk-pop a:hover, .dk-pop a:focus-visible { background: rgba(109, 255, 42, .12); outline: 0; }
.dk-pop a svg { width: 19px; height: 19px; flex: none; color: #93a096; }
.dk-pop a.sair svg, .dk-pop a.sair { color: #ff8f8f; }
/* telas prontas (depósito, saque, cadastro, login) */
.fn-painel { max-width: 520px; display: grid; gap: 14px; }
.fn-campo { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--suave); }
.fn-campo input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--borda2); background: rgba(255, 255, 255, .04); color: var(--texto); font: 500 16px var(--fonte); }
.fn-campo input:disabled { opacity: .65; cursor: not-allowed; }
.fn-bt { width: 100%; height: 50px; }
.fn-bt:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.fn-breve { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(var(--secundaria-rgb), .1); border: 1px solid rgba(var(--secundaria-rgb), .4); color: var(--secundaria2); font-weight: 600; font-size: 14px; }
.fn-breve i { width: 8px; height: 8px; border-radius: 50%; background: var(--secundaria); flex: none; }
.fn-ou { display: flex; align-items: center; gap: 12px; color: var(--suave); font-size: 13px; } .fn-ou::before, .fn-ou::after { content: ''; flex: 1; height: 1px; background: var(--borda2); }
/* o que o menu antigo definia e as telas de fora (login/cadastro) ainda usam */
body { padding-bottom: 96px; }
body::before { background: radial-gradient(ellipse 70% 50% at 12% -8%, rgba(var(--primaria-rgb), .10), transparent 70%), radial-gradient(ellipse 60% 45% at 100% 105%, rgba(var(--primaria-rgb), .07), transparent 70%), #050806 !important; }
html { background: #050806; }
@media (max-width: 768px) {
  .rail { inset: auto 0 0 0; width: auto; height: calc(60px + env(safe-area-inset-bottom)); flex-direction: row; gap: 0; padding: 0 2px env(safe-area-inset-bottom); border-right: 0; border-top: 1px solid #1b2620; overflow: visible; }
  .rail-logo, .rail .so-pc { display: none; }
  .rail .so-cel { display: flex; }
  .rail-it { flex: 1 1 0; min-width: 0; height: 60px; padding: 0; font-size: 11px; border-radius: 0; }
  .rail-it.ativo, .rail-it[aria-expanded="true"] { box-shadow: inset 0 3px #6dff2a; }
  .dk-pop { left: auto; right: 8px; bottom: calc(66px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 130px); }
}
