/* ---------- Linky in matches (src/buddy.js): first child of #cards under every card (cards are z 10+), or docked in the HUD column */
#buddy {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--ms, 90px);
  aspect-ratio: 120/130;
  z-index: 1;
  pointer-events: none;
}
#buddy .bIn {
  width: 100%;
  height: 100%;
  transform-origin: 50% 89%;
}
#buddy .masc {
  --ms: 100%;
  width: 100%;
}
#buddy .bSh {
  position: absolute;
  left: 16%;
  width: 68%;
  bottom: calc(var(--ms, 90px) * 0.07);
  height: calc(var(--ms, 90px) * 0.09);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
}
#buddy .bHit {
  position: absolute;
  left: 15%;
  top: 10%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#buddy .ink {
  position: absolute;
  left: 50%;
  top: 60%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #5a1f4a;
  pointer-events: none;
}
#buddy.dock {
  left: 50%;
  top: auto;
  bottom: var(--bdB, 0px);
  transform: translateX(-50%);
}
/* docked: the HUD content sits between the menu button and Linky */
#hud.bDock {
  padding-top: calc(var(--menuH, 50px) + 12px);
  padding-bottom: var(--buddyH, 0px);
}
body.calm #buddy .mFx,
body.calm #buddy .mFxF {
  display: none;
}
/* End of css/buddy.css */
