.fa-fairy-hud {
  position: fixed;
  right: 14px;
  bottom: 116px;
  z-index: 24;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 340px;
  pointer-events: none;
}
.fa-fairy-hud button {
  pointer-events: auto;
  background: #071b24d9;
  color: #edfff9;
  border: 1px solid #a4e7d855;
  border-radius: 18px;
  padding: 9px 12px;
  min-height: 40px;
  font: inherit;
}
.fa-fairy-hud[hidden],
.fa-fairy-hud button[hidden] {
  display: none;
}
.fa-fairy-panel {
  position: fixed;
  z-index: 210;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(460px, calc(100vw - 28px));
  max-height: 80vh;
  overflow: auto;
  background: #10242cf5;
  color: #effff9;
  padding: 24px;
  border: 1px solid #88e5d366;
  border-radius: 18px;
  box-shadow: 0 12px 70px #0009;
  font: 16px/1.5 system-ui;
}
.fa-fairy-panel h2 {
  margin: 0 0 14px;
}
.fa-fairy-panel label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}
.fa-fairy-panel select,
.fa-fairy-panel button {
  background: #193d43;
  color: #effff9;
  border: 1px solid #8ccfb766;
  border-radius: 10px;
  min-height: 44px;
  padding: 9px 12px;
  font: inherit;
}
.fa-fairy-panel button {
  display: block;
  width: 100%;
  margin: 9px 0;
}
.fa-fairy-panel :focus-visible,
.fa-fairy-hud button:focus-visible {
  outline: 3px solid #b7ffe5;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .fa-fairy-hud {
    right: 8px;
    bottom: 185px;
    max-width: 220px;
  }
  .fa-fairy-hud button {
    font-size: 12px;
    padding: 8px;
  }
  .fa-fairy-panel {
    padding: 18px;
  }
}
