.health-panel.axis-sobriety {
  overflow: hidden;
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 14px;
}
.health-panel.axis-sobriety::before {
  content: "";
  position: absolute;
  inset: -80px -70px auto auto;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(113, 86, 255, 0.24), rgba(113, 86, 255, 0) 68%);
  pointer-events: none;
}
.axis-sobriety__header,
.axis-sobriety__header > div,
.axis-sobriety__copy,
.axis-sobriety__item {
  min-width: 0;
}
.axis-sobriety__header {
  position: relative;
  z-index: 1;
}
.axis-sobriety__header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.axis-sobriety__header h2 {
  margin: 0;
  color: #fff;
}
.axis-sobriety__header small {
  display: block;
  margin-top: 3px;
  color: #8fa0c2;
  font-size: 13px;
}
.axis-sobriety__heart {
  display: inline-grid;
  width: 34px;
  height: 30px;
  place-items: center;
  border-radius: 14px;
  color: #ff6ea8;
  background: rgba(255, 110, 168, 0.11);
  box-shadow: inset 0 0 0 1px rgba(255, 110, 168, 0.18), 0 0 22px rgba(255, 110, 168, 0.12);
  font-size: 22px;
  line-height: 1;
}
.axis-sobriety__list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}
.axis-sobriety__item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 12px;
  border: 1px solid rgba(124, 141, 186, 0.18);
  border-radius: 18px;
  background: rgba(13, 27, 50, 0.62);
}
.axis-sobriety__icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: rgba(42, 61, 102, 0.52);
  box-shadow: inset 0 0 0 1px rgba(151, 169, 217, 0.13);
}
.axis-sobriety__icon svg {
  width: 20px;
  height: 20px;
}
.axis-sobriety__item.is-drugs .axis-sobriety__icon {
  color: #46e6a6;
  box-shadow: inset 0 0 0 1px rgba(70, 230, 166, 0.20), 0 0 24px rgba(70, 230, 166, 0.12);
}
.axis-sobriety__item.is-alcohol .axis-sobriety__icon {
  color: #8d78ff;
  box-shadow: inset 0 0 0 1px rgba(141, 120, 255, 0.22), 0 0 24px rgba(141, 120, 255, 0.14);
}
.axis-sobriety__copy {
  display: grid;
  gap: 4px;
}
.axis-sobriety__copy > span {
  overflow: hidden;
  color: #c9d5ee;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.axis-sobriety__copy strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.axis-sobriety__copy small {
  color: #8798bc;
  font-size: 11px;
}
.axis-sobriety__date {
  display: inline-flex;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(126, 95, 255, 0.35);
  border-radius: 999px;
  color: #cdbfff;
  background: rgba(99, 72, 210, 0.13);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.axis-sobriety__date:hover,
.axis-sobriety__date:focus-visible {
  color: #fff;
  border-color: rgba(152, 124, 255, 0.72);
  outline: none;
}
.axis-sobriety__note {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #9badce;
  font-size: 12px;
  line-height: 1.38;
}
@media (max-width: 760px) {
  .health-panel.axis-sobriety {
    gap: 12px;
  }
  .axis-sobriety__item {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
    min-height: 58px;
    padding: 10px;
  }
  .axis-sobriety__icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }
  .axis-sobriety__icon svg {
    width: 18px;
    height: 18px;
  }
  .axis-sobriety__copy {
    gap: 2px;
  }
  .axis-sobriety__copy > span {
    font-size: 11px;
  }
  .axis-sobriety__copy strong {
    font-size: 16px;
    letter-spacing: -0.01em;
  }
  .axis-sobriety__copy small {
    font-size: 10px;
  }
  .axis-sobriety__date {
    grid-column: auto;
    justify-self: end;
    height: 28px;
    padding: 0 9px;
    font-size: 10px;
  }
  .axis-sobriety__note {
    font-size: 10px;
    line-height: 1.35;
  }
}
