/* WHITEOUT: the Hush. Chime button + boss-room HUD tweaks.
   Slate #5B6B82 joins the palette for Hush things only. */

#btn-chime {
  position: fixed;
  right: 14px;
  bottom: calc(86px + env(safe-area-inset-bottom));
  z-index: 3;
  min-width: 96px;
  height: 38px;
  padding: 0 12px;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: 999px;
  font-size: 15px;
  pointer-events: auto;
}
#btn-chime[hidden] { display: none; }
#btn-chime .cd {
  position: absolute;
  inset: 0;
  background: #5B6B82;
  opacity: 0.35;
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}
#btn-chime .lab { position: relative; }
#btn-chime .lab b {
  display: inline-block;
  margin-left: 4px;
  min-width: 18px;
  padding: 0 4px;
  border: 2px solid #000000;
  border-radius: 6px;
  font-size: 11px;
  line-height: 14px;
  background: #34A1E5;
}
#btn-chime.cool .lab { opacity: 0.6; }
#btn-chime.cool .lab b { background: #FFFFFF; }

/* the boss bar takes the quest chip's spot in the Minutes Room */
body.hush-boss #quest { display: none; }
body.in-arcade #btn-chime { display: none; }

@media (max-width: 760px) {
  #btn-chime { bottom: calc(84px + env(safe-area-inset-bottom)); min-width: 88px; }
}

/* in the Minutes Room the status line sits low, off the boss */
body.hush-boss #line { top: auto; bottom: calc(176px + env(safe-area-inset-bottom)); }
@media (max-width: 760px) {
  body.hush-boss #line { top: calc(176px + env(safe-area-inset-top)); bottom: auto; }
}
