:host(:not(:is([hydrated], .hydrated))) {
  @apply not-hydrated;
}


mds-text {
  &:not(:is([hydrated], .hydrated)) {
    @apply not-hydrated;
  }
}


/**
 * @prop --mds-bibliography-color: Public. Sets the text color of the component
 * @prop --mds-bibliography-text-decoration: Sets the text decoration color of the link
 * @prop --mds-bibliography-text-decoration-hover: Sets the text decoration color of the link when the mouse is over it
 */

:host {
  --mds-bibliography-color: rgb(var(--magma-text-muted, var(--text-neutral-muted, 73 73 73)));
  --mds-bibliography-text-decoration-hover: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
  --mds-bibliography-text-decoration: rgb(var(--magma-border-strong, var(--border-neutral-strong, 140 140 140)));

  display: inline;
}

/* 16px on a link one line tall was a pill: the pill of its focus ring, out of the corner axis */

.link {
  @apply focus-bounce;

  border-radius: var(--magma-radius-full, var(--radius-full, 1000px));
  color: var(--mds-bibliography-color, rgb(var(--magma-text-muted, var(--text-neutral-muted, 73 73 73))));
  text-decoration-color: var(--mds-bibliography-text-decoration, rgb(var(--magma-border-strong, var(--border-neutral-strong, 140 140 140))));
  transition-duration: var(--duration-200, 200ms);
  transition-property: color, outline, outline-offset, -webkit-text-decoration;
  transition-property: text-decoration, color, outline, outline-offset;
  transition-property: text-decoration, color, outline, outline-offset, -webkit-text-decoration;
}

.link:hover {
  text-decoration-color: var(--mds-bibliography-text-decoration-hover, rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5))));
}

.link:focus-visible {
  @apply focus-bounce--focused;
}
