@value (
  darkContentSurfaceColor, lightContentSurfaceColor,
  darkContentTextColor, lightContentTextColor,
  contentColorScope
) from "pageflow-scrolled/values/colors.module.css";

.text {
  font-size: 14px;
  position: relative;
  z-index: 1;
  color: var(--content-text-color);
}

.text li {
  text-align: right;
  padding-top: 0.2em;
}

.text li::before {
  content: "© ";
  opacity: 0.7;
}

.text:not(:has(li:nth-child(2))) span {
  display: none;
}

.withBackdrop li {
  padding: 0.1em 0.3em;
  border-radius: 0.25rem;
  margin: 0.2em 0 0 auto;
  background-color: color-mix(in srgb, lightContentSurfaceColor, transparent);
  color: darkContentTextColor;
  width: fit-content;
}

.withBackdrop.darkBackground li {
  background-color: color-mix(in srgb, darkContentSurfaceColor, transparent);
  color: lightContentTextColor;
}

.forSection {
  position: absolute;
  bottom: 0;
  right: 0;
}

.forSection li {
  margin: 0 0.2em 0.1em auto;
}

.text a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor, transparent);
}

.text span {
  opacity: 0.7;
}
