:root {
  --fundo: #F3F8F4;
  --superficie: #FFFFFF;
  --borda: #DCEAE0;
  --texto: #0F2418;
  --texto-suave: #3F5A49;
  --verde: #15803D;
  --verde-escuro: #0E3B22;
  --menta: #3EE6A8;
  --menta-claro: #E3F2E8;
  --vermelho: #E11D48;
  --raio: 16px;
  --largura: 1200px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Chakra Petch", Inter, system-ui, sans-serif;
  line-height: 1.15;
  margin: 0;
}

a { color: var(--verde); }
a:hover { color: #0E5A2B; }

:focus-visible {
  outline: 3px solid var(--menta);
  outline-offset: 2px;
  border-radius: 6px;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 24px;
}

/* Topo */
.topo {
  background: var(--superficie);
  border-bottom: 1px solid var(--borda);
}
.topo .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.marca {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--texto);
  font-family: "Chakra Petch", Inter, sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.marca img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--verde);
  object-fit: cover;
  object-position: 50% 22%;
}
.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.menu a {
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--texto-suave);
  font-weight: 500;
  font-size: 15px;
}
.menu a[aria-current="page"] {
  background: var(--menta-claro);
  color: #0E5A2B;
  font-weight: 600;
}
.menu .em-breve {
  padding: 10px 14px;
  color: #6B7F72;
  font-size: 15px;
}

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 0;
  font: 600 16px/1 Inter, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.botao-verde { background: var(--verde); color: #FFFFFF; }
.botao-verde:hover { background: #116B33; color: #FFFFFF; }
.botao-branco { background: #FFFFFF; color: #0E5A2B; }
.botao-branco:hover { color: var(--verde-escuro); }
.botao-contorno { background: transparent; color: #FFFFFF; border: 1px solid #5E9C74; }
.botao-contorno:hover { color: #FFFFFF; background: rgba(255, 255, 255, .08); }
.botao[aria-disabled="true"] {
  background: #ECEFED;
  color: #5C6B62;
  cursor: not-allowed;
}

/* Perfil */
.perfil { padding-top: 32px; }
.banner {
  width: 100%;
  aspect-ratio: 4 / 1;
  object-fit: cover;
  border-radius: 18px;
  background: var(--verde-escuro);
}
.perfil-linha {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
  margin-top: -56px;
  padding: 0 28px;
}
.foto {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #FFFFFF;
  outline: 3px solid var(--verde);
  object-fit: cover;
  object-position: 50% 22%;
  background: var(--verde-escuro);
}
.perfil-texto { padding-top: 64px; padding-bottom: 8px; }
.perfil-acoes { padding-top: 64px; }
.perfil-texto h1 { font-size: 32px; }
.perfil-texto p { margin: 2px 0 0; color: var(--texto-suave); }

/* Destaque com a live */
.destaque {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.chamada {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 36px;
  border-radius: 18px;
  background: var(--verde-escuro);
  color: #FFFFFF;
}
.chamada h2 { font-size: clamp(32px, 4vw, 46px); }
.chamada p { margin: 0; color: #D6EBDD; font-size: 17px; max-width: 46ch; }
.chamada .acoes { display: flex; flex-wrap: wrap; gap: 12px; }

.player {
  border-radius: 18px;
  overflow: hidden;
  background: #0B1F15;
  border: 1px solid var(--borda);
  display: flex;
  flex-direction: column;
}
.player-tela {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0B1F15;
}
.player-tela iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.player-rodape {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: #0E2A1D;
  color: #D6EBDD;
  font-size: 14px;
}
.player-rodape a { color: #FFFFFF; font-weight: 600; }

/* Blocos */
.secao { padding-bottom: 48px; }
.secao-titulo { font-size: 26px; margin-bottom: 6px; }
.secao-sub { margin: 0 0 20px; color: var(--texto-suave); }

.regras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.regra {
  padding: 22px;
  border-radius: var(--raio);
  background: var(--superficie);
  border: 1px solid var(--borda);
}
.regra strong {
  display: block;
  font-family: "Chakra Petch", Inter, sans-serif;
  font-size: 28px;
  color: var(--verde);
  line-height: 1.2;
}
.regra span { color: var(--texto-suave); font-size: 15px; }

.trocas {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--borda);
  background: var(--superficie);
}
.trocas table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 15px; }
.trocas th, .trocas td { padding: 12px 16px; text-align: left; }
.trocas thead tr { background: var(--fundo); }
.trocas tbody tr { border-top: 1px solid var(--borda); }
.trocas td:last-child { font-weight: 700; color: var(--verde); }

.aviso-vazio {
  padding: 28px;
  border-radius: var(--raio);
  background: var(--superficie);
  border: 1px dashed #A9C8B4;
  color: var(--texto-suave);
  text-align: center;
}

/* Página de ajuda */
.ajuda-topo {
  background: var(--verde-escuro);
  color: #FFFFFF;
}
.ajuda-topo .container { padding-top: 48px; padding-bottom: 48px; }
.ajuda-topo h1 { font-size: clamp(34px, 5vw, 44px); }
.ajuda-topo p { margin: 10px 0 0; color: #D6EBDD; font-size: 18px; max-width: 60ch; }

.ajuda {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 32px;
  padding-bottom: 56px;
}
.indice {
  position: sticky;
  top: 16px;
  padding: 16px;
  border-radius: var(--raio);
  background: var(--superficie);
  border: 1px solid var(--borda);
  display: flex;
  flex-direction: column;
}
.indice a {
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--texto);
  font-weight: 500;
}
.indice a:hover { background: var(--menta-claro); }
.artigos { display: flex; flex-direction: column; gap: 20px; }
.artigo {
  padding: 28px;
  border-radius: var(--raio);
  background: var(--superficie);
  border: 1px solid var(--borda);
  scroll-margin-top: 16px;
}
.artigo h2 { font-size: 24px; margin-bottom: 12px; }
.artigo p { margin: 0 0 12px; max-width: 70ch; }
.artigo ol { margin: 0 0 12px; padding-left: 22px; max-width: 70ch; }
.artigo li { margin-bottom: 8px; }
.nota {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--menta-claro);
  color: #0E5A2B;
  font-size: 15px;
}
.nota-alerta { background: #FFF7E6; color: #6B4A00; }

/* Rodapé */
.rodape { background: var(--verde-escuro); color: #D6EBDD; font-size: 14px; }
.rodape .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.rodape a { color: #FFFFFF; }

@media (max-width: 860px) {
  .destaque { grid-template-columns: 1fr; }
  .ajuda { grid-template-columns: 1fr; }
  .indice { position: static; }
}

@media (max-width: 560px) {
  .perfil-linha { padding: 0 8px; margin-top: -40px; }
  .perfil-texto { padding-top: 46px; }
  .perfil-acoes { padding-top: 0; }
  .foto { width: 88px; height: 88px; }
  .chamada { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Conta no topo ---------- */
.conta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.saldo {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 10px;
  background: var(--menta-claro); color: #0E5A2B; font-weight: 700; font-size: 15px;
}
.usuario {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--borda);
  font-weight: 600; font-size: 15px;
}
.usuario img { width: 32px; height: 32px; border-radius: 50%; }
.link-sair { color: var(--texto-suave); font-size: 14px; font-weight: 600; }
.selo-sub {
  padding: 2px 8px; border-radius: 999px; background: #E0ECFF; color: #1E3A8A;
  font-size: 12px; font-weight: 700;
}

/* Faixa ao vivo */
.faixa-live { display: block; background: var(--verde-escuro); color: #FFFFFF; text-decoration: none; }
.faixa-live:hover { color: #FFFFFF; background: #124A2B; }
.faixa-live .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px;
  min-height: 44px; padding-top: 8px; padding-bottom: 8px; font-weight: 600;
}
.ponto-vivo {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px;
  background: var(--vermelho); color: #FFFFFF; font-size: 12px; font-weight: 700;
}
.ponto-vivo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FFFFFF; }
.selo-off {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  background: #E7ECE9; color: var(--texto-suave); font-size: 13px; font-weight: 600;
}

/* Progresso */
.progresso { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.progresso .regra strong { font-size: 26px; }
.barra { height: 10px; border-radius: 999px; background: #E3EDE6; overflow: hidden; margin-top: 10px; }
.barra span { display: block; height: 100%; background: var(--verde); border-radius: 999px; }

/* Ranking */
.ranking { display: flex; flex-direction: column; gap: 8px; }
.ranking-linha {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px;
  background: var(--superficie); border: 1px solid var(--borda);
}
.ranking-pos {
  width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-family: "Chakra Petch", Inter, sans-serif; font-weight: 700; background: #E3EDE6;
}
.ranking-pos.ouro { background: #F5B83D; color: #1A1306; }
.ranking-pos.prata { background: #C9CCD6; color: #14151A; }
.ranking-pos.bronze { background: #D08A54; color: #1A0F06; }
.ranking-linha img { width: 36px; height: 36px; border-radius: 50%; background: #CFE6D7; }
.ranking-nome { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranking-tempo { color: var(--texto-suave); font-size: 15px; }

/* Loja */
.loja-topo { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 20px; }
.loja-topo h1 { font-size: 36px; }
.saldo-grande {
  padding: 14px 20px; border-radius: 14px; background: var(--verde-escuro); color: #FFFFFF;
  display: flex; flex-direction: column; align-items: flex-end;
}
.saldo-grande small { color: #D6EBDD; font-size: 13px; }
.saldo-grande strong { font-family: "Chakra Petch", Inter, sans-serif; font-size: 28px; }
.loja { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 24px; align-items: start; padding-bottom: 32px; }
.pacotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.pacote {
  display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--raio);
  background: var(--superficie); border: 2px solid var(--borda);
}
.pacote.escolhido { border-color: var(--verde); }
.pacote img { width: 100%; aspect-ratio: 1 / 1; max-height: 160px; object-fit: contain; border-radius: 12px; background: #2A2410; }
.pacote h3 { font-size: 22px; }
.pacote .preco { font-weight: 700; color: #0E5A2B; }
.pacote .falta { font-size: 14px; color: var(--texto-suave); }
.painel-lateral {
  padding: 24px; border-radius: 18px; background: var(--superficie); border: 1px solid var(--borda);
  display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px;
}
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label { font-weight: 600; font-size: 15px; }
.campo input, .campo select {
  min-height: 46px; padding: 0 14px; border-radius: 10px; border: 2px solid #C9DCCF;
  background: #FFFFFF; color: var(--texto); font: 400 16px/1.2 Inter, system-ui, sans-serif;
}
.campo input[aria-invalid="true"] { border-color: #B4232F; }
.ajuda-campo { font-size: 13px; color: var(--texto-suave); }
.erro-campo { font-size: 14px; color: #B4232F; font-weight: 600; }
.mensagem { padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.mensagem.ok { background: #DCF5E4; color: #0E5A2B; }
.mensagem.erro { background: #FDE7EA; color: #9F1D29; }
.botao-secundario { background: #FFFFFF; color: var(--texto); border: 1px solid #C9DCCF; }
.botao-perigo { background: #FFFFFF; color: #B4232F; border: 1px solid #E8B4BA; }
.botao-pequeno { min-height: 40px; padding: 0 14px; font-size: 14px; }
.botao:disabled { background: #ECEFED; color: #5C6B62; cursor: not-allowed; border-color: transparent; }

.status { padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.status-pendente { background: #FFF1D6; color: #7A4F00; }
.status-pago { background: #DCF5E4; color: #0E5A2B; }
.status-recusado { background: #FDE7EA; color: #9F1D29; }
.lista-resgates { display: flex; flex-direction: column; gap: 10px; }
.item-resgate {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
  padding: 14px 16px; border-radius: 12px; background: var(--superficie); border: 1px solid var(--borda);
}
.item-resgate small { display: block; color: var(--texto-suave); }

/* Painel do administrador */
.admin-topo { background: var(--verde-escuro); color: #FFFFFF; }
.admin-topo .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.admin-topo a { color: #FFFFFF; }
.resumo { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; padding-top: 24px; }
.abas {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 14px;
  background: var(--superficie); border: 1px solid var(--borda); margin: 20px 0;
}
.abas button {
  flex: 1 1 140px; min-height: 44px; border: 0; border-radius: 10px; background: transparent;
  font: 600 15px/1 Inter, system-ui, sans-serif; color: var(--texto); cursor: pointer;
}
.abas button[aria-selected="true"] { background: var(--verde); color: #FFFFFF; }
.caixa { padding: 24px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--borda); margin-bottom: 24px; }
.caixa h2 { font-size: 22px; margin-bottom: 6px; }
.tabela { overflow-x: auto; border: 1px solid var(--borda); border-radius: 12px; }
.tabela table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.tabela th, .tabela td { padding: 10px 14px; text-align: left; vertical-align: middle; }
.tabela thead tr { background: var(--fundo); }
.tabela tbody tr { border-top: 1px solid var(--borda); }
.filtros { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.filtros button {
  min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #C9DCCF; background: #FFFFFF;
  font: 600 14px/1 Inter, system-ui, sans-serif; cursor: pointer;
}
.filtros button[aria-pressed="true"] { background: var(--texto); border-color: var(--texto); color: #FFFFFF; }
.grade-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.oculto { display: none !important; }

@media (max-width: 860px) {
  .loja { grid-template-columns: 1fr; }
  .painel-lateral { position: static; }
}

/* ---------- Saque de Rubini Coins ---------- */
.saque { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: start; padding-bottom: 32px; }
.saque-saldo {
  display: flex; align-items: center; gap: 20px; padding: 28px; border-radius: 18px;
  background: var(--verde-escuro); color: #FFFFFF;
}
.saque-saldo img { width: 120px; height: 120px; object-fit: contain; flex: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.saque-saldo div { display: flex; flex-direction: column; gap: 2px; }
.saque-saldo small { color: #D6EBDD; font-size: 14px; }
.saque-saldo strong { font-family: "Chakra Petch", Inter, sans-serif; font-size: 40px; line-height: 1.1; }
.saque-form { position: static; }
.contador { display: flex; align-items: stretch; gap: 8px; }
.contador input { flex: 1; min-width: 0; text-align: center; font-family: "Chakra Petch", Inter, sans-serif; font-size: 24px; font-weight: 700; }
.contador-btn {
  min-width: 64px; min-height: 52px; border-radius: 10px; border: 2px solid var(--verde);
  background: var(--menta-claro); color: #0E5A2B; font: 700 16px/1 Inter, system-ui, sans-serif; cursor: pointer;
}
.contador-btn:disabled { border-color: #DCE3DF; background: #F1F4F2; color: #9AA8A0; cursor: not-allowed; }
.atalhos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.atalhos button {
  min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid #C9DCCF; background: #FFFFFF;
  font: 600 14px/1 Inter, system-ui, sans-serif; color: var(--texto); cursor: pointer;
}
.atalhos button:disabled { color: #9AA8A0; cursor: not-allowed; }
.resumo-saque {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 16px; border-radius: 12px;
  background: var(--fundo); font-size: 15px;
}
.resumo-saque span { color: var(--texto-suave); }
.resumo-saque strong { text-align: right; }
.campo input[type=number]::-webkit-inner-spin-button { opacity: .4; }
@media (max-width: 860px) { .saque { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .saque-saldo img { width: 72px; height: 72px; } .saque-saldo strong { font-size: 32px; } }

/* Ranking: foto da Twitch e selo de sub */
.rk-foto { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; padding: 2px; background: #DCEAE0; }
.rk-foto img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #CFE6D7; }
.rk-foto-sub { background: linear-gradient(135deg, #9146FF, #3EE6A8); }
.rk-sub {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  padding: 3px 8px; border-radius: 999px; background: #EFE5FF; color: #6B2FD1; font-size: 12px; font-weight: 700;
}
@media (max-width: 480px) { .rk-sub { padding: 3px 6px; } .ranking-linha { gap: 10px; } }

/* Botões do perfil: extensão e vire sub */
.perfil-acoes { margin-left: auto; padding-bottom: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
.botao-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 12px; font: 700 15px/1 Inter, system-ui, sans-serif; text-decoration: none; white-space: nowrap;
}
.pill-extensao { background: linear-gradient(180deg, #F2C46B, #D99A3C); color: #3A2508; box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); }
.pill-extensao:hover { color: #3A2508; filter: brightness(1.05); }
.pill-extensao[aria-disabled="true"] { opacity: .65; cursor: default; filter: none; }
.pill-sub { background: linear-gradient(135deg, #7C4DFF, #9146FF 60%, #B36BFF); color: #FFFFFF; box-shadow: 0 6px 18px rgba(145,70,255,.35); }
.pill-sub:hover { color: #FFFFFF; filter: brightness(1.08); }
.pill-2x { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 26px; padding: 0 6px; border-radius: 7px; background: #FFFFFF; color: #4B1FB8; font-size: 13px; font-weight: 800; }
.ranking-tempo strong { color: var(--verde); }
@media (max-width: 720px) { .perfil-acoes { margin-left: 0; width: 100%; } .botao-pill { flex: 1 1 auto; justify-content: center; } }

/* ---------- Painel do admin: seções que abrem ao clicar ---------- */
.paineis { display: flex; flex-direction: column; gap: 12px; padding: 24px 0 40px; }
.painel-adm { background: #FFFFFF; border: 1px solid var(--borda); border-radius: 16px; overflow: hidden; }
.painel-adm > summary {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; list-style: none;
  font-family: "Chakra Petch", Inter, sans-serif;
}
.painel-adm > summary::-webkit-details-marker { display: none; }
.painel-adm > summary:hover { background: var(--fundo); }
.painel-adm > summary:focus-visible { outline: 3px solid var(--menta); outline-offset: -3px; }
.painel-icone { font-size: 22px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--menta-claro); flex: none; }
.painel-titulo { font-size: 19px; font-weight: 700; color: var(--texto); }
.painel-resumo { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; font: 600 14px/1.3 Inter, system-ui, sans-serif; color: var(--texto-suave); text-align: right; }
.painel-seta { width: 10px; height: 10px; border-right: 2.5px solid var(--texto-suave); border-bottom: 2.5px solid var(--texto-suave); transform: rotate(45deg); transition: transform .2s; flex: none; margin: 0 4px 4px 6px; }
.painel-adm[open] > summary { border-bottom: 1px solid var(--borda); }
.painel-adm[open] .painel-seta { transform: rotate(225deg); margin-bottom: -4px; }
.painel-corpo { padding: 18px 22px 22px; }
.painel-corpo .resumo { padding-top: 0; }
@media (max-width: 640px) {
  .painel-adm > summary { flex-wrap: wrap; padding: 16px; }
  .painel-resumo { margin-left: 54px; justify-content: flex-start; text-align: left; width: 100%; }
  .painel-seta { position: absolute; right: 22px; }
  .painel-adm > summary { position: relative; padding-right: 44px; }
  .painel-corpo { padding: 14px 16px 18px; }
}

/* Suspeitos de bot */
.lista-suspeitos { display: flex; flex-direction: column; gap: 10px; }
.suspeito { border: 1px solid var(--borda); border-left: 5px solid #CBD5CF; border-radius: 12px; padding: 14px 16px; }
.suspeito-alto { border-left-color: #C81E3A; }
.suspeito-medio { border-left-color: #D97706; }
.suspeito-baixo { border-left-color: #E5C04B; }
.suspeito-topo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.risco { font: 700 13px/1 Inter, system-ui, sans-serif; padding: 6px 10px; border-radius: 999px; }
.risco-alto { background: #FDE7EA; color: #9F1D29; }
.risco-medio { background: #FFF1D6; color: #7A4F00; }
.risco-baixo { background: #FBF6DF; color: #6B5A00; }
.suspeito-motivos { margin: 10px 0; padding-left: 20px; color: var(--texto); font-size: 15px; line-height: 1.6; }
.suspeito-rodape { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; font-size: 14px; color: var(--texto-suave); }
.suspeito-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.explica > summary { cursor: pointer; font-weight: 600; color: var(--verde); }
.explica ul { margin: 10px 0; padding-left: 20px; line-height: 1.7; color: var(--texto-suave); }
.painel-resumo:empty { display: none; }

/* ---------- Menu vertical (barra lateral no computador, botão ☰ no celular) ---------- */
.menu { flex-direction: column; flex-wrap: nowrap; }
.menu a, .menu .em-breve { display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-size: 16px; border-radius: 10px; }
.menu a:hover { background: var(--fundo); color: var(--texto); }
.menu a[aria-current="page"]:hover { background: var(--menta-claro); color: #0E5A2B; }
.menu a::before, .menu .em-breve::before { width: 22px; text-align: center; font-size: 18px; flex: none; }
.menu a[href="/"]::before { content: "🏠"; }
.menu a[href="/loja.html"]::before { content: "🎁"; }
.menu a[href="/como-funciona.html"]::before { content: "📖"; }
.menu .em-breve::before { content: "⚔️"; filter: grayscale(1); opacity: .7; }
.menu a[href="/admin.html"]::before { content: "⚙️"; }
.menu-botao { display: none; }

@media (min-width: 901px) {
  body:has(> .topo) { padding-left: 250px; }
  .topo {
    position: fixed; top: 0; left: 0; bottom: 0; width: 250px; z-index: 50;
    border-bottom: none; border-right: 1px solid var(--borda); overflow-y: auto;
  }
  .topo .container {
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start;
    min-height: 100%; max-width: none; padding: 22px 14px; gap: 22px;
  }
  .marca { padding: 0 6px; }
  #area-conta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--borda); }
  #area-conta .botao { width: 100%; }
  .conta { flex-direction: column; align-items: stretch; gap: 8px; }
  .conta .saldo, .conta .usuario { justify-content: flex-start; }
  .conta .link-sair { padding: 4px 6px; }
}

@media (max-width: 900px) {
  .topo { position: sticky; top: 0; z-index: 50; }
  .topo .container { flex-wrap: wrap; gap: 0; }
  .menu-botao {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--borda);
    background: #FFFFFF; color: var(--texto); font: 600 15px/1 Inter, system-ui, sans-serif; cursor: pointer;
  }
  .menu-botao span { font-size: 20px; line-height: 1; }
  .topo .menu, .topo #area-conta { display: none; width: 100%; }
  .topo.menu-aberto .menu { display: flex; padding-top: 12px; }
  .topo.menu-aberto #area-conta { display: block; padding: 12px 0 4px; border-top: 1px solid var(--borda); margin-top: 8px; }
}

/* ---------- Inventário ---------- */
.menu [data-item="inventario"]::before { content: "🎒"; filter: none; opacity: 1; }
.menu span[data-item="inventario"]::before { filter: grayscale(1); opacity: .7; }
.em-breve-caixa { text-align: center; padding: 48px 24px; border-radius: 18px; background: var(--superficie); border: 1px dashed #B7D3C0; }
.em-breve-caixa h2 { margin: 8px 0; font-size: 28px; }
.em-breve-caixa p { max-width: 520px; margin: 0 auto; color: var(--texto-suave); line-height: 1.6; }
.em-breve-icone { font-size: 56px; }
.itens-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.item-card { display: flex; gap: 18px; padding: 18px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--borda); }
.item-vazio .item-imagem img { filter: grayscale(.8); opacity: .55; }
.item-imagem { position: relative; flex: none; width: 104px; height: 104px; display: grid; place-items: center; border-radius: 14px; background: var(--verde-escuro); }
.item-imagem img { width: 96px; height: 96px; image-rendering: pixelated; object-fit: contain; }
.item-qtd { position: absolute; right: -6px; bottom: -6px; min-width: 34px; padding: 4px 8px; border-radius: 999px; background: #FFFFFF; border: 2px solid var(--verde); color: var(--verde-escuro); font: 800 14px/1 "Chakra Petch", Inter, sans-serif; text-align: center; }
.item-info h3 { margin: 0 0 4px; font-size: 19px; }
.item-info p { margin: 0 0 12px; color: var(--texto-suave); font-size: 14px; line-height: 1.5; }
.item-info .botao[disabled] { opacity: .5; cursor: not-allowed; }
.bosses-espera { display: flex; flex-direction: column; gap: 8px; }
.boss-linha { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--superficie); border: 1px solid var(--borda); font-weight: 600; }
@media (max-width: 420px) { .item-card { flex-direction: column; align-items: flex-start; } }
.caixa-liberar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; background: var(--fundo); border: 1px solid var(--borda); }
.selo-breve { margin-left: auto; padding: 3px 8px; border-radius: 999px; background: #EEF2EF; color: #5B6F62; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.menu a .selo-breve { background: #FFF1D6; color: #7A4F00; }

/* ---------- Bosses ---------- */
.menu [data-item="bosses"]::before { content: "⚔️"; filter: none; opacity: 1; }
.menu span[data-item="bosses"]::before { filter: grayscale(1); opacity: .7; }
.bosses-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.boss-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; background: var(--superficie); border: 1px solid var(--borda); }
.boss-card h3 { margin: 4px 0 0; font-size: 21px; }
.boss-card > p { margin: 0; color: var(--texto-suave); font-size: 14px; line-height: 1.5; min-height: 42px; }
.boss-card .botao[disabled] { background: #E9EFEB; color: #5B6F62; cursor: default; }
.boss-espera .boss-arte img { filter: grayscale(.7) brightness(.8); }
.boss-arte { position: relative; display: grid; place-items: center; height: 170px; border-radius: 14px; background: radial-gradient(circle at 50% 60%, #1B5E36, var(--verde-escuro) 70%); }
.boss-arte img { width: 128px; height: 128px; image-rendering: pixelated; }
.boss-selo { position: absolute; top: 10px; right: 10px; }
.boss-drops summary { cursor: pointer; font-weight: 600; color: var(--verde); font-size: 14px; }
.boss-drops ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.boss-drops li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 8px; background: var(--fundo); font-size: 14px; }
.boss-drops li small { font-weight: 700; font-size: 12px; }
.drop-comum small { color: #5B6F62; } .drop-raro small { color: #1D6FD8; } .drop-epico small { color: #8B3FD9; } .drop-lendario small { color: #C27803; }
.drop-tag-comum { background: #EEF2EF; color: #3F5A49; } .drop-tag-raro { background: #E0ECFF; color: #1D4FA8; }
.drop-tag-epico { background: #F1E5FF; color: #6B21A8; } .drop-tag-lendario { background: #FFF1D6; color: #8A5300; }
.drop-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(8, 28, 17, .72); }
.drop-caixa { width: 100%; max-width: 380px; padding: 28px; border-radius: 20px; background: #FFFFFF; text-align: center; }
.drop-luta img { margin: 0 auto 10px; width: 128px; height: 128px; image-rendering: pixelated; animation: tremer .25s infinite; }
.drop-luta p { font-weight: 700; color: var(--texto-suave); }
.drop-raridade { display: inline-block; margin: 0 0 6px; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; text-transform: uppercase; }
.drop-resultado h2 { margin: 4px 0; font-size: 30px; }
@keyframes tremer { 0%,100% { transform: translate(0,0); } 25% { transform: translate(-3px,1px); } 50% { transform: translate(3px,-1px); } 75% { transform: translate(-1px,-2px); } }
@media (prefers-reduced-motion: reduce) { .drop-luta img { animation: none; } }

/* ---------- Faixa "Maiores ganhos · 24h" ---------- */
.faixa-ganhos { display: flex; align-items: stretch; margin: 16px 0 0; border-radius: 14px; overflow: hidden; background: #0E2A1A; border: 1px solid #1E4A31; color: #E6F4EA; min-height: 46px; }
.fg-rotulo { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: linear-gradient(135deg, #E11D48, #B91C3C); color: #FFFFFF; font: 800 12px/1 Inter, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.fg-janela { position: relative; flex: 1; overflow: hidden; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.fg-trilha { display: inline-flex; align-items: center; white-space: nowrap; animation: fg-rolar 40s linear infinite; padding-left: 16px; }
.faixa-ganhos:hover .fg-trilha { animation-play-state: paused; }
.fg-copia { display: inline-flex; align-items: center; }
.fg-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #CFE6D7; text-decoration: none; }
.fg-item strong { color: #FFFFFF; }
.fg-item img { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; }
a.fg-item:hover strong { text-decoration: underline; }
.fg-extensao strong { color: #FDE047; }
.fg-rc { font-weight: 800; color: #3EE6A8; }
.fg-rc.fg-raro { color: #60A5FA; } .fg-rc.fg-epico { color: #C084FC; } .fg-rc.fg-lendario { color: #FBBF24; }
.fg-vazio { opacity: .7; }
.fg-sep { margin: 0 18px; color: #3F6B50; }
@keyframes fg-rolar { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .fg-trilha { animation: none; } .fg-janela { overflow-x: auto; scrollbar-width: none; } .fg-janela::-webkit-scrollbar { display: none; } .fg-copia { display: none; } }
@media (max-width: 560px) { .faixa-ganhos { margin: 12px 0 0; } .fg-rotulo { padding: 0 10px; font-size: 11px; } .fg-rotulo span { display: none; } }

/* ---------- Quadro "Fala, nome!" + próximo drop ---------- */
.drop-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 8px; padding: 32px; border-radius: 22px;
  background: radial-gradient(120% 140% at 0% 0%, #155C35 0%, #0B2E1B 55%, #071B10 100%); border: 1px solid #1E5A38; color: #E6F4EA; }
.dh-kicker { margin: 0 0 8px; font: 700 12px/1.2 Inter, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #8EE3B6; }
.dh-kicker span { color: #3EE6A8; margin-right: 4px; }
.dh-titulo { margin: 0 0 10px; font: 800 44px/1.05 "Chakra Petch", Inter, sans-serif; text-transform: uppercase; color: #FFFFFF; }
.dh-titulo span { background: linear-gradient(90deg, #3EE6A8, #C8F560); -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: anywhere; }
.dh-desc { margin: 0 0 18px; line-height: 1.6; color: #CFE6D7; max-width: 520px; }
.dh-desc strong { color: #FFFFFF; } .dh-desc .dh-sub { color: #C4B5FD; }
.dh-acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.dh-botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid #2E6E48;
  background: rgba(255,255,255,.04); color: #FFFFFF; font: 700 15px/1 Inter, system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.dh-botao:hover { background: rgba(255,255,255,.09); color: #FFFFFF; }
.dh-botao-forte { border: none; background: linear-gradient(180deg, #22C55E, #15803D); box-shadow: 0 6px 20px rgba(34,197,94,.35); }
.dh-botao-forte:hover { filter: brightness(1.08); background: linear-gradient(180deg, #22C55E, #15803D); }
.dh-card { padding: 22px; border-radius: 18px; background: #06150D; border: 1px solid #2E6E48; box-shadow: 0 0 0 1px rgba(62,230,168,.08), 0 18px 40px rgba(0,0,0,.35); }
.dh-card-topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dh-twitch { display: flex; align-items: center; gap: 12px; }
.dh-twitch strong { display: block; color: #FFFFFF; } .dh-twitch small { color: #8FB39C; font-size: 13px; }
.dh-twitch-icone { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #9146FF; }
.dh-estado { padding: 6px 12px; border-radius: 999px; border: 1px solid #355E46; color: #9FB8A8; font: 700 13px/1 Inter, system-ui, sans-serif; white-space: nowrap; }
.dh-estado::before { content: "●"; margin-right: 6px; }
.dh-estado-vivo { border-color: #7F1D2D; color: #FCA5B5; background: rgba(225,29,72,.12); } .dh-estado-vivo::before { color: #F43F5E; }
.dh-rotulo { margin: 18px 0 2px; font: 700 12px/1 Inter, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #8FB39C; }
.dh-tempo-linha { display: flex; justify-content: space-between; align-items: center; }
.dh-tempo { margin: 0; font: 800 54px/1.05 "Chakra Petch", Inter, sans-serif; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.dh-tempo small { font-size: 26px; color: #8FB39C; }
.dh-moeda { width: 64px; height: 64px; filter: drop-shadow(0 0 18px rgba(62,230,168,.35)); }
.dh-dica { margin: 4px 0 14px; color: #CFE6D7; font-size: 14px; }
.dh-barra { height: 14px; border-radius: 999px; background: #0F2A1A; border: 1px solid #1E4A31; overflow: hidden; }
.dh-barra span { display: block; height: 100%; border-radius: 999px; transition: width .6s;
  background: repeating-linear-gradient(-45deg, #3EE6A8 0 10px, #22C55E 10px 20px); }
.dh-marcas { display: flex; justify-content: space-between; margin: 6px 0 14px; font: 700 12px/1 Inter, system-ui, sans-serif; color: #8FB39C; }
.dh-hoje { margin: 0 0 6px; color: #CFE6D7; font-size: 14px; } .dh-hoje strong { color: #FFFFFF; } .dh-ultimo { color: #FDE047; }
.dh-auto { margin: 0 0 12px; color: #8FB39C; font-size: 13px; }
.dh-extensao { margin: 0 0 16px; padding: 10px 12px; border-radius: 10px; border: 1px dashed #2E6E48; background: rgba(62,230,168,.05); font-size: 14px; color: #CFE6D7; }
.dh-extensao a { color: inherit; text-decoration: none; } .dh-extensao strong { color: #FFFFFF; } .dh-extensao a:hover strong { text-decoration: underline; }
.dh-rodape { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid #1E4A31; font-size: 14px; }
.dh-rodape strong { color: #FDE047; } .dh-rodape small { display: block; margin-top: 4px; color: #8FB39C; } .dh-rodape b { color: #4ADE80; }
@media (max-width: 980px) { .drop-hero { grid-template-columns: 1fr; padding: 22px; } .dh-titulo { font-size: 34px; } .dh-tempo { font-size: 44px; } }

/* Modal "Ver chances" */
.chances-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(4, 16, 10, .78); }
.chances-caixa { position: relative; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto; padding: 22px; border-radius: 20px; background: #06150D; border: 1px solid #2E6E48; color: #E6F4EA; }
.chances-fechar { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 10px; border: 1px solid #2E6E48; background: transparent; color: #CFE6D7; font-size: 16px; cursor: pointer; }
.chances-topo { display: flex; gap: 14px; align-items: center; margin: 0 40px 16px 0; }
.chances-topo h2 { margin: 0; font-size: 22px; color: #FFFFFF; } .chances-topo p { margin: 4px 0 0; color: #8FB39C; font-size: 14px; }
.chances-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.chances-lista li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #0D2417; border-left: 3px solid #4B6B57; }
.chances-lista li strong { display: block; color: #FFFFFF; font-size: 15px; } .chances-lista li small { font-weight: 700; font-size: 12px; }
.chances-lista .ch-comum small { color: #9FB8A8; } .chances-lista .ch-raro { border-left-color: #60A5FA; } .chances-lista .ch-raro small { color: #60A5FA; }
.chances-lista .ch-epico { border-left-color: #C084FC; } .chances-lista .ch-epico small { color: #C084FC; }
.chances-lista .ch-lendario { border-left-color: #FBBF24; } .chances-lista .ch-lendario small { color: #FBBF24; }
.ch-sub { padding: 6px 10px; border-radius: 999px; background: #7C3AED; color: #FFFFFF; font: 800 12px/1 Inter, system-ui, sans-serif; white-space: nowrap; }
.ch-chance { min-width: 48px; text-align: right; font: 800 15px/1 "Chakra Petch", Inter, sans-serif; color: #CFE6D7; }
.chances-sub { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, #3B1F72, #5B21B6); border: 1px solid #7C3AED; }
.chances-sub > span { font-size: 26px; } .chances-sub strong { display: block; color: #FFFFFF; } .chances-sub small { color: #E9D5FF; }
.chances-sub .botao { margin-left: auto; flex: none; }
@media (max-width: 560px) { .dh-titulo { font-size: 30px; } .dh-tempo { font-size: 38px; } .dh-tempo small { font-size: 20px; } .dh-moeda { width: 52px; height: 52px; } .dh-card { padding: 16px; } .drop-hero { padding: 18px; } }

/* Modal "Como ganhar Rubini Coins" */
.como-caixa { max-width: 560px; }
.como-titulo { display: flex; align-items: center; gap: 10px; margin: 0 48px 18px 0; font-size: 22px; color: #FFFFFF; }
.como-intro { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.como-intro img { flex: none; width: 72px; height: 72px; }
.como-intro p { margin: 0 0 6px; color: #9FB8A8; font-size: 14px; line-height: 1.55; }
.como-intro .como-destaque { color: #FFFFFF; font-size: 19px; line-height: 1.35; }
.como-destaque b { color: #FDE047; }
.como-sub { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, #3B1F72, #5B21B6); border: 1px solid #7C3AED; margin-bottom: 16px; }
.como-2x { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: #FFFFFF; color: #4B1FB8; font: 800 20px/1 "Chakra Petch", Inter, sans-serif; }
.como-sub strong { display: block; color: #FFFFFF; } .como-sub small { color: #E9D5FF; font-size: 13px; } .como-sub b { color: #FFFFFF; }
.como-sub .botao { margin-left: auto; flex: none; }
.como-dicas { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; color: #CFE6D7; font-size: 15px; line-height: 1.5; }
.como-dicas li { display: flex; gap: 10px; } .como-dicas b { color: #FDE047; }
.como-dicas a { color: #FDE047; }
.como-rodape { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid #1E4A31; }
.como-mais { color: #8FB39C; font-size: 14px; }
.como-entrar { background: #9146FF; color: #FFFFFF; } .como-entrar:hover { color: #FFFFFF; filter: brightness(1.08); }
.como-ok { background: transparent; border: 1px solid #2E6E48; color: #FFFFFF; } .como-ok:hover { background: rgba(255,255,255,.06); }
@media (max-width: 480px) { .como-sub { flex-wrap: wrap; } .como-sub .botao { margin-left: 62px; } }

/* ---------- Baús: movimento e abertura ---------- */
@keyframes bau-flutua { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes bau-brilho { 0%,100% { filter: drop-shadow(0 0 6px rgba(62,230,168,.35)); } 50% { filter: drop-shadow(0 0 16px rgba(132,255,90,.75)); } }
@keyframes bau-treme { 0%,100% { transform: rotate(0) scale(1); } 20% { transform: rotate(-4deg) scale(1.04); } 40% { transform: rotate(4deg) scale(1.06); } 60% { transform: rotate(-3deg) scale(1.08); } 80% { transform: rotate(3deg) scale(1.1); } }
.bau-anim img, .bau-anim-solo, .dh-bau { animation: bau-flutua 2.8s ease-in-out infinite, bau-brilho 2.2s ease-in-out infinite; }
.item-sub { border-color: #7C3AED; background: linear-gradient(135deg, #FFFFFF 55%, #F3ECFF); }
.item-sub .item-imagem { background: radial-gradient(circle at 50% 60%, #2D5A1E, #0B1F0E 75%); }
.item-botoes { display: flex; flex-wrap: wrap; gap: 8px; }
.abrir-caixa { max-width: 420px; }
.abrir-anim img { margin: 0 auto 8px; width: 200px; height: 140px; object-fit: contain; animation: bau-treme .5s ease-in-out infinite; }
.abrir-anim p { font-weight: 700; color: var(--texto-suave); }
.abrir-lista { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.abrir-lista li { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: var(--fundo); font-weight: 700; }
.abrir-lista li small { font-size: 12px; }
.abrir-lista .ch-raro small { color: #1D6FD8; } .abrir-lista .ch-epico small { color: #8B3FD9; } .abrir-lista .ch-lendario small { color: #C27803; } .abrir-lista .ch-comum small { color: #5B6F62; }
.dh-bau { width: 84px; height: 84px; object-fit: contain; }
.dh-abrir { color: #3EE6A8; font-weight: 700; }
.chances-abas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.chances-abas button { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; border: 1px solid #2E6E48; background: transparent; color: #CFE6D7; font: 700 14px/1.2 Inter, system-ui, sans-serif; cursor: pointer; }
.chances-abas button img { object-fit: contain; flex: none; }
.chances-abas button[aria-selected="true"] { background: #0D2417; border-color: #3EE6A8; color: #FFFFFF; box-shadow: 0 0 0 2px rgba(62,230,168,.25); }
.chances-abas button[data-tab="sub"][aria-selected="true"] { border-color: #A78BFA; box-shadow: 0 0 0 2px rgba(167,139,250,.3); }
.chances-lista li { grid-template-columns: auto 1fr auto; }
@media (prefers-reduced-motion: reduce) { .bau-anim img, .bau-anim-solo, .dh-bau, .abrir-anim img { animation: none; } }
.item-imagem { width: 132px; }
.item-imagem img { width: 112px; height: 96px; object-fit: contain; image-rendering: auto; }
.item-imagem img[src$=".gif"] { image-rendering: pixelated; width: 96px; }
.bau-anim-solo { object-fit: contain; } .como-intro img.bau-anim-solo { width: 96px; height: 72px; }
.botao-embreve { background: #FFF1D6; color: #7A4F00; border: 1px dashed #E4B95C; cursor: pointer; }
.botao-embreve:hover { background: #FFE9BF; color: #7A4F00; }

/* ---------- Quadro de dicas no topo (extensão + sub) ---------- */
.aviso-topo { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; margin: 16px 0 20px; }
.aviso-topo.container { margin: 0 auto 16px; }
.av-ext, .av-sub { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; }
.av-ext { background: linear-gradient(120deg, #0B2E1B, #123D25 60%, #0E3420); border: 1px solid #2E8B57; color: #CFE6D7; }
.av-ext strong { display: block; color: #FFFFFF; font-size: 16px; } .av-ext small { font-size: 14px; line-height: 1.45; } .av-ext b { color: #3EE6A8; }
.av-icone { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; font-size: 24px; background: linear-gradient(180deg, #4ADE80, #16A34A); box-shadow: 0 6px 16px rgba(34,197,94,.35); }
.av-acoes { margin-left: auto; flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.av-botao { min-height: 42px; padding: 0 16px; background: linear-gradient(180deg, #4ADE80, #16A34A); color: #052E16; font-weight: 800; border-radius: 10px; box-shadow: 0 6px 16px rgba(34,197,94,.3); white-space: nowrap; }
.av-botao:hover { color: #052E16; filter: brightness(1.06); }
.av-breve { background: #1E4A31; color: #9FB8A8; box-shadow: none; cursor: default; }
.av-como { color: #8FB39C; font-size: 13px; }
.av-sub { background: linear-gradient(120deg, #2E1065, #4C1D95 60%, #5B21B6); border: 1px solid #7C3AED; color: #E9D5FF; }
.av-sub > span { font-size: 26px; flex: none; } .av-sub strong { display: block; color: #FFFFFF; } .av-sub small { font-size: 13px; line-height: 1.4; }
.av-virar { margin-left: auto; flex: none; background: #FFFFFF; color: #4B1FB8; }
.av-virar:hover { color: #4B1FB8; filter: brightness(.96); }
.av-sub-ok { background: linear-gradient(120deg, #3B0764, #6D28D9); }
@media (max-width: 900px) { .aviso-topo { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .av-ext { flex-wrap: wrap; } .av-acoes { margin-left: 60px; flex-direction: row; } }

/* ---------- Carteira ---------- */
.cart-topo { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } .cart-topo small { color: var(--texto-suave); }
.cart-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cart-card { padding: 20px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--borda); }
.cart-rotulo { margin: 0 0 10px; font: 800 12px/1 Inter, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); }
.cart-valor { display: flex; align-items: center; gap: 8px; margin: 0; font: 800 34px/1.1 "Chakra Petch", Inter, sans-serif; color: var(--texto); }
.cart-valor small { font-size: 16px; color: var(--texto-suave); }
.cart-sub { margin: 8px 0 0; color: var(--texto-suave); font-size: 14px; }
.cart-link { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14px; }
.cart-grade { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; align-items: start; }
.cart-hist, .cart-resumo { padding: 20px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--borda); }
.cart-hist-topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.cart-hist h2, .cart-resumo h2 { margin: 0; font-size: 19px; }
.cart-lista { display: flex; flex-direction: column; }
.cart-mov { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 2px; border-top: 1px solid var(--borda); }
.cart-mov:first-child { border-top: none; }
.cart-mov strong { display: block; } .cart-mov small { color: var(--texto-suave); font-size: 13px; }
.cart-ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--fundo); }
.cart-rc { font: 800 16px/1 "Chakra Petch", Inter, sans-serif; }
.cart-mais { color: #15803D; } .cart-menos { color: #B4232F; }
.cart-resumo ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cart-resumo li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--fundo); }
.cart-resumo li strong { display: block; font-size: 14px; } .cart-resumo li small { color: var(--texto-suave); font-size: 12px; }
.menu a[data-item="carteira"]::before { content: "💰"; }
@media (max-width: 900px) { .cart-cards, .cart-grade { grid-template-columns: 1fr; } }

/* ---------- Página de ranking ---------- */
.rk-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; align-items: start; }
.rk-painel { padding: 20px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--borda); }
.rk-cab { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.rk-cab h2 { margin: 0; font-size: 20px; } .rk-cab small { color: var(--texto-suave); }
.menu a[data-item="ranking"]::before { content: "🏆"; }
@media (max-width: 900px) { .rk-grade { grid-template-columns: 1fr; } }
.perfil + .aviso-topo.container { margin-top: 28px; }

/* Perfil sem capa: linha compacta */
.perfil { padding-top: 20px; }
.perfil .perfil-linha { margin-top: 0; padding: 14px 20px; align-items: center; border-radius: 18px; background: var(--superficie); border: 1px solid var(--borda); }
.perfil .foto { width: 72px; height: 72px; border-width: 3px; }
.perfil .perfil-texto, .perfil .perfil-acoes { padding-top: 0; padding-bottom: 0; }
.perfil .perfil-texto h1 { font-size: 28px; }
.perfil + .aviso-topo.container { margin-top: 16px; }
@media (max-width: 560px) { .perfil .perfil-linha { padding: 14px; gap: 14px; } .perfil .foto { width: 60px; height: 60px; } .perfil .perfil-texto h1 { font-size: 24px; } }

/* Página inicial: o quadro "Fala, nome!" cabe inteiro na primeira tela */
.perfil + section .drop-hero { margin-top: 16px; }
.aviso-topo.aviso-depois-hero { margin-top: 16px; }
.drop-hero { padding: 26px 30px; gap: 26px; }
.dh-titulo { font-size: 42px; }
.dh-desc { margin-bottom: 16px; line-height: 1.55; }
.dh-card { padding: 18px 20px; }
.dh-twitch-icone { width: 38px; height: 38px; }
.dh-rotulo { margin-top: 12px; }
.dh-tempo { font-size: 48px; }
.dh-tempo small { font-size: 22px; }
.dh-bau { width: 70px; height: 70px; }
.dh-dica { margin: 2px 0 10px; }
.dh-barra { height: 12px; }
.dh-marcas { margin: 6px 0 10px; }
.dh-auto { margin-bottom: 10px; font-size: 12px; }
.dh-extensao { display: none; }
.dh-rodape { padding-top: 12px; }
.dh-rodape .dh-botao { min-height: 42px; }
@media (max-height: 820px) and (min-width: 981px) { .dh-desc { font-size: 15px; } .dh-titulo { font-size: 38px; } .dh-auto { display: none; } }

/* ---------- Seu progresso: sequência + números ---------- */
.prog-grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.prog-seq { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; color: #FFF7ED;
  background: linear-gradient(120deg, #7C2D12, #C2410C 55%, #EA580C); border: 1px solid #F97316; }
.prog-fogo { font-size: 46px; line-height: 1; filter: drop-shadow(0 0 14px rgba(253,186,116,.7)); }
.prog-seq-txt { flex: 1; min-width: 0; }
.prog-rot { margin: 0; font: 800 12px/1 Inter, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #FED7AA; }
.prog-seq-num { margin: 4px 0 2px; font: 700 18px/1.1 Inter, system-ui, sans-serif; }
.prog-seq-num strong { font: 800 40px/1 "Chakra Petch", Inter, sans-serif; color: #FFFFFF; }
.prog-seq-msg { margin: 0; font-size: 14px; color: #FFEDD5; }
.prog-seq-hoje { margin-top: 8px; max-width: 320px; } .prog-seq-hoje .barra { margin: 0 0 4px; background: rgba(0,0,0,.25); } .prog-seq-hoje .barra span { background: #FDE047; }
.prog-seq-hoje small { color: #FED7AA; }
.prog-recorde { margin: 0; text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #FED7AA; padding: 10px 14px; border-radius: 12px; background: rgba(0,0,0,.18); }
.prog-recorde strong { font: 800 26px/1.2 "Chakra Petch", Inter, sans-serif; color: #FFFFFF; letter-spacing: 0; }
.prog-seq-risco { animation: seq-pulsa 1.6s ease-in-out infinite; }
@keyframes seq-pulsa { 50% { box-shadow: 0 0 0 4px rgba(249,115,22,.35); } }
.prog-seq-apagada { background: linear-gradient(120deg, #292524, #44403C); border-color: #57534E; }
.prog-seq-apagada .prog-fogo { filter: grayscale(1) opacity(.6); }
@media (max-width: 900px) { .prog-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .prog-seq { flex-wrap: wrap; } .prog-fogo { font-size: 38px; } }
@media (prefers-reduced-motion: reduce) { .prog-seq-risco { animation: none; } }
@media (max-width: 480px) { .prog-grade .regra strong { font-size: 22px; } .prog-grade .regra span { font-size: 13px; } }

/* ---------- Barra do topo: live no meio, conta no canto direito ---------- */
.faixa-live .container.bt-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; min-height: 52px; padding-top: 6px; padding-bottom: 6px; max-width: none; padding-left: 24px; padding-right: 16px; }
.faixa-live:hover { background: var(--verde-escuro); }
.bt-live { display: inline-flex; align-items: center; gap: 12px; color: #FFFFFF; text-decoration: none; font-weight: 600; white-space: nowrap; }
.bt-live:hover { color: #FFFFFF; } .bt-live:hover .bt-msg { text-decoration: underline; }
.bt-off { background: rgba(255,255,255,.14); color: #D6EBDD; }
.bt-conta { justify-self: end; display: flex; align-items: center; gap: 8px; }
.bt-item { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14);
  color: #FFFFFF; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.bt-item:hover { background: rgba(255,255,255,.18); color: #FFFFFF; }
.bt-item img { width: 20px; height: 20px; object-fit: contain; }
.bt-baus img { width: 26px; height: 22px; }
.bt-baus-tem { background: rgba(253,224,71,.16); border-color: rgba(253,224,71,.45); color: #FEF08A; }
.bt-perfil { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 3px; border-radius: 999px; background: rgba(255,255,255,.1); color: #FFFFFF; font-weight: 600; font-size: 14px; max-width: 200px; }
.bt-perfil img { width: 30px; height: 30px; border-radius: 50%; flex: none; border: 2px solid #3EE6A8; }
.bt-nome { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-sair { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 10px; color: #CFE6D7; font-size: 14px; font-weight: 600; text-decoration: none; }
.bt-sair:hover { color: #FFFFFF; background: rgba(255,255,255,.1); }
.bt-entrar { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 10px; background: #9146FF; color: #FFFFFF; font-weight: 700; font-size: 14px; text-decoration: none; }
.bt-entrar:hover { color: #FFFFFF; filter: brightness(1.08); }
@media (max-width: 1500px) { .bt-msg { max-width: 34vw; overflow: hidden; text-overflow: ellipsis; } }
@media (max-width: 1250px) { .faixa-live .container.bt-in { grid-template-columns: auto minmax(0, 1fr); } .bt-vazio { display: none; } .bt-live { min-width: 0; } .bt-nome { display: none; } .bt-perfil { padding-right: 3px; } }
@media (max-width: 700px) {
  .faixa-live .container.bt-in { grid-template-columns: 1fr; justify-items: center; padding-left: 12px; padding-right: 12px; gap: 8px; }
  .bt-live { white-space: normal; text-align: center; } .bt-msg { max-width: none; font-size: 14px; }
  .bt-conta { justify-self: center; flex-wrap: wrap; justify-content: center; } .bt-txt { display: none; }
}

/* ---------- Rodapé do menu: pessoas assistindo agora ---------- */
.menu-live { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; text-decoration: none; color: #FFFFFF;
  background: linear-gradient(135deg, #4C1D95, #7C3AED); border: 1px solid #8B5CF6; box-shadow: 0 8px 20px rgba(124,58,237,.25); }
.menu-live:hover { color: #FFFFFF; filter: brightness(1.08); }
.ml-topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ml-ir { font-size: 13px; font-weight: 700; color: #E9D5FF; }
.menu-live strong { font: 800 28px/1.1 "Chakra Petch", Inter, sans-serif; }
.ml-olho { font-size: 22px; }
.menu-live small { color: #E9D5FF; font-size: 13px; }
.menu-live-off { background: linear-gradient(135deg, #1F2937, #374151); border-color: #4B5563; box-shadow: none; }
.menu-live-off strong { font-size: 20px; }
.menu-live-off .selo-off { background: rgba(255,255,255,.14); color: #E5E7EB; }
/* Barra: a mensagem da live encolhe (com "…") para nunca encostar na conta */
.faixa-live .container.bt-in { grid-template-columns: minmax(0, 1fr) auto; }
.bt-vazio { display: none; }
.bt-live { justify-self: center; min-width: 0; max-width: 100%; overflow: hidden; }
.bt-live > .ponto-vivo, .bt-live > .selo-off { flex: none; }
.bt-msg { min-width: 0; max-width: none; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1400px) { .bt-nome { display: none; } .bt-perfil { padding-right: 3px; } }
@media (max-width: 700px) { .faixa-live .container.bt-in { grid-template-columns: 1fr; } .bt-msg { white-space: normal; } }

/* Quadro de quem está assistindo no verde da live */
.menu-live { background: linear-gradient(135deg, #0E3B22, #15803D); border-color: #22C55E; box-shadow: 0 8px 20px rgba(21,128,61,.28); }
.ml-ir, .menu-live small { color: #BBF7D0; }
.menu-live-off { background: linear-gradient(135deg, #1F2937, #374151); border-color: #4B5563; box-shadow: none; }
.menu-live-off .ml-ir, .menu-live-off small { color: #D1D5DB; }
.aviso-topo.container { margin-top: 24px; margin-bottom: 8px; }
.aviso-topo.aviso-depois-hero { margin-top: 16px; margin-bottom: 16px; }
/* Ranking com 3 listas */
.rk-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rk-painel { padding: 16px; } .rk-cab h2 { font-size: 18px; }
.rk-painel .ranking-linha { gap: 10px; padding: 10px 12px; }
.rk-painel .ranking-nome { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1300px) { .rk-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .rk-grade { grid-template-columns: 1fr; } }
.rk-linha { display: flex; align-items: center; }
.rk-info { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 2px; }
.rk-nome-linha { display: flex; align-items: center; gap: 6px; min-width: 0; }
.rk-valor { font-size: 14px; color: var(--texto-suave); } .rk-valor strong { color: var(--verde); font-size: 15px; }

/* Painel: formulário de regras alinhado */
.grade-regras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; }
.grade-regras .campo > label:first-child, .grade-regras .rotulo-campo { min-height: 2.7em; display: flex; align-items: flex-end; font-weight: 600; font-size: 15px; line-height: 1.3; }
.grade-regras input[type="number"] { height: 48px; }
.caixa-check { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid var(--borda); border-radius: 10px; background: #FFFFFF; font-weight: 600; font-size: 15px; cursor: pointer; }
.caixa-check input { width: 20px; height: 20px; margin: 0; flex: none; }
.regras-acoes { grid-column: 1 / -1; }
.regras-acoes .botao { min-width: 200px; }
@media (max-width: 1100px) { .grade-regras { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grade-regras { grid-template-columns: 1fr; } .grade-regras .campo > label:first-child, .grade-regras .rotulo-campo { min-height: 0; } }

/* =====================================================================
   TEMA ESCURO (padrão). Quem quiser, troca para o fundo branco no botão ☀️ do topo.
   ===================================================================== */
html[data-tema="escuro"] {
  --fundo: #0A120E;
  --superficie: #111C16;
  --borda: #22362A;
  --texto: #E7F1EA;
  --texto-suave: #A3BBAC;
  --verde: #22C55E;
  --menta-claro: #143222;
  color-scheme: dark;
}
html[data-tema="escuro"] a:hover { color: #86EFAC; }
html[data-tema="escuro"] .botao-verde { background: #16A34A; color: #FFFFFF; }
html[data-tema="escuro"] .botao-verde:hover { background: #15803D; color: #FFFFFF; }
html[data-tema="escuro"] .menu a[aria-current="page"], html[data-tema="escuro"] .menu a:hover { color: #86EFAC; }
html[data-tema="escuro"] .menu .em-breve { color: #7E9688; }
html[data-tema="escuro"] .botao[aria-disabled="true"], html[data-tema="escuro"] .botao:disabled { background: #1C2A22; color: #7E9688; }
html[data-tema="escuro"] .botao-secundario { background: #16241C; color: var(--texto); border-color: #2E4537; }
html[data-tema="escuro"] .botao-perigo { background: #1F1416; color: #FCA5B0; border-color: #5B2730; }
html[data-tema="escuro"] input, html[data-tema="escuro"] select, html[data-tema="escuro"] textarea { background: #0D1712; color: var(--texto); border-color: #2E4537; }
html[data-tema="escuro"] .caixa-check { background: #0D1712; }
html[data-tema="escuro"] .painel-adm { background: var(--superficie); }
html[data-tema="escuro"] .menu-botao { background: #16241C; color: var(--texto); }
html[data-tema="escuro"] .barra, html[data-tema="escuro"] .ranking-pos { background: #1E3027; }
html[data-tema="escuro"] .ranking-pos { color: var(--texto); }
html[data-tema="escuro"] .ranking-pos.ouro { background: #F5B83D; color: #1A1306; }
html[data-tema="escuro"] .selo-off { background: #1E2B24; color: #A3BBAC; }
html[data-tema="escuro"] .selo-sub { background: #1E2A4A; color: #BFD3FF; }
html[data-tema="escuro"] .selo-breve { background: #1E2B24; color: #A3BBAC; }
html[data-tema="escuro"] .menu a .selo-breve, html[data-tema="escuro"] .botao-embreve { background: #3A2A08; color: #FCD34D; border-color: #6B4E12; }
html[data-tema="escuro"] .nota-alerta, html[data-tema="escuro"] .status-pendente, html[data-tema="escuro"] .risco-medio { background: #3A2A08; color: #FCD34D; }
html[data-tema="escuro"] .mensagem.erro, html[data-tema="escuro"] .status-recusado, html[data-tema="escuro"] .risco-alto { background: #3B1219; color: #FCA5B0; }
html[data-tema="escuro"] .risco-baixo { background: #332D0C; color: #FDE68A; }
html[data-tema="escuro"] .contador-btn:disabled { background: #16241C; border-color: #22362A; color: #5F7568; }
html[data-tema="escuro"] .drop-caixa { background: var(--superficie); color: var(--texto); }
html[data-tema="escuro"] .drop-tag-comum { background: #1E2B24; color: #C7D8CD; } html[data-tema="escuro"] .drop-tag-raro { background: #172A4A; color: #93C5FD; }
html[data-tema="escuro"] .drop-tag-epico { background: #2A1745; color: #D8B4FE; } html[data-tema="escuro"] .drop-tag-lendario { background: #3A2A08; color: #FCD34D; }
html[data-tema="escuro"] .boss-card .botao[disabled] { background: #1C2A22; color: #7E9688; }
html[data-tema="escuro"] .item-qtd { background: #0D1712; color: #86EFAC; border-color: #22C55E; }
html[data-tema="escuro"] .cart-mais { color: #4ADE80; } html[data-tema="escuro"] .cart-menos { color: #FB7185; }
html[data-tema="escuro"] .saldo { color: #86EFAC; }
html[data-tema="escuro"] .nota { color: #BBF7D0; }
html[data-tema="escuro"] img[src="/favicon.png"] { background: #fff; }

/* Botão de trocar o fundo (na barra do topo) */
.bt-tema { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.1); color: #FFFFFF; font-size: 17px; cursor: pointer; padding: 0; }
.bt-tema:hover { background: rgba(255,255,255,.2); }
html[data-tema="escuro"] .filtros button, html[data-tema="escuro"] .atalhos button, html[data-tema="escuro"] .contador-btn { background: #16241C; border-color: #2E4537; color: var(--texto); }
html[data-tema="escuro"] .filtros button[aria-pressed="true"] { background: #22C55E; border-color: #22C55E; color: #052E16; }
html[data-tema="escuro"] .atalhos button:hover, html[data-tema="escuro"] .filtros button:hover { border-color: #22C55E; }
html[data-tema="escuro"] .contador-btn:not(:disabled) { border-color: #22C55E; color: #86EFAC; }
html[data-tema="escuro"] .item-sub { background: linear-gradient(135deg, #111C16 55%, #241640); border-color: #7C3AED; }
html[data-tema="escuro"] .mensagem.ok { background: #143222; color: #BBF7D0; }
html[data-tema="escuro"] .status-pago { background: #143222; color: #86EFAC; }
.bt-tema { width: auto; padding: 0 12px; gap: 6px; display: inline-flex; align-items: center; font: 600 13px/1 Inter, system-ui, sans-serif; white-space: nowrap; }
@media (max-width: 1500px) { .bt-tema-txt { display: none; } .bt-tema { width: 36px; padding: 0; justify-content: center; } }
.grade-regras { grid-template-columns: repeat(3, minmax(0, 1fr)); } @media (max-width: 900px) { .grade-regras { grid-template-columns: 1fr; } }

/* Boss da semana: sequência 7/7 */
.boss-seq { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--fundo); border: 1px solid var(--borda); }
.boss-seq-topo { display: flex; justify-content: space-between; font-size: 14px; } .boss-seq-topo span { font-weight: 800; color: var(--verde); }
.boss-seq-bolas { display: flex; gap: 6px; margin: 8px 0 6px; }
.seq-bola { flex: 1; height: 10px; border-radius: 999px; background: var(--borda); }
.seq-feita { background: linear-gradient(90deg, #22C55E, #A3E635); }
.boss-seq small { color: var(--texto-suave); font-size: 12px; }
/* Drop de RC (no lugar dos baús de 1 hora) */
.dh-rc-anim { width: 72px; height: 72px; object-fit: contain; animation: bau-flutua 2.8s ease-in-out infinite; filter: drop-shadow(0 0 16px rgba(253,224,71,.45)); }
.rc-sub-img { filter: drop-shadow(0 0 8px rgba(167,139,250,.9)) hue-rotate(0deg); }
@media (prefers-reduced-motion: reduce) { .dh-rc-anim { animation: none; } }
.grade-regras { grid-template-columns: repeat(4, minmax(0, 1fr)); } @media (max-width: 1100px) { .grade-regras { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .grade-regras { grid-template-columns: 1fr; } }

/* ---------- Aba Baús (baú diário) ---------- */
.menu a[data-item="baus"]::before { content: "🧰"; }
.bd-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.bd-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px; border-radius: 20px; background: var(--superficie); border: 1px solid var(--borda); }
.bd-card h2 { font-size: 24px; margin: 8px 0 4px; }
.bd-desc { margin: 0 0 16px; color: var(--texto-suave); }
.bd-arte { width: 100%; display: grid; place-items: center; padding: 18px; border-radius: 16px; background: radial-gradient(circle at 50% 60%, #1E4A31, #0B1F14 75%); }
.bd-arte img { width: 220px; height: 160px; object-fit: contain; }
.bd-meu .bd-arte img { animation: bau-flutua 2.8s ease-in-out infinite, bau-brilho 2.2s ease-in-out infinite; }
.bd-card-sub { border-color: #7C3AED; }
.bd-card-sub .bd-arte { background: radial-gradient(circle at 50% 60%, #3B1F6E, #140A26 75%); }
.bd-selo { position: absolute; top: 16px; right: 16px; }
.bd-outro { opacity: .62; }
.bd-outro .bd-arte img { filter: grayscale(.6); }
.bd-acao { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bd-acao .botao { width: 100%; max-width: 320px; }
.bd-abrir { min-height: 56px; font-size: 18px; box-shadow: 0 8px 24px rgba(34,197,94,.35); }
.bd-feito { padding: 12px 16px; border-radius: 12px; background: var(--menta-claro); font-weight: 600; }
.bd-volta { margin: 0; color: var(--texto-suave); font-size: 14px; }
.bd-card .boss-drops { width: 100%; max-width: 320px; margin-top: 12px; text-align: left; }
.bd-chances { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 4px; }
.bd-chances li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 6px 10px; border-radius: 8px; background: var(--fundo); font-size: 14px; }
.bd-chances small { color: var(--texto-suave); }
@media (max-width: 760px) { .bd-grade { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .bd-meu .bd-arte img { animation: none; } }

/* ---------- Bosses: animação igual ao GIF, todos na mesma escala (3x) e com o pé na mesma linha ---------- */
.boss-arte-anim { display: flex; align-items: flex-end; justify-content: center; height: 220px; padding-bottom: 14px; }
.boss-arte-anim img { max-width: 100%; image-rendering: pixelated; }
.boss-card .boss-personagem { min-height: 0; }
.boss-card > .botao, .boss-card > .boss-seq { margin-top: auto; }
.boss-card > .boss-seq + .botao { margin-top: 0; }
.boss-card > p:not(.boss-personagem) { min-height: 63px; }
.boss-personagem { margin: -4px 0 0 !important; font-weight: 700; color: var(--verde) !important; font-size: 14px; }
#drop-img { width: 160px; height: 160px; object-fit: contain; image-rendering: pixelated; margin: 0 auto; }

/* =====================================================================
   Twitch + Kick: dois painéis de drop lado a lado (Kick ainda em breve)
   ===================================================================== */
.drop-hero-2 { grid-template-columns: 1fr; gap: 18px; padding: 24px 28px; }
.drop-hero-2 .dh-texto { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.drop-hero-2 .dh-texto > div:first-child { flex: 1 1 520px; }
.drop-hero-2 .dh-titulo { font-size: 38px; margin-bottom: 6px; }
.drop-hero-2 .dh-desc { margin: 0; max-width: 760px; font-size: 15px; }
.dh-dobro { color: #FDE047 !important; }
.dh-plataformas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dh-plataformas .dh-card { display: flex; flex-direction: column; padding: 16px 18px; }
.dh-plataformas .dh-tempo { font-size: 42px; }
.dh-plataformas .dh-rotulo { margin-top: 10px; }
.dh-plataformas .dh-hoje { margin: 0 0 4px; font-size: 13px; }
.dh-plataformas .dh-dica { margin: 0; font-size: 12px; color: #8FB39C; }
.dh-plataformas .dh-extensao { display: none; }
.dh-card-twitch { border-color: #6D3FD1; box-shadow: 0 0 0 1px rgba(145,70,255,.12), 0 18px 40px rgba(0,0,0,.35); }
.dh-card-kick { border-color: #3D8F1C; box-shadow: 0 0 0 1px rgba(83,252,24,.10), 0 18px 40px rgba(0,0,0,.35); }
.dh-kick-icone { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #53FC18; }
.dh-estado-breve { border-color: #3D8F1C; color: #B8F5A0; background: rgba(83,252,24,.08); }
.dh-estado-breve::before { color: #53FC18; }
.dh-tempo-off { color: #6F8B7A !important; } .dh-tempo-off small { color: #4F6A5A !important; }
.dh-moeda-kick { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 0 16px rgba(83,252,24,.4)); }
.dh-barra-kick span { background: #53FC18; }
.dh-kick-vincular { margin-top: auto; padding-top: 8px; }
.dh-botao-kick { width: 100%; min-height: 42px; justify-content: center; border: 1px dashed #3D8F1C; background: rgba(83,252,24,.06); color: #B8F5A0; cursor: not-allowed; }
.dh-botao-kick small, .pill-breve { margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.dh-rodape-2 { padding: 12px 16px; border-radius: 14px; background: rgba(0,0,0,.22); border-top: none; }
.dh-rodape-2 small { line-height: 1.45; }
/* Botões do perfil e da barra do topo */
.pill-kick { background: #13200F; color: #B8F5A0; border: 1px dashed #3D8F1C; cursor: not-allowed; }
.pill-2x-kick { background: #53FC18; color: #0B0E0F; }
.bt-kick { cursor: not-allowed; border: 1px dashed rgba(83,252,24,.5); color: #C9F7B5; }
.bt-kick:hover { background: rgba(255,255,255,.1); }
.bt-kick-k { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 5px; background: #53FC18; color: #0B0E0F; font: 900 13px/1 Inter, system-ui, sans-serif; }
@media (max-width: 1500px) { .bt-kick .bt-txt { display: none; } }
@media (max-width: 900px) { .dh-plataformas { grid-template-columns: 1fr; } .drop-hero-2 .dh-titulo { font-size: 30px; } }
@media (max-height: 820px) and (min-width: 981px) { .drop-hero-2 .dh-titulo { font-size: 32px; } .dh-plataformas .dh-tempo { font-size: 36px; } }
@media (max-height: 820px) and (min-width: 901px) {
  .drop-hero-2 { padding: 16px 22px; gap: 12px; }
  .drop-hero-2 .dh-kicker { display: none; }
  .drop-hero-2 .dh-titulo { font-size: 28px; margin-bottom: 2px; }
  .drop-hero-2 .dh-desc { font-size: 14px; line-height: 1.45; }
  .dh-plataformas .dh-card { padding: 12px 16px; }
  .dh-plataformas .dh-rotulo { margin-top: 6px; }
  .dh-plataformas .dh-tempo { font-size: 32px; }
  .dh-plataformas .dh-moeda { width: 48px; height: 48px; }
  .dh-plataformas .dh-marcas { display: none; }
  .dh-plataformas .dh-barra { margin-bottom: 8px; }
  .dh-plataformas .dh-dica { display: none; }
  .dh-kick-vincular { padding-top: 4px; }
  .dh-botao-kick { min-height: 36px; }
  .dh-rodape-2 { padding: 8px 14px; }
  .dh-rodape-2 .dh-botao { min-height: 38px; }
  .perfil { padding-top: 12px; }
  .perfil .perfil-linha { padding: 10px 16px; }
  .perfil .foto { width: 56px; height: 56px; }
}

/* ---------- Selos de sub (Twitch roxo / Kick verde) e ícones de plataforma ---------- */
.selo-sub { display: inline-flex; align-items: center; gap: 3px; vertical-align: middle; }
.selo-sub svg { flex: none; }
.selo-sub + .selo-sub { margin-left: 4px; }
.selo-sub-twitch { background: #EFE5FF; color: #6B2FD1; }
.selo-sub-kick { background: #DFFFD0; color: #1F6B06; }
html[data-tema="escuro"] .selo-sub-twitch { background: #2A1745; color: #D8B4FE; }
html[data-tema="escuro"] .selo-sub-kick { background: #14300A; color: #8CFF5E; }
.rk-foto-kick { box-shadow: 0 0 0 2px #53FC18; }
.bt-kick-ok { cursor: default; border-style: solid; }
.pl-icones { display: inline-flex; gap: 3px; vertical-align: middle; }
.pl-ico { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font: 800 11px/1 Inter, system-ui, sans-serif; }
.pl-registrado { background: #22C55E; color: #052E16; }
.pl-nao { background: var(--borda); color: var(--texto-suave); }
.pl-twitch { background: #9146FF; color: #FFFFFF; }
.pl-kick { background: #53FC18; color: #0B0E0F; }
.legenda-pl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 13px; color: var(--texto-suave); }
/* Kick ligada */
.bt-entrar-kick { background: #53FC18; color: #0B0E0F; margin-left: 6px; }
.bt-entrar-kick:hover { color: #0B0E0F; }
.bt-kick-link { cursor: pointer; border-style: solid; text-decoration: none; }
.pill-kick-on { cursor: pointer; border-style: solid; background: #53FC18; color: #0B0E0F; }
.pill-kick-on:hover { color: #0B0E0F; filter: brightness(1.05); }
.pill-kick-on .pill-2x-kick { background: #0B0E0F; color: #53FC18; }
.dh-botao-kick-on { cursor: pointer; border-style: solid; background: #53FC18; color: #0B0E0F; text-decoration: none; font-weight: 800; }
.dh-botao-kick-on:hover { color: #0B0E0F; filter: brightness(1.05); }
.dh-kick-conta { display: block; padding: 8px 10px; border-radius: 10px; background: rgba(83,252,24,.08); font-size: 13px; color: #CFE6D7; }
.dh-sub-kick { color: #8CFF5E; }
/* Chip da Twitch na barra do topo */
.bt-twitch { color: #BF94FF; border-color: rgba(145,70,255,.45); background: rgba(145,70,255,.10); text-decoration: none; }
.bt-twitch svg { flex: none; }
.bt-twitch-link { border-style: dashed; cursor: pointer; }
.bt-twitch-link:hover { color: #fff; background: rgba(145,70,255,.25); }
@media (max-width: 1500px) { .bt-twitch .bt-txt { display: none; } .bt-twitch { padding-left: 9px; padding-right: 9px; } }
/* Moeda com folga da barra de contagem */
.dh-plataformas .dh-tempo-linha { margin-bottom: 14px; }
@media (max-height: 820px) and (min-width: 981px) { .dh-plataformas .dh-tempo-linha { margin-bottom: 10px; } }

/* Aviso antes de vincular a Kick */
.kv-caixa { max-width: 520px; border-color: rgba(83,252,24,.45); }
.kv-topo { display: flex; gap: 14px; align-items: center; margin: 0 44px 16px 0; }
.kv-topo h2 { margin: 0; font: 900 22px/1.15 Inter, system-ui, sans-serif; color: #fff; }
.kv-topo p { margin: 4px 0 0; color: #A9C9B5; font-size: 14px; }
.kv-k { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: #53FC18; color: #0B0E0F; font: 900 24px/1 Inter, system-ui, sans-serif; }
.kv-alerta { padding: 12px 14px; border-radius: 12px; background: rgba(255,196,0,.08); border: 1px solid rgba(255,196,0,.35); color: #F3E3B0; font-size: 14px; line-height: 1.5; }
.kv-lista { margin: 14px 0 6px; padding-left: 22px; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.5; color: #E6F4EA; }
.kv-lista b { color: #8CFF5E; }
.kv-lista em { color: #A9C9B5; font-style: normal; font-size: 13px; }
.kv-obs { margin: 8px 0 12px; font-size: 13.5px; color: #FFB4B4; }
.kv-dica { padding: 12px 14px; border-radius: 12px; background: rgba(83,252,24,.07); border: 1px solid rgba(83,252,24,.3); font-size: 14px; line-height: 1.5; color: #D8F5CC; }
.kv-regras { margin: 12px 0 0; font-size: 12.5px; color: #8FB39C; }
.kv-botoes { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.kv-botoes > * { flex: 1 1 180px; text-align: center; padding: 13px 14px; border-radius: 12px; font: 800 15px/1.2 Inter, system-ui, sans-serif; text-decoration: none; }
.kv-ir { background: #53FC18; color: #0B0E0F; }
.kv-ir:hover { filter: brightness(1.06); color: #0B0E0F; }
.kv-ext { border: 1px solid #2E6E48; color: #E6F4EA; }
.kv-ext-off { opacity: .6; cursor: not-allowed; }
.kv-ext-off small { font-weight: 700; font-size: 11px; text-transform: uppercase; margin-left: 4px; color: #FFD27A; }
html[data-tema="claro"] .kv-caixa { background: #fff; color: #10251A; }
html[data-tema="claro"] .kv-topo h2 { color: #10251A; }
html[data-tema="claro"] .kv-lista { color: #10251A; }
html[data-tema="claro"] .kv-lista b { color: #1C8A0E; }
html[data-tema="claro"] .kv-alerta { color: #6B4E00; }
html[data-tema="claro"] .kv-dica { color: #1F4D14; }
html[data-tema="claro"] .kv-obs { color: #B42318; }
html[data-tema="claro"] .kv-ext { color: #10251A; }

/* Ícones do menu: itens do Tibia (animados) */
.menu a::before, .menu .em-breve::before, .menu [data-item]::before {
  content: "" !important; width: 30px; height: 30px; flex: none; opacity: 1 !important; filter: none !important;
  background: center / contain no-repeat; image-rendering: pixelated;
}
.menu a[href="/"]::before { background-image: url(/img/menu/inicio.webp?v=3); }
.menu a[href="/como-funciona.html"]::before { background-image: url(/img/menu/como-funciona.webp?v=3); }
.menu [data-item="carteira"]::before { background-image: url(/img/menu/carteira.webp?v=3); }
.menu [data-item="inventario"]::before { background-image: url(/img/menu/inventario.webp?v=3); }
.menu [data-item="baus"]::before { background-image: url(/img/menu/baus.webp?v=3); }
.menu a[href="/loja.html"]::before { background-image: url(/img/menu/resgatar.webp?v=4); }
.menu [data-item="ranking"]::before { background-image: url(/img/menu/ranking.webp?v=3); }
.menu [data-item="bosses"]::before, .menu .em-breve::before { background-image: url(/img/menu/bosses.webp?v=3); }
.menu a[href="/admin.html"]::before { content: "⚙️" !important; background: none; font-size: 18px; text-align: center; line-height: 30px; }

/* ==========================================================================
   VISUAL 2026 · "inventário do Tibia"
   Floresta (fundo) · Musgo (painéis) · Menta (ação) · Ouro (moedas) · Twitch roxo · Kick verde
   Ousadia em um lugar só: barras de XP segmentadas e ícones do menu em "slots" de inventário.
   ========================================================================== */
:root {
  --ouro: #F5C451;
  --ouro-escuro: #B8862B;
  --painel-brilho: inset 0 1px 0 rgba(255,255,255,.05);
  --painel-sombra: 0 18px 40px -28px rgba(0,0,0,.85);
}
html[data-tema="escuro"] {
  --fundo: #07120D;
  --superficie: #0D1B14;
  --borda: #1E3A2B;
  --texto: #E9F3EC;
  --texto-suave: #9DB8A8;
}
html[data-tema="escuro"] body {
  background:
    radial-gradient(900px 420px at 85% -120px, rgba(62,230,168,.10), transparent 70%),
    radial-gradient(700px 380px at 20% 110%, rgba(245,196,81,.05), transparent 70%),
    var(--fundo);
  background-attachment: fixed;
}

/* Tipografia: títulos e números com cara de jogo */
h1, h2, h3, .secao-titulo, .dh-titulo, .dh-tempo, .cart-valor, .saque-saldo strong, .saldo-grande strong, .rk-cab h2 {
  font-family: "Chakra Petch", Inter, system-ui, sans-serif; letter-spacing: -0.01em;
}
.secao-titulo { font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; }
.dh-titulo { font-weight: 700; letter-spacing: -0.02em; }
.dh-tempo { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
/* Rótulos em caixa normal (sem CAIXA ALTA espaçada) */
.dh-rotulo, .dh-kicker, .cart-rotulo { text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; font-weight: 600 !important; }
.dh-kicker span { display: none; }

/* ---------- Barra lateral: ícones dentro de slots de inventário */
html[data-tema="escuro"] .topo { background: linear-gradient(180deg, #0B1912 0%, #08140E 100%); border-right-color: #183224; }
.menu a::before, .menu .em-breve::before, .menu [data-item]::before {
  width: 40px !important; height: 40px !important; border-radius: 8px;
  background-color: #0A1610; background-size: 30px 30px !important;
  border: 1px solid #27453A;
  box-shadow: inset 0 0 0 1px #050C08, inset 0 2px 6px rgba(0,0,0,.55), 0 1px 0 rgba(255,255,255,.04);
}
.menu a, .menu .em-breve { padding: 7px 10px; gap: 14px; font-weight: 600; }
.menu a:hover::before { border-color: #3B6B53; }
.menu a[aria-current="page"]::before { border-color: var(--menta); box-shadow: inset 0 0 0 1px #050C08, inset 0 0 14px rgba(62,230,168,.18), 0 0 0 3px rgba(62,230,168,.12); }
html[data-tema="escuro"] .menu a[aria-current="page"] { background: linear-gradient(90deg, rgba(62,230,168,.13), rgba(62,230,168,.02)); color: #B9F8DE; }
.menu a[href="/admin.html"]::before { line-height: 38px !important; }
html[data-tema="claro"] .menu a::before, html:not([data-tema]) .menu a::before { background-color: #EAF3EC; border-color: #C9DCCF; box-shadow: inset 0 2px 5px rgba(15,36,24,.12); }

/* ---------- Barra do topo: vidro discreto */
html[data-tema="escuro"] .faixa-live { background: rgba(7,18,13,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #183224; }
.bt-rc { border-color: rgba(245,196,81,.5) !important; color: var(--ouro) !important; background: var(--superficie) !important; font-family: "Chakra Petch", Inter, sans-serif; font-weight: 700; }

/* ---------- Painéis: plano, borda fina e um brilho de bisel em cima */
html[data-tema="escuro"] :is(.cart-card, .rk-painel, .artigo, .item-resgate, .dh-card, .boss-card, .bau-card, .inv-card, .regra, .resumo, .chances-caixa) {
  box-shadow: var(--painel-brilho), var(--painel-sombra);
}
html[data-tema="escuro"] .drop-hero-2 {
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(62,230,168,.10), transparent 70%),
    linear-gradient(180deg, #0F2219 0%, #0B1912 100%);
  border-color: #23452F;
  box-shadow: var(--painel-brilho), 0 30px 60px -40px rgba(0,0,0,.9);
}
html[data-tema="escuro"] .dh-card { background: linear-gradient(180deg, #0A1711, #08130E); }
html[data-tema="escuro"] .dh-card-twitch { border-color: rgba(145,70,255,.55); }
html[data-tema="escuro"] .dh-plataformas .dh-card:not(.dh-card-twitch) { border-color: rgba(83,252,24,.42); }

/* ---------- Barras de XP segmentadas (15 em 15 minutos) */
.dh-barra, .barra {
  position: relative; height: 16px !important; border-radius: 5px !important; overflow: hidden;
  background: #06100B !important; border: 1px solid #27453A !important;
  box-shadow: inset 0 2px 5px rgba(0,0,0,.6);
}
.barra { height: 12px !important; }
.dh-barra::after, .barra::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent calc(25% - 1px), rgba(0,0,0,.65) calc(25% - 1px), rgba(0,0,0,.65) calc(25% + 1px), transparent calc(25% + 1px),
    transparent calc(50% - 1px), rgba(0,0,0,.65) calc(50% - 1px), rgba(0,0,0,.65) calc(50% + 1px), transparent calc(50% + 1px),
    transparent calc(75% - 1px), rgba(0,0,0,.65) calc(75% - 1px), rgba(0,0,0,.65) calc(75% + 1px), transparent calc(75% + 1px));
}
.dh-barra span, .barra span {
  border-radius: 3px !important;
  background: linear-gradient(180deg, #8DF7CC 0%, #3EE6A8 45%, #16A36B 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 12px rgba(62,230,168,.45);
}
.dh-card-twitch .dh-barra span { background: linear-gradient(180deg, #D3B5FF 0%, #A970FF 45%, #7134D8 100%) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 12px rgba(145,70,255,.5); }
.dh-barra-kick span { background: linear-gradient(180deg, #B6FF95 0%, #53FC18 45%, #2EA60A 100%) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 12px rgba(83,252,24,.45); }
.prog-seq-hoje .barra span { background: linear-gradient(180deg, #FFE9A8, #F5C451 50%, #B8862B) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.dh-marcas { font-family: "Chakra Petch", Inter, sans-serif; font-weight: 600 !important; }

/* Moeda: brilho dourado em vez de verde */
.dh-moeda:not(.dh-moeda-kick) { filter: drop-shadow(0 0 16px rgba(245,196,81,.45)); }

/* Valores em RC: ouro */
.dh-ultimo, .fg-rc { color: var(--ouro) !important; }

/* ---------- Faixa "Maiores ganhos" mais limpa */
html[data-tema="escuro"] .faixa-ganhos .fg-janela { background: #0A1711; border-color: #1E3A2B; }

/* ---------- Rodapé discreto */
.rodape { background: transparent !important; border-top: 1px solid var(--borda); color: var(--texto-suave); }
.rodape a { color: var(--texto-suave); }
.rodape a:hover { color: var(--menta); }

/* ---------- Botões principais */
html[data-tema="escuro"] .botao-verde, .dh-botao-forte {
  background: linear-gradient(180deg, #2BD98F 0%, #16A35E 100%) !important; color: #04130B !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 22px -12px rgba(43,217,143,.8) !important; font-weight: 800;
}
html[data-tema="escuro"] .botao-verde:hover, .dh-botao-forte:hover { filter: brightness(1.07); color: #04130B !important; }

@media (prefers-reduced-motion: reduce) { .dh-barra span, .barra span { transition: none !important; } }

/* Sequência: brasa escura com ouro (combina com o resto) */
html[data-tema="escuro"] .prog-seq:not(.prog-seq-apagada) {
  background: radial-gradient(420px 200px at 0% 50%, rgba(251,146,60,.28), transparent 70%), linear-gradient(110deg, #2A1408 0%, #1A0F08 55%, #12100A 100%);
  border: 1px solid rgba(245,196,81,.35); box-shadow: var(--painel-brilho), var(--painel-sombra);
}
.prog-rot { text-transform: none !important; letter-spacing: 0 !important; color: #FBD38D !important; font-weight: 700; }
.prog-seq-num strong { color: var(--ouro) !important; }
.prog-recorde { font-family: "Chakra Petch", Inter, sans-serif; text-transform: none !important; letter-spacing: 0 !important; background: rgba(245,196,81,.08) !important; border: 1px solid rgba(245,196,81,.3); color: #FBE3A4 !important; }
.prog-recorde strong { color: var(--ouro); }
/* Números do progresso: saldo em ouro, tempo em menta */
.regra strong { font-family: "Chakra Petch", Inter, sans-serif; letter-spacing: -0.01em; }
#p-saldo, #p-resg { color: var(--ouro) !important; }
/* Faixa de ganhos: selo dourado em caixa normal */
.fg-rotulo { background: linear-gradient(180deg, #F5C451, #C9952F) !important; color: #2A1B04 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; }

/* Card "ao vivo" do menu: Twitch e Kick separados, cada um com o seu link */
.menu-live { gap: 8px !important; }
.menu-live .ml-topo { margin-bottom: 2px; }
.ml-total { font: 700 13px/1 Inter, system-ui, sans-serif; color: #BBF7D0; }
.ml-linha { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px;
  text-decoration: none; color: #fff; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.08); }
.ml-linha:hover { color: #fff; background: rgba(0,0,0,.4); }
.ml-twitch { border-left: 3px solid #9146FF; }
.ml-kick { border-left: 3px solid #53FC18; }
.ml-plat { font: 700 14px/1 Inter, system-ui, sans-serif; }
.ml-num { display: inline-flex; align-items: center; gap: 6px; font: 700 20px/1 "Chakra Petch", Inter, sans-serif; font-variant-numeric: tabular-nums; }
.ml-num-off { font: 600 12px/1 Inter, system-ui, sans-serif; color: #9CA3AF; }
.ml-ponto { width: 8px; height: 8px; border-radius: 50%; background: #F43F5E; box-shadow: 0 0 0 3px rgba(244,63,94,.25); }
.ml-seta { font-size: 12px; color: #BBF7D0; }
.ml-off { opacity: .75; }
.menu-live-off .ml-linha { background: rgba(0,0,0,.2); }

/* Quadro "Sub farma 2x mais": mesma cor dos outros quadros, com um botão para cada plataforma */
.av-sub, .av-sub-ok { background: linear-gradient(120deg, #0B2E1B, #123D25 60%, #0E3420) !important; border: 1px solid #2E8B57 !important; color: #CFE6D7 !important; }
html[data-tema="claro"] .av-sub, html[data-tema="claro"] .av-sub-ok { background: #FFFFFF !important; border-color: #DCEAE0 !important; color: #3F5A49 !important; }
html[data-tema="claro"] .av-sub strong { color: #0F2418 !important; }
.av-sub-txt { flex: 1; min-width: 0; }
.av-sub-botoes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.av-sub-bt { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; font: 800 13px/1 Inter, system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.av-sub-twitch { background: #9146FF; color: #fff; }
.av-sub-twitch:hover { background: #7C2EF0; color: #fff; }
.av-sub-kick { background: rgba(83,252,24,.12); color: #A6F58A; border: 1px dashed rgba(83,252,24,.5); cursor: not-allowed; }
.av-sub-kick small { font-size: 10px; font-weight: 800; text-transform: uppercase; color: #FFD27A; }
html[data-tema="claro"] .av-sub-kick { color: #2E7D12; }

/* "Ver chances" dentro de cada quadro */
.dh-ver-chances { margin-top: 10px; padding: 8px 12px; border-radius: 10px; font: 700 13px/1 Inter, system-ui, sans-serif; cursor: pointer; background: transparent; }
.dh-ver-twitch { color: #CDB3FF; border: 1px solid rgba(145,70,255,.6); }
.dh-ver-twitch:hover { background: rgba(145,70,255,.18); }
.dh-ver-kick { color: #A6F58A; border: 1px solid rgba(83,252,24,.5); margin-bottom: 10px; }
.dh-ver-kick:hover { background: rgba(83,252,24,.12); }
/* Modal de chances com a cor da plataforma */
.ch-plat-twitch .chances-caixa { border-color: rgba(145,70,255,.6); }
.ch-plat-kick .chances-caixa { border-color: rgba(83,252,24,.55); }
.ch-plat-twitch .chances-abas [aria-selected="true"] { border-color: #9146FF !important; background: rgba(145,70,255,.18) !important; }
.ch-plat-kick .chances-abas [aria-selected="true"] { border-color: #53FC18 !important; background: rgba(83,252,24,.12) !important; }
.chances-sub { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.chances-sub > div { flex: 1 1 200px; }
.ch-plat-twitch .chances-sub { background: rgba(145,70,255,.14) !important; border: 1px solid rgba(145,70,255,.45) !important; }
.ch-plat-kick .chances-sub { background: rgba(83,252,24,.08) !important; border: 1px solid rgba(83,252,24,.4) !important; }
.ch-sub-bt { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; font: 800 14px/1 Inter, system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.ch-sub-twitch { background: #9146FF; color: #fff; }
.ch-sub-twitch:hover { background: #7C2EF0; color: #fff; }
.ch-sub-kick { background: rgba(83,252,24,.12); color: #A6F58A; border: 1px dashed rgba(83,252,24,.55); cursor: not-allowed; }
.ch-sub-kick small { font-size: 10px; text-transform: uppercase; color: #FFD27A; font-weight: 800; }
.chances-sub > .ch-sub-bt { font-size: 14px !important; flex: none; }

/* Moeda RC nova (pixel art animada): sem borrar quando aumenta */
img[src^="/img/rc-coin.webp?v=2"] { image-rendering: pixelated; object-fit: contain; }

/* Carteira: ícone e selo de onde veio cada moeda */
.cart-ico { width: 38px !important; height: 38px !important; flex: none; border: 1px solid var(--borda); overflow: hidden; }
.cart-ico img { width: 28px; height: 28px; object-fit: contain; image-rendering: pixelated; }
.cart-ico-twitch { background: #9146FF !important; border-color: #9146FF; }
.cart-ico-kick { background: #53FC18 !important; border-color: #53FC18; }
.cart-ico-kick b { color: #0B0E0F; font: 900 18px/1 Inter, system-ui, sans-serif; }
.cart-ico-boss { background: rgba(244,63,94,.10) !important; border-color: rgba(244,63,94,.35); }
.cart-ico-bau { background: rgba(245,196,81,.10) !important; border-color: rgba(245,196,81,.35); }
.cart-ico-resgate { background: rgba(62,230,168,.08) !important; }
.cart-selo { display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 2px 7px; border-radius: 999px; font: 800 10.5px/1.3 Inter, system-ui, sans-serif; }
.cart-selo-twitch { background: rgba(145,70,255,.18); color: #CDB3FF; }
.cart-selo-kick { background: rgba(83,252,24,.14); color: #A6F58A; }
.cart-selo-boss { background: rgba(244,63,94,.14); color: #FDA4AF; }
.cart-selo-bau { background: rgba(245,196,81,.14); color: #FBE3A4; }
.cart-selo-resgate, .cart-selo-devolucao, .cart-selo-ajuste { background: rgba(255,255,255,.08); color: var(--texto-suave); }
html[data-tema="claro"] .cart-selo-twitch { color: #6D28D9; } html[data-tema="claro"] .cart-selo-kick { color: #2E7D12; }
html[data-tema="claro"] .cart-selo-boss { color: #BE123C; } html[data-tema="claro"] .cart-selo-bau { color: #92400E; }

/* Roleta de prêmios (baús e bosses) */
.roleta { position: relative; overflow: hidden; margin: 4px 0 16px; padding: 14px 0; border-radius: 14px;
  background: linear-gradient(180deg, #06100B, #0A1711); border: 1px solid #27453A; box-shadow: inset 0 2px 10px rgba(0,0,0,.6);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.roleta-faixa { display: flex; gap: 8px; padding: 0 8px; will-change: transform; }
.roleta-item { flex: none; width: 96px; display: grid; justify-items: center; gap: 4px; padding: 10px 6px 8px; border-radius: 10px;
  background: #0E1C15; border: 1px solid #27453A; border-bottom-width: 3px; }
.roleta-item img { width: 40px; height: 40px; image-rendering: pixelated; }
.roleta-item strong { font: 700 17px/1 "Chakra Petch", Inter, sans-serif; color: #FBE3A4; }
.roleta-item small { font: 700 11px/1 Inter, system-ui, sans-serif; color: var(--texto-suave); }
.rl-comum { border-bottom-color: #6B8F7A; }
.rl-raro { border-bottom-color: #60A5FA; } .rl-raro small { color: #93C5FD; }
.rl-epico { border-bottom-color: #A78BFA; } .rl-epico small { color: #C4B5FD; }
.rl-lendario { border-bottom-color: #F5C451; background: linear-gradient(180deg, #2A220E, #0E1C15); } .rl-lendario small { color: #FBD38D; }
.roleta-seta { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--ouro); box-shadow: 0 0 12px rgba(245,196,81,.9); }
.roleta-seta::before, .roleta-seta::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); border: 8px solid transparent; }
.roleta-seta::before { top: 0; border-top-color: var(--ouro); }
.roleta-seta::after { bottom: 0; border-bottom-color: var(--ouro); }
.rl-parou { border-color: var(--ouro) !important; box-shadow: 0 0 0 2px rgba(245,196,81,.5), 0 0 24px rgba(245,196,81,.45); transform: scale(1.06); transition: transform .3s, box-shadow .3s; }
.abrir-caixa, #drop-modal .drop-caixa { max-width: 560px !important; width: 100%; }

/* Baú de sub: verde (sub vale na Twitch e na Kick; roxo fica só para a Twitch) */
.bd-card-sub { border-color: #2E8B57 !important; }
.bd-card-sub .bd-arte { background: radial-gradient(circle at 50% 60%, #1F5A3A, #0A1F14 75%) !important; }
.bd-selo { background: linear-gradient(180deg, #F5C451, #C9952F) !important; color: #2A1B04 !important; }
.roleta-seta { background: transparent !important; box-shadow: none !important; }
.roleta-seta::before, .roleta-seta::after { border-width: 10px; filter: drop-shadow(0 0 6px rgba(245,196,81,.8)); }
.rl-sob { border-color: rgba(245,196,81,.7) !important; }
.item-card .boss-drops li span, .item-card .boss-drops li strong { white-space: nowrap; }
/* Itens sem quantidade: imagem normal (só o "x0" mostra que acabou) */
.item-vazio .item-imagem img { filter: none !important; opacity: 1 !important; }

/* ---------- Página Extensão */
.menu [data-item="extensao"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233EE6A8' d='M20.5 11H19V7a2 2 0 0 0-2-2h-4V3.5a2.5 2.5 0 0 0-5 0V5H4a2 2 0 0 0-2 2v3.8h1.5a2.7 2.7 0 0 1 0 5.4H2V20a2 2 0 0 0 2 2h3.8v-1.5a2.7 2.7 0 0 1 5.4 0V22H17a2 2 0 0 0 2-2v-4h1.5a2.5 2.5 0 0 0 0-5z'/%3E%3C/svg%3E"); background-size: 22px 22px !important; image-rendering: auto; }
.ext-pagina { padding-bottom: 40px; }
.ext-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 24px; padding: 32px; border-radius: 20px;
  background: radial-gradient(600px 300px at 100% 0%, rgba(62,230,168,.12), transparent 70%), linear-gradient(180deg, #0F2219, #0B1912); border: 1px solid #23452F; box-shadow: var(--painel-brilho), var(--painel-sombra); }
.ext-selo { display: inline-block; margin: 0 0 12px; padding: 5px 10px; border-radius: 999px; background: rgba(62,230,168,.10); color: #8DF7CC; font: 700 13px/1.2 Inter, system-ui, sans-serif; }
.ext-hero h1 { font: 700 clamp(34px, 4vw, 52px)/1.05 "Chakra Petch", Inter, sans-serif; margin: 0 0 12px; }
.ext-lead { font-size: 17px; line-height: 1.6; color: var(--texto-suave); margin: 0 0 20px; max-width: 60ch; }
.ext-lead strong { color: var(--texto); }
.ext-acoes { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ext-baixar { display: inline-flex; align-items: center; padding: 14px 20px; border-radius: 12px; font: 800 16px/1 Inter, system-ui, sans-serif; text-decoration: none;
  background: linear-gradient(180deg, #2BD98F, #16A35E); color: #04130B; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 26px -12px rgba(43,217,143,.8); }
.ext-baixar:hover { filter: brightness(1.07); color: #04130B; }
.ext-ver { color: var(--texto-suave); font-weight: 600; }
.ext-hero-arte { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.ext-plat { padding: 18px 12px; border-radius: 14px; text-align: center; background: #08130E; display: grid; gap: 4px; }
.ext-plat span { font: 800 15px/1 Inter, system-ui, sans-serif; }
.ext-plat strong { font: 700 26px/1.1 "Chakra Petch", Inter, sans-serif; color: var(--ouro); }
.ext-plat small { color: var(--texto-suave); }
.ext-plat-tw { border: 1px solid rgba(145,70,255,.6); } .ext-plat-tw span { color: #CDB3FF; }
.ext-plat-ki { border: 1px solid rgba(83,252,24,.5); } .ext-plat-ki span { color: #A6F58A; }
.ext-mais { font: 700 26px/1 "Chakra Petch", Inter, sans-serif; color: var(--texto-suave); }
.ext-igual { grid-column: 1 / -1; text-align: center; padding: 12px; border-radius: 12px; background: rgba(245,196,81,.08); border: 1px solid rgba(245,196,81,.35); color: #FBE3A4; font-size: 15px; }
.ext-igual b { font: 700 20px/1 "Chakra Petch", Inter, sans-serif; color: var(--ouro); }
.ext-bloco { margin-top: 36px; }
.ext-bloco .secao-titulo { margin-bottom: 14px; }
.ext-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ext-item { padding: 20px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--borda); }
.ext-item h3 { font: 700 18px/1.2 "Chakra Petch", Inter, sans-serif; margin: 0 0 8px; color: #B9F8DE; }
.ext-item p { margin: 0; color: var(--texto-suave); font-size: 15px; line-height: 1.55; }
.ext-texto { color: var(--texto-suave); font-size: 16px; line-height: 1.6; max-width: 72ch; margin: 0 0 16px; }
.ext-texto strong { color: var(--texto); }
.ext-tabela { border: 1px solid var(--borda); border-radius: 14px; overflow: hidden; max-width: 720px; }
.ext-linha { display: grid; grid-template-columns: 1.6fr .6fr 1fr; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--borda); background: var(--superficie); }
.ext-linha:first-child { border-top: 0; }
.ext-cab { background: rgba(255,255,255,.03); color: var(--texto-suave); font-size: 13px; font-weight: 700; }
.ext-linha b { color: var(--ouro); font-family: "Chakra Petch", Inter, sans-serif; }
.ext-top { background: rgba(245,196,81,.06); }
.ext-abas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ext-abas button { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--borda); background: var(--superficie); color: var(--texto); font: 700 14px/1 Inter, system-ui, sans-serif; cursor: pointer; }
.ext-abas button[aria-selected="true"] { border-color: var(--menta); background: rgba(62,230,168,.12); color: #B9F8DE; }
.ext-passos { padding: 20px 24px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--borda); max-width: 760px; }
.ext-passos ol, .ext-depois { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 16px; line-height: 1.55; }
.ext-passos .nota { margin: 14px 0 0; }
.ext-nao { margin-top: 14px; }
.ext-final { margin-top: 20px; }
@media (max-width: 900px) { .ext-hero { grid-template-columns: 1fr; padding: 22px; } .ext-grade { grid-template-columns: 1fr; } }

/* ---------- Painel do admin em ícones: cada quadrado abre uma janela por cima */
.paineis { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-top: 24px; }
.painel-adm { overflow: visible !important; border-radius: 16px; }
.painel-adm > summary { flex-direction: column; align-items: center !important; justify-content: center; text-align: center; gap: 10px !important;
  min-height: 168px; padding: 20px 14px !important; border-bottom: 0 !important; border-radius: 16px; }
.painel-adm > summary:hover { background: rgba(62,230,168,.06) !important; }
.painel-adm .painel-icone { width: 56px !important; height: 56px !important; display: grid; place-items: center; font-size: 28px !important; border-radius: 12px;
  background: #0A1610; border: 1px solid #27453A; box-shadow: inset 0 0 0 1px #050C08, inset 0 2px 6px rgba(0,0,0,.55); }
.painel-adm .painel-icone img { width: 34px; height: 34px; image-rendering: pixelated; }
.painel-adm .painel-titulo { font: 700 15px/1.25 Inter, system-ui, sans-serif; }
.painel-adm .painel-resumo { margin: 0 !important; width: auto !important; justify-content: center !important; text-align: center !important; font-size: 13px !important; }
.painel-adm .painel-seta { display: none !important; }
.painel-adm[open] > summary { border-color: var(--menta); }
/* fundo escuro */
.painel-adm[open]::before { content: ""; position: fixed; inset: 0; z-index: 190; background: rgba(3,10,6,.78); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); cursor: pointer; }
/* a janela */
.painel-adm[open] > .painel-corpo { position: fixed; z-index: 200; top: 4vh; left: 50%; transform: translateX(-50%); width: min(1180px, 94vw); max-height: 92vh; overflow: auto;
  margin: 0 !important; padding: 0 24px 24px !important; border-radius: 18px; background: var(--superficie); border: 1px solid #2E6E48;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
html[data-tema="claro"] .painel-adm[open] > .painel-corpo { background: #fff; border-color: #C9DCCF; }
.adm-janela-topo { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; margin: 0 -24px 18px; padding: 16px 24px;
  background: inherit; border-bottom: 1px solid var(--borda); background: var(--superficie); }
html[data-tema="claro"] .adm-janela-topo { background: #fff; }
.adm-janela-topo .painel-icone { width: 44px !important; height: 44px !important; font-size: 22px !important; }
.adm-janela-topo h2 { flex: 1; margin: 0; font: 700 22px/1.2 "Chakra Petch", Inter, sans-serif; }
.adm-fechar { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--borda); background: transparent; color: var(--texto); font-size: 16px; cursor: pointer; }
.adm-fechar:hover { border-color: var(--menta); }
body.adm-janela-aberta { overflow: hidden; }
@media (max-width: 700px) {
  .paineis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .painel-adm > summary { min-height: 140px; }
  .painel-adm[open] > .painel-corpo { top: 0; width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; padding: 0 14px 20px !important; }
  .adm-janela-topo { margin: 0 -14px 14px; padding: 12px 14px; }
}

/* ---------- Luta animada do boss (personagem soltando SD) */
#drop-modal .drop-caixa:has(.arena) { max-width: 720px !important; }
.arena { padding: 4px 0 8px; }
.ar-vida { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-bottom: 10px; }
.ar-nome { font: 700 16px/1 "Chakra Petch", Inter, sans-serif; color: #FCA5A5; }
.ar-hp { font: 700 14px/1 "Chakra Petch", Inter, sans-serif; color: var(--texto-suave); font-variant-numeric: tabular-nums; }
.ar-barra { height: 16px; border-radius: 5px; background: #1A0707; border: 1px solid #5B1D1D; overflow: hidden; box-shadow: inset 0 2px 5px rgba(0,0,0,.6); }
.ar-barra i { display: block; height: 100%; background: linear-gradient(180deg, #86EFAC, #22C55E 50%, #15803D); transition: width .45s ease-out; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.ar-barra i.ar-baixa { background: linear-gradient(180deg, #FCA5A5, #EF4444 50%, #991B1B); }
.ar-campo { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 230px; padding: 0 24px; border-radius: 14px; overflow: hidden;
  background: radial-gradient(500px 200px at 50% 100%, rgba(62,230,168,.10), transparent 70%), linear-gradient(180deg, #08130E, #0B1912); border: 1px solid #27453A; }
.ar-campo img { image-rendering: pixelated; }
.ar-mago { width: 160px; height: 160px; }
.ar-mago.ar-ataca { animation: ar-ataca .35s ease-out; }
@keyframes ar-ataca { 0% { transform: translateX(0); filter: none; } 40% { transform: translateX(10px); filter: drop-shadow(0 0 14px rgba(167,139,250,.9)); } 100% { transform: translateX(0); filter: none; } }
.ar-alvo { position: relative; display: grid; place-items: center; }
.ar-alvo.ar-dor { animation: ar-dor .35s ease-out; }
@keyframes ar-dor { 0%, 100% { transform: translateX(0); filter: none; } 25% { transform: translateX(-6px); filter: brightness(2) saturate(.3); } 60% { transform: translateX(5px); } }
.ar-alvo.ar-morto { animation: ar-morte 1s ease-in forwards; }
@keyframes ar-morte { to { opacity: 0; transform: translateY(14px) scale(.9); filter: grayscale(1) brightness(.4); } }
.ar-sd { position: absolute; left: 0; top: 0; width: 96px; height: 96px; pointer-events: none; }
.ar-impacto { position: absolute; left: 0; top: 0; width: 120px; height: 120px; pointer-events: none; z-index: 3; }
.ar-dano { position: absolute; z-index: 4; transform: translateX(-50%); font: 800 24px/1 "Chakra Petch", Inter, sans-serif; color: #FCA5A5;
  text-shadow: 0 2px 0 #3B0A0A, 0 0 10px rgba(239,68,68,.7); animation: ar-sobe 1.2s ease-out forwards; pointer-events: none; }
@keyframes ar-sobe { from { opacity: 1; margin-top: 0; } to { opacity: 0; margin-top: -60px; } }
.ar-msg { margin: 10px 0 0; text-align: center; font-weight: 700; color: var(--texto-suave); }
@media (max-width: 560px) { .ar-mago { width: 110px; height: 110px; } .ar-campo { min-height: 180px; padding: 0 10px; } }
/* boss virado para o personagem */
/* boss no desenho original (de frente, virado para a esquerda) */
.ar-sd { transform-origin: 48px 48px; }
/* Luta: arena maior e vida em cima de cada um (estilo Tibia) */
#drop-modal .drop-caixa:has(.arena) { max-width: 860px !important; }
.ar-campo { min-height: 330px !important; padding: 20px 40px !important; align-items: flex-end !important; }
.ar-lado { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ar-tag { display: grid; justify-items: center; gap: 3px; min-width: 110px; }
.ar-nome-tag { font: 800 14px/1 "Chakra Petch", Inter, sans-serif; color: #FCA5A5; text-shadow: 0 1px 0 #000, 0 0 6px rgba(0,0,0,.8); }
.ar-nome-voce { color: #86EFAC; }
.ar-mini { width: 110px; height: 8px; background: #000; border: 1px solid #000; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.ar-mini i { display: block; height: 100%; background: #22C55E; transition: width .45s ease-out, background-color .3s; }
.ar-mini i.ar-media { background: #EAB308; }
.ar-mini i.ar-baixa { background: #EF4444; }
.ar-mago { width: 190px !important; height: 190px !important; }
@media (max-width: 560px) { .ar-campo { min-height: 240px !important; padding: 14px 10px !important; } .ar-mago { width: 120px !important; height: 120px !important; } .ar-mini, .ar-tag { min-width: 80px; width: 80px; } }
.ar-lado-mago .ar-tag { position: relative; z-index: 2; margin-bottom: -58px; transform: translateX(20px); }
@media (max-width: 560px) { .ar-lado-mago .ar-tag { margin-bottom: -36px; transform: translateX(12px); } }
.ar-eu.ar-dor { animation: ar-dor .35s ease-out; }
.ar-alvo.ar-boss-ataca { animation: ar-boss-ataca .35s ease-out; }
@keyframes ar-boss-ataca { 0%, 100% { transform: translateX(0); filter: none; } 40% { transform: translateX(-10px); filter: drop-shadow(0 0 14px rgba(239,68,68,.8)); } }
.ar-dano-eu { color: #FDE68A !important; text-shadow: 0 2px 0 #3B2A0A, 0 0 10px rgba(234,179,8,.7) !important; }
/* Vaga do boss que ainda vai chegar */
.boss-misterio { display: grid; place-items: center; width: 150px; height: 150px; border-radius: 16px; border: 2px dashed rgba(245,196,81,.45);
  font: 700 76px/1 "Chakra Petch", Inter, sans-serif; color: rgba(245,196,81,.55); background: rgba(245,196,81,.04); }

/* ---------- Invasão de boss */
.invasao-card { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; margin-top: 18px; padding: 24px; border-radius: 18px;
  background: linear-gradient(120deg, #1A0E0A, #120D0B 60%, #0D1510); border: 1px solid rgba(245,196,81,.35); box-shadow: var(--painel-brilho), var(--painel-sombra); }
.inv-arte { display: grid; place-items: center; height: 180px; border-radius: 14px; background: radial-gradient(circle at 50% 60%, rgba(239,68,68,.18), transparent 70%); border: 2px dashed rgba(245,196,81,.35); }
.inv-misterio { font-size: 64px; filter: drop-shadow(0 0 12px rgba(239,68,68,.6)); }
.inv-selo { display: inline-block; margin: 0 0 6px; padding: 4px 10px; border-radius: 999px; background: rgba(245,196,81,.12); color: #FBD38D; font: 800 12px/1.2 Inter, system-ui, sans-serif; }
.invasao-card h2 { margin: 0 0 8px; font: 700 26px/1.15 "Chakra Petch", Inter, sans-serif; }
.invasao-card p { color: var(--texto-suave); line-height: 1.55; margin: 0 0 10px; max-width: 70ch; }
.inv-como b { color: #FBE3A4; }
.inv-acao { margin-top: 6px; display: grid; gap: 8px; justify-items: start; }
.inv-tempo { margin: 0 !important; color: #FDE68A !important; font-weight: 700; }
.inv-tempo b { font: 700 22px/1 "Chakra Petch", Inter, sans-serif; font-variant-numeric: tabular-nums; }
.inv-dentro { padding: 10px 14px; border-radius: 10px; background: rgba(62,230,168,.12); border: 1px solid rgba(62,230,168,.4); color: #B9F8DE; font-weight: 700; }
.inv-batalhar { font-size: 17px; padding: 14px 26px; }
.invasao-card.inv-ativa { border-color: #EF4444; animation: inv-pulsa 1.8s ease-in-out infinite; }
@keyframes inv-pulsa { 50% { box-shadow: 0 0 0 4px rgba(239,68,68,.18), var(--painel-sombra); } }
.faixa-invasao { display: block; text-decoration: none; color: #fff; background: linear-gradient(90deg, #7F1D1D, #B91C1C 50%, #7F1D1D); border-bottom: 1px solid #EF4444; }
.faixa-invasao .container { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.faixa-invasao b { color: #FDE68A; font-variant-numeric: tabular-nums; }
.fi-ir { margin-left: auto; padding: 6px 12px; border-radius: 8px; background: #FDE68A; color: #3B0A0A; font-weight: 800; }
.faixa-invasao:hover { color: #fff; filter: brightness(1.08); }
@media (max-width: 700px) { .invasao-card { grid-template-columns: 1fr; } .inv-arte { height: 140px; } }
.inv-passos { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(245,196,81,.06); border: 1px solid rgba(245,196,81,.3); }
.inv-passos p { margin: 0 0 10px; }
.inv-passos ol { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.inv-passos li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.inv-passos small { color: var(--texto-suave); }
.inv-tw { background: #9146FF !important; color: #fff !important; }
.inv-ki { background: #53FC18 !important; color: #0B0E0F !important; }
.ar-magia { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 3; image-rendering: pixelated; }
.inv-boss { width: 186px; height: 135px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 0 14px rgba(239,68,68,.45)); }

/* Atalhos do quadro "Fala, nome!": três botões do mesmo tamanho, com o ícone do menu */
.drop-hero-2 .dh-acoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; flex: 0 1 600px; }
.dh-atalho { min-height: 52px !important; padding: 0 14px !important; font-size: 15px; font-weight: 800; white-space: nowrap; text-decoration: none; }
.dh-atalho img { width: 26px; height: 26px; image-rendering: pixelated; flex: none; }
.dh-botao-ouro { border: none !important; background: linear-gradient(180deg, #F5C451, #C9952F) !important; color: #2A1B04 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 22px -12px rgba(245,196,81,.8); }
.dh-botao-ouro:hover { filter: brightness(1.07); color: #2A1B04 !important; }
@media (max-width: 1250px) { .drop-hero-2 .dh-acoes { flex-basis: 100%; } }
@media (max-width: 640px) { .drop-hero-2 .dh-acoes { grid-template-columns: 1fr; } }

/* ---------- Aba Invasão */
.menu [data-item="invasao"]::before { background-image: url(/img/bosses/bakragore.webp); }
.inv-pagina { padding-bottom: 40px; }
.inv-topo { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center; margin-top: 24px; padding: 28px; border-radius: 20px;
  background: linear-gradient(120deg, #1A0E0A, #120D0B 60%, #0D1510); border: 1px solid rgba(245,196,81,.35); box-shadow: var(--painel-brilho), var(--painel-sombra); }
.inv-topo.inv-ativa { border-color: #EF4444; animation: inv-pulsa 1.8s ease-in-out infinite; }
.inv-topo-arte { display: grid; place-items: center; height: 200px; border-radius: 16px; background: radial-gradient(circle at 50% 60%, rgba(239,68,68,.22), transparent 70%); }
.inv-topo-arte img { width: 220px; height: 160px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 0 16px rgba(239,68,68,.5)); }
.inv-topo h1 { margin: 0 0 10px; font: 700 clamp(28px, 3vw, 40px)/1.1 "Chakra Petch", Inter, sans-serif; }
.inv-topo p { color: var(--texto-suave); line-height: 1.55; max-width: 70ch; margin: 0 0 12px; }
.inv-topo b { color: #FBE3A4; }
.inv-bloco { margin-top: 30px; }
.inv-guerreiros { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.iv-g { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--superficie); border: 1px solid var(--borda); }
.iv-g img, .iv-sem { width: 32px; height: 32px; border-radius: 50%; flex: none; background: #1E3A2B; }
.iv-g strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iv-via { font: 800 10px/1 Inter, system-ui, sans-serif; padding: 4px 7px; border-radius: 999px; }
.iv-tw { background: rgba(145,70,255,.2); color: #CDB3FF; } .iv-ki { background: rgba(83,252,24,.15); color: #A6F58A; } .iv-site { background: rgba(255,255,255,.08); color: var(--texto-suave); }
.faixa-invasao .container { justify-content: space-between; }
.fi-link { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: #fff; text-decoration: none; }
.fi-link:hover { color: #fff; }
button.fi-ir { border: 0; cursor: pointer; font: 800 15px/1 Inter, system-ui, sans-serif; }
.fi-dentro { background: #86EFAC !important; color: #052E16 !important; }
@media (max-width: 700px) { .inv-topo { grid-template-columns: 1fr; } }

.av-sub-kick-on, .ch-sub-kick-on { cursor: pointer; border-style: solid; background: #53FC18; color: #0B0E0F; text-decoration: none; }
.av-sub-kick-on:hover, .ch-sub-kick-on:hover { color: #0B0E0F; filter: brightness(1.05); }
html[data-tema="claro"] .av-sub-kick-on { color: #0B0E0F; }

.menu [data-item="perfil"]::before { background-image: url(/img/menu/inventario.webp?v=3); }

/* ---------- Perfil e vestiário */
.pf-aviso { padding: 18px; border-radius: var(--raio); background: var(--superficie); border: 1px solid var(--borda); }
.pf-conta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: stretch; margin-bottom: 22px; }
.pf-conta > * { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 16px; }
.pf-id { display: flex; gap: 14px; align-items: center; }
.pf-id img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--menta); }
.pf-id h1 { margin: 0 0 8px; font: 700 24px/1.1 "Chakra Petch", Inter, sans-serif; }
.pf-cons { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-con { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px dashed currentColor; text-decoration: none; font-weight: 600; }
.pf-con.ok { border-style: solid; }
.pf-con b { font-weight: 800; }
.pf-twitch { color: #9146FF; } .pf-kick { color: #2BB80C; }
.pf-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-nums small { display: block; color: var(--texto-suave); font-size: 12px; }
.pf-nums b { display: block; font: 700 24px/1.2 "Chakra Petch", Inter, sans-serif; color: var(--verde); }
.pf-ext { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--texto); }
.pf-ext span:not(.pf-ext-ic) { flex: 1; } .pf-ext small { display: block; color: var(--texto-suave); font-size: 12.5px; }
.pf-ext em { font-style: normal; font-weight: 800; background: var(--menta); color: #062614; padding: 7px 12px; border-radius: 10px; }

.vest { display: grid; grid-template-columns: 330px 1fr; gap: 18px; align-items: start; }
.vest-palco, .vest-painel { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 16px; }
.vest-palco { position: sticky; top: 90px; text-align: center; }
.vest-titulo h2 { margin: 0; font: 700 20px "Chakra Petch", Inter, sans-serif; }
.vest-titulo span { display: block; color: var(--texto-suave); font-size: 13px; min-height: 18px; }
.vest-chao { margin: 10px auto; width: 250px; height: 250px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 66%, rgba(62,230,168,.55) 0 18%, rgba(62,230,168,.12) 34%, transparent 62%), #0B1A12; box-shadow: inset 0 0 0 2px rgba(62,230,168,.35); }
.vest-chao canvas { width: 216px; height: 216px; image-rendering: pixelated; }
.vest-giro, .vest-seg { display: flex; gap: 6px; justify-content: center; margin: 8px 0; }
.vest-palco button, .vest-painel button { font: inherit; cursor: pointer; }
.vest-giro button, .vest-seg button, .vest-abas button, .vest-filtro button, .vest-partes button, .vest-sorte {
  border: 1px solid var(--borda); background: var(--fundo); color: var(--texto); border-radius: 10px; padding: 7px 12px; font-weight: 600; }
.vest-seg button { flex: 1; }
.vest-palco .on, .vest-abas .on, .vest-filtro .on, .vest-partes .on { background: var(--verde-escuro); color: #fff; border-color: var(--verde-escuro); }
.vest-seg small { font-size: 11px; opacity: .8; }
.vest-falta { display: grid; gap: 6px; margin: 10px 0 6px; }
.vest-comprar { display: flex; justify-content: space-between; border: 1px solid #E8B93A; background: #FFF6D8; color: #5A4300; border-radius: 10px; padding: 8px 12px; font-weight: 700; }
.vest-salvar { width: 100%; justify-content: center; }
.vest-salvar:disabled { opacity: .55; cursor: default; }
.vest-msg { min-height: 20px; margin: 8px 0 0; font-size: 13px; }
.vest-msg.ruim { color: var(--vermelho); } .vest-msg.bom { color: var(--verde); }
.vest-abas { display: flex; gap: 6px; margin-bottom: 12px; }
.vest-filtro, .vest-partes { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.vest-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; max-height: 620px; overflow: auto; padding: 2px; }
.vest-carta { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border: 1px solid var(--borda); border-radius: 12px; background: var(--fundo); color: var(--texto); }
.vest-carta b { font-size: 12px; line-height: 1.2; } .vest-carta small { font-size: 11.5px; color: #8A6A00; font-weight: 700; }
.vest-carta.meu small { color: var(--verde); }
.vest-carta.on { outline: 2px solid var(--menta); background: var(--menta-claro); }
.vest-mini { width: 72px; height: 72px; display: block; }
.vest-mini canvas { width: 72px; height: 72px; image-rendering: pixelated; }
.vest-partes button { border-left: 6px solid var(--cor, #ccc); }
.vest-pal { display: grid; grid-template-columns: repeat(19, 1fr); gap: 3px; margin-bottom: 12px; }
.vest-pal button { aspect-ratio: 1; border: 0; border-radius: 4px; padding: 0; }
.vest-pal button.on { outline: 3px solid var(--texto); outline-offset: 1px; }
.vest-vocs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.vest-vocs button { padding: 12px; border: 1px solid var(--borda); border-radius: 12px; background: var(--fundo); color: var(--texto); font-weight: 700; display: flex; gap: 8px; align-items: center; }
.vest-vocs button.on { outline: 2px solid var(--menta); background: var(--menta-claro); }
.vest-voc-ic { width: 26px; height: 26px; border-radius: 7px; background: var(--verde-escuro); display: inline-block; }
.vest-dica { color: var(--texto-suave); font-size: 14px; }
@media (max-width: 860px) { .pf-conta, .vest { grid-template-columns: 1fr; } .vest-palco { position: static; } .vest-pal { grid-template-columns: repeat(14, 1fr); } }

/* Baús: botão e janela de chances */
.bd-ver-chances { margin-top: 10px; width: 100%; padding: 9px; border-radius: 10px; border: 1px solid var(--borda); background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.bd-ver-chances:hover { border-color: var(--menta); }
.chances-importante { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,201,77,.12); border: 1px solid rgba(255,201,77,.45); }
.chances-importante strong { color: #E8B93A; font-size: 13px; text-transform: none; }
.chances-importante p { margin: 4px 0 0; font-size: 13.5px; }
.chances-sub-duplo { display: grid; gap: 10px; }
.chances-sub-botoes { display: flex; gap: 8px; flex-wrap: wrap; }
.chances-sub-botoes .ch-sub-bt { flex: 1; text-align: center; }
.ch-bau-sub .chances-caixa { border-color: rgba(83,252,24,.5); }

.pf-nums { grid-template-columns: 1fr 1fr; }
.pf-nums > div small + small, .pf-nums small:last-child:not(:first-child) { font-size: 11.5px; }
.pf-vitrine .pf-ext, .pf-vitrine .vest-painel, .pf-vitrine .vest-seg, .pf-vitrine .vest-falta, .pf-vitrine .vest-salvar, .pf-vitrine .vest-msg { display: none !important; }
.pf-vitrine .vest { grid-template-columns: minmax(0, 420px); justify-content: center; }
.pf-vitrine .pf-conta { grid-template-columns: 1fr; }
.ranking-nome a { color: inherit; text-decoration: none; } .ranking-nome a:hover { text-decoration: underline; }
a.bt-perfil { color: inherit; text-decoration: none; }

.pf-conta { margin-bottom: 14px; }
.pf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.pf-stat { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--raio); border: 1px solid var(--borda);
  background: linear-gradient(140deg, rgba(62,230,168,.16), rgba(62,230,168,.02) 60%), var(--superficie); }
.pf-stat img { width: 48px; height: 48px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.pf-stat small { display: block; font-size: 12.5px; font-weight: 700; color: var(--texto-suave); }
.pf-stat b { display: block; font: 700 28px/1.1 "Chakra Petch", Inter, sans-serif; color: var(--verde); white-space: nowrap; }
.pf-stat em { display: block; font-style: normal; font-size: 12px; color: var(--texto-suave); }
.pf-stat-rc { background: linear-gradient(140deg, rgba(255,201,77,.22), rgba(255,201,77,.03) 60%), var(--superficie); }
.pf-stat-rc b { color: #E8B93A; }
.pf-stat-tempo { background: linear-gradient(140deg, rgba(145,70,255,.2), rgba(145,70,255,.03) 60%), var(--superficie); }
.pf-stat-tempo b { color: #A970FF; }
.pf-sub { font-style: normal; font-size: 10.5px; font-weight: 900; padding: 1px 6px; border-radius: 6px; background: currentColor; }
.pf-twitch .pf-sub { color: #9146FF; } .pf-kick .pf-sub { color: #53FC18; }
.pf-sub { -webkit-text-fill-color: #fff; } .pf-kick .pf-sub { -webkit-text-fill-color: #0B0E0F; }
@media (max-width: 1000px) { .pf-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pf-stats { grid-template-columns: 1fr; } .pf-conta { grid-template-columns: 1fr; } }
.pf-ext-ic { width: 40px; height: 40px; flex: none; border-radius: 10px; background: rgba(62,230,168,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%233EE6A8' d='M20.5 11H19V7a2 2 0 0 0-2-2h-4V3.5a2.5 2.5 0 0 0-5 0V5H4a2 2 0 0 0-2 2v3.8h1.5a2.7 2.7 0 0 1 0 5.4H2V20a2 2 0 0 0 2 2h3.8v-1.5a2.7 2.7 0 0 1 5.4 0V22H17a2 2 0 0 0 2-2v-4h1.5a2.5 2.5 0 0 0 0-5z'/%3E%3C/svg%3E") center / 26px no-repeat; }

.dh-promo-sub { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 10px 0 4px; padding: 9px 12px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 14px; }
.dh-promo-sub b { font-weight: 900; } .dh-promo-sub em { font-style: normal; font-weight: 900; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.dh-promo-twitch { background: rgba(145,70,255,.18); color: #D9C2FF; border: 1px solid rgba(145,70,255,.6); } .dh-promo-twitch em { background: #9146FF; color: #fff; }
.dh-promo-kick { background: rgba(83,252,24,.14); color: #C9FFB5; border: 1px solid rgba(83,252,24,.55); } .dh-promo-kick em { background: #53FC18; color: #0B0E0F; }
html[data-tema="claro"] .dh-promo-twitch { color: #5B21B6; } html[data-tema="claro"] .dh-promo-kick { color: #1E6B0A; }

.tx-twitch { color: #A970FF; font-weight: 800; } .tx-kick { color: #53FC18; font-weight: 800; }
.tx-dobro { color: #C9A8FF; font-weight: 900; } .tx-triplo { color: #8DFF66; font-weight: 900; }
html[data-tema="claro"] .tx-twitch, html[data-tema="claro"] .tx-dobro { color: #6D28D9; } html[data-tema="claro"] .tx-kick, html[data-tema="claro"] .tx-triplo { color: #2E8B0B; }

/* ===================== Layout novo (nov/2026) ===================== */
html[data-tema="escuro"] { --fundo: #070B0C; --superficie: #0E1517; --borda: #1A2526; --texto: #EAF2EF; --texto-suave: #9DB2AC; --menta-claro: #12201E; }
:root { --ouro: #B07D0A; --azul: #0369A1; --verde-tx: #15803D; }
html[data-tema="escuro"] { --ouro: #F5C451; --azul: #7DD3FC; --verde-tx: #3EE6A8; }

/* Menu lateral */
@media (min-width: 901px) {
  body:has(> .topo) { padding-left: 230px; }
  .topo { width: 230px; }
}
html[data-tema="escuro"] .topo { background: #080D0E; border-right-color: #16201F; }
.menu a { font-weight: 600; font-size: 15px; padding: 9px 10px; }
.menu a[aria-current="page"], html[data-tema="escuro"] .menu a[aria-current="page"] { background: var(--menta-claro); color: var(--texto); box-shadow: inset 3px 0 0 var(--verde-tx); }
.menu a[aria-current="page"]:hover, html[data-tema="escuro"] .menu a[aria-current="page"]:hover { background: var(--menta-claro); color: var(--texto); }
html[data-tema="escuro"] .menu a:hover { color: var(--texto); background: #0E1517; }

/* Barra do topo */
.faixa-live, .faixa-live:hover, html[data-tema="escuro"] .faixa-live { background: var(--fundo); color: var(--texto); border-bottom: 1px solid var(--borda); backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-tema="escuro"] .faixa-live { border-bottom-color: #16201F; }
.bt-live, .bt-live:hover { color: var(--texto); }
.bt-item, .bt-perfil, .bt-tema { background: var(--superficie); border: 1px solid var(--borda); color: var(--texto); border-radius: 10px; }
.bt-item:hover, .bt-perfil:hover, .bt-tema:hover { background: var(--superficie); border-color: rgba(62,230,168,.5); color: var(--texto); }
.bt-sair { color: var(--texto-suave); } .bt-sair:hover { color: var(--texto); background: var(--superficie); }
.bt-twitch, .bt-twitch:hover { color: #7C3AED; border-color: rgba(145,70,255,.45); }
html[data-tema="escuro"] .bt-twitch, html[data-tema="escuro"] .bt-twitch:hover { color: #A970FF; }
.bt-kick, .bt-kick:hover { color: #2BB80C; border: 1px solid rgba(83,252,24,.45); }
.bt-kick-link, .bt-kick[aria-disabled] { border-style: dashed; }
.bt-rc, .bt-rc:hover { color: var(--ouro); font-weight: 800; }
.bt-perfil img { border-color: var(--verde-tx); }

/* Início: destaque */
.hn { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 34px; padding-top: 34px; padding-bottom: 26px; align-items: start; }
.hn-oi { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--texto-suave); font-weight: 600; }
.hn-oi #dh-nome { color: var(--texto); font-weight: 800; }
.hn-titulo { font: 800 52px/1.05 Inter, system-ui, sans-serif; letter-spacing: -1px; margin: 12px 0 14px; }
.hn-rc { color: var(--ouro); white-space: nowrap; }
.hn-rc img { display: inline-block; width: 48px; height: 48px; vertical-align: -6px; margin-right: 6px; image-rendering: pixelated; }
.hn-sub { color: var(--texto-suave); font-size: 16px; max-width: 580px; margin: 0 0 20px; }
.hn-sub strong { color: var(--texto); }
.hn-acoes { display: flex; gap: 10px; flex-wrap: wrap; }
.hn-bt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 11px 16px; font: 800 14px/1.2 Inter, system-ui, sans-serif; cursor: pointer; text-decoration: none; white-space: nowrap; }
.hn-tw, .hn-tw:hover { background: #9146FF; color: #FFFFFF; }
.hn-kk, .hn-kk:hover { background: #53FC18; color: #0B0E0F; }
.hn-branco, .hn-branco:hover { background: var(--texto); color: var(--fundo); }
.hn-bt:hover { filter: brightness(1.08); }
.hn-bt[aria-disabled="true"] { opacity: .6; cursor: default; filter: none; }
.hn-ext { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: var(--superficie); border: 1px solid rgba(62,230,168,.45); }
.hn-ext-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(62,230,168,.14); border: 2px solid rgba(62,230,168,.45); display: grid; place-items: center; flex: none; color: var(--verde-tx); }
.hn-ext > div { flex: 1; min-width: 0; }
.hn-ext b { display: block; font-size: 15px; }
.hn-ext small { display: block; color: var(--texto-suave); font-size: 13px; line-height: 1.4; }
.hn-dia { background: var(--superficie); border: 1px solid var(--borda); border-radius: 18px; padding: 18px; }
.hn-dia h2 { font: 800 18px/1.2 Inter, system-ui, sans-serif; margin: 0 0 2px; }
.hn-dia-q { color: var(--texto-suave); font-size: 12.5px; margin: 0 0 12px; }
.hn-it { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; background: var(--fundo); border: 1px solid var(--borda); margin-bottom: 8px; text-decoration: none; color: var(--texto); }
.hn-it:last-child { margin-bottom: 0; }
.hn-it:hover { color: var(--texto); border-color: rgba(62,230,168,.5); }
.hn-fig { display: flex; align-items: center; flex: none; min-width: 62px; }
.hn-fig img { width: 38px; height: 38px; object-fit: contain; image-rendering: pixelated; }
.hn-fig img + img { margin-left: -14px; }
.hn-tt { flex: 1; min-width: 0; }
.hn-tt b { display: block; font-size: 14px; }
.hn-tt small { color: var(--texto-suave); font-size: 12.5px; }
.hn-st { font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 8px; white-space: nowrap; background: rgba(127,127,127,.15); }
.hn-st-verde { background: rgba(62,230,168,.14); color: var(--verde-tx); }
.hn-st-ouro { background: rgba(245,196,81,.16); color: var(--ouro); }
.hn-st-azul { background: rgba(56,189,248,.16); color: var(--azul); }
.hn-drops-tit h2 { font: 800 25px/1.2 Inter, system-ui, sans-serif; margin: 0 0 3px; }
.hn-drops-tit p { margin: 0; color: var(--texto-suave); font-size: 14.5px; }
.drop-hero.drop-hero-2, html[data-tema="escuro"] .drop-hero.drop-hero-2 { background: none; border: 0; box-shadow: none; padding: 0 0 26px; color: var(--texto); }
@media (max-width: 1100px) { .hn { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 560px) { .hn { padding-top: 20px; } .hn-titulo { font-size: 38px; } .hn-rc img { width: 36px; height: 36px; } .hn-ext { flex-wrap: wrap; } .hn-ext .hn-bt { width: 100%; } }
.hn-oi { display: block; }
.hn-oi [data-selo-live] { display: inline-flex; vertical-align: middle; margin-left: 8px; }
.hn-sub .dh-dobro { color: var(--ouro); }
.bt-conta .bt-rc, .bt-conta .bt-rc:hover, html[data-tema="escuro"] .bt-conta .bt-rc { background: var(--superficie); border-color: rgba(245,196,81,.5); color: var(--ouro); }
.bt-conta .bt-rc * { color: inherit; }
/* ajustes nov/2026 b */
.menu a { white-space: nowrap; gap: 10px; }
.hn { padding-top: 18px; padding-bottom: 18px; gap: 28px; }
.hn-titulo { font-size: 44px; margin: 8px 0 10px; }
.hn-rc img { width: 40px; height: 40px; }
.hn-sub { margin-bottom: 14px; font-size: 15px; }
.hn-ext { margin-top: 14px; padding: 11px 14px; }
.hn-dia { padding: 14px 16px; }
.hn-dia-q { margin-bottom: 8px; }
.hn-it { padding: 8px 12px; margin-bottom: 6px; }
.hn-drops-tit h2 { font-size: 22px; }
.como-sub-bts { display: flex; flex-direction: column; gap: 6px; flex: none; }
.como-sub-bts .botao { white-space: nowrap; justify-content: center; }
.como-sub-tw, .como-sub-tw:hover { background: #9146FF; color: #FFFFFF; }
.como-sub-kk, .como-sub-kk:hover { background: #53FC18; color: #0B0E0F; }
.como-2x { line-height: 1.1; text-align: center; font-size: 15px; }
@media (max-width: 480px) { .como-sub-bts { width: 100%; margin-left: 0; } }
.ml-topo .ponto-vivo, .ml-total { white-space: nowrap; }
.ml-topo { gap: 6px; }
/* cards de drop mais compactos para caber na primeira tela */
.dh-plataformas .dh-card { padding: 12px 16px; }
.dh-plataformas .dh-tempo { font-size: 36px; }
.dh-plataformas .dh-moeda { width: 50px; height: 50px; }
.dh-plataformas .dh-rotulo { margin-top: 4px; }
.dh-plataformas .dh-tempo-linha { margin-bottom: 6px; }
.dh-plataformas .dh-marcas { display: none; }
.dh-plataformas .dh-barra { margin-bottom: 8px; }
.dh-promo-sub { margin-top: 8px; margin-bottom: 4px; }
.hn-drops-tit { margin-bottom: -4px; }
/* menu lateral compacto: tudo cabe sem rolar */
@media (min-width: 901px) {
  .topo .container { padding: 12px 12px; gap: 10px; }
  .marca img { width: 36px; height: 36px; }
  .menu { gap: 1px; }
  .menu a, .menu .em-breve { padding: 4px 8px; font-size: 14.5px; }
  .menu a::before, .menu .em-breve::before, .menu [data-item]::before { width: 32px !important; height: 32px !important; background-size: 24px 24px !important; }
  #area-conta { padding-top: 10px; }
}
.dh-tw-conta { margin-top: 8px; }
.dh-tw-ok { background: rgba(145,70,255,.12); }
.dh-sub-tw { color: #C4A5FF; }
/* dobro = cor da Twitch, triplo = cor da Kick, sempre */
.tx-dobro, .como-sub b.tx-dobro { color: #A970FF; font-weight: 900; }
.tx-triplo, .como-sub b.tx-triplo { color: #53FC18; font-weight: 900; }
html[data-tema="claro"] .tx-dobro, html[data-tema="claro"] .como-sub b.tx-dobro { color: #6D28D9; }
html[data-tema="claro"] .tx-triplo, html[data-tema="claro"] .como-sub b.tx-triplo { color: #2E8B0B; }
/* quadro "Sub ganha mais" neutro (Twitch e Kick) */
.como-sub { background: var(--fundo); border: 1px solid var(--borda); }
.como-sub strong { color: var(--texto); } .como-sub small { color: var(--texto-suave); }
.como-2x { background: var(--superficie); border: 1px solid var(--borda); display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.como-sub-bts .botao { width: 160px; }
/* bosses = Bakragore, invasão = Ferumbras */
.menu [data-item="bosses"]::before { background-image: url(/img/bosses/bakragore.webp) !important; }
.menu [data-item="invasao"]::before { background-image: url(/img/bosses/semanal.webp) !important; }
/* 2x/3x centralizados */
.como-2x { align-items: center; justify-content: center; text-align: center; }
/* quadro "Sub ganha mais" das páginas: neutro */
.av-sub, .av-sub-ok { background: var(--superficie) !important; border: 1px solid var(--borda) !important; color: var(--texto-suave) !important; }
.av-sub strong, html[data-tema="claro"] .av-sub strong { color: var(--texto) !important; }
/* janelas de chances/drops: fundo neutro */
.chances-caixa { background: var(--superficie); border-color: var(--borda); color: var(--texto); }
.chances-sub-duplo, .chances-sub.chances-sub-duplo { background: var(--fundo) !important; border: 1px solid var(--borda) !important; }
.chances-sub-duplo strong { color: var(--texto); } .chances-sub-duplo small { color: var(--texto-suave); }
.chances-importante { margin-top: 12px; }
.chances-caixa > .chances-lista { margin-top: 14px; }
/* bosses: arte menor para os botões aparecerem na primeira tela */
.boss-arte-anim { height: 150px; padding-bottom: 10px; }
/* troca de página suave (sem piscar) */
@view-transition { navigation: auto; }
.topo { view-transition-name: menu-lateral; }
#faixa-live { view-transition-name: barra-topo; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .12s; }
.boss-arte-anim { height: 130px; }
.boss-card { padding: 16px; gap: 8px; }
.boss-card > p:not(.boss-personagem) { min-height: 0; }
@media (min-width: 900px) { .bosses-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* ícones do menu estáticos e leves (não piscam na troca de página) */
.menu [data-item="bosses"]::before { background-image: url(/img/menu/bosses-bakragore.webp) !important; }
.menu [data-item="invasao"]::before { background-image: url(/img/menu/invasao-ferumbras.webp) !important; }
.hc-filtros { display: flex; gap: 8px; flex-wrap: wrap; }
.dh-ext-aviso { margin-top: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; border: 2px solid #F5A623; background: rgba(245,166,35,.1); font-size: 13px; font-weight: 600; }
.dh-ext-aviso span { flex: 1 1 200px; }
.dh-ext-ativar { border: 0; border-radius: 8px; padding: 8px 12px; background: #53FC18; color: #0B0E0F; font-weight: 800; cursor: pointer; }
.ca-linha { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-weight: 600; }
.ca-item { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.ca-item textarea { flex: 1; min-height: 52px; resize: vertical; }
.ca-item textarea { font: 14px/1.4 Inter, system-ui, sans-serif; padding: 8px 10px; }
.ca-item { align-items: center; flex-wrap: wrap; }
.ca-min { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 600; }
.ca-min input { width: 64px; }
@media (max-width: 700px) { .ca-item textarea { flex-basis: 100%; } }
/* Página toda: o conteúdo ocupa a largura inteira (o menu lateral fica igual) */
main.container, main > .container { max-width: none; }
@media (min-width: 1000px) { main.container, main > .container { padding-left: 40px; padding-right: 40px; } }
/* celular pequeno: itens de grade não podem ficar mais largos que a tela */
.rk-grade > *, .saque > *, main.ajuda > *, .cart-grade > *, .cart-cards > *, .drop-hero > * { min-width: 0; }
.ajuda .indice a, .saque-form input { max-width: 100%; }
