:root {
  --hairline: {
    content: '';
    position: absolute;
    background-color: var(--color-line-split);
    display: block;
  }

  --hairline--top: {
    @apply --hairline;

    width: 100%;
    height: 1px;
    transform-origin: 50% 50%;
    transform: scaleY(0.5);
    top: 0;
    left: 0;
    right: 0;
  }

  --hairline--bottom: {
    @apply --hairline;

    width: 100%;
    height: 1px;
    transform-origin: 50% 50%;
    transform: scaleY(0.5);
    bottom: 0;
    left: 0;
    right: 0;
  }

  --hairline--left: {
    @apply --hairline;

    width: 1px;
    height: 100%;
    transform-origin: 100% 50%;
    transform: scaleX(0.5);
    top: 0;
    bottom: 0;
    left: 0;
  }

  --hairline--right: {
    @apply --hairline;

    width: 1px;
    height: 100%;
    transform-origin: 100% 50%;
    transform: scaleX(0.5);
    top: 0;
    bottom: 0;
    right: 0;
  }

  --hairline--surround: {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 200%;
    height: 200%;
    border: 1px solid var(--color-line-split);
    transform-origin: 0 0;
    transform: scale(0.5);
    box-sizing: border-box;
    pointer-events: none;
  }
}
