/* Menu do botão de engrenagem (28/08) — grande, no meio da tela. */

.menu-opcoes-fundo {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .6);
}

.menu-opcoes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(420px, 88vw);
  padding: 24px;
  /* 14/09: era rgba(12,16,24,.97), tom azul-frio antigo — mesma conversão
     madeira já usada no resto do jogo (--rpg-painel-a = #241609 = rgb(36 22 9)). */
  background: rgba(36, 22, 9, .97);
  border: 1px solid #f0b42966;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .6);
}

.menu-opcoes__titulo {
  margin: 0 0 6px;
  color: #f0b429;
  font: 700 20px/1 'Baloo 2', system-ui, sans-serif;
  text-align: center;
}

.menu-opcoes__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: none;
  border-radius: 10px;
  /* 14/09: era rgba(255,255,255,.06), tingia cinza-frio sobre o fundo
     navy antigo — bronze translúcido (--rpg-aro = #c99a4c = rgb(201 154 76)). */
  background: rgba(201, 154, 76, .10);
  color: #f5efe4;
  font: 600 16px/1 'Baloo 2', system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}
.menu-opcoes__item:hover,
.menu-opcoes__item:focus-visible {
  background: rgba(240, 180, 41, .18);
  color: #f0b429;
}
.menu-opcoes__icone {
  font-size: 20px;
  line-height: 1;
}

/* Deslogar — sempre por último, sempre vermelho (pedido do Zerg). */
.menu-opcoes__item--sair {
  margin-top: 8px;
  background: rgba(220, 60, 60, .16);
  color: #ff6b6b;
}
.menu-opcoes__item--sair:hover,
.menu-opcoes__item--sair:focus-visible {
  background: rgba(220, 60, 60, .3);
  color: #ff8787;
}
.menu-opcoes__item--sair:disabled {
  opacity: .6;
  cursor: default;
}

.menu-opcoes__aviso {
  position: fixed;
  left: 50%;
  bottom: 12%;
  translate: -50% 0;
  z-index: 2147483000;
  padding: 10px 16px;
  /* 14/09: mesma conversão madeira do painel acima. */
  background: rgba(36, 22, 9, .94);
  border: 1px solid #f0b42966;
  border-radius: 10px;
  color: #f5efe4;
  font: 600 13px/1.3 'Baloo 2', system-ui, sans-serif;
  text-align: center;
  max-width: min(320px, 80vw);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .5);
}

/* 01/09: o "(Em Breve)" do item da Praça — discreto ao lado do nome. */
.menu-opcoes__breve {
  margin-left: 6px;
  font-size: 0.78em;
  opacity: 0.6;
  font-weight: 400;
}

/* Painel de Áudio novo (22/09, 8º lote do Zerg) — 3 sliders (Música/Som/Interface). */
.menu-opcoes__audio-linha {
  display: grid;
  grid-template-columns: 72px 1fr 40px;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
}
.menu-opcoes__audio-rotulo {
  color: #f5efe4;
  font: 600 14px/1 'Baloo 2', system-ui, sans-serif;
}
.menu-opcoes__audio-num {
  color: #cbb896;
  font: 600 13px/1 'Baloo 2', system-ui, sans-serif;
  text-align: right;
}
.menu-opcoes__audio-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(201, 154, 76, .22);
  outline: none;
  cursor: pointer;
}
.menu-opcoes__audio-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #1c1108;
  background: #f0b429;
  cursor: pointer;
}
.menu-opcoes__audio-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #1c1108;
  background: #f0b429;
  cursor: pointer;
}
