#minigame-yamata {
  position: relative;
}

#yamata-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#yamata-ui button {
  pointer-events: auto;
  position: absolute;
  left: 8px;
}

#yamata-mute {
  top: 8px;
}

#yamata-cam {
  top: 44px;
}

.yamata-bar {
  position: absolute;
  left: 12%;
  right: 12%;
  margin: 0;
  height: 22px;
  border: 1px solid #111;
  background: #fff;
  overflow: hidden;
}

.yamata-bar span {
  display: block;
}

.yamata-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: #3a7a3a;
}

.yamata-bar-name {
  position: relative;
  padding: 2px 8px;
  color: #111;
  font-size: 0.85rem;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#yamata-boss {
  top: 8px;
}

#yamata-player {
  bottom: 8px;
}

#yamata-toast {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  pointer-events: none;
}

#yamata-toast.is-fade {
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.dark .yamata-bar {
  background: #111;
  border-color: #fff;
}

body.dark .yamata-bar-name {
  color: #fff;
}