// Wave-field background (reactbits port). The host fills its nearest
// positioned ancestor; the line colour is theme-aware via
// `--wr-waves-line-color` unless `[lineColor]` overrides it.

.wr-waves {
  --wr-waves-line-color: rgba(var(--wr-color-dark-rgb), 0.12);

  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;

  &__canvas {
    display: block;
    width: 100%;
    height: 100%;
  }
}

[data-theme='dark'] .wr-waves {
  --wr-waves-line-color: rgb(255 255 255 / 14%);
}
