.left-hud .effects-column {
  position: absolute;
  top: 0;
  left: calc(100% + 12px);
  width: clamp(38px, calc(50vw - 540px), 180px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
  z-index: 4;
}
.left-hud .status-effects {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  pointer-events: none;
}
.status-effect {
  position: relative;
  color: #80e9ad;
}
.status-effect.debuff {
  color: #ff858d;
}
.status-effect .status-effect-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 7px;
  margin: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #09231eee;
  color: inherit;
  box-shadow:
    inset 0 0 10px #63db9a18,
    0 2px 8px #0008;
  pointer-events: auto;
  cursor: help;
}
.status-effect.debuff .status-effect-icon {
  background: #30151bee;
}
.status-effect-icon svg {
  width: 22px;
  height: 22px;
}
.status-effect-icon:hover,
.status-effect-icon:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  filter: brightness(1.2);
}
.status-effect-time {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 4px;
  border-radius: 5px;
  background: #061019;
  color: #eaf4f4;
  font: 10px/14px monospace;
  white-space: nowrap;
}
.status-effect-tooltip {
  display: none;
  position: absolute;
  top: 47px;
  left: 0;
  width: 235px;
  max-width: calc(100vw - 40px);
  padding: 12px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: #08131bfa;
  box-shadow: 0 8px 24px #0009;
  font:
    12px/1.5 system-ui,
    sans-serif;
  text-transform: none;
  letter-spacing: normal;
  pointer-events: none;
  z-index: 6;
}
.status-effect-tooltip > * {
  display: block;
}
.status-effect-tooltip small {
  font-size: 9px;
  letter-spacing: 1px;
}
.status-effect-tooltip strong {
  font-size: 14px;
  margin: 3px 0 5px;
}
.status-effect-tooltip span {
  color: #dce7ed;
}
.status-effect:hover,
.status-effect:focus-within {
  z-index: 5;
}
.status-effect:hover .status-effect-tooltip,
.status-effect:focus-within .status-effect-tooltip {
  display: block;
}
@media (max-width: 1000px) {
  .left-hud .effects-column {
    width: 180px;
  }
}
@media (max-width: 700px) {
  .left-hud .effects-column {
    width: clamp(38px, calc(100vw - 464px), 180px);
  }
}
@media (max-width: 540px) {
  .left-hud .effects-column {
    position: static;
    width: 100%;
  }
}
