/* Hash Commander · Pool Híbrida: seletor de moeda e página DigiByte. */
.moedas-linha{ padding-bottom:10px; }
.moedas{ display:flex; gap:4px; padding:4px; border-radius:14px; background:rgba(255,255,255,.05); border:1px solid var(--vidro-b); max-width:420px; margin:0 auto; }
.moeda-bt{ flex:1; font:inherit; font-weight:700; font-size:14px; color:var(--txt2); background:transparent; border:0; border-radius:10px; padding:8px 10px; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; }
.moeda-bt i{ width:10px; height:10px; border-radius:50%; display:inline-block; }
.pt-bch{ background:#0ac18e; } .pt-dgb{ background:#4096FF; }
.moeda-bt[aria-selected="true"]{ color:#04120d; background:#0ac18e; }
.moeda-bt[data-moeda="dgb"][aria-selected="true"]{ color:#06111f; background:#4096FF; }
.moeda-bt[aria-selected="true"] i{ background:currentColor; opacity:.5; }

body[data-moeda="dgb"]{ --verde:#4096FF; --verde-esc:#2a7fe6; }
body[data-moeda="dgb"] .fundo{ background:
  radial-gradient(700px 400px at 12% -5%, rgba(64,150,255,.24), transparent 70%),
  radial-gradient(600px 400px at 95% 10%, rgba(255,154,46,.10), transparent 70%), var(--bg); }
body[data-moeda="dgb"] .btn-prim{ color:#06111f; }
body[data-moeda="dgb"] .icone{ background:rgba(64,150,255,.16); }
body[data-moeda="dgb"] .pilula.ok{ color:#4096FF; border-color:#4096FF; }
.pg-bch[hidden], .pg-dgb[hidden]{ display:none; }

.faixa-breve{ max-width:560px; margin:14px 0 0; padding:9px 14px; border-radius:12px; font-size:13px; color:var(--txt2); background:rgba(64,150,255,.08); border:1px dashed rgba(64,150,255,.5); text-align:center; }
.faixa-breve b{ color:var(--verde); }
.heroi-dgb h1{ margin:.1em 0 .3em; }
.alg-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.alg{ padding:14px 16px; min-width:0; }
.alg h3{ margin:0 0 4px; font-size:15px; color:var(--verde); }
.alg .num{ display:block; font-family:var(--mono); font-size:22px; font-weight:700; }
.alg dl{ margin:10px 0 0; display:grid; grid-template-columns:auto 1fr; gap:3px 12px; font-size:13px; color:var(--txt2); }
.alg dd{ margin:0; text-align:right; color:var(--txt); font-family:var(--mono); }
.alg .spark{ margin-top:8px; }
.alg .spark svg{ display:block; width:100%; height:44px; }
.spark-l{ fill:none; stroke:var(--verde); stroke-width:1.8; stroke-linejoin:round; }
.spark-a{ fill:rgba(64,150,255,.16); }
.tab-dgb{ width:100%; border-collapse:collapse; }
.tab-dgb th{ text-align:left; font-size:12px; color:var(--txt2); padding:6px 8px; font-weight:600; }
.tab-dgb td{ padding:8px; border-top:1px solid var(--vidro-b); vertical-align:middle; }
.tab-dgb tr.grupo td{ background:rgba(64,150,255,.08); font-weight:700; border-top:1px solid rgba(64,150,255,.35); }
.tab-dgb tr.grupo small{ display:block; font-weight:400; color:var(--txt2); }
.tab-dgb .etq{ display:none; }
.cmd{ position:relative; margin:6px 0; }
.cmd pre{ margin:0; padding:10px 12px; border-radius:10px; background:rgba(0,0,0,.35); border:1px solid var(--vidro-b); overflow-x:auto; font-family:var(--mono); font-size:12.5px; color:var(--verde); white-space:pre-wrap; word-break:break-all; }
.cmd .btn{ margin-top:4px; }
.barra-min{ height:12px; border-radius:99px; background:rgba(255,255,255,.08); overflow:hidden; margin:10px 0 6px; }
.barra-min i{ display:block; height:100%; background:linear-gradient(90deg,#2a7fe6,#4096FF); border-radius:99px; }
.saldo-g{ font-family:var(--mono); font-size:26px; font-weight:700; color:var(--verde); }
.etq-tipo{ display:inline-block; font-size:11px; font-weight:700; padding:1px 7px; border-radius:99px; border:1px solid currentColor; }
.t-asic{ color:#4096FF; } .t-gpu{ color:#5fe3c8; } .t-esp32{ color:#ff9a2e; }
.leg{ display:flex; gap:12px; flex-wrap:wrap; font-size:12px; color:var(--txt2); margin:0 0 8px; }
.mural-dgb{ display:grid; gap:10px; }
.bl-dgb{ display:flex; flex-wrap:wrap; gap:6px 14px; align-items:center; padding:12px 14px; }
.bl-dgb b{ font-family:var(--mono); }
.aviso-ex{ font-size:12px; color:var(--txt2); margin:6px 0 0; }
.g-bola.tp-asic{ fill:#4096FF; } .g-bola.tp-gpu{ fill:#5fe3c8; } .g-bola.tp-esp32{ fill:#ff9a2e; }
.g-haste.tp-asic{ stroke:rgba(64,150,255,.55); } .g-haste.tp-gpu{ stroke:rgba(95,227,200,.5); } .g-haste.tp-esp32{ stroke:rgba(255,154,46,.55); }
.etq-svg{ font-family:var(--sans); font-size:9.5px; font-weight:700; }
@media (max-width:760px){
  .alg-grid{ grid-template-columns:1fr; }
  .tab-dgb thead{ display:none; }
  .tab-dgb td{ display:block; border-top:0; padding:3px 8px; }
  .tab-dgb tr:not(.grupo){ display:block; border-top:1px solid var(--vidro-b); padding:6px 0; }
  .tab-dgb tr.grupo{ display:block; }
  .tab-dgb .etq{ display:block; font-size:11px; color:var(--txt2); }
  .moedas{ max-width:none; }
}

/* Hero DGB: emblema próprio da DGB (emblema-dgb.png) */
.heroi.heroi-dgb{ background-image:none; }
.heroi-dgb::before{ content:""; position:absolute; inset:0; z-index:0;
  background:url("emblema-dgb.png") no-repeat right 4% center / auto 115%; }
.heroi-dgb::after{ content:""; position:absolute; inset:0; z-index:0; background:linear-gradient(90deg, rgba(10,16,28,.97) 0%, rgba(10,16,28,.92) 45%, rgba(10,16,28,.4) 75%, rgba(10,16,28,.1) 100%); }
.heroi-dgb > *{ position:relative; z-index:1; }
@media (max-width:760px){
  .heroi-dgb::before{ background-position:right -40px center; background-size:auto 120%; }
  .heroi-dgb::after{ background:linear-gradient(180deg, rgba(10,16,28,.8) 0%, rgba(10,16,28,.93) 100%); }
}
