/* Corner badge for newly added book/author cards (top-right; placement in cover-status.css). */
.ds-new-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 27px;
  padding: 0 12px;
  border: 1px solid #807d7d;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
  white-space: nowrap;
}

.has-new-badge {
  position: relative;
}

.medium-card .cover.has-new-badge {
  overflow: hidden;
}

.ds-new-badge--inline {
  position: static;
  flex: 0 0 auto;
}
