.boss-hud {
  margin: 1px 12px 11px;
  padding: 9px 11px 7px;
  color: #483e4b;
  background: #f6eee0;
  border: 2px solid #685463;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px #fff8e8, 2px 2px #bcb2aa;
  font-size: 13px;
}
.boss-hud[hidden], .boss-weapons[hidden] {display: none}
.boss-instruments {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  gap: 9px;
  align-items: center;
}
#boss-badge {
  width: 42px; height: 34px;
  image-rendering: pixelated;
  background: #ecd7bd;
  border: 1px solid #b99887;
  border-radius: 3px;
}
.boss-heading {display: flex; align-items: baseline; justify-content: space-between; gap: 4px}
.boss-heading h3 {margin: 0; font-size: 14px; letter-spacing: .035em; line-height: 1.3}
#boss-life {white-space: nowrap; color: #694c56; font: bold 12px ui-monospace,monospace}
.boss-track {
  display: grid;
  grid-template-columns: repeat(10,minmax(0,1fr));
  gap: 2px;
  height: 9px;
  margin-top: 4px;
  padding: 1px;
  border: 1px solid #61525d;
  background: #6c606a;
}
.boss-track i {background: #91838a}
.boss-track i.filled {background: #d47d66; box-shadow: inset 0 2px #edb199}
.boss-hud button {font-family: inherit; touch-action: manipulation}
#boss-shop {
  padding: 5px 8px; min-height: 32px;
  font-size: 12px; font-weight: 750;
  color: #664e3d; background: #f8e6ba;
  border: 1px solid #ad966e; border-radius: 3px;
  box-shadow: 0 2px #c4a983;
}
#boss-shop span {font-weight: 900; color: #806344}
#boss-report {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 9px;
  margin: 7px 0; padding-left: 8px; border-left: 3px solid #b88260;
  font-size: 12px; line-height: 1.45; color: #604954;
}
#boss-warning {font-weight: 800}
#boss-timing {font-variant-numeric: tabular-nums}
.boss-weapons {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px}
.boss-weapons button {
  min-height: 40px;
  display: flex; gap: 6px; align-items: center; justify-content: center;
  padding: 3px 6px;
  background: #ecd8b3; border: 1px solid #93765f; border-radius: 3px;
  box-shadow: inset 0 1px #fff6d8,0 2px #b39983; color: #523f43;
}
#boss-sonic {background: #d7e7e4; border-color: #80999d; box-shadow: inset 0 1px #f5f6e6,0 2px #9baeb0}
.boss-weapons svg {width: 25px; height: 22px; flex: none}
.boss-weapons button>span {display: flex; flex-direction: column; align-items: start; min-width: 0}
.boss-weapons b {font-size: 13px; line-height: 1.3}
.boss-weapons small {font: inherit; font-size: 11px; font-weight: 600; line-height: 1.35; font-variant-numeric: tabular-nums}
.boss-weapons button:disabled,#boss-sonic:disabled {color: #605d61; background: #e6e1d9; border-color: #b4a9a4; box-shadow: inset 0 1px #f4f0e5; opacity: 1}
.boss-weapons button:disabled svg {opacity: .65}
#boss-shop:disabled {opacity: .65}
.boss-hud button:focus-visible {outline: 3px solid #706eab; outline-offset: 2px}
.boss-hud button:not(:disabled):hover {filter: brightness(1.065)}
.boss-bounty {margin: 5px 0 0; text-align: right; color: #755b49; font-size: 11px; font-weight: 650}
.boss-hud[data-condition="danger"] #boss-report {color: #843f42; border-color: #bb5e52}
.boss-hud[data-condition="frozen"] #boss-report {color: #3e6476; border-color: #789eae}
.boss-hud[data-condition="frozen"] .boss-track i.filled {background: #88bec7; box-shadow: inset 0 2px #c2e2e5}
.boss-hud[data-condition="cleared"] {background: #e7ede1; border-color: #738776}
@media (max-width: 520px) {
  .boss-hud {margin: 0 8px 8px; padding: 7px 8px 5px}
  .boss-instruments {grid-template-columns: 34px minmax(0,1fr) auto; gap: 6px}
  #boss-badge {width: 34px; height: 28px}
  .boss-heading h3 {font-size: 13px}
  #boss-shop {min-height: 34px; padding: 4px 6px}
  #boss-shop span {display: none}
  #boss-report {margin-block: 5px}
  .boss-bounty {margin-top: 4px}
}
