#kanto-balance[hidden],
#kanto-balance-spacer[hidden] { display: none !important; }
#kanto-balance {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  max-width: calc(100vw - 110px);
  padding: 13px 18px;
  border: 1px solid #ffd000;
  border-radius: 14px;
  background: #161616;
  color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .3);
  text-decoration: none !important;
  font-family: inherit;
  line-height: 1.3;
}
#kanto-balance:hover { background: #252525; }
#kanto-balance:focus-visible { outline: 3px solid #ffd000; outline-offset: 4px; }
#kanto-balance .kanto-balance-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffd000;
  color: #111111;
  font-size: 19px;
  font-weight: 800;
}
#kanto-balance .kanto-balance-text { display: grid; gap: 3px; min-width: 0; }
#kanto-balance .kanto-balance-label { color: #eeeeee; font-size: 12px; font-weight: 500; }
#kanto-balance strong { color: #ffd000; font-size: 20px; font-weight: 700; overflow-wrap: anywhere; }
#kanto-balance-spacer { display: block; height: calc(100px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 600px) {
  #kanto-balance { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 10px 12px; gap: 8px; border-radius: 12px; }
  #kanto-balance .kanto-balance-icon { flex-basis: 28px; width: 28px; height: 28px; font-size: 16px; }
  #kanto-balance .kanto-balance-label { font-size: 11px; }
  #kanto-balance strong { font-size: 17px; }
}
