.local-incense-near {
  position: fixed;
  z-index: 4;
  left: 50%;
  bottom: max(106px, calc(env(safe-area-inset-bottom) + 100px));
  transform: translateX(-50%);
  min-height: 44px;
  padding: 0 19px;
  border: 1px solid #f4e9cc70;
  border-radius: 999px;
  background: #3e3425eb;
  box-shadow: 0 4px 18px #17170e36;
  color: #fff4dc;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.local-incense-near:hover { background: #57452e; }
.local-incense-near:focus-visible { outline: 2px solid #d3ac67; outline-offset: 3px; }
.local-incense-near[hidden],
.sansa-game.is-beading .local-incense-near { display: none; }

.local-incense-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.local-incense-actions button {
  min-height: 44px;
  margin: 0;
}
#local-incense-light {
  flex: 1 1 130px;
  width: auto;
}
#local-incense-cancel {
  padding: 0 16px;
  border: 1px solid #8a80685c;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.local-incense-flame {
  margin: 12px 0 2px;
  text-align: center;
  font-size: 58px;
  line-height: 1.2;
  filter: grayscale(.85);
  opacity: .55;
  transition: opacity .45s ease, filter .45s ease;
}
.support-dialog.is-lit .local-incense-flame {
  opacity: 1;
  filter: drop-shadow(0 0 22px #e5a34e);
}
#local-incense-status {
  min-height: 1.5em;
  margin: 10px 0 0;
  color: #5b604e;
  text-align: center;
  font-size: 13px;
}

#cyber-lang-switcher.cyber-lang-in-settings {
  margin: 6px 0 14px;
}
#cyber-lang-switcher.cyber-lang-in-settings .cyber-lang-label {
  display: flex;
  justify-content: space-between;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #8a806840;
  border-radius: 12px;
  background: transparent;
  color: inherit;
}
#cyber-lang-switcher.cyber-lang-in-settings select {
  appearance: auto;
  min-height: 32px;
  font-size: 14px;
}

@media (max-width: 350px) {
  .game-entry-tools #game-room-name > span { display: none; }
}
.environment-settings { display: grid; gap: 0.45rem; margin-block: 1rem; }
.environment-settings label { font-weight: 600; }
.environment-settings select {
  min-height: 2.75rem;
  width: 100%;
  padding: 0.4rem 0.65rem;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 0.45rem;
  font: inherit;
}
.environment-settings p { margin: 0; font-size: 0.85rem; }

.refinement-control { display:flex; align-items:center; gap:8px; min-height:44px; cursor:pointer; margin-top:12px; }
.refinement-control input { width:18px; height:18px; accent-color:#667350; }
#temple-refinement-status { font-size:12px; line-height:1.6; opacity:.8; }

.settings-dialog .admin-entry a { color: inherit; text-underline-offset: .2em; }
