.material {
  position: relative;
  background: var(--surface);
  box-shadow:
    var(--elevation),
    0 0 0 0.5px rgba(0, 0, 0, 0.6),
    inset 0 0 12px rgba(255, 255, 255, 0.04);
}

.material::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
